Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This program digs a 5 x 5 stairwell
- -- down to bedrock
- function cut(blocks)
- for z = 1, blocks do
- turtle.dig()
- turtle.forward()
- end
- end
- size = 5
- for a = 1, size do
- turtle.digDown()
- turtle.down()
- cut(size - a)
- if (size - (a + 1)) > 0 then
- for b = 1, (size - (a + 1)) do
- turtle.back()
- end
- end
- end
- turtle.turnRight()
- for c = 1, (size - 1) do
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- turtle.down()
- end
Advertisement
Add Comment
Please, Sign In to add comment