fix: syntax errors
This commit is contained in:
parent
c8a01d279c
commit
31298f5735
@ -23,12 +23,12 @@ local robot = robotApi.create()
|
||||
|
||||
local MAX_INVENTORY_BLOCKS = 16 * 64
|
||||
local ADDITIONAL_FUEL_NEEDED = 512
|
||||
local MIN_FUEL_NEEDED = (size * 2) + TARGET_Y + MAX_INVENTORY_BLOCKS + ADDITIONAL_FUEL_NEEDED
|
||||
local MIN_FUEL_NEEDED = (config.size * 2) + TARGET_Y + MAX_INVENTORY_BLOCKS + ADDITIONAL_FUEL_NEEDED
|
||||
|
||||
local miner = {
|
||||
robot = robot,
|
||||
mission = 'unload', -- "unload" | "refuel" | "mine" | "return-home" | "return-mine" | nil
|
||||
finished = false
|
||||
finished = false,
|
||||
lastPositionState = nil -- { x, y, z, dir }
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user