Advertisement
Guest User

farm

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