Advertisement
Guest User

startup

a guest
Jul 9th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.40 KB | None | 0 0
  1. slot =1
  2. function pos ()
  3. turtle.digDown()
  4. turtle.placeDown()
  5. turtle.forward()
  6. turtle.digDown()
  7. turtle.placeDown()
  8. turtle.forward()
  9. end
  10.  
  11. function av ()
  12. turtle.forward()
  13. turtle.forward()
  14. turtle.forward()
  15. turtle.forward()
  16. turtle.forward()
  17.  
  18. end
  19.  
  20. function change ()
  21. slot=slot+1
  22. if (slot==17) then
  23. slot=1
  24. end
  25. turtle.select(slot)
  26.  
  27. end
  28.  
  29. while true do
  30. av()
  31. change()
  32. pos()
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement