bures-monitor v2
This commit is contained in:
parent
e327e902c2
commit
4159609330
@ -30,11 +30,14 @@ local function printBuRes()
|
|||||||
for name, list in pairs(buRes) do
|
for name, list in pairs(buRes) do
|
||||||
term.setTextColor(colors.black)
|
term.setTextColor(colors.black)
|
||||||
term.setBackgroundColor(colors.white)
|
term.setBackgroundColor(colors.white)
|
||||||
|
term.clearLine()
|
||||||
print(name)
|
print(name)
|
||||||
term.setTextColor(colors.white)
|
term.setTextColor(colors.white)
|
||||||
term.setBackgroundColor(colors.black)
|
term.setBackgroundColor(colors.black)
|
||||||
for key, value in pairs(list) do
|
for key, value in pairs(list) do
|
||||||
print(value.item.displayName, value.available .. "+" .. value.delivering .. "/" .. value.item.count)
|
if value.status == "NEED_MORE" then
|
||||||
|
print(value.item.displayName, value.available .. "+" .. value.delivering .. "/" .. value.item.count)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user