Advertisement
leo1553

Untitled

Feb 25th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. while(true) do
  2. local reactor = peripheral.wrap("bottom")
  3. if(reactor.getHotFluidAmount() < 20000) then
  4. reactor.setActive(true)
  5. elseif(reactor.getHotFluidAmount() > 40000) then
  6. reactor.setActive(false)
  7. end
  8. sleep(5)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement