Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- turtle.up()
- direction = "r"
- for i=1,16 do
- for j=1,16 do
- turtle.dig()
- turtle.digUp()
- turtle.digDown()
- turtle.forward()
- end
- if direction == "r" then
- turtle.turnRight()
- turtle.dig()
- turtle.digDown()
- turtle.digUp()
- turtle.forward()
- turtle.turnRight()
- direction = "l"
- else
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- direction = "r"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement