react: fix undefined ctrl_rods
This commit is contained in:
parent
3f5d469402
commit
de9c07f83d
6
react
6
react
@ -3,9 +3,6 @@
|
||||
--import utils for lamp rednet stuffs
|
||||
require("git-scripts.utils")
|
||||
|
||||
local active = false
|
||||
local ctrl_rods = NORMAL_ROD_POS
|
||||
|
||||
local reactor = peripheral.wrap("back")
|
||||
local mon = peripheral.wrap("right")
|
||||
|
||||
@ -27,6 +24,9 @@ NORMAL_ROD_POS = 81
|
||||
--(by removing control rods)
|
||||
HIGH_THRESHOLD = 0.6 * reactor.getEnergyCapacity()
|
||||
|
||||
local active = false
|
||||
local ctrl_rods = NORMAL_ROD_POS
|
||||
|
||||
print("Monitoring reactor...")
|
||||
print("NORMAL_THRESHOLD_U: " .. NORMAL_THRESHOLD_U)
|
||||
print("NORMAL_THRESHOLD_L: " .. NORMAL_THRESHOLD_L)
|
||||
|
Loading…
x
Reference in New Issue
Block a user