Advertisement
Guest User

control

a guest
Jun 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None | 0 0
  1. m = peripheral.wrap("front")
  2.  
  3. m.setTextScale(2)
  4.  
  5. m.setTextColour(colors.green)
  6. m.setCursorPos(1,1)
  7. m.write("Nuclear power plant")
  8.  
  9. m.setCursorPos(1,2)
  10. m.setTextColour(colors.white)
  11. m.write("Current state:")
  12.  
  13. m.setCursorPos(1,3)
  14. m.setTextColor(colors.blue)
  15. m.write("online")
  16.  
  17. m.setCursorPos(1,4)
  18. m.setTextColor(colors.white)
  19. m.write("Core state:")
  20.  
  21. m.setCursorPos(1,5)
  22. m.setTextColor(colors.blue)
  23. m.write("stable")
  24.  
  25. m.setCursorPos(1,6)
  26. m.setTextColor(colors.gray)
  27. m.write("Mon. chain reaction")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement