fix(tunnels-miner): refuel all from inventory at start

This commit is contained in:
Guillaume ARM 2024-05-26 03:54:02 +02:00
parent 1747263d26
commit 4091084bea

View File

@ -6,7 +6,7 @@ local TIME_TO_START = 3
local IDLE_TIME_BETWEEN_TUNNELS = 1
local SPACE_BETWEEN_TUNNELS = 3
local VERSION = "1.0.1"
local VERSION = "1.0.2"
local MOVES_BY_DIRECTION = {
right = {
@ -128,6 +128,8 @@ end
local function main(config)
assertValidConfig(config)
turtleUtils.refuelAllFromInventory()
printFuelReport(config)
assertEnoughFuelForTunnel(config)