Files
nova-corp/turbine_driver.lua
2025-06-14 15:27:10 -04:00

21 lines
493 B
Lua

local function getValue()
return turbine.getSteamFilledPercentage() * 100
end
local function color()
local value = getValue()
return colors.black
end
local function watch()
print("Turbine Steam Filled: " .. getValue())
end
local function report()
local color = color()
monitor.setBackgroundColor(color)
value = getValue()
monitor.clearLine()
monitor.write("Turbine Steam" .. value .. "%")
end
return { report = report, watch = watch }