feat: Alt automatisk som hel markplan — behov i ha + overskud, bedste pasform, græsmarker med, nulstil mine valg, genplan ved markkøb — 1.62.283

This commit is contained in:
2026-10-17 02:35:05 +02:00
parent 10622416fc
commit 6e380377a1
10 changed files with 320 additions and 115 deletions
+15 -10
View File
@@ -1316,18 +1316,23 @@ handles small weeds.
### All automatic: every field at once
At the top of the Fields tab is the link **[All automatic] Turn every field on and let the mod choose the crop**.
After a confirmation it does three things:
At the top of the Fields tab are two links:
1. Every field (except contracts) is turned **[On]** and released to chains.
2. **The farm's own use first:** the chain plan sets the fields that barns and factories are short of crops from
(e.g. grass, clover or alfalfa for the cows). Those fields show **[Farm]** in the Auto column.
3. The remaining fields without a target crop are **spread in turn over the 3 most profitable crops** (yield × best
sell price) that the farm's machines can both sow and harvest. Crops are judged over the whole year: preparation
runs right away, sowing waits for the crop's sowing season.
- **[All automatic]** turns every field (except contracts) **[On]**, releases it to chains and makes a plan:
1. **The farm's own use is recalculated:** the needs of barns and factories over 12 months, converted to hectares,
plus the **surplus** from the setting *Surplus for the farm's own use* (default 10 %, kept as a buffer in silo).
2. The need is covered with the fields that **fit best in size** — the smallest field that covers it, otherwise the
largest and so on. Fields already growing the crop (e.g. grass for a grass need) are taken first, so nothing is
ploughed needlessly. Those fields show **[Farm]** in the Auto column.
3. **The rest become cash crops**, spread evenly in hectares over the 3 most profitable crops (yield × best sell
price) the farm's machines can sow and harvest. Surplus grass fields are mown a last time and then re-sown.
- **[All automatic + reset my choices]** does the same, but also recalculates the crops you chose yourself.
Grass fields, contracts and fields where you chose the crop yourself keep their crop. The button waits until the
field scan after loading is done. The log shows which field got what.
Contracts and meadows are never touched; without "reset" neither are fields where you chose the crop. Crops are
judged over the whole year: preparation runs right away, sowing waits for the season. The button waits until the
field scan is done and changes no crops if the farm can't be read in full. Once used, the plan is redone when the
farm buys or sells fields (setting *All automatic: new plan when fields are bought/sold*). The log shows needs and
the allocation.
### Pick and forget: a crop on the field