Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HIGH_WATER = 8000000
- LOW_WATER = 1000000
- reactor = peripheral.wrap("right")
- if nil == reactor then
- error("Unable to wrap cell.")
- end
- function ControlReactor()
- local energy = reactor.getEnergyStored()
- print ("Energy: "..energy)
- end
- while 1 < 2 do
- ControlReactor()
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement