feat: udkørsel "Lever også til" (fodring med samme vogn) + låst traktor og vogn til flowet

This commit is contained in:
2026-10-20 12:29:17 +02:00
parent d074a0640a
commit 34f47dffc8
18 changed files with 340 additions and 27 deletions
+1
View File
@@ -58,6 +58,7 @@ local function owned(vehicle)
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 ADFlowWagons ~= nil and ADFlowWagons.isLockedSet ~= nil and ADFlowWagons.isLockedSet(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