This commit is contained in:
Crispy 2025-07-03 19:37:25 +02:00
parent 68ec37f994
commit 45e6ec6e95
8 changed files with 49 additions and 39 deletions

View file

@ -49,11 +49,11 @@ function clear_tile_slice()
for layer = layer_start, 5 do
save(layer)
local y = 12 - layer * 3
local x = 9
local length = 8 * TILES + 9
local x = 8
local length = 8 * TILES + 8
if layer == 5 then
x = x - 3
length = length - 3
x = x - 2
length = length - 2
end
turnLeft = (layer % 2 == 0) ~= mirror
local z = progress*8 + 1 + (layer % 2) * 7
@ -73,7 +73,10 @@ function clear_tile_slice()
for _ = 1, length do
mine3_step()
end
if strip ~= 8 then
if strip == 8 then
turtle.digUp()
turtle.digDown()
else
turn()
mine3_step()
turn()