From dbc0c0a096dd5b5215ef2b4cde160b5497f8e1fa Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sun, 15 Jun 2025 21:28:57 -0400 Subject: [PATCH] updated --- turbine_driver.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/turbine_driver.lua b/turbine_driver.lua index 58a0870..1bea6b7 100644 --- a/turbine_driver.lua +++ b/turbine_driver.lua @@ -1,6 +1,6 @@ -local max = 95 -local maxVent = 80 -local minVent = 90 +local max = 99 +local maxVent = 95 +local minVent = 97 local min = 20 local function getValue() @@ -21,10 +21,11 @@ local function checkSteamLevel() reactor.scram(); turbine.setDumpingMode("DUMPING") burnRateDriver.stepDown() - elseif value >= maxVent-10 then + elseif value >= maxVent-1 then print("Steam within vent range. Adjusting vents.") turbine.setDumpingMode("DUMPING") burnRateDriver.stepDown() + sleep(1) elseif value >= min and value < minVent then print("Steam within normal operation range.") turbine.setDumpingMode("IDLE")