Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x = 1
- function reverse()
- turtle.turnLeft()
- turtle.turnLeft()
- end
- term.write("Depth = ")
- x = tonumber(read())
- for i = 1,x do
- turtle.dig()
- turtle.forward()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.up()
- turtle.digUp()
- turtle.down()
- turtle.down()
- turtle.digDown()
- turtle.down()
- end
- reverse()
- for i = 1,x do
- turtle.up()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement