This commit is contained in:
2025-06-14 18:01:55 -04:00
parent a6e5fe9e90
commit 2515a47860
5 changed files with 41 additions and 33 deletions

View File

@@ -19,11 +19,6 @@ end
-- end
-- end
local function watch()
checkSteamLevel()
end
local function checkSteamLevel()
local value = getValue()
if value > max then
@@ -45,6 +40,11 @@ local function checkSteamLevel()
end
end
local function watch()
checkSteamLevel()
end
local function report()
local color = color()
monitor.setBackgroundColor(color)
@@ -52,4 +52,5 @@ local function report()
monitor.clearLine()
monitor.write("Turbine Steam: " .. value .. "%")
end
return { report = report, watch = watch }