Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 1x2 tunnel for 40 blocks
- function stair()
- if turtle.detect() then
- turtle.dig()
- end
- turtle.forward()
- if turtle.detectUp() then
- turtle.digUp()
- end
- if turtle.detectDown() then
- turtle.digDown()
- end
- turtle.down()
- end
- function stairs()
- for i=1, 40
- stair()
- end
- end
- -- every 3 blocks, mine left & right 5 blocks
Advertisement
Add Comment
Please, Sign In to add comment