Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wall(len)
- for n=1,len-1 do
- turtle.forward()
- turtle.placeDown()
- end
- end
- function layer(size)
- for n=1,4 do
- wall(size)
- turtle.turnRight()
- end
- end
- for y=0,2 do
- turtle.up()
- layer(7-2*y)
- turtle.forward()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- end
- turtle.placeDown()
Add Comment
Please, Sign In to add comment