Advertisement
JMANN2400

TreeFarmV3Setup[NoFuel]

Aug 17th, 2017
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1.  
  2.  
  3.  
  4. grass = 1
  5.  
  6. block = 2
  7.  
  8. function forwardFive()
  9. turtle.forward()
  10. turtle.forward()
  11. turtle.forward()
  12. turtle.forward()
  13. turtle.forward()
  14. turtle.forward()
  15. end
  16.  
  17. function placeGrass()
  18. turtle.select(grass)
  19. turtle.placeDown()
  20. end
  21.  
  22. function placeBlock()
  23. turtle.select(block)
  24. turtle.placeUp()
  25. end
  26.  
  27. function placeEight()
  28. placeGrass()
  29. forwardFive()
  30. placeGrass()
  31. forwardFive()
  32. placeGrass()
  33. forwardFive()
  34. placeGrass()
  35. forwardFive()
  36. placeGrass()
  37. forwardFive()
  38. placeGrass()
  39. forwardFive()
  40. placeGrass()
  41. forwardFive()
  42. placeGrass()
  43. end
  44.  
  45. function twoRows()
  46. placeEight()
  47. turtle.turnRight()
  48. forwardFive()
  49. turtle.turnRight()
  50. placeEight()
  51. turtle.turnLeft()
  52. forwardFive()
  53. turtle.turnLeft()
  54. end
  55.  
  56. function placeTenBlocks()
  57. placeBlock()
  58. forwardFive()
  59. placeBlock()
  60. forwardFive()
  61. placeBlock()
  62. forwardFive()
  63. placeBlock()
  64. forwardFive()
  65. placeBlock()
  66. forwardFive()
  67. placeBlock()
  68. forwardFive()
  69. placeBlock()
  70. forwardFive()
  71. placeBlock()
  72. end
  73.  
  74. function twoRowsBlocks()
  75. placeTenBlocks()
  76. turtle.turnRight()
  77. forwardFive()
  78. turtle.turnRight()
  79. placeTenBlocks()
  80. turtle.turnLeft()
  81. forwardFive()
  82. turtle.turnLeft()
  83. end
  84.  
  85.  
  86.  
  87. print("+-------------------------------------+")
  88. print("| Tree Farm V3 Setup |")
  89. print("+-------------------------------------+")
  90. print("| Slot 1: 64 Grass |")
  91. print("| Slot 2: 64 Blocks |")
  92. print("+-------------------------------------+")
  93. read()
  94.  
  95. turtle.digDown()
  96. turtle.select(grass)
  97. twoRows()
  98. twoRows()
  99. twoRows()
  100. twoRows()
  101. turtle.turnLeft()
  102. forwardFive()
  103. forwardFive()
  104. forwardFive()
  105. forwardFive()
  106. forwardFive()
  107. forwardFive()
  108. forwardFive()
  109. forwardFive()
  110. turtle.turnRight()
  111. turtle.up()
  112. turtle.up()
  113. turtle.up()
  114. turtle.up()
  115. turtle.up()
  116. turtle.select(block)
  117. twoRowsBlocks()
  118. twoRowsBlocks()
  119. twoRowsBlocks()
  120. twoRowsBlocks()
  121. turtle.turnLeft()
  122. forwardFive()
  123. forwardFive()
  124. forwardFive()
  125. forwardFive()
  126. forwardFive()
  127. forwardFive()
  128. forwardFive()
  129. forwardFive()
  130. turtle.turnRight()
  131. turtle.down()
  132. turtle.down()
  133. turtle.down()
  134. turtle.down()
  135. turtle.down()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement