Guest User

startup

a guest
Sep 18th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. function clear()
  2. term.clear()
  3. term.setCursorPos(1, 1)
  4. rs.setOutput("top", false)
  5. end
  6.  
  7. re = "Rotore in esaurimento"
  8.  
  9.  
  10. while true do
  11.  
  12. clear()
  13.  
  14. print("Guasti in corso: ")
  15. print("")
  16.  
  17.  
  18. if colors.test(redstone.getBundledInput("back"), colors.white) == true then
  19. print("Turbina 1.1: "..re)
  20. rs.setOutput("top", true)
  21. end
  22.  
  23. if colors.test(redstone.getBundledInput("back"), colors.orange) == true then
  24. print("Turbina 1.2: "..re)
  25. rs.setOutput("top", true)
  26. end
  27.  
  28. sleep(3)
  29.  
  30. end
Advertisement
Add Comment
Please, Sign In to add comment