updated
This commit is contained in:
@@ -5,11 +5,6 @@ local function getValue()
|
||||
return (reactor.getCoolantFilledPercentage() or 0) * 100
|
||||
end
|
||||
|
||||
local function color()
|
||||
local coolantLevel = getValue()
|
||||
return colors.black
|
||||
end
|
||||
|
||||
local function checkCoolantLevel()
|
||||
local coolantLevel = getValue()
|
||||
return true
|
||||
@@ -28,7 +23,7 @@ end
|
||||
|
||||
local function report()
|
||||
local value = getValue()
|
||||
local color = color()
|
||||
local color = colors.black
|
||||
monitor.setBackgroundColor(color)
|
||||
monitor.clearLine()
|
||||
monitor.write("Coolant: " .. value .. "%")
|
||||
|
||||
Reference in New Issue
Block a user