feat: stoppet gylle-flows samlede sæt (gyllevogn på) er også markflåde; oversigt viser 'Gøder — sættet er lånt til markerne' ved reserve-dvale — 1.62.316

This commit is contained in:
2026-10-17 11:41:45 +02:00
parent 5d2f654233
commit 9b7c43fc94
7 changed files with 45 additions and 2 deletions
@@ -73,6 +73,13 @@ function SmartPickupFrame:flowCells(adEnv, run)
local why = nil
if ADFlowSleep ~= nil and ADFlowSleep.getSleepReason ~= nil then why = ADFlowSleep.getSleepReason(run.id) end
status = i18n:getText("spu_flow_sleeping")
-- gødningsreserven holder gyllesalget: sættet står til rådighed for markerne — det er ikke "søvn" for spilleren
if type(why) == "string" and ADFlowSleep.heldForFields ~= nil and ADFlowSleep.heldForFields({why}) then
status = i18n:getText("spu_flow_fertilizing")
longStatus = string.format(i18n:getText("spu_flow_fertilizingWhy"), ADFlowSleep.shortReason(why))
local name = (run.id == self.selectedRunId and "> " or "") .. ADFlowView.listName(run)
return {name, products, from, to, string.format("%d/%d", row.running, row.total), status, longStatus}
end
if why == false then
why = i18n:getText(run.kind == "outbound" and "spu_sleep_noTripOut" or "spu_sleep_noTripSupply")
elseif why ~= nil then