Mine the whole area instead

master
D4VID 1 year ago
parent 58e14bdf35
commit ed08523d4a

@ -42,7 +42,7 @@ local function mine(mine_rows, mine_row_length)
print("Mining row " .. i .. " of " .. mine_rows)
mine_row(mine_row_length)
robot.turnLeft()
if mine_n(3) ~= 3 then
if mine_n(1) ~= 1 then
print("Unable to continue mining rows")
return
end
@ -56,4 +56,4 @@ local rows, row_length = ...
print("Will mine " .. rows .. "x" .. row_length .. " rows")
mine(rows, row_length)
mine(rows, row_length)
Loading…
Cancel
Save