Advertisement
mickael49300_fr

auto_build_Black_Iron_Frame_pour_Lunaria_Expert

Jun 1st, 2023
1,894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.62 KB | None | 0 0
  1. print(" auto build Black Iron Frame pour Lunaria Expert ")
  2. print(" programme V.1 ")
  3. print(" by Mickael49300_fr ")
  4. print(" en attente de ressource ")
  5. while true do
  6. sleep(.1)
  7.  
  8.   while rs.getInput("back") do -- attente du signal de redstone pour lancer le programe
  9. -- chargement des block
  10. print(" chargement des block ")
  11. turtle.select(1) -- Gaia Spirit
  12. turtle.suck(1)
  13. turtle.select(2) -- Black Iron Block
  14. turtle.turnLeft()
  15. turtle.suck(20)
  16. turtle.turnLeft()
  17. turtle.turnLeft()
  18. turtle.select(3) -- Enderium Glass
  19. turtle.suck(6)
  20. turtle.turnLeft()
  21.  
  22. turtle.up()
  23. turtle.up()
  24. turtle.up()
  25. turtle.up()
  26.  
  27. -- construction du Pity Machine Frame
  28. print(" construction du Black Iron Frame ")
  29.  
  30. -- 1er etage
  31. print(" build du 1er etage ")
  32. turtle.turnRight()
  33. turtle.forward()
  34. turtle.turnLeft()
  35. turtle.forward()
  36. turtle.select(2)
  37. turtle.placeDown() -- pose le Black Iron Block
  38. turtle.forward()
  39. turtle.placeDown() -- pose le Black Iron Block
  40. turtle.forward()
  41. turtle.placeDown() -- pose le Black Iron Block
  42. turtle.turnLeft()
  43. turtle.forward()
  44. turtle.placeDown() -- pose le Black Iron Block
  45. turtle.forward()
  46. turtle.placeDown() -- pose le Black Iron Block
  47. turtle.turnLeft()
  48. turtle.forward()
  49. turtle.placeDown() -- pose le  Black Iron Block
  50. turtle.forward()
  51. turtle.placeDown() -- pose le Black Iron Block
  52. turtle.turnLeft()
  53. turtle.forward()
  54. turtle.placeDown() -- pose le Black Iron Block
  55. turtle.turnLeft()
  56. turtle.forward()
  57. turtle.select(3)
  58. turtle.placeDown() -- pose l'Enderium Glass
  59. turtle.up()
  60.  
  61. -- 2eme etage
  62. print(" build du 2eme etage ")
  63. turtle.forward()
  64. turtle.turnLeft()
  65. turtle.forward()
  66. turtle.turnLeft()
  67. turtle.select(2)
  68. turtle.placeDown() -- pose le Black Iron Block
  69. turtle.forward()
  70. turtle.select(3)
  71. turtle.placeDown() -- pose l'Enderium Glass
  72. turtle.forward()
  73. turtle.select(2)
  74. turtle.placeDown() -- pose le Black Iron Block
  75. turtle.turnLeft()
  76. turtle.select(3)
  77. turtle.forward()
  78. turtle.placeDown() -- pose l'Enderium Glass
  79. turtle.forward()
  80. turtle.select(2)
  81. turtle.placeDown() -- pose le Black Iron Block
  82. turtle.turnLeft()
  83. turtle.forward()
  84. turtle.select(3)
  85. turtle.placeDown() -- pose l'Enderium Glass
  86. turtle.forward()
  87. turtle.select(2)
  88. turtle.placeDown() -- pose le Black Iron Block
  89. turtle.turnLeft()
  90. turtle.select(3)
  91. turtle.forward()
  92. turtle.placeDown() -- pose l'Enderium Glass
  93. turtle.turnLeft()
  94. turtle.forward()
  95. turtle.up()
  96.  
  97. -- 3eme etage
  98. print(" build du 3eme etage ")
  99. turtle.forward()
  100. turtle.turnLeft()
  101. turtle.forward()
  102. turtle.turnLeft()
  103. turtle.select(2)
  104. turtle.placeDown() -- pose le Black Iron Block
  105. turtle.forward()
  106. turtle.placeDown() -- pose le Black Iron Block
  107. turtle.forward()
  108. turtle.placeDown() -- pose le Black Iron Block
  109. turtle.turnLeft()
  110. turtle.forward()
  111. turtle.placeDown() -- pose le Black Iron Block
  112. turtle.forward()
  113. turtle.placeDown() -- pose le Black Iron Block
  114. turtle.turnLeft()
  115. turtle.forward()
  116. turtle.placeDown() -- pose le Black Iron Block
  117. turtle.forward()
  118. turtle.placeDown() -- pose le Black Iron Block
  119. turtle.turnLeft()
  120. turtle.forward()
  121. turtle.placeDown() -- pose le Black Iron Block
  122. turtle.turnLeft()
  123. turtle.forward()
  124. turtle.select(3)
  125. turtle.placeDown() -- pose l'Enderium Glass
  126. turtle.up()
  127.  
  128. -- drop du Gaia Spirit
  129. print(" drop du Gaia Spirit ")
  130. turtle.select(1)
  131. turtle.dropDown()
  132.  
  133.   -- retour vers la zone d'attente
  134. print(" pause de 15sec ")  
  135. sleep(15)
  136. print(" retour au point de depart ")
  137. turtle.turnLeft()
  138. turtle.turnLeft()
  139. turtle.forward()
  140. turtle.forward()
  141. turtle.down()
  142. turtle.down()
  143. turtle.down()
  144. turtle.down()
  145. turtle.down()
  146. turtle.down()
  147. turtle.down()
  148. turtle.turnLeft()
  149. turtle.turnLeft()
  150.  
  151. sleep(1)
  152. print("en attente de ressource")
  153.    
  154.   end
  155. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement