Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local distance = 10
- turtle.select(16)
- turtle.refuel() -- Securite fuel
- while true do
- print("Recolte avec support...")
- turtle.turnRight() -- Face a la ligne
- for i = 1, distance do
- turtle.turnLeft() -- Face au buisson (et au mur derriere)
- -- On s'assure d'avoir la main vide (Slot 1)
- turtle.select(1)
- -- LA MAGIE OPERE ICI :
- -- Elle vise le mur du fond, mais touche le buisson
- turtle.place()
- turtle.suck()
- turtle.turnRight()
- if i < distance then
- turtle.forward()
- end
- end
- -- RETOUR
- turtle.turnLeft()
- turtle.turnLeft()
- for i = 1, distance - 1 do turtle.forward() end
- -- VIDAGE
- turtle.turnLeft()
- turtle.turnLeft()
- for s = 1, 15 do turtle.select(s) turtle.dropDown() end
- turtle.turnLeft()
- sleep(600)
- end
Advertisement
Add Comment
Please, Sign In to add comment