Advertisement
Guest User

startup.lua

a guest
May 24th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. term.clear()
  2.  
  3. active = false
  4. print("Reserveeinstellungen aktiviert")
  5. redstone.setOutput("left", false)
  6. redstone.setOutput("front", true)
  7.  
  8. while true do
  9. sleep(1)
  10. if redstone.getInput("back") == true then
  11. redstone.setOutput("left", true)
  12. redstone.setOutput("front", false)
  13. if active == false then
  14. print("Quarryeinstellungen aktiviert.")
  15. end
  16. end
  17. print("Ist an")
  18. else
  19. redstone.setOutput("left", false)
  20. redstone.setOutput("front", true)
  21. if active == true then
  22. active = false
  23. print("Reserveeinstellungen aktiviert.")
  24. end
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement