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
@@ -1058,6 +1058,7 @@ local function tickOrphans(adEnv, elapsed)
or (run ~= nil and not run.stopped) or (ADFieldJobs ~= nil and id ~= nil and ADFieldJobs.state.assignments[id] ~= nil)
or (ADCpBridge ~= nil and ADCpBridge.isWorking(vehicle)) or #ADHitch.rearImplementsOf(vehicle) == 0
or (ADPlayerClaim ~= nil and ADPlayerClaim.claims(vehicle))
or (ADLivestock ~= nil and ADLivestock.isBusy ~= nil and ADLivestock.isBusy(vehicle))
local atOwnPark = false
local parkId = ADFieldWork ~= nil and ADFieldWork.parkMarkerId ~= nil and ADFieldWork.parkMarkerId(adEnv, vehicle) or nil
local parkWp = parkId ~= nil and adEnv.ADGraphManager:getWayPointById(parkId) or nil