Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Avez vous d'abord bien pense a refuel ?")
- l = read()
- print("Placez 2 stacks de bois dans les slots 1, 2, 3 et 4")
- o = read()
- print("quelle longueur de rail avez vous ?")
- q = read()
- print("Placez les rails dans le 5ème slot")
- print("appuyez sur une touche pour commencer")
- g = read()
- turtle.forward()
- local k = turtle.getItemCount(5)
- local n = k * q
- for b = 1, n do
- for j = 1, q do
- if turtle.getItemCount(1) < 3 then
- turtle.select(2)
- end
- if turtle.getItemCount(2) < 3 then
- turtle.select(3)
- end
- if turtle.getItemCount(3) < 3 then
- turtle.select(4)
- end
- turtle.placeDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- end
- turtle.up()
- turtle.back()
- turtle.turnRight()
- turtle.turnRight()
- turtle.select(5)
- turtle.placeDown()
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.down()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement