pub enum RouteEditorSheet {
Show 16 variants
Stops,
AddMenu {
index: usize,
},
WaypointMenu {
index: usize,
},
WaypointMapPick,
HarvestPicker {
index: usize,
picked: BTreeSet<String>,
nodes: Vec<NodeCandidate>,
},
WithdrawContainers {
index: usize,
},
WithdrawItems {
container_id: String,
lines: Vec<WithdrawLineDraft>,
index: usize,
},
DepositContainers {
index: usize,
},
DepositFilter {
container_id: String,
rows: Vec<(String, bool)>,
index: usize,
},
SellNpcs {
index: usize,
},
SellItem {
npc_id: Option<String>,
templates: Vec<String>,
index: usize,
sell_all: bool,
picked: BTreeSet<String>,
},
CraftBlueprint {
index: usize,
},
WaitEntry {
ticks: u64,
},
BedPicker {
index: usize,
},
FarmPlotPicker {
index: usize,
action: FarmPlotAction,
},
FarmPlantSeed {
plot_id: Uuid,
seeds: Vec<String>,
index: usize,
},
}Expand description
Which sheet (sub-screen) the route editor is showing.
Variants§
Stops
Root: the ordered stop list.
AddMenu
“Add stop” menu — choose a stop type.
WaypointMenu
Waypoint submenu (player position / map click).
WaypointMapPick
“Click the map to place the waypoint” transient mode.
HarvestPicker
Pick harvest node(s) from the region list (picked → Done row).
nodes is frozen when the sheet opens so the list does not reshuffle while navigating.
WithdrawContainers
Withdraw step 1: pick the source container.
WithdrawItems
Withdraw step 2: choose items + All/qty within the container.
DepositContainers
Deposit step 1: pick the target container.
DepositFilter
Deposit step 2: optional “only these templates” filter.
Fields
SellNpcs
Sell step 1: pick the merchant (or auto).
SellItem
Sell step 2: pick item template(s) (+ sell-all toggle, picked → Done).
Fields
CraftBlueprint
Craft: pick a blueprint (at hand).
WaitEntry
Wait stop: adjust ticks.
BedPicker
Pick the rest bed (lodging).
FarmPlotPicker
Pick a farmable property plot for cultivate / plant / harvest stops.
FarmPlantSeed
Plant-plot step 2: pick seed template after choosing a plot.
Trait Implementations§
Source§impl Clone for RouteEditorSheet
impl Clone for RouteEditorSheet
Source§fn clone(&self) -> RouteEditorSheet
fn clone(&self) -> RouteEditorSheet
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more