feat: lånevogn kan vælges mens den sidder på flowets traktor + dokumentation (1.62.365)

This commit is contained in:
2026-10-19 10:51:28 +02:00
parent 28fb5332c5
commit f2f875c300
8 changed files with 184 additions and 28 deletions
+55 -7
View File
@@ -388,13 +388,9 @@ created until you press **Start flow** or **Save without starting** on the last
**The Tractors step**
- **Borrow a free tractor** (at the top, Yes/No): Yes ties no tractor to the flow — only a **trailer**, chosen
in the **Trailer** line (same requirements as a free trailer below). The flow waits asleep. When there is a
trip, it borrows the best-suited free tractor (not one in another flow), which fetches the trailer at its
Connect marker, drives the trip, parks the trailer at its P bay and is free again. After **2 minutes** with
nothing to do the flow sleeps again. Good for flows with long gaps (honey, wool, winter) — it saves a
tractor. If no tractor is free, the reason shows in the flow list (*ingen ledig traktor kan trække '…'*),
and the flow tries again every minute.
- **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.
- 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
@@ -857,6 +853,58 @@ trailer attached. For example *Sell Egg* waiting for a good price, or a feed flo
- Pressing **Start** or **Stop** yourself ends the sleep. A flow you stopped never wakes on its own.
- Chains treat a sleeping flow as switched on.
### Borrow a free tractor (flows without a fixed tractor)
Some flows rarely have anything to do: honey, wool and eggs in winter, or a sell flow waiting for a good
price. With a fixed tractor, that tractor sits idle all the time. Choose **Borrow a free tractor** and the flow
owns only a **trailer**; a free tractor is borrowed for each trip. That saves tractors — and money.
**Trailer requirements**
1. It has its own **AutoDrive parking**, e.g. the marker *P U Pallevogn*. The parking is set on the trailer
itself: sit in the tractor with the trailer attached, select the P marker and set it as parking in AutoDrive.
2. There is a **Connect marker** with the same name at the spot: *Connect P U Pallevogn* — "Connect " in
front of the full P marker name — on the road just in front of the trailer, so a tractor can drive up and hitch.
3. It can carry the flow's goods. Pallets (honey, eggs, wool) need a trailer with **Universal Autoload**.
**Setting it up**
1. Open the flow (or create a new one) and go to the **Tractors** step.
2. Set **Borrow a free tractor** to **Yes**. The tractor list disappears; the line **Trailer** appears.
3. Choose the trailer. The list shows:
- the trailer the flow's own tractor has attached now, if it has a P bay and Connect — *P U Pallevogn (on
1050 Vario 1 now — parked at its P bay when you save)*. It is selected by default.
- detached trailers with a P bay and Connect that no other flow owns.
If it says *no trailer to borrow for …*, no trailer meets the requirements above.
4. **Save** (or **Start flow**). If the old tractor has the trailer attached, it takes the trailer to its P bay
and drives home — both are then free.
**What happens**
- The flow shows **Sleeping** in the Flows tab while it waits. Every minute the mod checks whether there is a
trip (e.g. a full load of honey or a good price).
- When there is a trip, the flow borrows the **best-suited free tractor** — enough hp for the trailer,
otherwise the nearest. A tractor in another flow, in field work or with a player in the seat is never
borrowed. Log: *"'Honey Pickup' låner '…' til vognen '…'"*.
- The tractor fetches the trailer at the Connect marker, drives the trip and returns to Wait as usual.
- After **2 minutes** with nothing to do the flow sleeps: the trailer is parked at its P bay, the tractor drives
home and is **released** — it no longer belongs to the flow. Log: *"… slipper den lånte traktor '…'"*.
- If the trailer is already attached to a free tractor, that tractor is used.
**When it does not run**
- *ingen ledig traktor kan trække '…'* (in the flow list): all tractors are busy. The flow tries again at the
next check (normally every minute).
- *vognen '…' sidder på '…', som er optaget*: the trailer is lent out (e.g. to field work) or attached to a
busy tractor. The flow waits.
- *lånt traktor kunne ikke starte — prøver igen om N min*: the start was rejected (e.g. a missing marker).
Check the log; the flow waits 10 minutes before trying again.
- **Stop** switches the flow off completely (it does not wake by itself). **Start** / **Start all flows** sets it
waiting for a trip again.
- If you edit the flow while a borrowed tractor is out, it finishes its trip.
- Tractors in **other flows** are never borrowed — not even from a sleeping flow. A chain flow you switch to
borrowing no longer belongs to the chain.
### The machine pool
The machine pool is used by field work and field silos when no ready-made set is free.