docs: decisions of 2026-12-01

This commit is contained in:
Fabian @ Blax Software 2026-12-01 19:48:12 +01:00
parent 9ba62768fc
commit 9940da35be
2 changed files with 34 additions and 25 deletions

View File

@ -4,6 +4,13 @@ Drag a delivery zone and everything you buy from orbital or caravan traders, plu
Status: 1.0 and 1.1 are built and on the Workshop; sleeping zones, work rule areas, storage deliveries, cargo pods and the removal button are designed, no code yet. What the mod covers and the build order: [features.md](features.md). Checked against the RimWorld 1.7.5021 game code on 2026-11-29. RimWorld 1.7, package id `blax.zones`. From the first release a plain unsubscribe leaves a loadable save with vanilla zones intact; once the removal button ships, it removes the mod with no errors.
Changes on 2026-12-01, Fabian's decisions ([features.md](features.md), "Decided 2026-12-01"):
- Work rule areas step 2 (mine, cut, plant work, build and repair first) comes right after step 1, before storage deliveries, and path rules right after it.
- Zones' ownership widens to per-cell work and path rules; the ownership list in all five design docs says so and drops its open-question marks.
- `ZonesApi.TryFindDropSpot` follows the global "Route orbital trade" switch too.
- Bought animals don't land in zones, for now: the Backlog item moved to Cut.
Changes on 2026-12-01, the five Blax plans checked against each other:
- The ownership list in "Works with the other Blax mods" is the same in all five design docs and has a Laws line; parts that wait on an open question name it, path rules among them. The package ids and the load order include Blax Laws.
@ -54,7 +61,7 @@ Changes on 2026-11-29, after two review rounds:
| Sleeping zones | Animal sleeping zones where every cell is a sleeping spot, with species and body-size filters; people sleeping zones for colonists, slaves and prisoners, medical and shared; with Blax Castes, zones limited by caste | Covers the spot-grid use of Designator Shapes (332k, a general shape tool, so not a demand count), Barn Stall's size filter (29k) and Hidden Spots (13k), all alive on 1.7 | None (slaves: Ideology) |
| Zone tools and removal | Save-safe zone storage (shipped in 1.0) and a button that removes Blax Zones from a save with no errors | Nothing | None |
Order, steps, new proposals and open questions: [features.md](features.md). Subscriber counts were read from the Workshop on 2026-11-29. Needs: "None" means the area runs on the core game, and a DLC in brackets marks the parts that switch off without it (see "DLC support"). Effort marks on features (S, M, L for small, medium, large) are information only; the plan is grouped by area, not by effort.
Order, steps, new proposals and decisions: [features.md](features.md). Subscriber counts were read from the Workshop on 2026-11-29. Needs: "None" means the area runs on the core game, and a DLC in brackets marks the parts that switch off without it (see "DLC support"). Effort marks on features (S, M, L for small, medium, large) are information only; the plan is grouped by area, not by effort.
## Defaults I picked
@ -64,7 +71,7 @@ Change if you disagree.
- Deliveries get their own zone type in 1.0, not a flag on stockpiles. Most stockpiles are roofed, where pods can't land, and a landing pad keeps pods out of the warehouse. Flagged stockpiles and shelves come with storage deliveries, together with roofed delivery.
- Goods bought from Hospitality guests land in delivery zones too (1.1), because guests sell through the same caravan code. The caravan checkbox's tooltip says so.
- When every zone cell is taken, pods land within 16 cells of the top zone. The radius goes from 5 to 30, because the game's search can hang below 5. A setting sends overflow to the vanilla spot instead.
- Blax Slaves payouts (ransom, buy-back, wages) follow a zone's orbital checkbox. Its tooltip says so while Slaves is active.
- Blax Slaves payouts (ransom, buy-back, wages) follow a zone's orbital checkbox and, once `TryFindDropSpot` reads it, the global "Route orbital trade" switch. Both tooltips say so while Slaves is active.
- Roofed delivery (goods appear, no drop pod) exists, per zone, off by default, with storage deliveries.
- Sleeping-zone cells match vanilla sleeping spots: 80% rest, "slept on ground" -4 mood, comfort 0.4, count for barracks, sleeper drawn lying on the ground.
- Sleeping zones don't extend the home area. Delivery zones do, like every vanilla zone.
@ -781,7 +788,7 @@ Save-safe zone storage shipped with 1.0; its spec stays there ("Save-safe zone s
- Detection: one Compat helper calls `ModLister.GetActiveModWithIdentifier(id, ignorePostfix: true)`. Sibling APIs are bound by reflection (`AccessTools.TypeByName`, `AccessTools.Method`) into cached delegates at startup. A missing sibling or method is a silent no-op. APIs change additively only and carry an int `Version`.
- Zones offers `BlaxZones.ZonesApi` (static) from 1.0. Blax Slaves already binds it by exact delegate type and reads `Version` as a property or field (Siblings.cs:27, 61, 153-157), so version 1 is frozen and holds only:
- `Version` (static int property), 1.
- `bool TryFindDropSpot(Map map, Thing thing, out IntVec3 cell)`: respects zone filters, priority and drop rules, false if no zone fits. It uses the orbital rules (orbital ticked, pod rule, overflow setting), always returns false for a Pawn, and returns false instead of throwing. The cell is for one pod holding that one thing: the caller spawns it exactly there with `TradeUtility.SpawnDropPod(cell, map, thing)` or `DropPodUtility.MakeDropPodAt`, and calls again per thing, after spawning the last pod, because a falling pod is what marks its cell as taken. `DropThingsNear` would not do: `DropThingGroupsNear` searches a new random cell around the center for every group (DropPodUtility.cs:44), starting within 5 cells (DropCellFinder.cs:271-276), so the pod would usually miss a small zone.
- `bool TryFindDropSpot(Map map, Thing thing, out IntVec3 cell)`: respects zone filters, priority and drop rules, false if no zone fits. It uses the orbital rules (orbital ticked, pod rule, overflow setting), always returns false for a Pawn, and returns false instead of throwing. Planned on 2026-12-01, not built yet: it also returns false while the global "Route orbital trade" switch is off (today `ZonesApi.cs` calls the router directly, and only `DeliveryRouter.Orbital.cs:23` reads `routeOrbital`), and the switch's tooltip names Blax Slaves' payouts while Slaves is active. The signature doesn't change. The cell is for one pod holding that one thing: the caller spawns it exactly there with `TradeUtility.SpawnDropPod(cell, map, thing)` or `DropPodUtility.MakeDropPodAt`, and calls again per thing, after spawning the last pod, because a falling pod is what marks its cell as taken. `DropThingsNear` would not do: `DropThingGroupsNear` searches a new random cell around the center for every group (DropPodUtility.cs:44), starting within 5 cells (DropCellFinder.cs:271-276), so the pod would usually miss a small zone.
- A member for sleeping zones is added once a sibling needs one, with its meaning written down then.
- Zones reads from Blax Castes, for the caste filter only, through `CastesApi` version 1, Castes' read-only API, which Castes' design carries with the same table:
@ -795,13 +802,13 @@ Save-safe zone storage shipped with 1.0; its spec stays there ("Save-safe zone s
| `PrePick(Pawn, string casteId)` | not used by Zones; takes the token-prefixed id | 3 (Castes' trade-row pre-pick) |
Castes needs no Zones code. Zones reads nothing from Blax Slaves.
- Ownership, the same list in all five Blax design docs; a part that waits on Fabian's answer names the open question. Zones never touches policies.
- Castes: every per-pawn policy default of colonists, slaves and prisoners (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction except the Maintain only and Release modes Laws sets on colonists it jailed), and the planned ones: the cold-weather apparel policy, the Combat Extended loadout, the Royalty and Biotech switches (room and apparel requirements, psyfocus target, entropy limit, hemogen pack use, deathrest auto-wake), the slave interaction mode a new slave starts on (Castes' open question 2) and per-caste values other Blax mods register, which those mods apply (Castes' open question 1).
- Zones: sleeping spots, beds by zone, every friendly drop location and per-cell work rules (work rule areas), with path rules on those areas (Zones' open question 3); it never changes a pawn's work priorities or allowed area.
- Slaves: slave status (except the status Laws gives back to a slave it jailed, Laws' open question 1), the slave interaction modes (vanilla's plus Recruit and Convert), trade, prices, suppression, rebellion, slave medicine and the slave economy. Slaves routes its silver payouts through `ZonesApi.TryFindDropSpot`, with `DropCellFinder.TradeDropSpot` as fallback. Pawns are never routed into zones.
- Ownership, the same list in all five Blax design docs. Zones never touches policies.
- Castes: every per-pawn policy default of colonists, slaves and prisoners (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction except the Maintain only and Release modes Laws sets on colonists it jailed), and the planned ones: the cold-weather apparel policy, the Combat Extended loadout, the Royalty and Biotech switches (room and apparel requirements, psyfocus target, entropy limit, hemogen pack use, deathrest auto-wake), the slave interaction mode a new slave starts on and per-caste values other Blax mods register, which those mods apply.
- Zones: sleeping spots, beds by zone, every friendly drop location and per-cell work and path rules (work rule areas); it never changes a pawn's work priorities or allowed area.
- Slaves: slave status (except the status Laws gives back to a slave it jailed), the slave interaction modes (vanilla's plus Recruit and Convert), trade, prices, suppression, rebellion, slave medicine and the slave economy. Slaves routes its silver payouts through `ZonesApi.TryFindDropSpot`, with `DropCellFinder.TradeDropSpot` as fallback. Pawns are never routed into zones.
- Defaults: starting settings of vanilla stockpiles and growing zones, storage buildings, production bills, workbenches, buildings, animals and mechs, the named areas a new map starts with, and what the game forbids when pawns go down, die or are stripped. It writes when something is made or joins, and through its opt-in forbid rules when a pawn goes down, dies or is stripped. It keeps nothing in the save.
- Laws: the colony's lawbook (which acts are crimes, at which stage, how severe and how they are punished), cases, sentences, trials, judges, attorneys and law votes. It acts through vanilla arrest, capture, release and guilt plus its own non-lethal subdue job, and talks colonists and slaves out of a break, except slaves while Slaves' wardens calm breaks. For the colonists it jailed, and only for them, it writes the prisoner interaction mode (Maintain only after the arrest, Release when the sentence ends) and gives back what the sentence took: bed, grave, throne, deathrest casket, ideoligion role, mech work modes and the weapon the arrest dropped. It puts a slave it jailed back into slavery (Laws' open question 1). It never sets policies, work priorities, allowed areas, zones or suppression. It keeps its state in one GameComponent.
- Slaves routes its silver payouts through `ZonesApi.TryFindDropSpot` and spawns the pod at the returned cell with `TradeUtility.SpawnDropPod`, with `DropCellFinder.TradeDropSpot` and `DropThingsNear` as fallback (Blax Slaves docs/roadmap.md, purchase ledger and payouts). Pawns are never routed into zones. Payouts follow the zone's orbital checkbox, and its tooltip says so while Slaves is active.
- Laws: the colony's lawbook (which acts are crimes, at which stage, how severe and how they are punished), cases, sentences, trials, judges, attorneys and law votes. It acts through vanilla arrest, capture, release and guilt plus its own non-lethal subdue job, and talks colonists and slaves out of a break, except slaves while Slaves' wardens calm breaks. For the colonists it jailed, and only for them, it writes the prisoner interaction mode (Maintain only after the arrest, Release when the sentence ends) and gives back what the sentence took: bed, grave, throne, deathrest casket, ideoligion role, mech work modes and the weapon the arrest dropped. It puts a slave it jailed back into slavery. It never sets policies, work priorities, allowed areas, zones or suppression. It keeps its state in one GameComponent.
- Slaves routes its silver payouts through `ZonesApi.TryFindDropSpot` and spawns the pod at the returned cell with `TradeUtility.SpawnDropPod`, with `DropCellFinder.TradeDropSpot` and `DropThingsNear` as fallback (Blax Slaves docs/roadmap.md, purchase ledger and payouts). Pawns are never routed into zones. Payouts follow the zone's orbital checkbox and, once `TryFindDropSpot` reads it, the global "Route orbital trade" switch; both tooltips say so while Slaves is active.
- Buying: Zones never routes bought people. Slaves' buy-mode sets `guest.joinStatus` before vanilla `Pawn.PreTraded`, and Castes classifies by the final status in its own PreTraded scope. Zones touches neither.
- Slave sleeping zones use vanilla `BedOwnerType.Slave`, so `Alert_NeedSlaveBeds` counts them with no patch (Alert_NeedSlaveBeds.cs:43). The alert runs only with Ideology (`requireIdeology`, Alert_NeedSlaveBeds.cs:14).
- Blax Slaves' shared infirmary lets slaves use colonist medical beds, so a colonist sleeping zone set to medical takes slaves too. Zone filters and caste limits still apply, because the `CanUseBedNow` postfix runs at `Priority.Low`.
@ -818,7 +825,6 @@ Save-safe zone storage shipped with 1.0; its spec stays there ("Save-safe zone s
- Unusable cells counted by reason in the inspect pane (S): a classifier that mirrors `IsGoodDropSpot` (DropCellFinder.cs:319-362, `CanPhysicallyDropInto` at :503-549) in this order: not standable or walkable, vacuum, water, roof, enclosed pen marker in the district, fogged, skyfaller or transporter, edifice, unreachable; one test per reason.
- "Make default" for new delivery and sleeping zones (S), in Zones' own tabs, stored as names in Zones' own file, as Blax Defaults suggests.
- Fewer drop pods (pod batching, M): the only consolidating mod has 1.8k subs and nobody asked. It adds a second deferred path through `TradeDeal.TryExecute`, which every trade mod touches, and big pods spill out of small zones. If built: flush per destination with `MakeDropPodAt(cell, map, info, faction)`, cap stacks per pod by zone size, keep a finalizer flush.
- Bought animals land in a zone, for example outside the pen gate (S): the cross-mod contract says pawns are never routed into zones. Narrow that rule to people first; then orbital only, per zone, off by default.
- Animals sleep on a stockpile, so the barn's hay stockpile is also the sleeping area (M): zone beds can't overlap zones, so this needs beds over stockpile cells stored in the MapComponent plus tests for items lying on bed cells. Vanilla can't do it either: an animal sleeping spot carries a `sowTag` (Core ThingDefs_Buildings/Buildings_Furniture.xml:486), so `CanOverlapZones` is false (ThingDef.cs:629-632) and spawning one removes the stockpile cell under it (Thing.cs:859-861; ZoneManager.cs:97-112). Two zones in one barn work until players ask.
- Returning player caravans unload into a delivery zone (UnloadHere 3699782319, 522 subs; Homecoming 3833735329, 207): small demand.
- Ally drop pods and aid land next to a chosen zone (Allies Spot 2067847359, 3,678 subs): needs a faction check so hostile drops are never affected; small demand.
@ -837,7 +843,7 @@ Save-safe zone storage shipped with 1.0; its spec stays there ("Save-safe zone s
- "Clean here", "Repair here" and "Fight fires here" outside the home area (M, idea; features.md, Work rule areas step 4), for a field, a mine entrance or an outpost wall. Painting the home area there plus a "No cleaning" area does the same today; only auto-rebuild, trap rearming and drops differ, because inside the home area what pawns drop isn't forbidden (ForbidUtility.cs:48-57). Vanilla ignores fires outside the home area; Repair Outside the Home Area is a small mod for repairs. Hooks, checked 2026-12-01: own work givers built like "Clean first", no transpiler.
- Repairs and fires: only `HasJobOnThing` checks the home area (WorkGiver_Repair.cs:35, WorkGiver_FixBrokenDownBuilding.cs:56, WorkGiver_FightFires.cs:55); their job drivers don't, and their candidates are already map-wide (ListerBuildingsRepairable.cs:56-77; `BreakdownManager.brokenDownThings`, WorkGiver_FixBrokenDownBuilding.cs:25; fires by def, WorkGiver_FightFires.cs:14). So each giver takes those candidates on the area's cells outside the home area, repeats vanilla's other checks (WorkGiver_Repair.cs:30-59; WorkGiver_FightFires.cs:50-69, with `FireIsBeingHandled` bound through an `AccessTools` delegate because the class is internal; WorkGiver_FixBrokenDownBuilding.cs:40-77, its private `FindClosestComponent` at :89-92 copied with `GenClosest`) and hands out vanilla's Repair, FixBrokenDownBuilding and BeatFire jobs. Own givers don't override another mod's refusal the way a postfix that flips false to true would.
- Cleaning: the home filth list only holds filth on home cells (ListerFilthInHomeArea.cs:29-35), and `PotentialWorkThingsGlobal` and `ShouldSkip` read only that list (WorkGiver_CleanFilth.cs:17-25), so the giver keeps its own list of the area's filth outside the home area, from the Filth group, cached like Clean first's. The clean driver jumps away from filth outside the home area (JobDriver_CleanFilth.cs:31, 70, through `JumpIfOutsideHomeArea`, ToilJumpConditions.cs:38-45), so the giver hands out its own JobDef with a `JobDriver_CleanFilth` subclass whose `MakeNewToils` repeats vanilla's toils without those two jumps (the base class keeps its work counters private, JobDriver_CleanFilth.cs:9-13).
- Path rules (new 2026-12-01; hook checked against the code on 2026-12-01): "Walk around" per work rule area, a path cost that never blocks a path; the allowed area stays the hard limit. [KV] Path Avoid (1180719857, 44,501 subs) stopped at 1.5. The shared ownership line names path rules under Zones, marked with Zones' open question 3.
- Path rules (new 2026-12-01; hook checked against the code on 2026-12-01): "Walk around" per work rule area, a path cost that never blocks a path; the allowed area stays the hard limit. [KV] Path Avoid (1180719857, 44,501 subs) stopped at 1.5. The shared ownership line names path rules under Zones ("per-cell work and path rules"), and they come right after the other first rules (features.md, Order).
- Hook: a `PathRequest.IPathGridCustomizer` (PathRequest.cs:11-14). Its `GetOffsetGrid` returns a ushort grid built from the area mask; `ParameterizeGridJob` copies it into the grid job (PathFinderMapData.cs:290) and the job adds it to each cell's cost (PathGridJob.cs:187-189). Offsets stay well below 10000, which makes a cell impassable (PathGridJob.cs:124).
- A prefix on `PathFinder.PushRequest` (PathFinder.cs:514-528) sets `request.customizer` while it is null and the request's pawn is of the player faction. Pawn movement is its only vanilla caller and builds its request without a customizer (Pawn_PathFollower.cs:853-854). Not on `CreateRequest` (PathFinder.cs:507), which also serves the one-off `FindPathNow` checks (:565).
- One customizer instance per map: the grid cache key includes the customizer (PathFinder.cs:83-133), so a shared instance keeps cached grids reusable.
@ -870,6 +876,7 @@ Save-safe zone storage shipped with 1.0; its spec stays there ("Save-safe zone s
- Following vanilla's prison-cell flip for zone beds: one vanilla prisoner bed in a dorm would turn the whole colonist zone into prisoner beds and unclaim every colonist.
- Refusing Hospitality guests in colonist zones: zone beds behave like vanilla colonist beds, and a guest rule belongs to Hospitality.
- Routing ransom returns, lent colonists, quest pawns (refugees, prisoners, mechs), wastepacks and royal permit drops: never wanted in the zone, and the permit drop is already player-targeted.
- Bought animals land in a zone, for example outside the pen gate (out for now, 2026-12-01): nobody asked, and the cross-mod rule that pawns are never routed into zones is what keeps refugees and raiders out of delivery zones.
- Converting Trade Ships Drop Spot markers into zones: one drag replaces a marker, and both mods work side by side.
- Trading Control's marketplace stall and trading buffs: outside zones, and it needs new art.
- Per-cell spot graphics and owner labels in sleeping zones: clutter, the reason Hidden Spots exists. The zone tint and inspect pane carry the state.

View File

@ -19,7 +19,7 @@ Zones covers three things:
- every friendly drop location: where bought goods, quest rewards, cargo and friendly aid land, and where trader caravans camp;
- sleeping spots and beds by zone, for animals and people;
- per-cell work rules (work rule areas).
- per-cell work and path rules (work rule areas).
What it leaves to the other Blax mods:
@ -74,12 +74,12 @@ The home area switches cleaning, firefighting and repairs on and off together, a
- "Plant work first": sowing and harvesting first, wrapping GrowerSow and GrowerHarvest. Stands down for Growing Zone Priorities (Continued), which ranks growing zones.
- "Build first": one wrapped giver per construction giver. Frame order has build-order effects (roofs, walls closing a room), so the spec has to test those cases. Stands down for Smarter Construction (1M subs, 1.7), which already reorders construction.
- "Repair first": wraps Repair inside the home area, as Clean first wraps cleaning. Stands down for Repairing Priority (3229907892, 2,188 subs, 1.7).
3. **Path rules**: New; hook checked against the code. "Walk around" per area, so pawns path around a killbox, a nursery or a freezer door unless there is no other way. It never blocks a path; the allowed area stays the hard limit. Demand: [KV] Path Avoid (1180719857, 44,501 subs) stopped at 1.5; Pathfinding Avoidance (1.6) does it by treating allowed areas with fixed names as costly, so those names also show up in every allowed-area picker. Hook: a `PathRequest.IPathGridCustomizer` (PathRequest.cs:11-14) whose offset grid comes from the area mask, added to each cell's path cost (PathGridJob.cs:187-189) and kept well below 10000, which makes a cell impassable (PathGridJob.cs:124). A prefix on `PathFinder.PushRequest` (PathFinder.cs:514-528), whose only vanilla caller is pawn movement (Pawn_PathFollower.cs:853-854), sets it on player pawns' requests. Not a path data source: `ParameterizeGridJob` never hands a registered source's data to the cost calculation (PathFinderMapData.cs:252-292, 308-315). Details and the 60-pawn timing test in the [backlog](design.md#backlog). Needs the ownership change in the open questions.
3. **Path rules**: New; hook checked against the code. "Walk around" per area, so pawns path around a killbox, a nursery or a freezer door unless there is no other way. It never blocks a path; the allowed area stays the hard limit. Demand: [KV] Path Avoid (1180719857, 44,501 subs) stopped at 1.5; Pathfinding Avoidance (1.6) does it by treating allowed areas with fixed names as costly, so those names also show up in every allowed-area picker. Hook: a `PathRequest.IPathGridCustomizer` (PathRequest.cs:11-14) whose offset grid comes from the area mask, added to each cell's path cost (PathGridJob.cs:187-189) and kept well below 10000, which makes a cell impassable (PathGridJob.cs:124). A prefix on `PathFinder.PushRequest` (PathFinder.cs:514-528), whose only vanilla caller is pawn movement (Pawn_PathFollower.cs:853-854), sets it on player pawns' requests. Not a path data source: `ParameterizeGridJob` never hands a registered source's data to the cost calculation (PathFinderMapData.cs:252-292, 308-315). Details and the 60-pawn timing test in the [backlog](design.md#backlog).
4. **Home-area jobs by area**: Idea. Each turns one job the home area gates on or off for an area, without moving the home area.
- "Clean here", "Repair here" and "Fight fires here" for a field, a mine entrance or an outpost wall outside the home area. Painting the home area there plus a "No cleaning" area does this today; only auto-rebuild, trap rearming and drops differ, because inside the home area what pawns drop isn't forbidden (ForbidUtility.cs:48-57). Demand is thin: vanilla ignores fires outside the home area (RimWorld wiki, Firefighting), and a small mod, Repair Outside the Home Area, exists for repairs (subscriber count not read). Hook, checked against the code: own work givers like Clean first, no transpiler. Repairs and fires are gated only in `HasJobOnThing` and their candidates are already map-wide; cleaning also needs its own filth list and its own job driver, because the home filth list and the clean driver both check the home area (ListerFilthInHomeArea.cs:29-35; JobDriver_CleanFilth.cs:31, 70). Details in the [backlog](design.md#backlog).
- "No auto-rebuild", for killbox barricades the player wants left broken.
Why this order: step 1 is the decided build. Steps 2 and 3 reuse its areas, mask and manage window. Step 4 waits for players, since the home area covers it today.
Why this order: step 1 is the decided build. Steps 2 and 3 reuse its areas, mask and manage window and follow it right away, step 2 first. Step 4 waits for players, since the home area covers it today.
## Sleeping zones
@ -112,18 +112,19 @@ What every zone, bed and area needs: a save that survives removing the mod, and
## For other mods
- `ZonesApi` version 1, `TryFindDropSpot`: a cell for one drop pod in or next to a delivery zone. Shipped 1.0. Blax Slaves binds it for its silver payouts.
- Whether API drops follow the global "Route orbital trade" switch: open question below.
- `TryFindDropSpot` follows the global "Route orbital trade" switch too, so one switch means "orbital pods go to zones", and the switch's tooltip names Blax Slaves' payouts while Slaves is active. New; it changes one check in the shipped API, so it ships with the next release.
- A member for sleeping zones, added once a sibling needs one. Idea.
## Order
1. **Sleeping zones, step 1 (animals), with the removal button.** Decided 2026-11-30.
2. **Work rule areas, step 1.** Decided 2026-11-30: right after animal sleeping zones. It needs only the shipped map component, and it adds its two steps to the removal button (end Clean first and Haul first jobs, delete the areas).
3. **Arrivals: storage as a delivery target (step 3), then trade from storage (step 4), then cargo pods (step 5).** The unbuilt part of the first Zones request: medicine onto the hospital shelf with no hauling.
4. **Sleeping zones, step 2 (people).** The zone beds from step 1 with owner types and the prison rules on top.
5. **Sleeping zones, step 3 (by caste)**, once Castes ships its read-only API. It needs people zones.
6. **Work rule areas, step 2 (first rules for the other work), then step 3 (path rules).** New steps follow the decided order until Fabian places them (open question 1).
7. **The ideas**, as players ask.
3. **Work rule areas, step 2 (first rules for the other work).** Decided 2026-12-01: right after step 1, before storage deliveries, because it reuses step 1's areas and the Haul first giver pattern.
4. **Work rule areas, step 3 (path rules).** Decided 2026-12-01: right after the other first rules, ahead of the home-area ideas, since it is the work rule step with demand on record.
5. **Arrivals: storage as a delivery target (step 3), then trade from storage (step 4), then cargo pods (step 5).** The unbuilt part of the first Zones request: medicine onto the hospital shelf with no hauling.
6. **Sleeping zones, step 2 (people).** The zone beds from step 1 with owner types and the prison rules on top.
7. **Sleeping zones, step 3 (by caste)**, once Castes ships its read-only API. It needs people zones.
8. **The ideas**, as players ask.
## Left out
@ -133,13 +134,14 @@ The reasons are in design.md's [Cut](design.md#cut). In short:
- sleeping zones without beds, and people and animals in one zone;
- work rules as vanilla zones or areas, one layer per rule, "first" rules for firefighting, doctors or wardens, and blocking right-click orders;
- routing ransom returns, lent colonists, quest pawns, wastepacks and royal permit drops;
- bought animals landing in a zone, for now: pawns are never routed into zones, and that rule is what keeps refugees and raiders out of delivery zones;
- Trading Control's marketplace stall and per-cell spot graphics, which need art;
- anything Castes, Defaults, Slaves or Laws owns (see Scope);
- multiplayer, until a 1.7 build of the Multiplayer mod exists to test against.
## Open questions for Fabian
## Decided 2026-12-01
1. **When do the other first rules come?** Work rule areas step 2 (mine, cut, plant work, build and repair first) finishes your "Priority zones" request; the Order lists it after the decided steps. Recommendation: right after work rule areas step 1, before storage deliveries, because it reuses step 1's areas and the Haul first giver pattern.
2. **Do other mods' drops follow "Route orbital trade"?** Today `ZonesApi.TryFindDropSpot` follows each zone's orbital checkbox but ignores the global switch (`ZonesApi.cs` calls the router directly; only `DeliveryRouter.Orbital.cs:23` reads `routeOrbital`). Recommendation: follow it. One switch then means "orbital pods go to zones", and its tooltip names Blax Slaves' payouts while Slaves is active.
3. **Path rules widen Zones' ownership** from per-cell work rules to per-cell work and path rules. The shared ownership line in all five docs already names path rules under Zones, marked with this question; on a no they leave it. No sibling owns pathing, and Castes' allowed area stays the hard limit. Recommendation: yes, and build path rules right after the other first rules, ahead of the home-area ideas: they are the work rule step with demand on record.
4. **Bought animals land in a zone**, for example outside the pen gate. It needs the shared rule "pawns are never routed into zones" narrowed to people. Recommendation: no for now; nobody asked, and that rule is what keeps refugees and raiders out of delivery zones.
1. **The other first rules come right after work rule areas step 1**, before storage deliveries, because they finish your "Priority zones" request and reuse step 1's areas and the Haul first giver pattern.
2. **Other mods' drops follow "Route orbital trade".** `ZonesApi.TryFindDropSpot` follows the global switch as well as each zone's orbital checkbox (today only `DeliveryRouter.Orbital.cs:23` reads `routeOrbital`), so one switch means "orbital pods go to zones".
3. **Zones' ownership widens to per-cell work and path rules**, and path rules come right after the other first rules, because no sibling owns pathing and Castes' allowed area stays the hard limit; the shared ownership line in all five docs reads "per-cell work and path rules (work rule areas)".
4. **Bought animals don't land in zones**, for now, because nobody asked and the rule "pawns are never routed into zones" is what keeps refugees and raiders out of delivery zones.