updated
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user