feat: dvale for flows uden arbejde — traktor og vogn frigives, flowet vågner selv (v1.62.58)

This commit is contained in:
2026-10-07 17:13:12 +02:00
parent ab47ac70b3
commit dd434a2fc1
16 changed files with 380 additions and 8 deletions
+17
View File
@@ -660,6 +660,23 @@ and while the flow is running.
saved) is taken back to its parking spot after a few minutes, and the tractor drives home. A tractor
standing within 30 m of its own parking spot is left alone.
### Sleep (flows with nothing to do)
A flow that has had **nothing to do for 10 minutes** goes to sleep, so its tractor and trailer can do other
work. This happens when all of the flow's tractors have held at a Wait point, are empty and have a trailer
attached (e.g. *Sell Egg* waiting for a good price, or a feed flow whose barn is full).
- **Sleep** works like Stop: the trailer is parked at its own parking spot and the tractor drives home. Both
are then free for the machine pool and field work, but the trailer still belongs to the flow and is never
lent out. The Flows tab shows *Sleeping — wakes when there is work*.
- **Waking:** every minute the mod uses the parked trailer to work out whether the flow has a trip, e.g. the
price has reached the threshold or the barn needs feed. The flow then starts again. If the flow's tractor is
lent out to field work, the nearest free tractor able to pull the trailer takes over and joins the flow.
If none is free, the flow waits for its own.
- **Trucks with their own bed or tank** (pallet truck, milk truck) never sleep — they can't be used for anything else.
- 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.
### The machine pool
The machine pool is used by field work and field silos when no ready-made set is free.