updated
This commit is contained in:
@@ -18,15 +18,11 @@ local function watch(reactor, monitor)
|
||||
end
|
||||
|
||||
local function report(reactor, monitor)
|
||||
if reactor then
|
||||
local value = getValue(reactor)
|
||||
local color = color(reactor)
|
||||
configureReport(monitor)
|
||||
monitor.setBackgroundColor(color)
|
||||
monitor.write("Coolant: " .. value .. "%")
|
||||
else
|
||||
return "No reactor found"
|
||||
end
|
||||
end
|
||||
|
||||
local function configureReport(monitor)
|
||||
|
||||
Reference in New Issue
Block a user