updated
This commit is contained in:
@@ -36,6 +36,13 @@ local function slowStepDown()
|
||||
end
|
||||
end
|
||||
|
||||
local function slowStepUp()
|
||||
local value = getValue()
|
||||
if value < max then
|
||||
reactor.setBurnRate(value + smallRateStep)
|
||||
end
|
||||
end
|
||||
|
||||
local function stepDown()
|
||||
local value = getValue()
|
||||
if value > min then
|
||||
@@ -55,4 +62,4 @@ local function report()
|
||||
monitor.clearLine()
|
||||
monitor.write("Burn Rate: " .. value)
|
||||
end
|
||||
return { report = report, watch = watch, stepUp = stepUp, stepDown = stepDown, slowStepDown = slowStepDown }
|
||||
return { report = report, watch = watch, stepUp = stepUp, stepDown = stepDown, slowStepDown = slowStepDown, slowStepUp = slowStepUp }
|
||||
Reference in New Issue
Block a user