local quarryDepth = 2
local quarryWidth = 16
local quarryLength = 16
local function diglane()
for length = 0, quarryLength do
turtle.dig()
turtle.forward()
end
end
local function quarry()
for depth = 0, quarryDepth do
turtle.digDown()
turtle.down()
for width = 0, quarryWidth, 2 do
diglane()
turtle.turnRight()
turtle.dig()
turtle.forward()
turtle.turnRight()
diglane()
turtle.turnLeft()
turtle.dig()
turtle.forward()
turtle.turnLeft()
end
turtle.turnRight()
turtle.diglane()
turtle.turnRight()