Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function push()
- while turtle.detect() == true do
- turtle.dig()
- sleep(.4)
- end
- end
- function step()
- if turtle.forward() then
- else
- push()
- turtle.forward()
- end
- end
- function flip()
- for i=1, 40 do
- push()
- turtle.digUp()
- turtle.up()
- end
- for p=1, 40 do
- turtle.down()
- end
- end
- function drop()
- turtle.digDown()
- turtle.placeDown()
- end
- function ret()
- turtle.turnLeft()
- for i=1, 62 do
- step()
- end
- turtle.turnRight()
- for m=1, 11 do
- step()
- end
- end
- for x=1, 62 do
- flip() --1
- turtle.select(1)
- drop()
- step()
- flip() --2
- turtle.select(2)
- drop()
- step()
- flip() --3
- turtle.select(3)
- drop()
- step()
- flip() --4
- turtle.select(4)
- drop()
- step()
- flip() --5
- turtle.select(5)
- drop()
- step()
- flip() --6
- turtle.select(6)
- drop()
- step()
- flip() --7
- turtle.select(7)
- drop()
- step()
- flip() --8
- turtle.select(8)
- drop()
- step()
- flip() --9
- turtle.select(9)
- drop()
- step()
- flip() --10
- turtle.select(10)
- drop()
- step()
- flip() --11
- turtle.select(11)
- drop()
- step()
- for v=1, 11 do
- turtle.back()
- end
- turtle.turnRight()
- push()
- step()
- turtle.turnLeft()
- end
- ret()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement