feat: slagteklare dyr køres til dyrehandleren (pr. stald, lånt traktor + kreaturvogn)

This commit is contained in:
2026-10-19 16:31:34 +02:00
parent 4fe3c586eb
commit 139431e8de
13 changed files with 499 additions and 1 deletions
+1
View File
@@ -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