This commit is contained in:
2025-06-14 13:06:15 -04:00
parent d979871c48
commit 1b7b0a17b7
2 changed files with 2 additions and 4 deletions

View File

@@ -1,12 +1,13 @@
local function report(reactor)
if reactor then
return reactor.getCoolantFilledPercentage()
return (reactor.getCoolantFilledPercentage() or 0) * 100
else
return "No reactor found"
end
end
local function watch(reactor, monitor)
local coolantLevel =
print("Coolant: " .. report(reactor))
sleep(1)
end