denesik

lavagen

Sep 17th, 2013
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.26 KB | None | 0 0
  1. -- pastebin get YyeRUPxG l
  2.  
  3. print("1:  1 pump")
  4. print("2:  1 geothermal generator")
  5. print("3:  1 cable")
  6. print("4:  1 electrical engine")
  7. print("5:  1 redstone torch")
  8. print("6:  18 redstone energy conduit")
  9. print("7:  28 magmatic engine")
  10. print("8:  7 liquiduct")
  11. print("9:  1 energy tesseract")
  12. print("10: 1 chunck loader")
  13. print("11: 25 stone")
  14. print("12: 64 glass")
  15. print("13: 64 glass")
  16. print("14: 32 glass")
  17.  
  18. print("")
  19. print("press any key to run")
  20. local input = read()
  21.  
  22. os.sleep(5)
  23.  
  24. function t()
  25.     turtle.placeDown()
  26.     turtle.forward()
  27.     turtle.placeDown()
  28.     turtle.forward()
  29.     turtle.placeDown()
  30.     turtle.turnRight()
  31.  
  32.     for j=1,3 do
  33.         for i=1,4 do
  34.             turtle.forward()
  35.             turtle.placeDown()     
  36.         end
  37.         turtle.turnRight()
  38.     end
  39.  
  40.     turtle.forward()
  41.     turtle.placeDown()
  42.     turtle.forward()
  43.     turtle.up()
  44. end
  45.  
  46. function l()
  47.     turtle.turnRight()
  48.     columnUp(7)
  49.     turtle.forward()
  50.     turtle.turnRight()
  51.     turtle.forward()
  52.     columnDown()
  53. end
  54.  
  55. function columnUp(slot)
  56.   turtle.select(slot)
  57.   for i=1,7 do
  58.     turtle.up()
  59.     turtle.placeDown()
  60.   end
  61. end
  62.  
  63. function columnDown()
  64.   for i = 1,7 do
  65.     turtle.down()
  66.   end
  67. end
  68.  
  69. turtle.select(11)
  70.  
  71. turtle.up()
  72. turtle.forward()
  73. turtle.placeDown()
  74. turtle.turnLeft()
  75. turtle.forward()
  76. turtle.placeDown()
  77. turtle.turnLeft()
  78. turtle.forward()
  79. turtle.placeDown()
  80. turtle.forward()
  81. turtle.placeDown()
  82. turtle.turnLeft()
  83. turtle.forward()
  84. turtle.placeDown()
  85. turtle.forward()
  86. turtle.placeDown()
  87. turtle.turnLeft()
  88. turtle.forward()
  89. turtle.placeDown()
  90. turtle.forward()
  91. turtle.placeDown()
  92. turtle.turnLeft()
  93. turtle.forward()
  94. turtle.turnLeft()
  95. turtle.forward()
  96.  
  97.  
  98. turtle.select(1)
  99. turtle.up()
  100. turtle.placeDown()
  101. turtle.select(2)
  102. turtle.forward()
  103. turtle.placeDown()
  104. turtle.turnRight()
  105. turtle.select(3)
  106. turtle.forward()
  107. turtle.placeDown()
  108. turtle.turnRight()
  109. turtle.select(4)
  110. turtle.forward()
  111. turtle.placeDown()
  112. turtle.select(5)
  113. turtle.forward()
  114. turtle.placeDown()
  115. turtle.turnRight()
  116.  
  117. columnUp(6)
  118. turtle.forward()
  119. columnDown()
  120. columnUp(7)
  121. turtle.turnRight()
  122. turtle.turnRight()
  123. turtle.forward()
  124. turtle.turnLeft()
  125. turtle.forward()
  126. columnDown()
  127. columnUp(7)
  128.  
  129. turtle.forward()
  130. turtle.turnLeft()
  131. turtle.forward()
  132. turtle.forward()
  133. turtle.turnLeft()
  134.  
  135. columnDown()
  136. columnUp(6)
  137. turtle.forward()
  138. columnDown()
  139. columnUp(7)
  140. turtle.turnRight()
  141. turtle.turnRight()
  142. turtle.forward()
  143. turtle.turnRight()
  144. turtle.forward()
  145. columnDown()
  146. columnUp(7)
  147.  
  148. turtle.turnRight()
  149. turtle.forward()
  150.  
  151. columnDown()
  152. columnUp(8)
  153.  
  154. turtle.up()
  155. turtle.select(9)
  156. turtle.placeDown()
  157. turtle.forward()
  158. turtle.select(6)
  159. turtle.placeDown()
  160. turtle.turnLeft()
  161. turtle.forward()
  162. turtle.placeDown()
  163. turtle.turnLeft()
  164. turtle.forward()
  165. turtle.forward()
  166. turtle.turnLeft()
  167. turtle.forward()
  168. turtle.placeDown()
  169. turtle.forward()
  170. turtle.placeDown()
  171. turtle.turnLeft()
  172. turtle.forward()
  173. turtle.turnLeft()
  174. turtle.forward()
  175. turtle.turnRight()
  176. turtle.up()
  177. turtle.select(10)
  178. turtle.placeDown()
  179.  
  180. turtle.forward()
  181. turtle.forward()
  182.  
  183. turtle.down()
  184. turtle.down()
  185. columnDown()
  186. turtle.down()
  187.  
  188. turtle.turnRight()
  189.  
  190. turtle.select(11)
  191.  
  192. t()
  193.  
  194. slot=12
  195. for k=1,10 do
  196.     if turtle.getItemCount(slot)==0 then
  197.         slot=slot+1
  198.     end
  199.     turtle.select(slot)
  200.     t()
  201. end
  202.  
  203.  
  204. turtle.down()
  205. turtle.turnRight()
  206. turtle.forward()
  207. turtle.forward()
Advertisement
Add Comment
Please, Sign In to add comment