Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function platz()
- for i=1,l do
- if turtle.getItemCount(s) == 0 then
- s=s+1
- turtle.select(s)
- end
- if s < 17 then
- turtle.forward()
- turtle.placeDown()
- end
- end
- end -- function platz
- print("laenge:")
- l=read()
- print("Zurueck = j")
- z=read()
- s=1
- turtle.select(s)
- platz()
- turtle.turnLeft()
- turtle.forward()
- turtle.placeDown()
- turtle.turnLeft()
- platz()
- turtle.up()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- platz()
- turtle.turnRight()
- turtle.forward()
- turtle.forward()
- turtle.forward()
- turtle.turnRight()
- platz()
- if z == "j" then
- turtle.turnRight()
- turtle.forward()
- turtle.down()
- turtle.turnRight()
- for i=1,l do
- turtle.forward()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement