Advertisement
mickael49300_fr

powah_01

Jun 1st, 2023
1,173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. print(" en attente de ressource ")
  2. while true do
  3. sleep(.1)
  4.  
  5.   while rs.getInput("right") do -- attente du signal de redstone pour lancer le programme
  6. -- chargement des block
  7. print(" chargement des block ")
  8. turtle.select(1) -- prise de l'item
  9. turtle.suckDown(1)
  10. turtle.up()
  11. -- Energizing Orb
  12. print(" drop l'item dans l'Energizing Orb  ")
  13. turtle.drop(1)
  14. turtle.down()
  15. sleep(10)
  16. print("en attente de ressource")
  17.    
  18.   end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement