asd
This commit is contained in:
parent
c8fac4e1f2
commit
b25a63545b
@ -211,8 +211,7 @@ local function mineChunk()
|
||||
mineRow(state["dataGoalPathProgress"])
|
||||
|
||||
--turn back and return to start of row if not last row
|
||||
|
||||
if i<state["dataGoalRows"] then
|
||||
if i<state["dataGoalRows"]-1 then
|
||||
turtle.turnLeft()
|
||||
turtle.turnLeft()
|
||||
--while not turtle.detect() do
|
||||
@ -222,18 +221,19 @@ local function mineChunk()
|
||||
for j=1, state["dataGoalPathProgress"] do
|
||||
turtle.forward()
|
||||
end
|
||||
|
||||
--go to next row
|
||||
turtle.turnLeft()
|
||||
for j=0, 2 do
|
||||
turtle.dig()
|
||||
turtle.forward()
|
||||
turtle.digUp()
|
||||
turtle.digDown()
|
||||
end
|
||||
turtle.turnLeft()
|
||||
end
|
||||
|
||||
|
||||
--go to next row
|
||||
turtle.turnLeft()
|
||||
for j=0, 2 do
|
||||
turtle.dig()
|
||||
turtle.forward()
|
||||
turtle.digUp()
|
||||
turtle.digDown()
|
||||
end
|
||||
turtle.turnLeft()
|
||||
|
||||
|
||||
state["dataCurrentRow"] = i+1
|
||||
|
Loading…
Reference in New Issue
Block a user