Advertisement
Bendix

Dichter

May 1st, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.85 KB | None | 0 0
  1. function forward()
  2.   while turtle.forward() == false do
  3.     turtle.attack()
  4.     turtle.dig()
  5.   end
  6. end
  7. function forwardPlus()
  8.   forward()
  9.   turtle.placeDown()
  10. end
  11. while turtle.getItemCount(1) <1 do sleep(5) end
  12. turtle.select(1)
  13. turtle.up()
  14. for x=1,3 do forwardPlus() end
  15. forward()
  16. turtle.turnRight()
  17. forwardPlus()
  18. turtle.turnRight()
  19. for x=1,4 do forwardPlus() end
  20. turtle.turnLeft()
  21. forwardPlus()
  22. turtle.turnLeft()
  23. forwardPlus()
  24. turtle.turnRight()
  25. forwardPlus()
  26. turtle.turnRight()
  27. forwardPlus()
  28. turtle.turnLeft()
  29. turtle.turnLeft()
  30. forward()
  31. forwardPlus()
  32. forwardPlus()
  33. turtle.turnLeft()
  34. forwardPlus()
  35. turtle.turnRight()
  36. forwardPlus()
  37. turtle.turnRight()
  38. forwardPlus()
  39. forward()
  40. turtle.turnRight()
  41. forwardPlus()
  42. forwardPlus()
  43. forwardPlus()
  44. turtle.back()
  45. turtle.turnRight()
  46. turtle.up()
  47. turtle.up()
  48. forward()
  49. turtle.dig()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement