Advertisement
Guest User

crabReactorDisplay

a guest
Nov 26th, 2015
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. mon = peripheral.wrap("top")
  2. mon.clear()
  3. pw = preipheral.wrap("back")
  4.  
  5. x = 3
  6. while x==3
  7. do
  8. mon.setCursorPos(1,1)
  9. mon.write("System is up and running!")
  10. sleep(1000)
  11. mon.setTextScale(1)
  12. mon.setCursorPos(1,2)
  13. mon.write("Fuel: ")
  14. mon.setCursorPos(1,3)
  15. mon.write(pw.getFuelAmount)
  16. mon.setCursorPos(1,4)
  17. mon.write("Energy Stored: ")
  18. mon.setCursorPos(1,5)
  19. mon.write(pw.getEnergyStored)
  20. sleep(500)
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement