angelblair123

ComputerCraft - Reactor Monitoring

Jan 19th, 2015
366
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. m = peripheral.wrap("top")
  2. eu = peripheral.wrap("nuclear_reactor_2")
  3. while true do
  4. sleep(1)
  5. m.clear()
  6. m.setCursorPos(4,1)
  7. m.write("REACTOR")
  8. m.setCursorPos(8,2)
  9. m.setTextScale(2)
  10. outputt = eu.getEUOutput()
  11. m.write(outputt)
  12. m.setCursorPos(1,2)
  13. m.write("Output:")
  14. heatt = eu.getHeat()
  15. m.setCursorPos(1,3)
  16. m.write("Heat:")
  17. m.setCursorPos(7,3)
  18. m.write(heatt)
  19. active = eu.isActive()
  20. m.setCursorPos(8,4)
  21. m.write(active)
  22. m.setCursorPos(1,4)
  23. m.write("Active:")
  24. end
RAW Paste Data