docs: plan review fixes
Checked the feature plan against the decompiled 1.7 code: fire at will on draft, arrests never get a prisoner mode, per-pawn prisoner mode rules and Convert target, direct-queued birth, growth and lodger joins, adult and children join steps, slot contract, cold-weather apparel, templates with one entry per slot and the row picks, Blax Laws in the sibling contract, slave interaction default as open question.
This commit is contained in:
parent
fef2e0df0b
commit
493cb4172c
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
RimWorld mod (1.7) by Blax Gaming: policy bundles and join defaults. Every slave you buy needs its apparel, food, drug and reading policy, its schedule and its work priorities set by hand. Blax Castes bundles those settings into castes such as Slave or Miner slave, and puts each pawn into the right caste the moment it joins or changes status. Needs Harmony. Works with any combination of DLCs, or none: see [DLC support](#dlc-support) for what each one adds.
|
||||
|
||||
Feature plan: `docs/features.md` (what the mod covers and the order of work); specs: `docs/design.md`. Planned next: the read-only API for the other Blax mods, a caste button on selected pawns and new caste from a pawn, then allowed area, hostility, self-tend, carried medicine and fire at will per caste, then a caste for every way a pawn joins, children included.
|
||||
Feature plan: `docs/features.md` (what the mod covers and the order of work); specs: `docs/design.md`. Planned next: the read-only API for the other Blax mods, a caste button on selected pawns and new caste from a pawn, then allowed area, hostility, self-tend, carried medicine and fire at will per caste, then caste templates you can take to your next colony, then a caste for every way a pawn joins, children included.
|
||||
|
||||
## Features (1.0)
|
||||
|
||||
|
|
|
|||
186
docs/design.md
186
docs/design.md
|
|
@ -6,7 +6,7 @@ What the mod covers and in which order the work goes: `docs/features.md`. This f
|
|||
|
||||
Changes on 2026-12-01, the feature plan (Fabian: chunk by what belongs together, never by time or size):
|
||||
|
||||
- `docs/features.md` is the plan of record for scope and order. It groups every feature into five areas: what a caste holds, every way a pawn joins, managing castes, castes across saves, and the API for the other Blax mods. New there, with no spec here yet: seasonal apparel, a Combat Extended loadout slot, Blax Laws' join reasons and caste values for sibling features (an open question).
|
||||
- `docs/features.md` is the plan of record for scope and order. It groups every feature into five areas: what a caste holds, every way a pawn joins, managing castes, castes across saves, and the API for the other Blax mods. New there, with no spec here yet: cold-weather apparel, a Combat Extended loadout slot, a slave interaction default, Blax Laws' join reasons and caste values for sibling features (open questions 1 and 2 there cover the last two).
|
||||
- Releases after 1.0 have no numbers any more. Their sections moved into the five areas, each split into steps, and a step gets its version number when it ships. References to planned versions, Castes' own and the sibling mods', now name the feature.
|
||||
- Day counts, release totals and cuts made to fit a week are gone. The S, M and L marks on features stay as information.
|
||||
- "At a glance" lists the areas. The DLC table names the area instead of a release. The CastesApi table keeps the API version of each member and says "planned" with the step name where it said a release.
|
||||
|
|
@ -14,6 +14,16 @@ Changes on 2026-12-01, the feature plan (Fabian: chunk by what belongs together,
|
|||
- "Read-only API for Blax Zones" is now "Read-only API (version 1)", "Public API" is "Join API (version 2)" and "Trade-row caste picker support" is "PrePick for the trade row (version 3)".
|
||||
- Version numbers in the 2026-11-29 note below belong to the old release cut.
|
||||
|
||||
Changes on 2026-12-01, review of the plan against the decompiled 1.7 code:
|
||||
|
||||
- Fire at will is written when a pawn is drafted, since vanilla turns it back on at every draft. Carried medicine checks the Medicine group and skips pawns without the stock tracker. "Create area" names the new area after the caste.
|
||||
- The prisoner mode never reaches an arrested colonist or an imprisoned slave, which run the same `CapturedBy` as a captured raider; it follows the prisoner tab's per-pawn rules, gets a second mode for prisoners the first one does not fit, sets the conversion target for Convert and is written on every assign, never through the Follow rule. `prisonerModeSlot` stays on next to Prison Labor and Custom Prisoner Interactions, with a note.
|
||||
- "Every join path, adult and child" is split into "Adult join paths" and "Children". Birth, growing up and a recruited lodger change no faction or status, so those hooks queue the pawn themselves; came of age fires at 13 only; the lodger hook moved off a three-line method. The planned "starting" row is gone, as in the built 1.0.
|
||||
- New "Slot contract": the list every slot answers, and each spec in "What a caste holds" answers it. "New caste from pawn" copies every 1.0 slot. Shift schedules deal night owls first and keep the shift in the former-caste record.
|
||||
- Seasonal apparel became cold-weather apparel, switched by vanilla's warmth test instead of the calendar season. A slave interaction default replaces the cut "slave interaction mode slot" (open question 2 in `docs/features.md`).
|
||||
- Templates use one entry per slot, carry the join-row picks and the default caste, reuse equal policies, read drug entries by hand and move the loadout by name; they come right after "Where and how they fight".
|
||||
- Blax Laws joins "Works with the other Blax mods". Castes' ownership line names every planned setting; the same line is owed to the other four docs.
|
||||
|
||||
Changes on 2026-11-29:
|
||||
|
||||
- DLC support: Castes works with any DLC combination, core only included. The new section "DLC support" holds the rule, the test plan (all 8 combinations of Royalty, Ideology and Biotech per release) and what each feature needs, checked against the 1.7 game data and DefOf attributes. Features that touch DLC content got their guard and their DLC-off test.
|
||||
|
|
@ -26,7 +36,7 @@ Changes on 2026-11-29:
|
|||
| Area | What players get | Replaces (subs) | Needs |
|
||||
|---|---|---|---|
|
||||
| 1.0, shipped | Castes that set apparel, food, drug, reading, medical care, schedule, work priorities and weapon loadout in one click, with hand changes kept per pawn. Ready-made Colonist, Slave and Prisoner castes. Every status change (bought, enslaved, recruited, freed, arrested, captured) moves the pawn into the matching caste automatically, and a pawn that comes back gets its old caste. Warnings for clashing defaults mods. | Automatic Slave Outfit (16.7k), PrisonerDefaults (1.1k), Plug and Play Joiner work (1.5k), the join, schedule and work defaults of Better Pawn Control (228k), BPC Forked (1.3k) and 1trickPwnyta's Defaults (75k), and Food Restriction Eleven's starting policies, partly (15.4k) | None (slaves: Ideology, Meditate hours: Royalty, Childcare: Biotech) |
|
||||
| What a caste holds | Castes also set allowed area, hostility, self-tend, carried medicine and fire at will; a prisoner caste sets the interaction mode on capture; Royalty and Biotech switches; shift schedules | Defaults' area, hostility and medicine defaults (75k), Plug and Play Joiner area (1.5k), Work Manager shifts, partly (14.2k), prisoner defaults of Prison Labor and Custom Prisoner Interactions, partly | None (prisoner modes: Ideology, Biotech or Anomaly; switches: Royalty or Biotech) |
|
||||
| What a caste holds | Castes also set allowed area, hostility, self-tend, carried medicine and fire at will; a prisoner caste sets the interaction mode of captured enemies, never of your own arrested colonists; Royalty and Biotech switches; shift schedules | Defaults' area, hostility and medicine defaults (75k), Plug and Play Joiner area (1.5k), Work Manager shifts, partly (14.2k), prisoner defaults of Prison Labor and Custom Prisoner Interactions, partly | None (prisoner modes: Ideology, Biotech or Anomaly; switches: Royalty or Biotech) |
|
||||
| Every way a pawn joins | A caste for every way a pawn joins, adult and child. Pickers in the prisoner and slave tabs | Defaults' child defaults (75k), BPC's rescued-joiner fix (228k), PrisonerDefaults per-prisoner picks (1.1k) | None (slave rows: Ideology, child rows: Biotech, creepjoiner row: Anomaly) |
|
||||
| Managing castes | A caste button on selected pawns, new caste from a pawn, policy delete guard, ideoligion clash warnings, caste colours and an inspect line | None | None (ideo warnings: Ideology) |
|
||||
| Castes across saves | Castes exported to other colonies, new games started from your castes | Better Policies (3.9k), Export Agency (16.3k), Save My Settings (3.8k), all partly | None |
|
||||
|
|
@ -54,19 +64,19 @@ Change if you disagree.
|
|||
- `Caste : Policy` with LoadKey "BlaxCaste". Ids, load IDs, rename (IRenameable) and duplicate (`CopyFrom`) work the vanilla way.
|
||||
- The Policy int id is the caste id. The API passes it as the string `"<token>:<id>"`. The token is a random int made once per `GameComponent_BlaxCastes` and saved with it, so an id stored by another mod never matches a new caste with the same number after Castes was removed and added back.
|
||||
- Slots in 1.0: `ApparelPolicy`, `FoodPolicy`, `DrugPolicy` and `ReadingPolicy` (null = the caste leaves it alone), medCare as an int (-1 = leave alone, otherwise a `MedicalCareCategory`), the schedule as 24 `TimeAssignmentDef` names (null = leave alone), work priorities as work type defName to 0..4 (absent = leave alone) plus a "Start from nothing" flag, and the Weapons Tab Reborn loadout id (-1 = leave alone).
|
||||
- Slots after the policies store defNames, labels or ints, never def references, and resolve with `GetNamedSilentFail`: schedule, work priorities and loadout id (1.0), area (label, per map), hostility, self-tend, carried medicine, fire at will, prisoner modes, DLC switches.
|
||||
- Slots after the policies store defNames, labels or ints, never def references, and resolve with `GetNamedSilentFail`: schedule, work priorities and loadout id (1.0), area (label, per map), hostility, self-tend, carried medicine, fire at will, prisoner modes, the slave interaction mode, DLC switches. The cold-weather apparel policy is a policy reference like the other four.
|
||||
|
||||
### Membership store
|
||||
|
||||
- One `GameComponent_BlaxCastes` holds all state: the caste list, `Dictionary<Pawn, CasteMembership>`, the join rows (reason to No caste, Default caste or a caste), the join queue, former-caste records, the next id, a seeded flag, the overlap mods this save was warned about, the API token (read-only API), and API hints and pre-picks (join API, pre-picks per pawn). The pawns that left the player side since the last tick sit in an unsaved field of the component, so they go away with the game. No static field holds the game or its pawns; the `Instance` cache is weak.
|
||||
- `CasteMembership`: caste, auto flag (set by a join row or by hand), reason, tick. Caste = null means "casteless by choice". Later safety nets skip those pawns instead of reassigning them.
|
||||
- `CasteMembership`: caste, auto flag (set by a join row or by hand), reason, tick. Caste = null means "casteless by choice". Later safety nets skip those pawns instead of reassigning them. With the prisoner interaction slot it also keeps whether the pawn was a player colonist or slave right before it became a prisoner, so no write ever gives such a pawn a prisoner mode ("Default prisoner interaction").
|
||||
- No ThingComp and no data on vanilla objects. The only vanilla data Castes writes is the pawn's own policy fields, medical care, timetable and work priorities, plus its Weapons Tab Reborn loadout through that mod's API.
|
||||
- Overrides are not stored. A slot value that differs from the caste is an override.
|
||||
|
||||
### Join classification and deferral
|
||||
|
||||
- Classify where the join happens. Apply after the whole call chain returns.
|
||||
- Enqueue only on a real transition into player colonist, player slave or player prisoner. A prefix on `Pawn.SetFaction` and `Pawn_GuestTracker.SetGuestStatus` snapshots faction, guest status and host faction, and the postfix compares.
|
||||
- Enqueue only on a real transition into player colonist, player slave or player prisoner. A prefix on `Pawn.SetFaction` and `Pawn_GuestTracker.SetGuestStatus` snapshots faction, guest status and host faction, and the postfix compares. Exceptions, planned in "Children" and "Adult join paths": birth, growing up and a lodger leaving its extra faction change no faction or guest status, so those hooks queue the pawn themselves.
|
||||
- Reason, first match wins: API hint, innermost scope (for example "bought" from `Pawn.PreTraded`), status fallback. The fallback is resolved at apply time from the final status: new colonist, new slave or new prisoner.
|
||||
- Scopes push in a prefix and pop in a Harmony finalizer, so an exception never leaves the stack dirty.
|
||||
- `GameComponentTick` applies the queue on the first tick after the queueing tick, after checking the pawn is still player-side. Never inside `SetFaction` or `SetGuestStatus`, which reset medical care, areas, work and slave mode right after.
|
||||
|
|
@ -93,7 +103,7 @@ Every Blax mod works with any DLC combination, core only included (rule of 2026-
|
|||
- Built in 1.0, the `ModsConfig` checks in Source/BlaxCastes:
|
||||
- Ideology: the join defaults window shows the bought-as-slave and new-slave rows only while they still matter, that is while the colony has slaves (a save made with Ideology) or a slave row picks a caste, and then with a "Needs Ideology" note under them (`Dialog_JoinDefaults.ShowsSlaveRows`). Seeding makes no Slave caste, wires no slave row and marks the save as owed one (`StarterCastes.Seed`); the first load with Ideology adds it once (`StarterCastes.AddSlaveCasteIfOwed`, see "Starter castes and Assign by status"), with a Slave outfit made like the game's when the save has none. "Create Slave outfit" needs Ideology, since the game makes its Slave outfit only with it (`OutfitDatabase`). The settings page says slaves need Ideology and castes still work for colonists and prisoners, and the starter castes setting reads "Colonist and Prisoner" with the note "Slave caste: needs Ideology".
|
||||
- Royalty: Meditate, a Royalty def (`TimeAssignmentDefOf.Meditate` is `[MayRequireRoyalty]`), applies as Anything without it (`ScheduleSlot.Resolve`), a stored Meditate hour stays in the caste (`ScheduleSlot.IsDlcOff`) with a note under the manager's grid, and the schedule row has four brushes instead of five.
|
||||
- Biotech: no `ModsConfig` check needed. Babies (food slot, join queue) are found through the core `DevelopmentalStage`. The work slot lists Childcare only when its def exists; a stored Childcare priority stays in the caste and is skipped (`WorkSlot.IsDlcOff`), with a note under the work types. "Start from nothing" turns other work off only while at least one listed type is in the game (`WorkSlot.StripsOthers`), so a caste that lists only Childcare never leaves its members without work. A baby that grows into a child stays without a caste until the growth rows of "Every join path, adult and child"; with Ideology a child of a slave parent becomes a slave as it grows up (`LifeStageWorker_HumanlikeChild`), and the SetGuestStatus hook puts it into the new-slave row like any other status change.
|
||||
- Biotech: no `ModsConfig` check needed. Babies (food slot, join queue) are found through the core `DevelopmentalStage`. The work slot lists Childcare only when its def exists; a stored Childcare priority stays in the caste and is skipped (`WorkSlot.IsDlcOff`), with a note under the work types. "Start from nothing" turns other work off only while at least one listed type is in the game (`WorkSlot.StripsOthers`), so a caste that lists only Childcare never leaves its members without work. A baby that grows into a child stays without a caste until the growth rows of "Children"; with Ideology a child of a slave parent becomes a slave as it grows up (`LifeStageWorker_HumanlikeChild`), and the SetGuestStatus hook puts it into the new-slave row like any other status change.
|
||||
- Anomaly: no check needed. Mutants without policies are found through `IsMutant`, which is `mutant != null` and so false without Anomaly. A mutant whose def is gone (a save made with Anomaly, loaded without it) makes the game's own policy, food and work getters throw, since they read `mutant.Def`, so Castes leaves it alone: no slot, no join (`CasteUtility.IsMutantWithoutDef`).
|
||||
- Odyssey: a gravship that leaves a map without a grav anchor passes the pawns left there to the world itself (`GravshipUtility.AbandonMap`), without `MapDeiniter.PassPawnsToWorld` and without ending a prisoner's status. A prefix and finalizer on it judge those pawns like a closing map: a prisoner left behind leaves its caste, colonists and slaves stay in the faction and keep theirs. The method is in the core assembly and returns at once without Odyssey.
|
||||
|
||||
|
|
@ -124,13 +134,14 @@ Tests:
|
|||
| Policy delete guard, caste gizmo, new caste from pawn, read-only API | Managing castes; API | None | Same |
|
||||
| Ideo conflict warning | Managing castes | Ideology | Off, shown as "Needs Ideology" |
|
||||
| Allowed area, hostility, self-tend, carried medicine, fire at will | What a caste holds | None | Same |
|
||||
| Join rows: starting, recruited prisoner, captured, wanderer, quest joiner, rescued | Every way a pawn joins | None | Same |
|
||||
| Join rows: recruited prisoner, captured enemy, wanderer, quest joiner, rescued; arrests keep the new-prisoner row | Every way a pawn joins | None | Same |
|
||||
| Join rows: lodger arrived, lodger recruited | Every way a pawn joins | None | Same. Of Core and the installed DLCs only Royalty's hospitality quests bring lodgers, but mods do too, so the rows stay |
|
||||
| Join rows: enslaved, emancipated, recruited slave; pre-pick when enslaved; slave tab picker | Every way a pawn joins | Ideology | Rows shown with a "Needs Ideology" note while the colony has slaves or a row picks a caste, left out otherwise, picks kept. The "when enslaved" pre-pick is not offered |
|
||||
| Join rows: born (growth vat included), child colonist, child slave, came of age; child dropdowns | Every way a pawn joins | Biotech (child slave also Ideology) | Shown with a "Needs Biotech" note while the colony has children or a row or dropdown picks a caste, left out otherwise, picks kept. No new children are born |
|
||||
| Join row: creepjoiner | Every way a pawn joins | Anomaly | Shown with a "Needs Anomaly" note while it picks a caste, left out otherwise, pick kept. Guarded in code only |
|
||||
| Join API, pre-pick when recruited | API; every way a pawn joins | None | Same |
|
||||
| Shift schedules, PrePick for the trade row | What a caste holds; API | None | Same. Blax Slaves hides its slave toggle without Ideology |
|
||||
| Shift schedules, cold-weather apparel, PrePick for the trade row | What a caste holds; API | None | Same. Blax Slaves hides its slave toggle without Ideology |
|
||||
| Slave interaction default | What a caste holds | Ideology | Not offered; a stored mode is kept and not applied |
|
||||
| Prisoner modes: maintain only, attempt recruit, reduce resistance, release, execution | What a caste holds | None | Same |
|
||||
| Prisoner modes: enslave, reduce will, convert | What a caste holds | Ideology | Not offered; a stored mode is kept and not applied |
|
||||
| Prisoner modes: bloodfeed, hemogen farm | What a caste holds | Biotech | Not offered; a stored mode is kept and not applied |
|
||||
|
|
@ -208,7 +219,7 @@ Starter castes, manager tools and overlap warnings were cut from 1.0 once and ca
|
|||
- Selling: a "sold" scope on `Pawn.PreTraded` with PlayerSells keeps the slave-to-free step inside the sale (`SetGuestStatus(null)` before `SetFaction(null)`) from queueing a join.
|
||||
- If the row is No caste and a join row had put the pawn in its caste (membership auto), it leaves the caste. With `revertOnLeave`, each managed slot where the pawn still has the caste's value returns to the database default; medical care runs `ResetMedicalCare` only if the caste manages it and the pawn still has the caste's value. Slots changed by hand stay. This is PrisonerDefaults' revert on recruit. A caste picked by hand is never removed by a No caste row. The schedule, work priorities and loadout have no database default and are not reverted. Since the 1.0 additions the same revert runs when a row moves a row-set member to another caste, for the slots the new caste leaves alone.
|
||||
- Leaving the player faction, for example by being sold, ends the membership. Leaving the map is judged as a whole (see "Status changes and the old caste").
|
||||
- Babies and quest lodgers are skipped until "Every join path, adult and child".
|
||||
- Babies are skipped until "Children", quest lodgers until "Adult join paths".
|
||||
- **Settings:** `enableJoinDefaults` (on), `joinMessages` (on), `revertOnLeave` (on; only governs the revert when a row takes a pawn out of a row-set caste). Without Ideology the settings page says slaves need it.
|
||||
- **Replaces:** Automatic Slave Outfit (2912063732, 16,672 subs). PrisonerDefaults (3531556159, 1,086 subs). The join defaults of Better Pawn Control (1541460369, 227,665 subs), Better Pawn Control Forked (3724294345, 1,308 subs) and 1trickPwnyta's Defaults (3285178686, 75,424 subs).
|
||||
- **Effort:** M.
|
||||
|
|
@ -306,8 +317,8 @@ Starter castes, manager tools and overlap warnings were cut from 1.0 once and ca
|
|||
- Slave, only with Ideology (see "1.0 additions"): the Ideology Slave apparel policy, Simple food, No drugs. Reading stays unmanaged, because slave children need books for the Learning need. Medical care stays unmanaged, so vanilla `defaultCareForSlave` stays in charge.
|
||||
- Prisoner: Simple food.
|
||||
- Lookup: No drugs by `DrugPolicy.sourceDef` defName "NoDrugs", first match (`CopyFrom` copies sourceDef). Slave outfit and Simple food by their translated starting labels (OutfitSlave, FoodRestrictionSimple). On a miss the slot stays unmanaged and the manager shows a "Create Slave outfit" button. Castes never creates vanilla policies silently, except the Slave outfit for the Slave caste a save started without Ideology gets on its first load with it.
|
||||
- Rows: starting colonists, bought as colonist and new colonist use Default caste (Colonist). Bought as slave and new slave use Slave. New prisoner uses Prisoner.
|
||||
- New game: seeded in `StartedNewGame`, then starting colonists are assigned through the new "starting colonists" row. Existing save: `GameComponent.LoadedGame` seeds once per save, only if the save has no castes, with one message. Not `FinalizeInit`, which also runs on every new game.
|
||||
- Rows: bought as colonist and new colonist use Default caste (Colonist). Bought as slave and new slave use Slave. New prisoner uses Prisoner.
|
||||
- New game: seeded in `StartedNewGame`, then "Assign by status" puts the starting pawns into their status rows' castes (as built, see above: there is no starting row, since the window can't be opened before the game starts). Existing save: `GameComponent.LoadedGame` seeds once per save, only if the save has no castes, with one message. Not `FinalizeInit`, which also runs on every new game.
|
||||
- The Slave caste's tooltip and the manager warn that the vanilla Slave outfit has no cold protection.
|
||||
- **Settings:** `seedStarterCastes` (on).
|
||||
- **Replaces:** Food Restriction Eleven (2780048210, 15,428 subs), sane starting policies, partly. Automatic Slave Outfit (16,672 subs) in any language, because Castes uses the policy reference, not the label.
|
||||
|
|
@ -357,7 +368,22 @@ Starter castes, manager tools and overlap warnings were cut from 1.0 once and ca
|
|||
|
||||
## What a caste holds
|
||||
|
||||
Steps in order: `docs/features.md`, area 1. Seasonal apparel and the Combat Extended loadout are planned there, with no spec yet.
|
||||
Steps in order: `docs/features.md`, area 1. Cold-weather apparel, the slave interaction default and the Combat Extended loadout are planned there, with no spec yet.
|
||||
|
||||
### Slot contract
|
||||
|
||||
A 1.0 slot is handled in about ten places; the loadout slot alone is read in nine files besides `WeaponsTab.cs`. Every planned slot answers each point below in its spec, and a slot whose spec leaves one open is not ready to build:
|
||||
|
||||
- **Apply:** when it is written (assign, join, first arrival on a map, a draft) and the per-pawn checks that skip a pawn (`CasteUtility.Apply`).
|
||||
- **Follow rule:** whether a caste edit moves members still on the old value (`CasteManager.SetSlot`), and what counts as the same value.
|
||||
- **Override mark:** whether a different value shows as "*" in the column, and how the tooltip names it.
|
||||
- **Load check:** what `CasteManager.CheckSlots` does with a value the game no longer has, and with a name from a DLC that is off.
|
||||
- **Former caste:** what the record keeps of the pawn's own value (`FormerCaste`, Source/BlaxCastes/CasteData.cs:123-152) and what `JoinDefaults.Restore` writes back.
|
||||
- **Revert:** whether `revertOnLeave` resets it when a row takes the pawn out of a row-set caste (only slots with a database default do).
|
||||
- **Copy:** `Caste.CopyFrom` (duplicate) and "New caste from pawn".
|
||||
- **Template entry:** its named entry in the template file and how import resolves it ("Caste templates across saves").
|
||||
- **DLC:** its "Needs <DLC>" note and what happens to a stored value while the DLC is off.
|
||||
- **Apply to all members:** whether it writes the slot, and to which members.
|
||||
|
||||
### Where and how they fight
|
||||
|
||||
|
|
@ -368,12 +394,13 @@ Steps in order: `docs/features.md`, area 1. Seasonal apparel and the Combat Exte
|
|||
- Area: the area label, resolved per map with `AreaManager.GetLabeled` and `Area.AssignableAsAllowed()`. Applied when `MapHeld != null`, `SupportsAllowedAreas`, `Faction.IsPlayer` and `HostFaction == null`. Not gated on `RespectsAllowedArea`, which is false for any pawn in a Lord (rituals, parties, caravan forming).
|
||||
- Otherwise the pawn goes on a pending list. A `Pawn.SpawnSetup` postfix applies pending entries, and the area on a map where Castes never set one for that pawn (tracked per pawn per map id), then clears them. A 250-tick sweep retries pending entries.
|
||||
- It never re-applies on every spawn, so manual choices and AAAA's "#safe" swaps survive caravans, transport pods and map moves.
|
||||
- A label missing on the map means leave alone. The manager shows "missing on <map>" with a "Create area" button (`AreaManager.TryMakeNewAllowed`). A renamed area shows as missing until re-picked.
|
||||
- A label missing on the map means leave alone. The manager shows "missing on <map>" with a "Create area" button. `AreaManager.TryMakeNewAllowed` (Verse/AreaManager.cs:147-157) names a new area "Area N" (RimWorld/Area_Allowed.cs:38-55), so Castes then sets its `RenamableLabel` to the caste's label (Area_Allowed.cs:20-30) and the slot resolves at once. The button is disabled, with a tooltip, while `CanMakeNewAllowed()` is false: a map holds at most 10 allowed areas (AreaManager.cs:142-145). A renamed area shows as missing until re-picked.
|
||||
- The caste column is already in `PawnTableDef` Restrict (the Schedule tab) since 1.0, next to the vanilla area column.
|
||||
- **Slot contract:** Apply: assign, join and first arrival on a map, as above. Follow rule: on each map, a member whose area is the caste's old area moves to the new one. Override mark: a member whose area on its current map differs; the tooltip names "Allowed area" with both labels. Load check: none, a label needs no def; a missing area shows in the manager. Former caste: the label of the pawn's area on the map it left. Every faction change clears allowed areas (RimWorld/Pawn_PlayerSettings.cs:336-340), so Restore writes the caste's area if the pawn followed it, else that label when the area still exists there. Revert: none, there is no database default. Copy: duplicate copies the label; "New caste from pawn" takes the label of the pawn's area on its map. Template entry: the label, resolved on each map as in a game. DLC: none. Apply to all members: members on a map now, pending members when they arrive.
|
||||
- **Settings:** `allowArea` (on), `applyAreaOnSpawn` (on).
|
||||
- **Replaces:** 1trickPwnyta's Defaults (75,424 subs), default area per pawn type. Plug and Play Joiner (Continued) (3383245777, 1,489 subs), preset area for joiners.
|
||||
- **Effort:** M for the area alone: the pending list, the spawn hook with per-map tracking and the missing-area UI.
|
||||
- **Tests:** A caste with a test area. A bought fixture left unspawned (a slave with Ideology, a colonist without) gets the area pending, and spawning applies it. A second spawn on the same map after a manual change keeps the manual area. Deleting the area makes the slot report missing, and Apply does nothing, without errors.
|
||||
- **Tests:** A caste with a test area. A bought fixture left unspawned (a slave with Ideology, a colonist without) gets the area pending, and spawning applies it. A second spawn on the same map after a manual change keeps the manual area. Deleting the area makes the slot report missing, and Apply does nothing, without errors. "Create area" makes an area the slot resolves to right after the click; with 10 allowed areas on the map the button is disabled.
|
||||
- **Risks:** AAAA (3264193512, 100,585 subs) swaps areas on threats. Castes writes areas only on assign, join, first arrival on a map and caste edits.
|
||||
|
||||
#### Hostility, self-tend, carried medicine, fire at will
|
||||
|
|
@ -382,27 +409,36 @@ Steps in order: `docs/features.md`, area 1. Seasonal apparel and the Combat Exte
|
|||
- **How:**
|
||||
- Hostility: an int (-1 = leave alone). Attack falls back to Flee when `WorkTagIsDisabled(Violent)`.
|
||||
- Self-tend: -1, 0 or 1, plus an optional "only if Medicine skill is at least N". Skipped when Doctor is disabled.
|
||||
- Carry: a Medicine stock group thing defName and count via `Pawn_InventoryStockTracker.SetThingForGroup` and `SetCountForGroup`, which clamp to the group.
|
||||
- Fire at will: written on assign and restored in the SpawnSetup postfix, because `drafter` is nulled on despawn.
|
||||
- Carry: a Medicine stock group thing defName and a count, written with `Pawn_InventoryStockTracker.SetThingForGroup` and `SetCountForGroup`. Only the count setter clamps, to the group's minimum and maximum (RimWorld/Pawn_InventoryStockTracker.cs:45-50). The thing setter logs a red error for a def outside the group and throws on a null def (:52-62), so Castes first resolves the defName with `GetNamedSilentFail` and checks `InventoryStockGroupDefOf.Medicine.thingDefs.Contains(def)`; on a miss it leaves the slot alone with one warning per caste, like the other slots. Pawns without `inventoryStock` are skipped: the game makes the tracker only for player-faction pawns (RimWorld/PawnComponentsUtility.cs:239, 304-307), so prisoners have none.
|
||||
- Fire at will: vanilla turns it back on at every draft and undraft (RimWorld/Pawn_DraftController.cs:32) and after a weapon change (:215-218, called from Verse/Pawn_EquipmentTracker.cs:50), and reads it only while drafted (Verse.AI/JobDriver_Wait.cs:133; the gizmo shows only then, Pawn_DraftController.cs:197). A value written on assign would be gone at the first draft. So the caste's value is the one each draft starts with: a prefix and postfix on the `Pawn_DraftController.Drafted` setter (`MethodType.Setter`, a 75-line method that runs only on draft toggles) write it when the pawn goes from undrafted to drafted. `Notify_PrimaryWeaponChanged` is a one-line internal method and is not patched; the tooltip says a weapon swap while drafted turns it back on, as in vanilla.
|
||||
- The manager warns when members x count exceeds the colony's medicine.
|
||||
- No slave interaction mode slot. Suppression belongs to Blax Slaves.
|
||||
- **Slot contract:** Apply: assign and join; fire at will on every draft instead. Follow rule and override mark: hostility, self-tend (with its minimum skill) and carried medicine (thing and count together) follow and show "*" like policies. Fire at will does neither: vanilla resets it at every draft, so a hand value never outlives one. Load check: a medicine defName the game lacks or one outside the Medicine group makes the carry slot unmanaged with one warning per caste; hostility and self-tend are ints. Former caste: hostility, self-tend and carried medicine are kept and restored by the 1.0 rule; fire at will is not kept. Revert: none, no database default. Copy: duplicate copies all four; "New caste from pawn" copies hostility, self-tend and carried medicine, and leaves fire at will unmanaged, since every undrafted pawn reads true. Template entry: hostility and self-tend as ints, the medicine as defName and count, fire at will as a bool. DLC: none. Apply to all members: hostility, self-tend and carry to every member; fire at will to members drafted at that moment.
|
||||
- **Settings:** `allowBehaviourSlots` (on).
|
||||
- **Replaces:** 1trickPwnyta's Defaults (75,424 subs): default hostility, medicine carry and self-tend at a minimum skill.
|
||||
- **Effort:** S.
|
||||
- **Tests:** A violent colonist gets Attack, 2 industrial medicine and self-tend. A pacifist gets Flee. A pawn with Doctor disabled keeps self-tend off. After despawn and spawn, FireAtWill is restored.
|
||||
- **Tests:** A violent colonist gets Attack, 2 industrial medicine and self-tend. A pacifist gets Flee. A pawn with Doctor disabled keeps self-tend off. Draft, undraft and draft again: FireAtWill matches the caste after each draft. A carried medicine from a removed mod leaves the slot alone with one warning and no error, and a prisoner member is skipped without errors.
|
||||
- **Risks:** Big castes with carry above 0 drain the hospital, hence the warning.
|
||||
|
||||
### Prisoner caste
|
||||
### Prisoner and slave treatment
|
||||
|
||||
The slave interaction default is planned in `docs/features.md` (area 1, step 2) with no spec yet; which mod owns it is open question 2 there.
|
||||
|
||||
#### Default prisoner interaction
|
||||
|
||||
- **Players get:** A prisoner caste can set the interaction mode on capture, such as Reduce resistance, Enslave or Convert, plus Biotech's bloodfeed and hemogen farm toggles.
|
||||
- **How:** An exclusive `PrisonerInteractionModeDef` defName written with `Pawn_GuestTracker.SetExclusiveInteraction`, plus non-exclusive defNames written with `ToggleNonExclusiveInteraction`, each checked against the active DLCs and the def's exclusive flag. Applied on join only, because `SetGuestStatus(Prisoner)` resets the mode first. Existing members change only through "Apply to all members". DLC modes, from the `MayRequire` attributes on `PrisonerInteractionModeDefOf`: Enslave, ReduceWill and Convert need Ideology, Bloodfeed and HemogenFarm Biotech, Study and Interrogate Anomaly; MaintainOnly, AttemptRecruit, ReduceResistance, Release and Execution are core. The picker offers only modes whose def exists. A stored mode whose DLC is off stays in the caste, is not applied, and shows "Needs <DLC>".
|
||||
- **Settings:** `prisonerModeSlot` (on). The slot defaults off when Prison Labor or Custom Prisoner Interactions is active.
|
||||
- **Players get:** A prisoner caste can set the interaction mode of captured enemies, such as Reduce resistance, Enslave or Convert, with a second mode for prisoners the first one does not fit, plus Biotech's bloodfeed and hemogen farm toggles. Colonists you arrest and slaves you imprison keep the mode vanilla gives them, Maintain only for a colonist never held before.
|
||||
- **How:**
|
||||
- Slot: an exclusive `PrisonerInteractionModeDef` defName, an optional fallback exclusive defName, and non-exclusive defNames, all resolved with `GetNamedSilentFail`. Exclusive modes are written with `Pawn_GuestTracker.SetExclusiveInteraction` (RimWorld/Pawn_GuestTracker.cs:304-314), non-exclusive ones with `ToggleNonExclusiveInteraction`, each checked against the def's exclusive flag.
|
||||
- Never on your own people. Arresting a colonist and imprisoning a slave run the same `CapturedBy(Faction.OfPlayer)` as capturing a raider (RimWorld/JobDriver_TakeToBed.cs:174-177; Pawn_GuestTracker.cs:561-564). Player pawn kinds start with will 0 (Core PawnKindDefs_Humanlikes/PawnKinds_Player.xml:11, set at Pawn_GuestTracker.cs:474), so an Enslave default would enslave an arrested colonist at the first warden visit (RimWorld/InteractionWorker_EnslaveAttempt.cs:19-20), and Execution would kill it. The queued join keeps whether the pawn was a player colonist or slave right before the change (the 1.0 snapshot in `JoinHooks.Before`), the membership keeps that flag, and no path writes a prisoner mode on such a pawn: not a row, not "Assign by status", not the gizmo, not "Apply to all members". An arrested colonist also shows by its faction, which stays the player's (`JoinDefaults.Classify`). This holds for vanilla arrests in every save, with or without Blax Laws; Laws still writes Maintain only on its own convicts two ticks after the capture.
|
||||
- Per-pawn checks, copied from the prisoner tab's local function `CanUsePrisonerInteractionMode` (RimWorld/ITab_Pawn_Visitor.cs:425-458), which cannot be called: `hideIfNotRecruitable` against `guest.Recruitable`, `allowOnWildMan` against `IsWildMan()`, `hideIfNoBloodfeeders` against the pawn's map, `hideOnHemogenicPawns` with Biotech, `allowInClassicIdeoMode` against `Find.IdeoManager.classicMode`, and with Anomaly the studiable and gray flesh checks. In the game data, AttemptRecruit and ReduceResistance hide for unrecruitable prisoners and wild men, Enslave and ReduceWill for wild men, Convert in classic ideoligion mode, and Bloodfeed and HemogenFarm on hemogenic prisoners. A mode that fails falls back to the second mode; when that fails too, or the caste has none, the pawn's mode stays as it is and the join message names the skipped mode. A non-exclusive toggle that fails is skipped.
|
||||
- Convert: the prisoner tab also sets the conversion target when Convert is picked (ITab_Pawn_Visitor.cs:528-531), and a warden takes the job only when its ideoligion is that target (RimWorld/WorkGiver_Warden_Convert.cs:43). So when Castes writes Convert it sets `guest.ideoForConversion` to `Faction.OfPlayer.ideos.PrimaryIdeo` if it is null, behind `ModsConfig.IdeologyActive`.
|
||||
- When: on every assign to a prisoner: a join row (one tick after the join, like every slot), a pre-pick, the gizmo, "Assign by status" and "Apply to all members". `SetGuestStatus(Prisoner)` itself resets only Enslave, to Maintain only (Pawn_GuestTracker.cs:475-478). Never through the Follow rule: editing the caste does not switch prisoners halfway through their enslavement.
|
||||
- DLC modes, from the `MayRequire` attributes on `PrisonerInteractionModeDefOf`: Enslave, ReduceWill and Convert need Ideology, Bloodfeed and HemogenFarm Biotech, Study and Interrogate Anomaly; MaintainOnly, AttemptRecruit, ReduceResistance, Release and Execution are core. The picker offers only modes whose def exists. A stored mode whose DLC is off stays in the caste, is not applied, and shows "Needs <DLC>".
|
||||
- **Slot contract:** Apply: as above, prisoners only. Follow rule and override mark: none; a prisoner's mode is part of play, not a setting the caste keeps. Load check: a name the game lacks makes that part unmanaged with one warning per caste, unless it belongs to an official DLC that is off. Former caste: not kept, prisoners never get a caste back. Revert: none. Copy: duplicate copies all three parts; "New caste from pawn" copies a prisoner's current modes. Template entry: the three parts as defNames, a name the game lacks dropped and reported. DLC: as above. Apply to all members: every prisoner member except arrested colonists and imprisoned slaves.
|
||||
- **Settings:** `prisonerModeSlot` (on, in every setup; the slot writes nothing until a caste picks a mode). While Prison Labor (`avius.prisonlabor`) or Custom Prisoner Interactions (`mlie.customprisonerinteractions`) is active, a note under the manager row says: "Prison Labor (or Custom Prisoner Interactions) also sets a mode on capture. A caste that picks a mode writes one tick later and wins; a caste that leaves it alone keeps theirs." Both ids join the overlap warnings; check them against each mod's About.xml before shipping.
|
||||
- **Replaces:** Custom Prisoner Interactions (2841231775): default action for new prisoners, partly. Prison Labor (1899474310): default interaction mode, partly.
|
||||
- **Effort:** S.
|
||||
- **Tests:** A Prisoner caste with Enslave: after `CapturedBy`, the exclusive mode is Enslave (skips without Ideology). The hemogen farm toggle applies only with Biotech. In a -NoDlc run the picker lists only the core modes, and a caste holding Enslave keeps it without applying it or logging an error.
|
||||
- **Risks:** Prison Labor sets its own mode on capture. Castes runs a tick later and overrides it, hence the detection.
|
||||
- **Effort:** M: the per-pawn checks, the fallback and the arrest guard.
|
||||
- **Tests:** A Prisoner caste with Enslave: after `CapturedBy` on a raider, the exclusive mode is Enslave (skips without Ideology; the core run uses ReduceResistance). A colonist arrested and a slave imprisoned while the new-prisoner and captured rows point at castes on Enslave (ReduceResistance on the core game) and on Execution keep MaintainOnly; so does the arrested colonist after the gizmo puts it into such a caste and after "Apply to all members". A Convert caste sets `ideoForConversion`, and a warden of the primary ideoligion gets the PrisonerConvert job. An unrecruitable prisoner in a Recruit caste gets the fallback mode, and keeps its mode, named in the message, when the caste has none. A hemogenic prisoner never gets HemogenFarm (Biotech). A captive put into the caste with the gizmo gets its mode; editing the caste's mode leaves existing prisoners alone. In a -NoDlc run the picker lists only the core modes, and a caste holding Enslave keeps it without applying it or logging an error.
|
||||
- **Risks:** Prison Labor and Custom Prisoner Interactions set their own mode on capture. Castes writes a tick later and wins when its caste picks a mode, hence the note and the overlap warning.
|
||||
|
||||
### DLC settings
|
||||
|
||||
|
|
@ -411,6 +447,7 @@ Steps in order: `docs/features.md`, area 1. Seasonal apparel and the Combat Exte
|
|||
- **Players get:** Castes can also set Royalty room and apparel requirements, psyfocus target and entropy limit, hemogen pack use and deathrest auto-wake.
|
||||
- **How:** Each is a nullable slot, applied only when its DLC is active and the pawn has the tracker or gene. Its manager row shows when its DLC is active; without the DLC it shows disabled with "Needs Royalty" or "Needs Biotech" while the caste holds a value, and is left out otherwise. Royalty: `allowRoomRequirements`, `allowApparelRequirements`. Psycasters: `limitEntropyAmount`, `SetPsyfocusTarget`. Genes: `Gene_Hemogen.hemogenPacksAllowed`, `Gene_Deathrest.autoWake`, found with `pawn.genes?.GetFirstGeneOfType<T>()`, never by cast.
|
||||
- The tracker alone is no DLC check: every humanlike gets `pawn.royalty` and `pawn.genes` with or without the DLC (`PawnComponentsUtility`), so the Royalty slots check `ModsConfig.RoyaltyActive` and the gene slots `ModsConfig.BiotechActive` first. `psychicEntropy` exists only with Royalty. A stored value whose DLC is off stays in the caste, is not applied, and works again once the DLC is back.
|
||||
- **Slot contract:** Apply: assign and join, with the checks above. Follow rule and override mark: per switch, like policies; the psyfocus target compares within 0.01. Load check: none, the values are bools and floats. Former caste: each switch's own value is kept and restored by the 1.0 rule. Revert: none. Copy: duplicate copies every switch; "New caste from pawn" copies the switches the pawn has a tracker or gene for. Template entry: one per switch, kept without its DLC like Meditate hours. DLC: as above. Apply to all members: members with the tracker or gene.
|
||||
- **Settings:** `allowDlcSlots` (on). With neither Royalty nor Biotech it shows disabled with "Needs Royalty or Biotech".
|
||||
- **Replaces:** none.
|
||||
- **Effort:** S.
|
||||
|
|
@ -421,13 +458,14 @@ Steps in order: `docs/features.md`, area 1. Seasonal apparel and the Combat Exte
|
|||
|
||||
#### Shift schedules
|
||||
|
||||
- **Players get:** A caste can hold up to three schedules. New members are dealt out in turn so day and night shifts fill evenly, and "Rebalance" spreads current members again.
|
||||
- **How:** The schedule slot becomes a list of 1 to 3 timetables plus a per-caste counter. Each membership stores its shift index. Rebalance sorts members by ThingID and assigns index i mod n, so the result is the same on every machine. Builds on the 1.0 schedule slot.
|
||||
- **Players get:** A caste can hold up to three schedules. New members are dealt out in turn so day and night shifts fill evenly, night owls go to the shift that sleeps through midday, and "Rebalance" spreads current members again.
|
||||
- **How:** The schedule slot becomes a list of 1 to 3 timetables plus a per-caste counter. Each membership stores its shift index. New members are dealt in turn. Night owls (`TraitDef` "NightOwl" through `GetNamedSilentFail`) go first, to the shift with the most Sleep hours from 11 to 17: they lose 10 mood while awake in those hours (Core ThoughtDefs/Thoughts_Situation_Traits.xml:262-271; RimWorld/ThoughtWorker_IsDayForNightOwl.cs:9). Rebalance does the same over all members: night owls first, then the rest sorted by ThingID and dealt to keep the shifts even, so the result is the same on every machine. Builds on the 1.0 schedule slot.
|
||||
- **Slot contract:** every check compares a member with its own shift. Follow rule: editing shift 2 moves only shift-2 members still on its old hours. Override mark, Reset to caste and Apply to all members use the member's shift. Load check: each shift like the 1.0 schedule. Former caste: the record keeps the shift index next to the 24 hours, and Restore puts the pawn back on that shift while it exists. Revert: none. Copy: duplicate copies every shift; "Copy from pawn" fills the shift being edited; "New caste from pawn" makes one shift. Template entry: the list of shifts. DLC: Meditate hours as in 1.0.
|
||||
- **Settings:** `allowShifts` (on).
|
||||
- **Replaces:** 1trickPwnyta's Defaults (75,424 subs): round-robin default schedules. Work Manager (2029596262, 14,211 subs): shift schedules, partly.
|
||||
- **Effort:** S.
|
||||
- **Tests:** With two shifts, four assigned pawns split 2 and 2. After removing two and rebalancing, they split 1 and 1.
|
||||
- **Risks:** none known.
|
||||
- **Effort:** M: every schedule check in 1.0 compares against one schedule today.
|
||||
- **Tests:** With two shifts, four assigned pawns split 2 and 2. After removing two and rebalancing, they split 1 and 1. A night owl goes to the shift that sleeps through midday. A shift-2 member with one hour changed keeps it when shift 2 changes, and shift-1 members are untouched. An arrested and released member comes back on its shift.
|
||||
- **Risks:** Night owls only gain when one shift sleeps through midday; in a caste without one they get the shifts in turn like everyone else.
|
||||
|
||||
## Every way a pawn joins
|
||||
|
||||
|
|
@ -435,31 +473,51 @@ Steps in order: `docs/features.md`, area 2. Blax Laws' join reasons are specifie
|
|||
|
||||
### A row for every path
|
||||
|
||||
#### Every join path, adult and child
|
||||
#### Adult join paths
|
||||
|
||||
- **Players get:** The defaults window lists every way a pawn joins, each with an adult caste and a child caste: wanderer, quest reward, rescued, lodger recruited, freed slave, born, child chosen as colonist or slave, coming of age. Pawns that come back already get their old caste since 1.0.
|
||||
- **Players get:** The defaults window lists every way an adult joins: enslaved, recruited, captured, wanderer, quest reward, rescued, lodger arrived and recruited, freed slave, recruited slave, creepjoiner. Arrested colonists and imprisoned slaves stay in the new-prisoner row. Pawns that come back already get their old caste since 1.0.
|
||||
- **How:**
|
||||
- Rows: starting, boughtSlave, boughtColonist, enslaved, recruitedPrisoner, captured, wanderer, questJoiner, rescued, lodgerArrived (default No caste), lodgerRecruited, emancipated, recruitedSlave, born (incl. growth vat), childColonist, childSlave, cameOfAge, creepjoiner (Anomaly only), and the three status fallbacks. Each row has an adult and a child dropdown; the child one defaults to "same as adult". Picks from 1.0 carry over.
|
||||
- Rows: boughtSlave, boughtColonist, enslaved, recruitedPrisoner, captured, wanderer, questJoiner, rescued, lodgerArrived (default No caste), lodgerRecruited, emancipated, recruitedSlave, creepjoiner (Anomaly only), and the three status fallbacks (new colonist, new slave, new prisoner). Picks from 1.0 carry over. No starting row: starting pawns go through their status rows, as built in 1.0 ("Starter castes and Assign by status"), because the window can't be opened before the game starts.
|
||||
- New scopes: `GenGuest.TryEnslavePrisoner` (EnslavePrisoner is a one-line wrapper that CoreCLR may inline), `RecruitUtility.Recruit` (records whether the pawn was a prisoner or a slave), `Pawn_GuestTracker.CapturedBy`.
|
||||
- Captured or arrested: arresting a colonist and imprisoning a slave run the same `CapturedBy(Faction.OfPlayer)` as capturing a raider (RimWorld/JobDriver_TakeToBed.cs:176). The CapturedBy prefix pushes "captured" only when the pawn was not of the player's faction before the call. Otherwise it pushes "arrested", which uses the new-prisoner row as in 1.0 (innermost scope wins, so a plain "captured" scope would have moved arrests into the captured row) and never gets a prisoner mode ("Default prisoner interaction").
|
||||
- One scope on `Quest.Notify_SignalReceived` carries `quest.root`: WandererJoins goes to wanderer, creepjoiner roots to creepjoiner, everything else to questJoiner. It is the only dispatcher of `QuestPart.Notify_QuestSignalReceived`, so it covers SetFaction, PawnsArrive, JoinPlayer, DropPods, GiveToCaravan, GiveNearPawn and modded quest parts.
|
||||
- Other hooks: `Pawn_GuestTracker.Notify_PawnUndowned` and `Pawn_MindState.JoinColonyBecauseRescuedBy` (rescued), `GenGuest.EmancipateSlave`, `ChoiceLetter_BabyToChild.ChoseColonist` / `ChoseSlave` (private), `LifeStageWorker_HumanlikeChild` and `LifeStageWorker_HumanlikeAdult.Notify_LifeStageStarted`, `PregnancyUtility.ApplyBirthOutcome`, `Faction.Notify_MemberLeftExtraFaction` (a lodger stops being one).
|
||||
- Status rows always move the pawn. Growth rows move only members whose membership is still auto-assigned.
|
||||
- DLC: without the DLC that makes it happen, a row shows with a "Needs <DLC>" note only while it still matters, that is while it holds a pick or the colony has pawns it applies to (slaves or children from a save made with the DLC), as the 1.0 slave rows do. Otherwise the window leaves it out. Picks stay in the save either way. Ideology: enslaved, emancipated, recruitedSlave, childSlave and the new-slave fallback. Biotech: born, childColonist, childSlave, cameOfAge and every child dropdown, since without Biotech no children exist (`Difficulty.ChildrenAllowed` is false) and the humanlike life stage workers are `MayRequire` Biotech in Core's LifeStages.xml. Anomaly: creepjoiner (`ModsConfig.AnomalyActive`, guarded in code only). The lodger rows always show: in Core and the three installed DLCs only Royalty's hospitality quests bring lodgers (`QuestNode_ExtraFaction`), but mods bring lodgers too. The hooked methods are in the core assembly, so every patch applies in every combination and fires only when the DLC is there.
|
||||
- Other hooks: `Pawn_GuestTracker.Notify_PawnUndowned` and `Pawn_MindState.JoinColonyBecauseRescuedBy` (rescued), `GenGuest.EmancipateSlave`.
|
||||
- Lodger recruited, queued by its hook: a lodger is a player pawn already, so leaving its extra faction changes no faction or status and the transition rule never sees it (RimWorld/QuestPart_ExtraFaction.cs:52-58). A prefix and postfix on the virtual `QuestPart_ExtraFaction.Notify_QuestSignalReceived` (:44-60) note the signal's SUBJECT pawn and whether it was in `affectedPawns`. When the postfix finds it gone, and the pawn is a free player colonist, no longer a quest lodger and not a mutant, it queues the pawn as lodgerRecruited. The mutant check matters: the same part drops a lodger on the `lodgers.BecameMutant` signal (RimWorld.QuestGen/QuestNode_Root_Hospitality_Refugee.cs:87, 115). Not `Faction.Notify_MemberLeftExtraFaction`, which the part calls: a three-line non-virtual method (RimWorld/Faction.cs:1129-1135) the JIT may inline, run on the lodger's home faction.
|
||||
- Status rows always move the pawn.
|
||||
- DLC: without the DLC that makes it happen, a row shows with a "Needs <DLC>" note only while it still matters, that is while it holds a pick or the colony has pawns it applies to (slaves from a save made with the DLC), as the 1.0 slave rows do. Otherwise the window leaves it out. Picks stay in the save either way. Ideology: enslaved, emancipated, recruitedSlave and the new-slave fallback. Anomaly: creepjoiner (`ModsConfig.AnomalyActive`, guarded in code only). The lodger rows always show: in Core and the three installed DLCs only Royalty's hospitality quests bring lodgers (`QuestNode_ExtraFaction`), but mods bring lodgers too. The hooked methods are in the core assembly, so every patch applies in every combination and fires only when the DLC is there.
|
||||
- Previous caste: built in 1.0 (moved on 2026-11-29, see "Status changes and the old caste"). New here: an arrested colonist who is then enslaved goes to the enslaved row instead of the new-slave row.
|
||||
- Order at apply time: a hand pick after queueing, then the pre-pick, then the previous caste, then the row.
|
||||
- Safety net: on spawn, a player humanlike with no membership record whose `playerSettings.joinTick` is after the component's creation tick gets its status-fallback row once. Casteless-by-choice pawns are skipped.
|
||||
- **Settings:** `catchAllOnSpawn` (on). `returnToPreviousCaste` and `formerCasteDays` are 1.0's.
|
||||
- **Replaces:** 1trickPwnyta's Defaults (75,424 subs): child colonist defaults and the child-to-adult switch. Better Pawn Control (227,665 subs): its rescued and guest joiners arriving on Lavish food and Glitter medicine.
|
||||
- **Replaces:** Better Pawn Control (227,665 subs): its rescued and guest joiners arriving on Lavish food and Glitter medicine.
|
||||
- **Effort:** M. It would be L with one patch per QuestPart.
|
||||
- **Tests:**
|
||||
- One per path the harness can trigger: `Notify_PawnUndowned` by reflection on a downed friendly pawn (forced roll), `Quest.Notify_SignalReceived` with a fake quest whose root is WandererJoins, `EmancipateSlave` on a colony-born slave, the `ChoiceLetter_BabyToChild` actions on a baby fixture, a life-stage change from setting biological age, `ApplyBirthOutcome` (Biotech only, skipped without it).
|
||||
- A child fixture uses the child dropdown.
|
||||
- One per path the harness can trigger: `Notify_PawnUndowned` by reflection on a downed friendly pawn (forced roll), `Quest.Notify_SignalReceived` with a fake quest whose root is WandererJoins, `EmancipateSlave` on a colony-born slave.
|
||||
- `CapturedBy` on a downed raider lands in the captured row. Arresting a colonist and imprisoning a slave land in the new-prisoner row with the reason arrested (the slave part skips without Ideology).
|
||||
- The return tests are 1.0's. New here: an arrested colonist who is enslaved goes to the enslaved row (skips without Ideology).
|
||||
- Lodger arrival gives no caste. A recruited lodger gets the lodgerRecruited row.
|
||||
- Lodger arrival gives no caste. A recruited lodger gets the lodgerRecruited row; a lodger that becomes a mutant gets none.
|
||||
- A casteless-by-choice pawn stays casteless after a caravan returns.
|
||||
- In a -NoDlc run the window lists only the core and lodger rows with no child dropdowns, and the Ideology and Biotech path tests skip. A slave or child row given a pick in that run shows with its "Needs <DLC>" note and keeps the pick.
|
||||
- In a -NoDlc run the window lists only the core and lodger rows, and the Ideology path tests skip. A slave row given a pick in that run shows with its "Needs Ideology" note and keeps the pick.
|
||||
- **Risks:** Quest code shifts between 1.7 builds. The status fallbacks and the spawn safety net keep unknown paths working. Hospitality guests are never player faction and are ignored.
|
||||
|
||||
#### Children
|
||||
|
||||
- **Players get:** Every row gets a child dropdown, and children get their own rows: born (growth vat included), grown into a child as colonist or slave, chosen as colonist or slave in the growth letter, and came of age. A child no longer waits for you to place it by hand.
|
||||
- **How:**
|
||||
- Rows: born, childColonist, childSlave, cameOfAge. Every row, the adult rows included, has a child dropdown that defaults to "same as adult".
|
||||
- Queued by their hooks. These paths change no faction or guest status, so the transition rule never sees them: a newborn is made in the birther's faction (RimWorld/PregnancyUtility.cs:242-249; Verse/PawnGenerator.cs:734), and growing up changes no faction (RimWorld/LifeStageWorker_HumanlikeChild.cs:25-51; RimWorld/LifeStageWorker_HumanlikeAdult.cs:34-75). Each hook queues its pawn itself:
|
||||
- `PregnancyUtility.ApplyBirthOutcome` postfix: `__result` as a Pawn, alive and player-side, reason born.
|
||||
- `LifeStageWorker_HumanlikeChild.Notify_LifeStageStarted` postfix: only while `Current.ProgramState` is Playing and the previous stage was a baby, the check vanilla makes (LifeStageWorker_HumanlikeChild.cs:28). Reason childColonist, or childSlave when the pawn ends up a slave: with Ideology a child of a slave parent becomes one inside this call (:39-51) through the 1.0 SetGuestStatus hook, and the specific reason beats that status fallback.
|
||||
- `LifeStageWorker_HumanlikeAdult.Notify_LifeStageStarted` postfix: only while Playing and `previousLifeStage?.developmentalStage.Juvenile()` is true, the check vanilla uses (LifeStageWorker_HumanlikeAdult.cs:57). The same worker runs for the teenager and the adult stage (Core LifeStageDefs/LifeStages.xml:102, 124; a teenager's developmental stage is Adult, RimWorld/LifeStageDef.cs:27), and `Pawn_AgeTracker` also calls it while a pawn is generated (Verse/Pawn_AgeTracker.cs:565-577). Without both checks it would fire at 13, again at 18 and on every generated pawn, and the call at 18 would rewrite the hand changes made since 13. Reason cameOfAge.
|
||||
- `ChoiceLetter_BabyToChild.ChoseSlave` and `ChoseColonist` (private, Ideology only, RimWorld/ChoiceLetter_BabyToChild.cs:89-105): scopes, so the status change inside them (`SetGuestStatus` to slave, or `GenGuest.SlaveRelease` for a child born a slave) lands in childSlave or childColonist through the 1.0 hook. ChoseColonist on a child not born a slave only removes the letter; the growth hook placed that child already, so nothing is queued.
|
||||
- Growth rows (childColonist, childSlave from growth, cameOfAge) move only pawns with no membership record or an auto-assigned one, so a caste picked by hand stays. Born and the letter choices behave like status rows.
|
||||
- DLC: Biotech for every child row and dropdown, since without Biotech no children exist (`Difficulty.ChildrenAllowed` is false) and the humanlike life stage workers are `MayRequire` Biotech in Core's LifeStages.xml; childSlave and the letter also need Ideology. Without the DLC a row or dropdown shows with a "Needs <DLC>" note only while the colony has children or it picks a caste, and is left out otherwise; picks stay in the save.
|
||||
- **Settings:** covered by `enableJoinDefaults`.
|
||||
- **Replaces:** 1trickPwnyta's Defaults (75,424 subs): child colonist defaults and the child-to-adult switch.
|
||||
- **Effort:** S.
|
||||
- **Tests:** `ApplyBirthOutcome` puts the newborn in the born row. Setting a baby's age to 3 puts it in childColonist, and with a slave mother in childSlave (Ideology). The `ChoiceLetter_BabyToChild` actions on a child fixture: ChoseSlave lands in childSlave, ChoseColonist on a child born a slave in childColonist, ChoseColonist on a free child queues nothing. Setting the age from 12 to 13 moves an auto member into cameOfAge; setting it from 17 to 18 moves nobody, and a teen with a hand-set food policy keeps it. A pawn generated as an adult is not queued. A child fixture uses the child dropdown. Without Biotech the tests skip, and a child row given a pick in a -NoDlc run shows with its note and keeps the pick.
|
||||
- **Risks:** A mod that sets ages in bulk fires the life stage hooks often; each queues at most one entry per pawn.
|
||||
|
||||
### Pre-picks per pawn
|
||||
|
||||
#### Pre-pick in the prisoner and slave tabs
|
||||
|
|
@ -495,12 +553,12 @@ Steps in order: `docs/features.md`, area 3.
|
|||
|
||||
#### New caste from pawn
|
||||
|
||||
- **Players get:** "New caste from this pawn" in the column menu, the gizmo menu and the manager. It copies a pawn's current apparel, food, drug and reading policy and medical care into a new caste, so an existing colony gets its castes in a few clicks.
|
||||
- **How:** Creates a caste with all five slots managed from the pawn's current values, then makes the pawn a member. Slots the pawn cannot use, such as a prisoner's apparel, stay unmanaged.
|
||||
- **Players get:** "New caste from this pawn" in the column menu, the gizmo menu and the manager. It copies every setting a caste holds from a pawn: apparel, food, drug and reading policy, medical care, the 24 schedule hours, work priorities and the Weapons Tab Reborn loadout. An existing colony gets its castes in a few clicks.
|
||||
- **How:** Creates a caste with every slot the pawn can use managed from its current values, then makes the pawn a member. Work: the priority of every work type the pawn can do, as the game reads it; types it cannot do stay unlisted. The loadout only while Weapons Tab Reborn is active. Slots the pawn cannot use, such as a prisoner's apparel or schedule, stay unmanaged. Each later slot says what it copies ("Slot contract").
|
||||
- **Settings:** none, covered by `enabled`.
|
||||
- **Replaces:** none.
|
||||
- **Effort:** S.
|
||||
- **Tests:** A colonist on Worker, Fine, Social, All and Best gives a caste with those five values, and the colonist is a member with no overrides.
|
||||
- **Tests:** A colonist on Worker, Fine, Social, All and Best, with a night schedule, hand-set work priorities, one disabled work type and (with Weapons Tab Reborn, -Compat) a loadout, gives a caste with all eight slots on those values and the disabled type unlisted; the colonist is a member with no overrides.
|
||||
- **Risks:** none known.
|
||||
|
||||
#### Policy delete guard
|
||||
|
|
@ -537,17 +595,23 @@ Steps in order: `docs/features.md`, area 3.
|
|||
|
||||
## Castes across saves
|
||||
|
||||
Comes after the slots of "What a caste holds" are complete, because a template copies every slot (`docs/features.md`, area 4).
|
||||
Comes right after "Where and how they fight" (`docs/features.md`, area 4 and Order). The file holds one entry per slot, so it waits on no later slot, and every later slot adds its entry ("Slot contract").
|
||||
|
||||
#### Caste templates across saves
|
||||
|
||||
- **Players get:** Export a caste, together with the policies it uses, and import it into another colony. New games can start from your saved castes instead of the starter set.
|
||||
- **How:** Export writes the caste plus deep copies of its policies with `Scribe.saver` to `GenFilePaths.ConfigFolderPath/BlaxCastes/<name>.xml`. Import creates new policies through each database's `MakeNewOutfit`, `MakeNewFoodRestriction`, `MakeNewDrugPolicy` or `MakeNewReadingPolicy` plus `CopyFrom` (label kept, suffixed if taken), then the caste. "Seed new games from templates" replaces the starter castes in `StartedNewGame`. Game data stays in the save; files are read only on an explicit action. Import reads the filters' defNames itself with `GetNamedSilentFail`, because `ThingFilter.ExposeData` logs a red error for every def the game lacks (`ScribeExtractor.DefFromNode`), such as Ideology's slave apparel in a game without Ideology. Meditate hours and Childcare are handled as on load.
|
||||
- **Players get:** Export a caste, together with the policies it uses, and import it into another colony. Save a template set, your castes with the join-row picks and the default caste, and start new games from it instead of the starter set.
|
||||
- **How:**
|
||||
- File: a format version plus one named entry per slot, written with `Scribe.saver` to `GenFilePaths.ConfigFolderPath/BlaxCastes/<name>.xml`. Import skips entries it does not know and reports them; a slot with no entry stays unmanaged. So a file made before a slot existed still imports. The 1.0 entries: the four policies as deep copies, medical care, the 24 schedule hours, work priorities with "Start from nothing", and the loadout.
|
||||
- Policies: import reuses an existing policy with the same label and an equal content (the same allowed defs, and for drugs the same entries), so a game seeded from templates shows no "Simple 2" next to its own Simple. Otherwise it creates one through each database's `MakeNewOutfit`, `MakeNewFoodRestriction`, `MakeNewDrugPolicy` or `MakeNewReadingPolicy` plus `CopyFrom`, label kept and suffixed if taken.
|
||||
- Defs are read by hand with `GetNamedSilentFail`, because Scribe logs a red error for every def the game lacks (`ScribeExtractor.DefFromNode`, Verse/ScribeExtractor.cs:52-62): the filters' defNames (`ThingFilter.ExposeData`; Ideology's slave apparel in a game without Ideology), and each drug policy's entries and `sourceDef`. A `DrugPolicyEntry` loads its drug with `Scribe_Defs` (RimWorld/DrugPolicyEntry.cs:39), and `DrugPolicy` then logs "Some DrugPolicyEntries were null after loading" (RimWorld/DrugPolicy.cs:101-106). Missing defs are dropped and counted in the import report. Meditate hours and Childcare are handled as on load.
|
||||
- Loadout: exported by name (`BPC_GetLoadoutNamebyId`), because an id only means something in its own save (the highest id plus one, see "Weapon loadout slot"). Import looks the name up in `BPC_GetWeaponsLoadoutsDatabase` and confirms it with `BPC_GetLoadoutNamebyId`, since that dictionary keeps deleted and renamed loadouts. A name the game lacks leaves the slot unmanaged and is reported.
|
||||
- Template set: the castes, each join row's pick and child pick by caste label (No caste and Default caste as such), and the default caste. "Seed new games from templates" replaces the starter castes in `StartedNewGame` and wires the rows and the default caste from the set before "Assign by status" runs, so starting colonists land in the set's new-colonist caste. A row that names a caste the set lacks, or a row this version does not know, stays at No caste and is reported.
|
||||
- Game data stays in the save; files are read only on an explicit action.
|
||||
- **Settings:** `seedFromTemplates` (off).
|
||||
- **Replaces:** Better Policies (3400923070, 3,857 subs): saving policies across saves, partly. Save My Settings (3,827 subs), partly. Export Agency (1467209473, 16,333 subs): policy export, partly.
|
||||
- **Effort:** M.
|
||||
- **Tests:** Export the Slave caste to a temp folder, delete it, import: the caste and its three policies come back with equal filters (compare allowed defs). Importing twice suffixes the labels. Without Ideology the same runs on the Prisoner caste. A template file made with all three DLCs (kept in the test data) imports in a -NoDlc run without errors and reports what it dropped.
|
||||
- **Risks:** Filters that reference defs from removed mods or missing DLCs drop entries on load. Report the count.
|
||||
- **Tests:** Export the Slave caste to a temp folder, delete the caste and its policies, import: the caste and its three policies come back with equal filters (compare allowed defs), and so do its schedule, work priorities and medical care. Importing again reuses the three policies; with one filter changed first, that policy comes back as a suffixed copy. Without Ideology the same runs on the Prisoner caste. A template file made with all three DLCs and with a drug policy that names a drug the game lacks (kept in the test data) imports in a -NoDlc run without errors and reports what it dropped. A file with an unknown entry imports and reports it; a file without the schedule entry leaves the schedule unmanaged. With Weapons Tab Reborn (-Compat) a loadout comes back by name, and a name the game lacks leaves the slot unmanaged. A new game seeded from a template set has its castes, the rows wired to them and the starting colonists in the new-colonist caste.
|
||||
- **Risks:** Filters that reference defs from removed mods or missing DLCs drop entries on import. The report gives the count.
|
||||
|
||||
## The API for the other Blax mods
|
||||
|
||||
|
|
@ -565,7 +629,7 @@ Each step adds members to `CastesApi` and raises its version; the contract is in
|
|||
- **Replaces:** none.
|
||||
- **Effort:** S.
|
||||
- **Tests:** `CasteIdOf` and `CasteLabels` round-trip: every id from `CasteLabels()` has the token prefix, and `CasteIdOf` of a member returns one of them. The token survives a save and reload. A casteless-by-choice pawn gives null. With `enableApi` off, `Active` is false and both calls return null. 1,000 `CasteIdOf` calls allocate below 1 KB (`GC.GetAllocatedBytesForCurrentThread`).
|
||||
- **Risks:** This is a contract across four repos (Castes, Zones, Slaves, Defaults). Add members only, never change a signature, and raise Version on each addition.
|
||||
- **Risks:** This is a contract across five repos (Castes, Zones, Slaves, Defaults, Laws). Add members only, never change a signature, and raise Version on each addition.
|
||||
|
||||
### Join API (version 2)
|
||||
|
||||
|
|
@ -579,7 +643,7 @@ Each step adds members to `CastesApi` and raises its version; the contract is in
|
|||
- **Replaces:** none.
|
||||
- **Effort:** S.
|
||||
- **Tests:** `Version` reads 2. A hint beats the status fallback and is gone on the next tick. `NotifyJoined` on a pawn the fallback already placed moves it to the reason's row. -Compat with Blax Slaves: a returned runaway lands in its previous caste.
|
||||
- **Risks:** This is a contract across four repos (Castes, Zones, Slaves, Defaults). Add methods only, never change a signature, and raise Version on each addition.
|
||||
- **Risks:** This is a contract across five repos (Castes, Zones, Slaves, Defaults, Laws). Add methods only, never change a signature, and raise Version on each addition.
|
||||
|
||||
### PrePick for the trade row (version 3)
|
||||
|
||||
|
|
@ -595,12 +659,12 @@ Each step adds members to `CastesApi` and raises its version; the contract is in
|
|||
|
||||
### Detection and binding
|
||||
|
||||
- Package ids: `blax.slaves`, `blax.castes`, `blax.zones`, `blax.defaults`. No hard dependencies. Siblings appear in About.xml only as loadAfter entries. Defaults lists no sibling and no sibling lists Defaults, so its position doesn't matter.
|
||||
- Package ids: `blax.slaves`, `blax.castes`, `blax.zones`, `blax.defaults`, `blax.laws` (Laws is designed, not built). No hard dependencies. Siblings appear in About.xml only as loadAfter entries. Defaults lists no sibling and no sibling lists Defaults, so its position doesn't matter.
|
||||
- Detection: `ModLister.GetActiveModWithIdentifier(id, ignorePostfix: true)` in one shared Compat helper per mod, so a dev copy next to a Workshop copy still matches.
|
||||
- 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.
|
||||
- Castes uses neither ZonesApi nor SlavesApi. Zones, Slaves and Defaults reach Castes only through `BlaxCastes.CastesApi`.
|
||||
- Load order is Castes, Zones, Slaves. Each mod loads after the APIs it calls: Castes lists no sibling, Zones lists `blax.castes`, Slaves lists `blax.castes` and `blax.zones`. No two mods list each other, so RimWorld reports no cycle.
|
||||
- Castes uses neither ZonesApi nor SlavesApi. Zones, Slaves, Defaults and Laws reach Castes only through `BlaxCastes.CastesApi`.
|
||||
- Load order is Castes, Zones, Slaves, Laws. Each mod loads after the APIs it calls: Castes lists no sibling, Zones lists `blax.castes`, Slaves lists `blax.castes` and `blax.zones`, Laws lists `blax.castes` and `blax.slaves` (Laws design, "Works with the other Blax mods"). No two mods list each other, so RimWorld reports no cycle.
|
||||
|
||||
### CastesApi (static class)
|
||||
|
||||
|
|
@ -644,9 +708,18 @@ Blax Slaves binds `HintJoinReason` and `NotifyJoined` by name and reads `Version
|
|||
- Defaults' forbid rules (its 1.1) see any pawn that goes down, dies or is stripped, colonists and slaves included, but write only the forbidden flag on the corpse and on the things it drops or is stripped of, never a caste slot.
|
||||
- Defaults never creates, edits or assigns a policy, so Castes' starter castes still find the Slave outfit and Simple food by their starting labels.
|
||||
|
||||
### Blax Laws
|
||||
|
||||
Pending acceptance of the Laws design (its `design/act-catalogue` and `plan/features` branches).
|
||||
|
||||
- Laws reads `Active` and `CasteIdOf` (API version 1, the read-only API) for its caste checks. It hints `blax.laws.jailed` from its `CapturedBy` prefix and `blax.laws.released` from its `GenGuest.PrisonerRelease` prefix (API version 2, the join API); Castes reads a hint inside those calls and drops it at the end of the tick.
|
||||
- `blax.laws.jailed` uses the new-prisoner row like every arrest, and the former-caste record it leaves outlives `formerCasteDays`. `blax.laws.released` gives the old caste back whatever its age.
|
||||
- Laws writes Maintain only on its own convicts two ticks after the capture, and Release when the sentence is served. Castes never writes a prisoner mode on an arrested colonist ("Default prisoner interaction"), so the two never write the same pawn; Laws' write stays as its own guard.
|
||||
- Once the Laws design is accepted, Castes' ownership line gains "except the Maintain only and Release modes Laws sets on colonists it jailed", and a Laws line joins the list below.
|
||||
|
||||
### Ownership
|
||||
|
||||
- Castes: every per-pawn policy default (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction).
|
||||
- Castes: every per-pawn policy default (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction), 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) and the slave interaction mode a new slave starts on (open question 2 in `docs/features.md`).
|
||||
- Zones: sleeping spots, beds by zone, every friendly drop location and per-cell work rules (work rule areas); it never changes a pawn's work priorities or allowed area.
|
||||
- Slaves: slave status, 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, 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.
|
||||
|
|
@ -667,7 +740,6 @@ Blax Slaves binds `HintJoinReason` and `NotifyJoined` by name and reads `Version
|
|||
## Cut
|
||||
|
||||
- Strict sync mode: it duplicates "Apply to all members", and as a ModSetting it would differ per client.
|
||||
- Slave interaction mode slot: suppression belongs to Blax Slaves.
|
||||
- Baby autofeed slot: stored per baby and per feeder, so it must be rewritten whenever a feeder joins or leaves. Low value.
|
||||
- Creating missing vanilla policies at seed time: it duplicates renamed policies. A "Create" button replaces it.
|
||||
- Reading None in the Slave caste: it does nothing for adult slaves and blocks slave children's learning.
|
||||
|
|
@ -683,5 +755,5 @@ Blax Slaves binds `HintJoinReason` and `NotifyJoined` by name and reads `Version
|
|||
- An appearance or style bundle: not a policy. It queues styling-station jobs and has no clean "apply".
|
||||
- Guest and visitor defaults: visitors lack the policy trackers, and Hospitality already handles guests.
|
||||
- A rule engine for assignment: too abstract. Join rows plus pre-picks cover the real cases with far less UI.
|
||||
- Periodic re-sync of members: it would fight AAAA's area swaps and hand changes. Castes writes only on assign, join, first arrival and caste edits.
|
||||
- Periodic re-sync of members: it would fight AAAA's area swaps and hand changes. Castes writes only on assign, join, first arrival on a map, caste edits, a draft (fire at will) and, for the cold-weather apparel policy, a change of twelfth. That last one moves only members still on the other policy of their caste, so hand changes still win.
|
||||
- Policy templates in ModSettings in 1.0: they need policy serialization and label re-linking. Templates come as files in "Castes across saves".
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
# Blax Castes feature plan
|
||||
|
||||
Complete, Blax Castes holds every setting you would otherwise set by hand on each colonist, slave and prisoner: policies, medical care, schedule, work, loadout, allowed area, combat and medical behaviour, prisoner treatment and the DLC switches. Every way a pawn can join or change status, children included, puts it into the right caste by itself, and a pawn that comes back gets its old caste. Castes travel between colonies as files, show at a glance, and the other Blax mods read and steer them through one API.
|
||||
Complete, Blax Castes holds every setting you would otherwise set by hand on each colonist, slave and prisoner: policies, medical care, schedule, work, loadout, allowed area, combat and medical behaviour, prisoner and slave treatment and the DLC switches. Every way a pawn can join or change status, children included, puts it into the right caste by itself, and a pawn that comes back gets its old caste. Castes travel between colonies as files, show at a glance, and the other Blax mods read and steer them through one API.
|
||||
|
||||
Status: 1.0.0 is on the Workshop (item 3848261054) since 2026-11-29. Everything else here is planned; the specs are in `docs/design.md`.
|
||||
|
||||
Planned 2026-12-01. This file decides what the mod covers and in which order the work goes. Features are grouped by the player problem they solve, never by how long they take.
|
||||
Planned 2026-12-01 and reviewed the same day against the decompiled 1.7 code. This file decides what the mod covers and in which order the work goes. Features are grouped by the player problem they solve, never by how long they take.
|
||||
|
||||
Status words: **Shipped** (in a release), **Designed** (specced in `docs/design.md`, section named in quotes), **New** (first planned here, no spec yet), **Idea** (in scope, built when its trigger comes).
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ Castes covers the per-pawn settings of humanlike colonists, slaves and prisoners
|
|||
|
||||
It leaves:
|
||||
|
||||
- slave status, trade, suppression, rebellion and slave medicine to Blax Slaves;
|
||||
- slave status, trade, suppression, rebellion, slave medicine and the slave interaction modes themselves to Blax Slaves (which mode a new slave starts on is open question 2);
|
||||
- beds, sleeping zones, drop spots and work rule areas to Blax Zones (Zones filters its sleeping zones by caste, Castes has no bed slot);
|
||||
- animals, mechs, storage, bills, buildings and forbid rules to Blax Defaults;
|
||||
- crimes, sentences and court to Blax Laws, which sets the Maintain only and Release modes on colonists it jailed (that exception enters the ownership list once the Laws design on its `design/act-catalogue` branch is accepted);
|
||||
|
|
@ -26,31 +26,36 @@ Every new pawn needs about 20 settings by hand, spread over the Assign, Schedule
|
|||
|
||||
Shipped in 1.0: apparel, food, drug and reading policy, medical care, schedule, work priorities, and the Weapons Tab Reborn loadout.
|
||||
|
||||
Every slot, shipped or planned, answers the same list: when it is written, the Follow rule, the "*" mark, the load check, the former-caste record, duplicate and new caste from pawn, its template entry, its DLC note and "Apply to all members" (`docs/design.md`, "Slot contract"). A slot whose spec leaves one of them open is not ready to build.
|
||||
|
||||
Steps:
|
||||
|
||||
1. **Where and how they fight.** Designed, "Allowed area" and "Hostility, self-tend, carried medicine, fire at will". Comes first because area and hostility are the defaults Better Pawn Control (228k) and 1trickPwnyta's Defaults (75k) set that Castes doesn't replace yet, and a Guard caste needs them.
|
||||
- Allowed area: by name, applied on arrival on any map, with a "Create area" button when it's missing. Needs nothing.
|
||||
- Hostility response, fire at will, self-tend with a minimum Medicine skill, carried medicine with a warning when the colony runs short. Needs nothing.
|
||||
2. **Prisoner caste.** Designed, "Default prisoner interaction". The interaction mode a prisoner gets on capture (Reduce resistance, Enslave, Convert) plus the bloodfeed and hemogen farm toggles. Skips colonists Blax Laws jailed, once Laws' join reasons exist (area 2, step 2). Needs: Enslave, Reduce will and Convert need Ideology; bloodfeed and hemogen farm need Biotech; Study and Interrogate need Anomaly.
|
||||
- Allowed area: by name, applied on arrival on any map, with a "Create area" button that makes the area under the caste's name when it's missing. Needs nothing.
|
||||
- Hostility response, self-tend with a minimum Medicine skill, carried medicine with a warning when the colony runs short, and fire at will as the value each draft starts with (vanilla turns it back on at every draft). Needs nothing.
|
||||
2. **Prisoner and slave treatment.**
|
||||
- Prisoner interaction: Designed, "Default prisoner interaction". The interaction mode a captured enemy gets (Reduce resistance, Enslave, Convert), a second mode for prisoners the first one does not fit (an unrecruitable prisoner in a Recruit caste goes to Enslave instead), plus the bloodfeed and hemogen farm toggles. Never written on a colonist you arrest or a slave you imprison, with or without Blax Laws: they keep the mode vanilla gives them (Maintain only for a colonist never held before). Needs: the captured and arrested reasons of the adult join paths (area 2, step 1). Enslave, Reduce will and Convert need Ideology; bloodfeed and hemogen farm need Biotech; Study and Interrogate need Anomaly.
|
||||
- Slave interaction: New, open question 2. The mode a new slave starts on: Suppress, No interaction, and Blax Slaves' Recruit and Convert while Slaves is loaded. Vanilla puts every newly enslaved pawn on Suppress (RimWorld/Pawn_GuestTracker.cs:501-503); Castes writes the caste's mode one tick later, on join and assign only, never through the Follow rule. Stored as a defName and resolved with `GetNamedSilentFail`, so `BlaxSlaves_Recruit` and `BlaxSlaves_Convert` work only while Slaves is loaded. Imprison, Emancipate and Execute are never offered, since each acts on the slave once. Castes picks the default, Slaves owns the modes. Needs Ideology. Demand: Slaves' plan sends "policy defaults for new slaves" to Castes, and its Recruit and Convert modes are set by hand on each slave.
|
||||
3. **DLC settings.** Designed, "DLC switches". Room and apparel requirements, psyfocus target and entropy limit (Royalty); hemogen packs and deathrest auto-wake (Biotech). Each row switches off with a "Needs <DLC>" note without its DLC.
|
||||
4. **Settings that change with the day and the year.** Both hold several values in one slot and deal them out by a rule, so they share the manager row and the Follow rule.
|
||||
- Shift schedules: up to three timetables per caste, members dealt out in turn, "Rebalance" spreads them again. Designed, "Shift schedules".
|
||||
- Seasonal apparel: New. A caste can hold a winter apparel policy next to its normal one. When a member's map turns winter, members still on the normal policy switch, and back in spring; pawns set by hand keep theirs. Demand: "Curious about how to set seasonal clothing" (Steam discussions, 2020-02-15, https://steamcommunity.com/app/294100/discussions/0/3440124566885187088/), where players swap policies by hand or with Better Pawn Control presets; the search found no mod that switches them by season. Hook: `GenLocalDate.Season(Thing)` per member in the existing 2500-tick sweep, written through the Follow rule. Signatures compile against the 1.7.5021 reference assemblies; behaviour not checked against the code.
|
||||
5. **Combat Extended loadout.** New, waits for a Combat Extended 1.7 build. A caste sets the CE loadout (ammo, sidearms, gear) the way it sets the Weapons Tab Reborn loadout. Demand: Combat Extended has 419k subscribers (Workshop 2890901044, tagged up to 1.6, updated 2026-10-15, read 2026-12-01). Hook: CE's per-pawn loadout setter, bound by reflection; not checked against the code.
|
||||
4. **Settings that change with the day and the year.** Both keep several values in one slot and give each member one of them by a rule (its shift, the cold on its map), so every check (the Follow rule, the "*" mark, Reset, "Apply to all members", the former-caste record) compares a member with its own value.
|
||||
- Shift schedules: up to three timetables per caste, members dealt out in turn, night owls first to the shift that sleeps through midday, "Rebalance" spreads them again. Designed, "Shift schedules".
|
||||
- Cold-weather apparel: New. A caste can hold a cold-weather apparel policy next to its normal one. A member wears it while vanilla's own test says its map needs warm clothes this twelfth, the test the outfit optimiser uses (`PawnApparelGenerator.CalculateNeededWarmth`, RimWorld/PawnApparelGenerator.cs:1164-1176, called from RimWorld/JobGiver_OptimizeApparel.cs:124): the tile's average temperature for the twelfth is more than 4 degrees below the race's comfortable minimum. So a polar map wears it all year and a hot desert never does. A calendar season gets both wrong: `GenLocalDate.Season` reports PermanentWinter or PermanentSummer on polar and tropical maps (RimWorld/SeasonUtility.cs:29-41) and ignores the biome. The caste's apparel value for a member is the policy for its current need, so joining, "Reset to caste", "Apply to all members", the "*" mark and the previous caste all use it. When a member's twelfth changes (checked in the existing 2500-tick sweep), members on the other policy move; pawns set by hand keep theirs. The second policy is part of the delete guard, the load check and the former-caste record. Demand: the Slave outfit the starter Slave caste uses has no cold protection, which 1.0 already warns about. Players also ask how to swap outfits by season ("Curious about how to set seasonal clothing", Steam discussions, 2020-02-15, https://steamcommunity.com/app/294100/discussions/0/3440124566885187088/) and do it by hand or with Better Pawn Control presets; the search found no mod that switches them by season.
|
||||
5. **Combat Extended loadout.** New, waits for a Combat Extended 1.7 build. A caste sets the CE loadout (ammo, sidearms, gear) the way it sets the Weapons Tab Reborn loadout, and answers the slot contract like every slot. Demand: Combat Extended has 419k subscribers (Workshop 2890901044, tagged up to 1.6, updated 2026-10-15, read 2026-12-01). Hook: CE's per-pawn loadout setter, bound by reflection; not checked against the code.
|
||||
|
||||
## 2. Every way a pawn joins
|
||||
|
||||
Vanilla resets settings on every join and status change, and each path (bought, rescued, born, freed) needs its own default. Castes should know every path and let you override it per pawn.
|
||||
|
||||
Shipped in 1.0: five rows (bought as slave, bought as colonist, new colonist, new slave, new prisoner), every status change between colonist, slave and prisoner, the old caste on return within 60 days, leaving on sale or escape, starter castes wired to the rows.
|
||||
Shipped in 1.0: five rows (bought as slave, bought as colonist, new colonist, new slave, new prisoner), every status change between colonist, slave and prisoner, the old caste on return within 60 days, leaving on sale or escape, starter castes wired to the rows. Starting colonists go through the new-colonist row: the defaults window can't be opened before the game starts, so there is no starting row.
|
||||
|
||||
Steps:
|
||||
|
||||
1. **A row for every path, adult and child.** Designed, "Every join path, adult and child". Starting, enslaved, recruited prisoner, captured, wanderer, quest joiner, rescued, lodger arrived and recruited, emancipated, recruited slave, born, child chosen as colonist or slave, came of age, creepjoiner; a child dropdown per row; a safety net on spawn for paths nobody hooks. Needs: slave rows Ideology, child rows Biotech, creepjoiner Anomaly. Comes first because the other Blax mods' join reasons land in these rows.
|
||||
2. **Join reasons from the other Blax mods.** Castes reads them through the join API (area 5, step 2).
|
||||
- Blax Slaves: runaway returned, slave recruited, indenture served, bought indentured, contract returned. Designed, "Join reasons from Blax Slaves".
|
||||
- Blax Laws: `blax.laws.jailed` (new-prisoner row, never the captured row; no prisoner mode; the former-caste record outlives `formerCasteDays`) and `blax.laws.released` (old caste whatever its age). New, specified in the Laws design ("Castes keeps the caste"); lands once that design is accepted.
|
||||
3. **Pre-picks per pawn.** Designed, "Pre-pick in the prisoner and slave tabs". The prisoner tab picks the caste when recruited or enslaved, the slave tab the caste when freed; a pick beats every default. Its store is what the PrePick API (area 5, step 3) writes into.
|
||||
1. **Adult join paths.** Designed, "Adult join paths". Enslaved, recruited prisoner, captured enemy, wanderer, quest joiner, rescued, lodger arrived and recruited, emancipated, recruited slave, creepjoiner; arrested colonists and imprisoned slaves keep the new-prisoner row under their own reason, so no prisoner mode ever reaches them; a safety net on spawn for paths nobody hooks. Needs: slave rows Ideology, creepjoiner Anomaly. Comes first because the other Blax mods' join reasons land in these rows.
|
||||
2. **Children.** Designed, "Children". Born (growth vat included), grown into a child as colonist or slave, chosen as colonist or slave in the growth letter, came of age at 13, and a child dropdown on every row. These paths change no faction or status, so their hooks queue the pawn themselves. Growth rows never move a pawn whose caste you picked by hand. Needs Biotech (the child slave row also Ideology).
|
||||
3. **Join reasons from the other Blax mods.** Castes reads them through the join API (area 5, step 2).
|
||||
- Blax Slaves: runaway returned, slave recruited, indenture served, bought indentured, contract returned. Designed, "Join reasons from Blax Slaves". Ships with the join API: Slaves has sent runaway returned since its 1.2 and binds both API members by name.
|
||||
- Blax Laws: `blax.laws.jailed` (the new-prisoner row and no prisoner mode, like every arrest; the former-caste record outlives `formerCasteDays`) and `blax.laws.released` (old caste whatever its age). New, specified in the Laws design ("Castes keeps the caste"); waits for that design to be accepted.
|
||||
4. **Pre-picks per pawn.** Designed, "Pre-pick in the prisoner and slave tabs". The prisoner tab picks the caste when recruited or enslaved, the slave tab the caste when freed; a pick beats every default. Its store is what the PrePick API (area 5, step 3) writes into.
|
||||
|
||||
## 3. Managing castes
|
||||
|
||||
|
|
@ -62,7 +67,7 @@ Steps:
|
|||
|
||||
1. **Tools.** Designed, "Tools": "Caste gizmo", "New caste from pawn", "Policy delete guard", "Ideo conflict warning". Comes first because 1.0 has no manual way to put a prisoner in a caste, and building castes from an existing colony takes a caste per click.
|
||||
- Caste gizmo on selected pawns, prisoners included.
|
||||
- New caste from a pawn's current settings.
|
||||
- New caste from a pawn's current settings, every slot the pawn can use.
|
||||
- Policy delete guard: a policy a caste uses can't be deleted.
|
||||
- Ideoligion clash warning, for example Social drugs for a drug-hating ideoligion. Needs Ideology.
|
||||
2. **Seeing castes.** Designed, "Caste colour and inspect line". A colour per caste in the column and the gizmo, and a "Caste: X" line in the inspect pane.
|
||||
|
|
@ -73,34 +78,40 @@ Steps:
|
|||
|
||||
Every new colony rebuilds the same castes and policies by hand.
|
||||
|
||||
1. **Caste templates.** Designed, "Caste templates across saves". Export a caste with the policies it uses to a file, import it in another colony, and start new games from your templates instead of the starter set. A template made with DLCs imports without them and reports what it dropped. Replaces Better Policies, Export Agency and Save My Settings, partly. Comes after the slots in area 1, because a template copies every slot.
|
||||
1. **Caste templates.** Designed, "Caste templates across saves". Export a caste with the policies it uses to a file, import it in another colony, and start new games from a template set (your castes, the join-row picks and the default caste) instead of the starter set. A template made with DLCs or mods imports without them and reports what it dropped. The file holds one named entry per slot, so a slot built later only adds its entry and older files still import with that slot left alone. Replaces Better Policies (3.9k), Export Agency (16.3k) and Save My Settings (3.8k), partly: the largest demand of any planned area.
|
||||
|
||||
## 5. The API for the other Blax mods
|
||||
|
||||
The sibling mods read castes and tell Castes why a pawn joined. Every step adds members to `BlaxCastes.CastesApi` and raises its version; existing members never change.
|
||||
|
||||
1. **Read-only API (version 1).** Designed, "Read-only API (version 1)". `Version`, `Active`, `CasteIdOf`, `CasteLabels`. Waited on by Zones' sleeping zones by caste, Defaults' caste guard for animals and mechs, and Laws' caste checks.
|
||||
2. **Join API (version 2).** Designed, "Join API (version 2)". `HintJoinReason`, `NotifyJoined`. Waited on by Slaves' recruit and indenture features and Laws' "Castes keeps the caste". Ships with or after area 2, step 1.
|
||||
3. **PrePick (version 3).** Designed, "PrePick for the trade row (version 3)". Waited on by Slaves' trade-row caste picker. Needs the pre-pick store (area 2, step 3).
|
||||
4. **Caste values for sibling features (version 4).** New, open question 1. A sibling registers a per-caste value (a checkbox or a choice), Castes stores it per caste and shows it in the manager under the sibling's name, and the sibling reads it for a pawn and applies it itself. Asked for by Slaves' backlog (blood donor and indenture term per caste) and Laws' backlog ("may serve in court").
|
||||
2. **Join API (version 2).** Designed, "Join API (version 2)". `HintJoinReason`, `NotifyJoined`. Waited on by Slaves' recruit and indenture features and Laws' "Castes keeps the caste". Ships after the adult join paths (area 2, step 1), together with the Blax Slaves reasons (area 2, step 3).
|
||||
3. **PrePick (version 3).** Designed, "PrePick for the trade row (version 3)". Waited on by Slaves' trade-row caste picker. Needs the pre-pick store (area 2, step 4).
|
||||
4. **Caste values for sibling features (version 4).** New, open question 1. A sibling feature needs a value per caste (a checkbox or a choice) that the sibling reads for a pawn and applies itself. Asked for by Slaves' backlog (blood donor and indenture term per caste) and Laws' backlog ("may serve in court"). Which mod stores the value is the open question.
|
||||
|
||||
## Order
|
||||
|
||||
1. Read-only API (area 5, step 1). Zones' sleeping zones by caste and Defaults' caste guard wait on it, and it changes nothing in play.
|
||||
2. Tools (area 3, step 1). They close the gaps 1.0 leaves in a running colony.
|
||||
3. Where and how they fight (area 1, step 1). It adds settings no caste holds yet; the join work below refines rows 1.0 already fills.
|
||||
4. A row for every path (area 2, step 1), then the join API (area 5, step 2), so Slaves' and Laws' reasons land in their own rows from the start.
|
||||
5. Pre-picks (area 2, step 3), then PrePick (area 5, step 3).
|
||||
6. Seeing castes (area 3, step 2).
|
||||
7. Prisoner caste (area 1, step 2), after the join API, so colonists Laws jailed are skipped from the first build.
|
||||
8. DLC settings, then settings that change with the day and the year (area 1, steps 3 and 4).
|
||||
9. Caste templates (area 4), once the slot list is complete.
|
||||
10. Waiting on a trigger: Combat Extended loadout (a CE 1.7 build), caste values for sibling features (Fabian's answer and the first sibling feature that needs it), colony bar groups (demand), multiplayer (a 1.7 build of the Multiplayer mod; the groundwork is in place).
|
||||
4. Caste templates (area 4). The largest demand of any planned area. The file has one entry per slot, so it waits on no later slot, and every later slot adds its entry.
|
||||
5. Adult join paths (area 2, step 1), then the join API (area 5, step 2) with the Blax Slaves reasons (area 2, step 3). Slaves already sends a returned runaway, so its reasons land in their own rows from the start.
|
||||
6. Children (area 2, step 2).
|
||||
7. Pre-picks (area 2, step 4), then PrePick (area 5, step 3).
|
||||
8. Seeing castes (area 3, step 2).
|
||||
9. Prisoner and slave treatment (area 1, step 2), after the adult join paths, whose arrested reason keeps prisoner modes off your own arrested colonists and imprisoned slaves. The slave interaction part once open question 2 is answered.
|
||||
10. DLC settings, then settings that change with the day and the year (area 1, steps 3 and 4).
|
||||
11. Waiting on a trigger: Combat Extended loadout (a CE 1.7 build), Blax Laws' join reasons (the Laws design accepted), caste values for sibling features (Fabian's answer and the first sibling feature that needs it), colony bar groups (demand), multiplayer (a 1.7 build of the Multiplayer mod; the groundwork is in place).
|
||||
|
||||
## Left out
|
||||
|
||||
Reasons are in `docs/design.md` "Cut": strict sync mode, a slave interaction mode slot (Slaves), a baby autofeed slot, creating missing vanilla policies, a bed or sleeping-zone slot (Zones), a trade-dialog picker owned by Castes (Slaves), colony-wide presets and emergency mode, Ideology roles, caste mood, precept or stat rules, appearance bundles, guest defaults, a rule engine for assignment, periodic re-sync. Animals and mechs are Blax Defaults'.
|
||||
Reasons are in `docs/design.md` "Cut": strict sync mode, a baby autofeed slot, creating missing vanilla policies, a bed or sleeping-zone slot (Zones), a trade-dialog picker owned by Castes (Slaves), colony-wide presets and emergency mode, Ideology roles, caste mood, precept or stat rules, appearance bundles, guest defaults, a rule engine for assignment, periodic re-sync. Animals and mechs are Blax Defaults'.
|
||||
|
||||
## Open questions for Fabian
|
||||
|
||||
1. **Caste values for sibling features (area 5, step 4).** Should Castes store per-caste values that Slaves and Laws register, such as "blood donor" or "may serve in court"? Recommendation: yes, built when the first sibling feature needs one. Castes stores and shows the value, the sibling owns its meaning and applies it, so no mod writes the other's settings. The ownership line in all five docs gains "and per-caste values other Blax mods register, which those mods apply".
|
||||
1. **Caste values for sibling features (area 5, step 4).** Slaves and Laws want values per caste, such as "blood donor", "indenture term" or "may serve in court". Where should they live?
|
||||
- Castes stores them: a sibling registers a value, Castes keeps it per caste, shows it in the caste manager under the sibling's name, copies it on duplicate and exports it with templates. Cost: a registration member in the API, other mods' keys in Castes' save (kept while that mod is missing, like the names of a DLC that is off), and Castes drawing a setting it does not own.
|
||||
- The sibling stores them, keyed by the token-prefixed caste id, as Zones does for its sleeping zones (it keeps them while Castes is missing). No new API, but the value sits in the sibling's own window, a duplicated caste starts without it and templates do not carry it.
|
||||
- Either way, a value read when the pawn joins needs one more read member. Castes applies a join one tick after the status change, so while Slaves decides an indenture inside the trade (`Pawn.PreTraded`), `CasteIdOf` still returns the old caste or none. `PendingCasteIdOf(Pawn)` would return the caste a queued join or a pre-pick will give.
|
||||
- Recommendation: Castes stores them, built when the first sibling feature needs one. The player sets up a caste in one window, and duplicate and templates carry its values; the sibling still owns their meaning and applies them, so no mod writes the other's settings. The ownership line in all five docs then gains "and per-caste values other Blax mods register, which those mods apply".
|
||||
2. **Default slave interaction mode (area 1, step 2).** Castes or Blax Slaves? Recommendation: Castes. It sets every other default a new slave gets and plans the matching prisoner default, and Slaves' plan already sends policy defaults for new slaves to Castes. Slaves keeps its modes and what they do. If Slaves should own it instead, the default moves into Slaves' plan and leaves this one.
|
||||
|
|
|
|||
Loading…
Reference in New Issue