This commit is contained in:
2025-06-15 16:23:13 -04:00
parent dcb75ee52c
commit ead0e6379e
9 changed files with 118 additions and 108 deletions

View File

@@ -35,9 +35,11 @@ local function checkSteamLevel()
end
end
-- local function watch()
-- checkSteamLevel()
-- end
local function startUp()
end
local function shutdown()
end
local function watch()
while true do
@@ -50,9 +52,12 @@ local function report()
local color = color()
monitor.setBackgroundColor(color)
value = getValue()
monitor.clearLine()
setNewLine()
monitor.write("Turbine Steam: " .. value .. "%")
--monitor.write("Turbine Vent: " .. turbine.getDumpingMode() .. "%")
setNewLine()
monitor.write("Turbine Vent: " .. turbine.getDumpingMode())
end
return { report = report, watch = watch }
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }