feat(gui): guiden "Opsæt flow" — Flows-fanen får tavle + resumé (klik = ret ét trin, Navn = omdøb) og trin-for-trin-guide på samme ramme som markguiden; Nyt flow oprettes først ved Gem (v1.32.0.0)

This commit is contained in:
2026-09-26 20:28:12 +02:00
parent 92af260a79
commit 9b51a68731
15 changed files with 1203 additions and 275 deletions
+30 -7
View File
@@ -161,12 +161,17 @@ the same order.
### Buttons
The **Flows** tab shows the board (one line per flow) and below it the selected flow's **summary**: Name,
Direction, From/To, Goods, (Storage), Rules, Wait at, Tractors and Status. **Click a flow** on the board to
select it, and **click a summary line** to change just that step (**Save** saves and returns). Click
**Name** to rename the flow.
| Button | What it does |
|---|---|
| **New run** | Creates a new flow. It starts as *Into building* |
| **Rename** | Renames the selected flow |
| **Delete run** | Deletes the flow and stops its running tractors. Cannot be undone |
| **Start run / Stop run** | Starts or stops all tractors in the flow |
| **Start flow / Stop flow** | Starts or stops all tractors in the flow |
| **Set up flow** | The guide for the selected flow with its current choices |
| **New flow** | The guide for a new flow. Nothing is created before you press **Start flow** or **Save without starting** |
| **Delete flow** | Deletes the flow and stops its running tractors. Cannot be undone |
On the **Overview** tab the buttons are instead:
@@ -174,12 +179,30 @@ On the **Overview** tab the buttons are instead:
|---|---|
| **Start all flows** | Starts every flow that has tractors. Flows already running are left alone, so no trip is interrupted |
| **Stop all flows** | Stops all active tractors in all flows |
| **New run** | Creates a new flow and jumps to the **Flows** tab |
| **New flow** | Jumps to the **Flows** tab and opens the guide for a new flow |
Afterwards the status line shows how many flows and tractors were started, plus up to three reasons for
tractors that were skipped. All reasons are in `log.txt`.
Pick a flow in the **Run** field at the top. The details of the selected flow are shown below the board.
### The "Set up flow" guide
Same step screen and buttons as the field guide (**Next**, **Back**, **Cancel**; one question at a time,
steps that do not apply are skipped):
| Step | Shown when | Choices |
|---|---|---|
| **Name** | new flow | *Change name …* opens the text field |
| **Direction** | always | *Into building* (supply) / *Out of building* (delivery) |
| **To** / **From** | always | The buildings (see *The building list* below) |
| **Goods** | always | Supply: *Automatic (what the building needs)* or *Choose myself*. Delivery: per good Off / Store / Sell / Sell, else store |
| **Storage** | delivery with a good on Store | *Automatic (nearest with room)* or *Choose myself* among the stores |
| **Rules** | always | Delivery: sell from %, store above %, collect in one trip. Supply: trips, leave Wait below % |
| **Wait at** | always | The Wait pool |
| **Tractors** | always | Free tractors and the flow's own. Tractors in other flows (and those whose trailer does not fit) are hidden with a line |
| **Summary** | always | The summary; click a line to change it. **Start flow** or **Save without starting** |
The mod never asks about the marker at the building, route checks, best feed first, load swap, source
choice, spreading over several targets, resting empty sources or tractor names.
### Direction
@@ -209,7 +232,7 @@ A supply flow keeps one or more buildings filled with everything they use.
### Setup
1. **New run**, and leave Direction on **Into building**.
1. **New flow** (the guide), and leave Direction on **Into building**.
2. Under **To**: set Yes on the barns and factories to fill. The list also shows silos that can only
be filled and not emptied, such as the Pumps & Hoses drive-on bunkers (DOB 115) that feed a biogas
fermenter. For those, **Select** with the goods the fermenter needs works best.