Jeyjey0

MINEE2

Nov 12th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. function mine()
  2. turtle.dig()
  3. function gravel()
  4. if turtle.forward() == false then
  5. repeat
  6. turtle.dig()
  7. sleep(0.25) -- small sleep to allow for gravel/sand to fall.
  8. until turtle.forward() == true
  9. end
  10. end
  11. gravel()
  12. turtle.digUp()
  13. end
  14.  
  15. function mine2()
  16. turtle.dig()
  17. function gravel()
  18. if turtle.forward() == false then
  19. repeat
  20. turtle.dig()
  21. sleep(0.25) -- small sleep to allow for gravel/sand to fall.
  22. until turtle.forward() == true
  23. end
  24. end
  25. gravel()
  26. end
Add Comment
Please, Sign In to add comment