fix(tunnels-miner): goToNextMineProcedures should not use digForward function
This commit is contained in:
parent
32783f7ebc
commit
37bfb2965a
@ -6,7 +6,7 @@ local TIME_TO_START = 3
|
|||||||
local IDLE_TIME_BETWEEN_TUNNELS = 1
|
local IDLE_TIME_BETWEEN_TUNNELS = 1
|
||||||
local SPACE_BETWEEN_TUNNELS = 3
|
local SPACE_BETWEEN_TUNNELS = 3
|
||||||
|
|
||||||
local VERSION = "1.1.0"
|
local VERSION = "1.1.1"
|
||||||
|
|
||||||
local MOVES_BY_DIRECTION = {
|
local MOVES_BY_DIRECTION = {
|
||||||
right = {
|
right = {
|
||||||
@ -122,7 +122,11 @@ end
|
|||||||
|
|
||||||
local function goToNextMineProcedure(config)
|
local function goToNextMineProcedure(config)
|
||||||
getMoves(config).turnLeft()
|
getMoves(config).turnLeft()
|
||||||
digForward(SPACE_BETWEEN_TUNNELS)
|
|
||||||
|
for _=1, SPACE_BETWEEN_TUNNELS, 1 do
|
||||||
|
turtleUtils.forceForward()
|
||||||
|
end
|
||||||
|
|
||||||
getMoves(config).turnLeft()
|
getMoves(config).turnLeft()
|
||||||
turtleUtils.forceUp()
|
turtleUtils.forceUp()
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user