bures-monitor fix
This commit is contained in:
parent
8213f1aa04
commit
73716b1ee6
@ -27,6 +27,7 @@ end
|
||||
|
||||
local function printBuRes()
|
||||
for name, list in pairs(buRes) do
|
||||
print(name, "asd")
|
||||
term.blit(name, colours.black, colours.white)
|
||||
for key, value in pairs(list) do
|
||||
print(value.item.displayName, value.available .. "+" .. value.delivering .. "/" .. value.item.count)
|
||||
@ -38,7 +39,7 @@ local function bures()
|
||||
for key, value in pairs(buildings) do
|
||||
local name = value.name
|
||||
if name == "" then
|
||||
name = "Builder " .. value.level
|
||||
name = "Builder " .. tostring(value.level)
|
||||
end
|
||||
buRes[name] = colony.getBuilderResources(value.location)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user