Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args = {...}
- depth = args[1]
- if type(depth) ~= "number" then
- error("The depth must be a number!")
- end
- turtle.up()
- turtle.up()
- for i = 1, depth do
- turle.dig()
- turtle.digDown()
- turtle.down()
- turtle.digDown()
- end
- turtle.turnLeft()
- turtle.turnLeft()
- for i = 1, depth do
- turtle.up()
- turtle.up()
- end
Advertisement
Add Comment
Please, Sign In to add comment