feat: statusvinduet viser redskaber der mangler på gården (rødt), ikke kø (v1.62.23)

This commit is contained in:
2026-10-05 10:17:24 +02:00
parent b21e948792
commit 50d972df93
8 changed files with 92 additions and 9 deletions
+3
View File
@@ -557,6 +557,9 @@ function ADFieldWork.dispatch(adEnv, field, info, decision)
end
if poolWhy == "noPoolTractor" and why ~= "allBusy" then
why, args = poolWhy, poolArgs
elseif poolWhy == "poolBusy" then
-- puljeredskabet hentes til en anden mark: kø (gul), ikke "ingen maskine" (rød)
why, args = "allBusy", nil
end
end
if #offNetwork > 0 and (why == "cannotDo" or why == "noRig") then