This commit is contained in:
2025-06-14 18:13:19 -04:00
parent 0ba9b3d1ce
commit e1c618350b
3 changed files with 3 additions and 12 deletions

View File

@@ -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 .. "%")

View File

@@ -3,10 +3,6 @@ local function getValue()
return reactor.getStatus() or false
end
local function color()
local value = getValue()
return colors.black
end
-- local function watch()
-- while true do
@@ -33,7 +29,7 @@ end
local function report()
local value = getValue()
local color = color()
local color = colors.black
monitor.setBackgroundColor(color)
monitor.clearLine()
monitor.write("Reactor Status: " .. tostring(value))

View File

@@ -45,7 +45,7 @@ end
local function report()
local value = getValue()
local color = color()
local color = color.black
monitor.setBackgroundColor(color)
monitor.clearLine()
monitor.write("Temperature: " .. value .. "F")