Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. function moveDown(x)
  2. for i = 1 , x, 1
  3. do
  4. turtle.down();
  5. end
  6. end
  7. local height = 5
  8. local lenght = 10
  9.  
  10. turtle.refuel()
  11. for i = 1 , lenght, 1
  12. do
  13. for ia = 1 , height, 1
  14. do
  15. turtle.turnLeft()
  16. turtle.dig()
  17. turtle.turnRight()
  18. turtle.dig()
  19. turtle.turnRight()
  20. turtle.dig()
  21. turtle.turnLeft()
  22. turtle.digUp()
  23. turtle.up()
  24. end
  25. moveDown(height)
  26.  
  27. turtle.forward()
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement