updated
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user