Guest User

FirSapplingByBlue

a guest
Feb 23rd, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function diggingupdown()
  2. local height = 0
  3.  
  4. turtle.dig()
  5. turtle.forward()
  6. turtle.dig()
  7.  
  8. while turtle.digUp() do
  9. turtle.up()
  10. turtle.dig()
  11. height = height + 1
  12. end
  13.  
  14. turtle.turnRight()
  15. turtle.dig()
  16. turtle.forward()
  17. turtle.turnLeft()
  18. turtle.dig()
  19.  
  20. while height > 0 do
  21. height = height - 1
  22. turtle.digDown()
  23. turtle.down()
  24. turtle.dig()
  25. end
  26. turtle.back()
  27. turtle.turnLeft()
  28. turtle.forward()
  29. turtle.turnRight()
  30. turtle.forward()
  31. end
  32.  
  33. local function sappling()
  34. turtle.select(1)
  35. turtle.suck()
  36. turtle.place()
  37. turtle.turnRight()
  38. turtle.forward()
  39. turtle.turnLeft()
  40. turtle.suck()
  41. turtle.place()
  42. turtle.back()
  43. turtle.place()
  44. turtle.turnLeft()
  45. turtle.forward()
  46. turtle.turnRight()
  47. turtle.suck()
  48. turtle.place()
  49. turtle.select(2)
  50. turtle.place()
  51. turtle.turnRight()
  52. turtle.turnRight()
  53. for slot=3,7 do
  54. turtle.select(slot)
  55. turtle.drop()
  56. end
  57. turtle.turnRight()
  58. turtle.turnRight()
  59. turtle.select(16)
  60. while not turtle.compare() do
  61. turtle.select(2)
  62. turtle.place()
  63. turtle.select(16)
  64. end
  65. end
  66.  
  67. while true do
  68. diggingupdown()
  69. sappling()
  70. end
Advertisement
Add Comment
Please, Sign In to add comment