feat: udkørsel "Lever også til" (fodring med samme vogn) + låst traktor og vogn til flowet

This commit is contained in:
2026-10-20 12:29:17 +02:00
parent d074a0640a
commit 34f47dffc8
18 changed files with 340 additions and 27 deletions
+26 -1
View File
@@ -371,7 +371,7 @@ If you switch tab or close the menu, changes you have not saved are lost.
### The "Set up flow" guide
The guide asks one question at a time, e.g. *Step 3 of 8 — Goods*. Steps that do not apply to your flow
are skipped, so there are at most 9 steps. The buttons are **Next**, **Back** and **Cancel**. Nothing is
are skipped, so there are at most 10 steps. The buttons are **Next**, **Back** and **Cancel**. Nothing is
created until you press **Start flow** or **Save without starting** on the last step.
| Step | Shown when | Choices |
@@ -381,6 +381,7 @@ created until you press **Start flow** or **Save without starting** on the last
| **To** / **From** | always | The buildings (see *The building list* below) |
| **Goods** | always | Supply: *Automatic (what the building needs)* or *Choose myself*. Outbound: for each good *Off*, *Store*, *Sell* or *Sell, else store*. At the top: **Sell everything the farm does not use** — every good in the chosen buildings that nothing on the farm uses (no active factory with it as input, no barn eating it, not a field input such as seed/fertilizer/lime/herbicide — own slurry/manure only with *Slurry as fertilizer* — and no supply flow carrying it) is sold; new goods are included automatically. Such goods are marked *not used on the farm*. Goods you set yourself follow your choice — *Keep* holds a good back so it is never sold or moved. Diesel, DEF, water, mineral feed, silage additive, seed, fertilizer, lime and herbicide always count as used; so do all inputs of the farm's factories (also switched-off productions), the barns' feed and feed-mixture ingredients, bunker silo goods and anything a supply flow carries. A good that only sits in storage (e.g. delivered to a silo) with nothing using it counts as unused and is sold |
| **Storage** | outbound where at least one good is on Store | *Automatic (nearest with room)* or *Choose myself* among the storages |
| **Also deliver to** | outbound where a building takes one of the sources' goods | Buildings that get the good first when they are short of it (see [Also deliver to](#also-deliver-to-feeding-with-the-same-trailer)) |
| **Rules** | always | Supply: *Loops* and *Return from Wait below*. Outbound: *Sell from*, *Drive to storage above*, *Always sell when source is above*, *Only fetch when source is above* and *Collect in one trip* — but only the rules your goods use (see [chapter 6](#outbound-rules)) |
| **Wait at** | always | *All (nearest free)* or a specific Wait folder |
| **Tractors** | always | See below |
@@ -391,6 +392,11 @@ created until you press **Start flow** or **Save without starting** on the last
- **Borrow a free tractor** (at the top, Yes/No): Yes ties no tractor to the flow — only a trailer, and a free
tractor is borrowed for each trip. See [Borrow a free tractor](#borrow-a-free-tractor-flows-without-a-fixed-tractor)
for the trailer requirements and setup.
- **Lock tractor and trailer to the flow** (Yes/No): Yes means the flow's tractor and trailer are **never** lent
out — not to the machine pool, field work, field silos or other flows — and never driven home to the farm,
not even while the flow sleeps or you press **Stop**. The set waits at its Wait point (or where it stood when
you stopped). Use it for areas far from the farm, e.g. a fishing area. Cannot be combined with *Borrow a free
tractor*.
- The list shows the flow's own tractors first and then the free ones. Each shows how much the trailer
holds and what it can carry: *JCB 1 — 32,000 l — can carry: … — OK*.
- **Solo tractors** (no trailer attached) can be chosen when there is a **free trailer**. The row reads
@@ -730,6 +736,25 @@ With a storage chosen, the flow counts as **feeding**: the tractor leaves as soo
least 10,000 l of the good, without waiting for a full load. That way a plant such as a biogas fermenter
does not run dry.
### Also deliver to (feeding with the same trailer)
The **Also deliver to** step shows the buildings that take at least one of the sources' goods (not the sources
themselves). Choose e.g. every *Young Fish Breeding* in a fish flow where *Fish Food Factory* is one of the
sources.
- If a chosen building has **below 50 %** of one of the goods, the trailer takes the good there **before**
selling and storing. The building that needs it most goes first.
- The good is fetched at the flow's sources **and** in the storage (e.g. the pallet shed), so what is already
stored gets used too.
- If no building is short, the flow runs as before: the factory's pallets go to storage, the fish to sale or
storage.
- Log: *"'Fish Collection' udkørsel: FISHFOOD fra Fish Food Factory, Palleskur 7 → Young Fish Breeding 2
(fodring)"*. With nothing to fetch: *"FISHFOOD: Young Fish Breeding 2 mangler (12 %), intet at hente"*.
- With pallets, Universal Autoload tips the whole load at the building. If there is more on the trailer than the
building can take, the rest stays as pallets at the building.
- The same flow can later take e.g. *young trout* from the breeders to the lakes: make the breeders sources and
choose the lakes under *Also deliver to*.
### How each trip is chosen
Before each loading, and every five seconds while the tractor is holding, the mod checks: