fix(kæde): afhængigheds-advarsel uden støj fra auto-flows, alternative opskrifter og kæder

- Auto-flowets mål tæller kun for varer gården forbruger (eller en kæde vil
  have); stald-foder/auto-behov uden kendt forbrug er ikke nødvendigt. Manuel
  flow-vare og kæde-input gælder også uden kendte lagerdage.
- En slukket opskrift springes over, når en anden tændt opskrift i samme
  fabrik laver varen.
- Behov kun fra kæder giver ingen advarsel/post (Task 10 melder kæderne).
This commit is contained in:
2026-09-30 15:13:15 +02:00
parent 9fde03f950
commit e9f1251471
5 changed files with 66 additions and 18 deletions
+9 -3
View File
@@ -710,9 +710,13 @@ The messages:
If you switch off a production the farm depends on, the mod warns you — also when no chain is running. A
production is needed when one of its goods is used by the farm:
- a running supply flow carries the goods (chosen as goods, or the flow's target takes the goods in auto),
- a running supply flow has the goods chosen as goods,
- a running flow in auto goes to a target that takes the goods, and the farm consumes the goods,
- a barn is eating the goods right now, or
- an active chain has the goods as input.
- an active chain has the goods as input (if only chains use the goods, it is reported as a missing link
instead, see above).
For auto flows and barns the farm's consumption of the goods must be known; otherwise the goods do not count as needed.
Example: you switch off the fermenting silos, but the flows *Cow Food*, *Goat Food* and *Biogas Silage* fetch
silage. You then get the message *Warning: you switched off Fermenting silo 3 (Silage) — Cow Food, Goat Food
@@ -721,10 +725,12 @@ The message comes once per switch-off, at most a minute later.
As long as the production is off and still needed, **Needs attention** shows a red line: *Switched off but
needed: Fermenting silo 3* (at most 2; also in the status window under Warnings). Clicking opens the storage
tab **Factories** — or **Chains** if only a chain uses the goods.
tab **Factories**.
No warning when:
- another recipe in the same factory makes the goods and is on (you chose which recipe runs — for example one
silage recipe in a fermenting silo),
- another running production makes the goods with enough capacity,
- the farm has stock for more than 60 days,
- the chain switched the production off itself, or