feat: slagteklare dyr køres til dyrehandleren (pr. stald, lånt traktor + kreaturvogn)
This commit is contained in:
@@ -57,6 +57,7 @@ local function owned(vehicle)
|
||||
local module = vehicle.ad.stateModule
|
||||
if module.getStartHelper ~= nil and module:getStartHelper() == true then return true end -- Courseplay-hjælper (markens tømmevogn)
|
||||
if ADFlowWagons ~= nil and ADFlowWagons.statusOf ~= nil and ADFlowWagons.statusOf(vehicle) ~= nil then return true end
|
||||
if ADLivestock ~= nil and ADLivestock.isBusy ~= nil and ADLivestock.isBusy(vehicle) then return true end
|
||||
if ADUnloadWait ~= nil and ADUnloadWait.getWaitFor ~= nil and ADUnloadWait.getWaitFor(vehicle) ~= nil then return true end
|
||||
if ADOutbound ~= nil and ADOutbound.getHoldFor ~= nil and ADOutbound.getHoldFor(vehicle) ~= nil then return true end
|
||||
return ADFieldSilos ~= nil and ADFieldSilos.isLoaned ~= nil and ADFieldSilos.isLoaned(vehicle) == true
|
||||
|
||||
Reference in New Issue
Block a user