mickael49300_fr

auto Spirit soul steel ingot Ragna7 v1.6

Feb 20th, 2024
1,275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.30 KB | Gaming | 0 0
  1. -- fix drop iron
  2. print(" auto Spirit soul steel ingot Ragna7 ")
  3. print(" programme V1.6")
  4. print(" by Mickael49300_fr ")
  5. print(" en attente de ressource ")
  6. while true do
  7. sleep(.1)
  8.  
  9.   while rs.getInput("back") do -- attente du signal de redstone pour lancer le programe
  10. -- chargement des items
  11. print(" lancement du programme ")
  12. print(" 16 Burnt Otherstone")
  13. turtle.select(1)
  14. turtle.suck(16) -- prend les 16 Burnt Otherstone
  15.  
  16. turtle.up()
  17. turtle.up()
  18. turtle.up()
  19.  
  20. turtle.forward()
  21. turtle.forward()
  22. turtle.turnRight()
  23. print(" drop des 16 Burnt Otherstone")
  24. turtle.dropDown() -- drop les 16 Burnt Otherstone
  25.  
  26. turtle.forward()
  27. turtle.forward()
  28. turtle.turnRight()
  29. turtle.down()
  30. sleep(35)
  31. -- craft du soul powder block
  32. print(" craft du soul powder")
  33. turtle.suckDown(4)
  34. turtle.select(2)
  35. turtle.suckDown(4)
  36. turtle.select(5)
  37. turtle.suckDown(4)
  38. turtle.select(6)
  39. turtle.suckDown(4)
  40. turtle.select(1)
  41. turtle.craft() -- craft les 4 soul powder block
  42. -- fin du craft
  43. print(" prend le reste des items")
  44. turtle.forward()
  45. turtle.forward()
  46.  
  47. turtle.select(2)
  48. turtle.suckDown(1) -- prend 1 soul soil
  49.  
  50. turtle.forward()
  51. turtle.select(3)
  52. turtle.suckDown(1) -- prend 1 iron ingot
  53.  
  54. turtle.forward()
  55. turtle.select(4)
  56. turtle.suckDown(1) -- prend 1 flint and steel
  57. print(" pose les bloc pour le rituel")
  58.  
  59. -- modif
  60.  
  61. turtle.forward()
  62. turtle.forward()
  63. turtle.forward()
  64. turtle.turnRight()
  65. turtle.up()
  66. turtle.forward()
  67. turtle.forward()
  68. turtle.turnRight()
  69. turtle.down()
  70. turtle.down()
  71. turtle.select(1)
  72. turtle.place() -- place 1 soul powder block
  73. turtle.turnRight()
  74. turtle.place() -- place 1 soul powder block
  75. turtle.turnRight()
  76. turtle.place() -- place 1 soul powder block
  77. turtle.turnRight()
  78. turtle.place() -- place 1 soul powder block
  79. turtle.turnRight()
  80. turtle.up()
  81. turtle.select(2)
  82. turtle.placeDown() -- place 1 soul soil
  83. turtle.up()
  84.  
  85. -- fin modif
  86.  
  87. turtle.select(4)
  88. turtle.placeDown() -- utilise le flint and steel
  89.  
  90. turtle.select(3)
  91. turtle.dropDown() -- drop iron ingot
  92. print(" retour maison et depose du flint and steel")
  93. turtle.forward()
  94. turtle.forward()
  95. turtle.down()
  96. turtle.select(4)
  97. turtle.dropDown() -- drop le flint and steel dans le coffre
  98.  
  99. turtle.forward()
  100. turtle.forward()
  101. turtle.forward()
  102.  
  103. turtle.down()
  104. turtle.down()
  105. sleep(1)
  106. print(" en attente de ressource")
  107.    
  108.   end
  109. end
Advertisement
Add Comment
Please, Sign In to add comment