Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- reactorID = "BigReactors-Reactor_0"
- react = peripheral.wrap(reactorID)
- eStop = true
- while eStop == true do
- storeReact = react.getEnergyStored()
- if (storeReact > 9500000) then
- react.setActive(false)
- end
- if storeReact < 100 then
- react.setActive(true)
- end
- sleep(2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement