Nathan1852

TurtleMiningv1.2

Mar 2nd, 2013
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function turnAround()
  2. turtle.turnLeft()
  3. turtle.turnLeft()
  4. turtle.digDown()
  5. turtle.down()
  6. turtle.digDown()
  7. turtle.down()
  8. end
  9.  
  10. function chest()
  11. turtle.dig()
  12. turtle.select(1)
  13. turtle.place()
  14. turtle.select(2)
  15. turtle.drop()
  16. turtle.select(3)
  17. turtle.drop()
  18. turtle.select(4)
  19. turtle.drop()
  20. turtle.select(5)
  21. turtle.drop()
  22. turtle.select(6)
  23. turtle.drop()
  24. turtle.select(7)
  25. turtle.drop()
  26. turtle.select(8)
  27. turtle.drop()
  28. turtle.select(9)
  29. turtle.drop()
  30. turtle.select(10)
  31. turtle.drop()
  32. turtle.select(11)
  33. turtle.drop()
  34. turtle.select(12)
  35. turtle.drop()
  36. turtle.select(13)
  37. turtle.drop()
  38. turtle.select(14)
  39. turtle.drop()
  40. turtle.select(15)
  41. turtle.drop()
  42. turtle.select(16)
  43. turtle.drop()
  44. turtle.select(1)
  45. end
  46.  
  47. function work()
  48. shell.run("tunnel 30")
  49. chest()
  50. turnAround()
  51. shell.run("tunnel 30")
  52. chest()
  53. turnAround()
  54. end
  55.  
  56. for i = 1, 8 do
  57. work()
  58. end
Advertisement
Add Comment
Please, Sign In to add comment