This commit is contained in:
2025-06-14 12:55:26 -04:00
parent c39daa5508
commit 167b8be4b0
2 changed files with 4 additions and 8 deletions

View File

@@ -7,10 +7,8 @@ local function report(reactor)
end end
local function watch(reactor, monitor) local function watch(reactor, monitor)
while true do print("Coolant: " .. report(reactor))
print("Coolant: " .. report(reactor)) sleep(1)
sleep(1)
end
end end
return { report = report, watch = watch } return { report = report, watch = watch }

View File

@@ -7,10 +7,8 @@ local function report(reactor)
end end
local function watch(reactor, monitor) local function watch(reactor, monitor)
while true do print("Temperature: " .. report(reactor))
print("Temperature: " .. report(reactor)) sleep(1)
sleep(1)
end
end end
return { report = report, watch = watch } return { report = report, watch = watch }