This commit is contained in:
2025-06-15 18:40:47 -04:00
parent 1a6f7fe882
commit 605326a3bf
8 changed files with 23 additions and 23 deletions

View File

@@ -36,7 +36,7 @@ local function stepDown()
reactor.setBurnRate(value - rateStep)
end
end
local function startUp()
local function startup()
end
local function shutdown()
@@ -54,4 +54,4 @@ local function report()
setNewLine()
monitor.write("Burn Rate: " .. value)
end
return { report = report, watch = watch, stepUp = stepUp, stepDown = stepDown, slowStepDown = slowStepDown, slowStepUp = slowStepUp, startUp = startUp, shutdown = shutdown }
return { report = report, watch = watch, stepUp = stepUp, stepDown = stepDown, slowStepDown = slowStepDown, slowStepUp = slowStepUp, startup = startup, shutdown = shutdown }

View File

@@ -31,7 +31,7 @@ local function watch()
end
local function startUp()
local function startup()
end
local function shutdown()
@@ -41,10 +41,10 @@ local function report()
local value = getValue()
local color = colors.black
monitor.setBackgroundColor(color)
setNewLine()
monitor.write("Coolant: " .. value .. "%")
end
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
return { report = report, watch = watch, startup = startup, shutdown = shutdown }

View File

@@ -12,7 +12,7 @@ local function watch()
end
end
local function startUp()
local function startup()
end
local function shutdown()
@@ -31,4 +31,4 @@ local function report()
setNewLine()
monitor.write("External: " .. external)
end
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
return { report = report, watch = watch, startup = startup, shutdown = shutdown }

View File

@@ -64,13 +64,13 @@ local function runDisplay()
end
end
local function startUp()
parallel.waitForAll(tempDriver.startUp,
coolantDriver.startUp,
statusDriver.startUp,
turbineDriver.startUp,
burnRateDriver.startUp,
environmentDriver.startUp)
local function startup()
parallel.waitForAll(tempDriver.startup,
coolantDriver.startup,
statusDriver.startup,
turbineDriver.startup,
burnRateDriver.startup,
environmentDriver.startup)
end
local function shutDown()
@@ -98,7 +98,7 @@ local function runSafe()
sleep(1)
end
startUp();
startup();
monitor.clear();
-- local names = peripheral.getNames()
-- for index, value in ipairs(names) do

View File

@@ -40,7 +40,7 @@ end
local function startUp()
local function startup()
local sounds = {
{ fileName = "control_alarm" }
}
@@ -57,4 +57,4 @@ end
local function report()
end
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
return { report = report, watch = watch, startup = startup, shutdown = shutdown }

View File

@@ -15,7 +15,7 @@ local function watch()
end
end
local function startUp()
local function startup()
reactor.setBurnRate(2)
local status = reactor.getStatus()
if(not status) then
@@ -39,4 +39,4 @@ local function report()
setNewLine()
monitor.write("Reactor Status: " .. tostring(value))
end
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
return { report = report, watch = watch, startup = startup, shutdown = shutdown }

View File

@@ -32,7 +32,7 @@ local function watch()
end
local function startUp()
local function startup()
end
local function shutdown()
@@ -46,4 +46,4 @@ local function report()
setNewLine()
monitor.write("Temperature: " .. value .. "F")
end
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
return { report = report, watch = watch, startup = startup, shutdown = shutdown }

View File

@@ -35,7 +35,7 @@ local function checkSteamLevel()
end
end
local function startUp()
local function startup()
end
local function shutdown()
@@ -60,4 +60,4 @@ local function report()
monitor.write("Turbine Vent: " .. turbine.getDumpingMode())
end
return { report = report, watch = watch, startUp = startUp, shutdown = shutdown }
return { report = report, watch = watch, startup = startup, shutdown = shutdown }