SummitSummit

Oak

Jan 15th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Chop()
  2. turtle.dig()
  3. turtle.forward()
  4. while turtle.detectUp() do
  5. turtle.digUp()
  6. turtle.dig()
  7. turtle.up()
  8. end
  9. while not turtle.detectUp() and not turtle.detectDown() do
  10. turtle.down()
  11. end
  12. turtle.forward()
  13. end
  14. function Cut()
  15. for i = 1, 8 do
  16. Chop()
  17. end
  18. end
  19. Cut()
  20. turtle.turnRight()
  21. turtle.forward()
  22. turtle.forward()
  23. turtle.turnRight()
  24. Cut()
  25. turtle.turnLeft()
  26. turtle.forward()
  27. turtle.forward()
  28. turtle.turnLeft()
  29. Cut()
  30. turtle.turnRight()
  31. turtle.forward()
  32. turtle.forward()
  33. turtle.turnRight()
  34. Cut()
  35. turtle.turnLeft()
  36. turtle.forward()
  37. turtle.forward()
  38. turtle.turnLeft()
  39. Cut()
Advertisement
Add Comment
Please, Sign In to add comment