Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local arg = { ... }
- local c = arg[1]
- local y = 0
- local x = 1
- for i=1,c do
- for i=1,x do
- turtle.forward()
- end
- local continue = true
- while continue do
- for i=1,4 do
- turtle.dig()
- turtle.turnRight()
- end
- turtle.digDown()
- local moved = turtle.down()
- if moved then
- y = y + 1
- else
- continue = false
- end
- end
- for i=1,y do
- turtle.up()
- end
- y = 0
- turtle.turnRight()
- turtle.turnRight()
- for i=1,x do
- turtle.forward()
- end
- x = x + 3
- for i=1,16 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.turnLeft()
- for i=1,16 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.turnLeft()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement