Advertisement
mickael49300_fr

auto build Neural Machine Frame pour Ragnamod 7

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