Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------
- -- Turtle pyramid building --
- -- by Est --
- -----------------------------
- s=1
- turtle.select(s)
- while true do
- for i=1,4 do
- repeat
- turtle.turnLeft()
- turtle.place()
- turtle.turnRight()
- turtle.forward()
- while turtle.getItemCount(s)=0 do
- s=s+1
- if s>16 then
- exit()
- end
- turtle.select(s)
- end
- until not turtle.compareDown()
- turtle.turnLeft()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- end
- turtle.up()
- turtle.turnLeft()
- turtle.foward()
- turtle.turnRight()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement