feat(flows): stoppet flow tømmer vognen før den parkeres — først ved flowets mål, rest til nærmeste silo/egen fabrik der tager varen, så på plads og hjem (v1.51.4.0)
This commit is contained in:
@@ -134,6 +134,7 @@ end
|
||||
local function isBusyVehicle(vehicle, id)
|
||||
return ADFieldJobs.state.assignments[id] ~= nil or isAdActive(vehicle) or ADCpBridge.isWorking(vehicle)
|
||||
or (ADFieldSilos ~= nil and ADFieldSilos.isLoaned(vehicle)) or (ADPool ~= nil and ADPool.isReturning(vehicle))
|
||||
or (ADFlowWagons ~= nil and ADFlowWagons.isEmptying(vehicle))
|
||||
end
|
||||
|
||||
ADFieldWork.isBusyVehicle = isBusyVehicle
|
||||
|
||||
Reference in New Issue
Block a user