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