This commit is contained in:
2025-06-15 21:30:52 -04:00
parent dbc0c0a096
commit 33118e2a93

View File

@@ -1,7 +1,7 @@
local max = 99 local max = 99
local maxVent = 95 local maxVent = 90
local minVent = 97 local minVent = 95
local min = 20 local min = 80
local function getValue() local function getValue()
return turbine.getSteamFilledPercentage() * 100 return turbine.getSteamFilledPercentage() * 100
@@ -25,7 +25,6 @@ local function checkSteamLevel()
print("Steam within vent range. Adjusting vents.") print("Steam within vent range. Adjusting vents.")
turbine.setDumpingMode("DUMPING") turbine.setDumpingMode("DUMPING")
burnRateDriver.stepDown() burnRateDriver.stepDown()
sleep(1)
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("IDLE") turbine.setDumpingMode("IDLE")