Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ernte()
- turtle.select(1)
- turtle.digDown()
- turtle.placeDown()
- end
- function uTurnRight()
- ernte()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- function uTurnLeft()
- ernte()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- end
- function move()
- gehen = 1
- repeat
- ernte()
- turtle.forward()
- gehen = gehen + 1
- until gehen == 7
- end
- function moveW()
- go = 1
- repeat
- turtle.forward()
- go = go + 1
- until go == 7
- end
- function wayBack()
- ernte()
- turtle.turnLeft()
- moveW()
- turtle.turnLeft()
- moveW()
- turtle.forward()
- turtle.turnLeft()
- turtle.turnLeft()
- end
- function drop()
- dropNr = 2
- repeat
- turtle.select(dropNr)
- turtle.dropDown()
- dropNr = dropNr + 1
- until dropNr == 17
- end
- turtle.forward()
- move()
- uTurnRight()
- move()
- uTurnLeft()
- move()
- uTurnRight()
- move()
- uTurnLeft()
- move()
- uTurnRight()
- move()
- uTurnLeft()
- move()
- wayBack()
- drop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement