Guest User

Untitled

a guest
Aug 22nd, 2019
78
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. reactors = peripheral.find("BigReactors-Reactor")
  3. reactor = reactors[1]
  4.  
  5. while true do
  6.  
  7. if reactor.getEnergyStored() < 1000000 then
  8. reactor.setActive(true)
  9. end
  10. if reactor.getEnergyStored() > 8000000 then
  11. reactor.setActive(false)
  12. end
  13. end
RAW Paste Data