This commit is contained in:
2025-06-14 18:36:48 -04:00
parent c3d52d5dc2
commit a77f7875ad
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
local max = 15 local max = 15
local init = 3 local init = 3
local rateStep = 0.01 local rateStep = 0.10
local min = 1 local min = 1
local function getValue() local function getValue()

View File

@@ -1,6 +1,6 @@
local max = 90 local max = 90
local maxVent = 70 local maxVent = 60
local minVent = 30 local minVent = 80
local min = 20 local min = 20
local function getValue() local function getValue()
@@ -28,7 +28,7 @@ local function checkSteamLevel()
elseif value >= min and value < minVent then elseif value >= min and value < minVent then
print("Steam within normal operation range.") print("Steam within normal operation range.")
turbine.setDumpingMode("DUMPING") turbine.setDumpingMode("DUMPING")
burnRateDriver.stepDown() --burnRateDriver.stepDown()
elseif value < min then elseif value < min then
print("Warning: Steam below minimum! Taking action.") print("Warning: Steam below minimum! Taking action.")
turbine.setDumpingMode("IDLE") turbine.setDumpingMode("IDLE")