Advertisement
rickydaan

[LUA] Turtle Mining V 0.7.32

Feb 26th, 2012
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1.  
  2. i = 2
  3. repeat
  4. i = i + 1
  5. sleep(.50)
  6. turtle.forward()
  7. turtle.dig()
  8. until turtle.getItemCount(1) == 64
  9. if turtle.getItemCount(1) == 64 then
  10. turtle.turnRight()
  11. turtle.turnRight()
  12. b = 3
  13. repeat
  14. b = b + 1
  15. if turtle.detect() then
  16. turtle.dig()
  17. end
  18. sleep(.25)
  19. turtle.forward()
  20. until b == i
  21. end
  22. turtle.drop()
  23. turtle.turnRight()
  24. turtle.turnRight()
  25. sleep(5)
  26. print("Starting a new drill")
  27. shell.run("mine")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement