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