TechManDylan

sugar

Nov 21st, 2021 (edited)
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.35 KB | None | 0 0
  1. function SuckIt()
  2. turtle.suckUp(64)
  3. turtle.suckDown(64)
  4. end
  5.  
  6. function Harvest()
  7. turtle.dig()
  8. turtle.forward()
  9. SuckIt()
  10.  
  11. turtle.dig()
  12. turtle.forward()
  13. SuckIt()
  14.  
  15. turtle.dig()
  16. turtle.forward()
  17. SuckIt()
  18.  
  19. turtle.dig()
  20. turtle.forward()
  21. SuckIt()
  22.  
  23. turtle.dig()
  24. turtle.forward()
  25. SuckIt()
  26.  
  27. turtle.dig()
  28. turtle.forward()
  29. SuckIt()
  30.  
  31. turtle.dig()
  32. turtle.forward()
  33. SuckIt()
  34.  
  35. turtle.dig()
  36. turtle.forward()
  37. SuckIt()
  38.  
  39. turtle.dig()
  40. turtle.forward()
  41. SuckIt()
  42.  
  43. turtle.dig()
  44. turtle.forward()
  45. SuckIt()
  46.  
  47. turtle.dig()
  48. turtle.forward()
  49. SuckIt()
  50.  
  51. turtle.dig()
  52. turtle.forward()
  53. SuckIt()
  54.  
  55. turtle.dig()
  56. turtle.forward()
  57. SuckIt()
  58.  
  59. turtle.dig()
  60. turtle.forward()
  61. SuckIt()
  62.  
  63. turtle.dig()
  64. turtle.forward()
  65. SuckIt()
  66.  
  67. turtle.dig()
  68. turtle.forward()
  69. SuckIt()
  70.  
  71. turtle.dig()
  72. turtle.forward()
  73. SuckIt()
  74.  
  75. turtle.dig()
  76. turtle.forward()
  77. SuckIt()
  78.  
  79. turtle.dig()
  80. turtle.forward()
  81. SuckIt()
  82.  
  83. turtle.dig()
  84. turtle.forward()
  85. SuckIt()
  86.  
  87. turtle.dig()
  88. turtle.forward()
  89. SuckIt()
  90.  
  91. turtle.dig()
  92. turtle.forward()
  93. SuckIt()
  94.  
  95. turtle.dig()
  96. turtle.forward()
  97. SuckIt()
  98.  
  99. turtle.dig()
  100. turtle.forward()
  101. SuckIt()
  102.  
  103. turtle.dig()
  104. turtle.forward()
  105. SuckIt()
  106.  
  107. turtle.dig()
  108. turtle.forward()
  109. SuckIt()
  110.  
  111. turtle.dig()
  112. turtle.forward()
  113. SuckIt()
  114.  
  115. turtle.dig()
  116. turtle.forward()
  117. SuckIt()
  118.  
  119. turtle.dig()
  120. turtle.forward()
  121. SuckIt()
  122.  
  123. turtle.dig()
  124. turtle.forward()
  125. SuckIt()
  126.  
  127. turtle.dig()
  128. turtle.forward()
  129. SuckIt()
  130.  
  131. turtle.dig()
  132. turtle.forward()
  133. SuckIt()
  134.  
  135. turtle.dig()
  136. turtle.forward()
  137. SuckIt()
  138.  
  139.  
  140. turtle.dig()
  141. turtle.forward()
  142. turtle.suckDown(64)
  143. turtle.suckUp(64)
  144.  
  145. turtle.turnRight()
  146. turtle.turnRight()
  147. end
  148.  
  149. function Deposit()
  150. turtle.select(1)
  151. turtle.dropDown(64)
  152. turtle.select(2)
  153. turtle.dropDown(64)
  154. turtle.select(3)
  155. turtle.dropDown(64)
  156. turtle.select(4)
  157. turtle.dropDown(64)
  158. turtle.select(5)
  159. turtle.dropDown(64)
  160. turtle.select(6)
  161. turtle.dropDown(64)
  162. turtle.select(7)
  163. turtle.dropDown(64)
  164. turtle.select(8)
  165. turtle.dropDown(64)
  166. turtle.select(9)
  167. turtle.dropDown(64)
  168. turtle.select(10)
  169. turtle.dropDown(64)
  170. turtle.select(11)
  171. turtle.dropDown(64)
  172. turtle.select(12)
  173. turtle.dropDown(64)
  174. turtle.select(13)
  175. turtle.dropDown(64)
  176. turtle.select(14)
  177. turtle.dropDown(64)
  178. turtle.select(15)
  179. turtle.dropDown(64)
  180. turtle.select(16)
  181. turtle.dropDown(64)
  182. end
  183.  
  184.  
  185.  
  186. while true do
  187.  
  188. Harvest()
  189. sleep(900)
  190. Harvest()
  191. Deposit()
  192. sleep(900)
  193.  
  194. end
  195.  
  196.  
Add Comment
Please, Sign In to add comment