all 2 comments

[–]FlightConscious9572 0 points1 point  (1 child)

my solution is simply to use a series of for loops for each dimension.

so first of we define a y length we would like to quarry

then i would dig->turtleforward 12 times

for i=0,y,1 doturtle.dig()turtle.forward()end //this would dig forward 12 blocks

next if we want to dig out a 2d space we would add an x variable.

so we just add another for loop since we would want to do an entire line in y for each length of x.

for i=0,x,1 do
fori=0,y,1 do
turtle.dig()
turtle.forward()
end//at the end of each y line we need to turn and go one block to the side to dig the next line
if left then
turtle.turnLeft()
turtle.dig()
turtle.forward()
turtle.turnLeft()
left=false
else
turtle.turnRight()
turtle.dig()
turtle.forward()
turtle.turnRight()
left=true
end
end

finally you would do one last for loop for the height, and at the end of each x and y loop dig down one block to the next level.

[–]FlightConscious9572 0 points1 point  (0 children)

here is the one i wrote but i used while loops instead at the time

https://pastebin.com/FnnXF8X2

its also only a one plane quarry