diff --git a/burnrate_driver.lua b/burnrate_driver.lua index fd49962..a2164b2 100644 --- a/burnrate_driver.lua +++ b/burnrate_driver.lua @@ -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 } \ No newline at end of file +return { report = report, watch = watch, stepUp = stepUp, stepDown = stepDown, slowStepDown = slowStepDown, slowStepUp = slowStepUp, startup = startup, shutdown = shutdown } \ No newline at end of file diff --git a/coolant_driver.lua b/coolant_driver.lua index 11fdbe9..01025e5 100644 --- a/coolant_driver.lua +++ b/coolant_driver.lua @@ -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 } \ No newline at end of file +return { report = report, watch = watch, startup = startup, shutdown = shutdown } \ No newline at end of file diff --git a/environment_driver.lua b/environment_driver.lua index 9ee45ca..7fd2ead 100644 --- a/environment_driver.lua +++ b/environment_driver.lua @@ -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 } \ No newline at end of file +return { report = report, watch = watch, startup = startup, shutdown = shutdown } \ No newline at end of file diff --git a/main.lua b/main.lua index 9e00bb6..29516dd 100644 --- a/main.lua +++ b/main.lua @@ -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 diff --git a/speaker_driver.lua b/speaker_driver.lua index 704ce07..2291384 100644 --- a/speaker_driver.lua +++ b/speaker_driver.lua @@ -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 } \ No newline at end of file +return { report = report, watch = watch, startup = startup, shutdown = shutdown } \ No newline at end of file diff --git a/status_driver.lua b/status_driver.lua index 0470982..be6bfeb 100644 --- a/status_driver.lua +++ b/status_driver.lua @@ -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 } \ No newline at end of file +return { report = report, watch = watch, startup = startup, shutdown = shutdown } \ No newline at end of file diff --git a/temperature_driver.lua b/temperature_driver.lua index fe05eaa..506d73c 100644 --- a/temperature_driver.lua +++ b/temperature_driver.lua @@ -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 } \ No newline at end of file +return { report = report, watch = watch, startup = startup, shutdown = shutdown } \ No newline at end of file diff --git a/turbine_driver.lua b/turbine_driver.lua index fff3225..f301f6e 100644 --- a/turbine_driver.lua +++ b/turbine_driver.lua @@ -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 } \ No newline at end of file +return { report = report, watch = watch, startup = startup, shutdown = shutdown } \ No newline at end of file