docs: plans checked against the sibling plans

One ownership list in all five design docs. Laws moved indenture as a
sentence to its ideas, so StartIndenture is an idea here and open
question 3 asks for the member that keeps an indentured term through a
Laws jail sentence. Recruit and convert fall back to Suppress while
switched off, for slaves Castes' default may put in them. Castes'
slave default question is named where Slaves leaves the new-slave mode.
This commit is contained in:
Fabian @ Blax Software 2026-12-01 19:35:49 +01:00
parent b024129ef7
commit d86c75f447
2 changed files with 29 additions and 17 deletions

View File

@ -159,7 +159,7 @@ Step 1, "A way out":
- **Convert slaves.** A warden order for daily conversion, then suppress or recruit. [Designed](roadmap.md#convert-slaves).
- **Freedom pays off.** Freed slaves who stay get "freed from slavery" instead of "was enslaved". [Designed](roadmap.md#freedom-pays-off). The gear drop for released slaves ships earlier, with Faction deals' "Captives pay".
New slaves start in Suppress, as in vanilla; recruit and convert are orders you give per slave. A Blax order never reaches the save, so removing the mod leaves those slaves on Suppress.
New slaves start in Suppress, as in vanilla; recruit and convert are orders you give per slave. A Blax order never reaches the save, so removing the mod leaves those slaves on Suppress. A per-caste default mode for new slaves, Recruit and Convert included, is Blax Castes' open question 2; while recruit or convert is switched off here, slaves left in that order go back to Suppress.
Step 2, "Loyalty":
@ -167,7 +167,7 @@ Step 2, "Loyalty":
Step 3, "Indentured servitude":
- **Indentured servitude.** Terms of 15 to 120 days, "joins indentured" when buying, a term-end letter: stay, go home or extend. Adds SlavesApi.TermDaysLeft. If Fabian says yes to Blax Laws' indenture as a sentence (open question 3), it also adds SlavesApi.StartIndenture for Laws. [Designed](roadmap.md#indentured-servitude-1).
- **Indentured servitude.** Terms of 15 to 120 days, "joins indentured" when buying, a term-end letter: stay, go home or extend. Adds SlavesApi.TermDaysLeft. If Fabian says yes to open question 3, it also adds the SlavesApi member Blax Laws calls right before it captures an indentured slave it arrests, so the term runs on through the sentence. [Designed](roadmap.md#indentured-servitude-1).
The order follows the data: loyalty grows out of recruit's persuasion counter, and indenture's willingness check reads loyalty.
@ -176,6 +176,7 @@ Ideas:
- **Order chains** such as "emancipate when healthy", on the warden-order base once recruit and convert prove it.
- **Loyal slaves join parties.** More Slavery Stuff (2896845138, 21.7k, last built for 1.6) offers it as a precept; check first how 1.7 keeps slaves out of gatherings.
- **Per-caste blood donor and indenture term** through CastesApi version 4 (Castes area 5, step 4). Castes asks Fabian about it in its open question 1 and recommends yes; Castes would store the value per caste, Slaves would apply it.
- **Indenture as a sentence** for Blax Laws: SlavesApi.StartIndenture(Pawn, int days, string source) makes a convict a colony slave with a term. Laws keeps it as an idea until a player asks, because a slave loses work types and roles for good; built only once Laws takes it up.
## Colony conscience
@ -193,11 +194,12 @@ A slave counts 75% toward wealth, raid points and population, so a large slave w
## API for the Blax mods
- **Calls CastesApi** with five join reasons: a returned runaway (wired since 1.2), recruited, indenture served, bought indentured and contract returned (each with its feature). Castes' PrePick and CasteLabels (version 3) serve the caste picker on the trade row.
- **Calls CastesApi** with five join reasons: a returned runaway (wired since 1.2), recruited, indenture served, bought indentured and contract returned (each with its feature). Castes' CasteLabels (version 1) and PrePick (version 3) serve the caste picker on the trade row.
- **Not used yet:** CastesApi version 4 (per-caste values a sibling registers), for the per-caste blood donor and indenture term idea, if Fabian says yes to Castes' open question 1.
- **Calls ZonesApi.TryFindDropSpot** for every silver payout, from Faction deals' first step.
- **Offers SlavesApi**: Version and IsSafe (Control, step 1), CalmsBreaks (Control, "Wardens", for Blax Laws), Loyalty and TermDaysLeft (Freedom and loyalty, steps 2 and 3).
- **Planned if Fabian says yes to Laws' open question 2** (open question 3 here): SlavesApi.StartIndenture(Pawn, int days, string source), shipping with Indentured servitude.
- **Planned if Fabian says yes to open question 3** (Laws' open question 1): the member Laws calls right before it captures an indentured slave it arrests (its CapturedBy prefix), so the term runs on through the sentence, shipping with Indentured servitude. Its name is set in the spec.
- **Idea:** SlavesApi.StartIndenture(Pawn, int days, string source), only once Laws takes up indenture as a sentence.
## Order
@ -252,7 +254,7 @@ The roadmap's Cut has the reasons. In short:
- Anything past vanilla Ideology's tone: explosive or shock collars, torture, flogging, lobotomy, brainwash, automated lethal harvests, and Useful Terror's heart acidifier implant.
- Crimes and punishments for slaves: Blax Laws. Its subdue is a capped fistfight that ends a break, not a punishment system.
- Policy defaults for new slaves (outfit, food, drugs, medical care, area): Blax Castes. Slave sleeping zones: Blax Zones.
- A mode for new slaves: they start in Suppress, as vanilla sets it (Pawn_GuestTracker.cs:501-503), and recruit or convert is set per slave.
- A mode for new slaves in Slaves itself: they start in Suppress, as vanilla sets it (Pawn_GuestTracker.cs:501-503), and recruit or convert is set per slave. A per-caste default is Blax Castes' open question 2, which recommends Castes.
- New collar or outfit art: there is no artist.
- Slave auctions, prisoner arenas and prisoner labor, gene extraction farms: maintained 1.7 mods cover them.
- Hiring colonists at the comms console (Rimdeed): recruitment, not slavery.
@ -260,8 +262,8 @@ The roadmap's Cut has the reasons. In short:
## Open questions for Fabian
1. **Blax Laws' jail for slaves writes slave status.** Laws' design puts a jailed slave back into slavery when the sentence ends, and slave status is Slaves'. I recommend allowing it: it only restores what the sentence took, and Slaves keeps the brand, the time as a slave and loyalty through it. An indentured term ends at the arrest like at any imprisonment; whether a term survives jail is settled together with question 3.
1. **Blax Laws' jail for slaves writes slave status.** Laws' design puts a jailed slave back into slavery when the sentence ends, and slave status is Slaves'. I recommend allowing it: it only restores what the sentence took, and Slaves keeps the brand, the time as a slave and loyalty through it. An indentured term ends at the arrest like at any imprisonment, so Laws doesn't jail indentured slaves until question 3's hint exists. This is the first half of Laws' open question 1.
2. **Take over Useful Terror's slave rules?** Useful Terror (2636462610, 21.8k) is maintained on 1.7 and isn't in your mod list, so nothing of yours depends on it. Once "No doom timer" ships, a safe slave never rebels, and vanilla's weapon, map-edge and unattended factors only reach slaves below the safe threshold, mostly slaves left unsuppressed while every colonist is away (SlaveRebellionUtility.cs:131-134, 147-158, 215-225). I recommend building the warden threshold with the other warden features (Control, "Wardens"), because nothing in your list covers it and it keeps slaves further above the safe threshold, and keeping "Terror covers rebellion risks" an Idea until players report rebellions of unsafe slaves during caravan trips. Lingering terror stays a late step of its own.
3. **Indenture as a sentence (Blax Laws' open question 2).** Laws would sentence a convict to a term of indentured servitude, which needs SlavesApi.StartIndenture(Pawn, int days, string source). I recommend yes, answered together with Laws: Slaves owns the status and the term, Laws only hands over the convict and the days, and the call ships with Indentured servitude.
3. **An indentured term through a Laws sentence (the second half of Blax Laws' open question 1).** Laws skips indentured slaves for jail, because the arrest ends their term and the re-enslave at the end would leave them slaves for life. A SlavesApi member Laws calls right before the capture (its CapturedBy prefix) would keep the term in the ledger and let it run on through the sentence; if the convict leaves another way (released, recruited, escaped), the term ends as before. I recommend yes, shipping with Indentured servitude: without it an indentured slave who breaks a jail law only gets subdue or a warning. Indenture as a sentence (StartIndenture), asked here before, is now an idea on both sides, since Laws moved it to its ideas.
4. **Safe suppression on from the start?** Under the Blax rule it ships off, so an update never changes a running colony by itself. I recommend keeping it off, at the top of the Rebellion tab, with a change note that tells players to switch it on. On by default would end rebellions in every existing save the moment the update lands.
5. **Harvest Everything! (no 1.7 build, in your mod list).** It makes nearly every body part harvestable as an item and adds a lethal "harvest everything" surgery. I recommend leaving it out of Blax Slaves: it is a body-part system for every pawn, not slave rules; each new part item needs a def and art; and a one-click lethal harvest goes past the tone line this plan keeps. Vanilla's heart, lung, kidney and liver harvests stay, with the health gate and appraisal's organ prices.

View File

@ -14,6 +14,7 @@ Changes on 2026-12-01:
- Moved by area: lingering terror, suppress the whole room and wardens calm breakdowns join the new warden and terror features in Control. The slave ship on request and abolitionists buy to free form Trade's next step. Organ harvests and the blood bank sit in Slave medicine, the work rules and the colonist bar in Running a slave workforce, prisoners count too in Colony conscience, and the slave weight sliders in Storyteller weight.
- New in the plan, hooks named but not checked against the code: terror covers rebellion risks and the warden suppression threshold (Control), the slave overview and the caste picker on the trade row (both from Backlog). Heart acidifier and terror building values from Useful Terror went to Cut.
- Blax Laws joins "Works with the other Blax mods": SlavesApi gains CalmsBreaks for it, and crimes and punishments of slaves are Laws'.
- The five Blax plans checked against each other the same day: the ownership list is the same in all five design docs, with the open question named on each part that waits for one. Laws moved indenture as a sentence to its ideas, so StartIndenture is an idea here too, and open question 3 now asks for the member that keeps an indentured term through a Laws jail sentence. Recruit and convert fall back to Suppress while switched off, so a mode Blax Castes' slave default may write never strands a slave. Laws stands down only for the breaks the wardens take.
- Checked against the decompiled 1.7 code the same day. New hooks for the shared infirmary, the rebellion alerts, the sedation relay's manual trigger, the colonist bar, organ harvests, abolitionists, the warden threshold, the break blocker, kept surgery bills, the rescue raid and bloodfeeding. Recruit and convert never write a Blax mode into the save. The slave ship handles Odyssey's Traders Guild flag. Loyalty and indenture reach the fall-rate patch through the ledger. Enslaving a prisoner joins Prisoners count too.
- Plan changes from that check: the released-gear drop moved to Captives pay, "buy anyway" stays the default for anti-slavery traders, Sell any time follows Captives pay and the caste picker waits for Castes on its own, Control's second step split into Wardens and Lingering terror, terror covers rebellion risks became an Idea, and every unbuilt feature that acts on its own ships off.
@ -542,7 +543,7 @@ Recruiting is the strongest "path to freedom" signal (Recruit Slaves, 26k). The
### A way out
Recruit runs on its own persuasion counter, so it doesn't wait for loyalty. One reviewer wanted recruit next to the work rules; it stays with convert, which shares its warden-mode base. That base suppresses with the warden threshold helper from Control's Wardens step, which ships first. New slaves start in Suppress, as vanilla sets it (Pawn_GuestTracker.cs:501-503); recruit and convert are set per slave, and there is no "mode for new slaves" setting.
Recruit runs on its own persuasion counter, so it doesn't wait for loyalty. One reviewer wanted recruit next to the work rules; it stays with convert, which shares its warden-mode base. That base suppresses with the warden threshold helper from Control's Wardens step, which ships first. New slaves start in Suppress, as vanilla sets it (Pawn_GuestTracker.cs:501-503); recruit and convert are set per slave, and there is no "mode for new slaves" setting here. A per-caste default mode, Recruit and Convert included, is Blax Castes' open question 2: Castes would write the mode one tick after the join, by defName, only while Slaves is loaded.
#### Recruit slaves
@ -550,6 +551,7 @@ Recruit runs on its own persuasion counter, so it doesn't wait for loyalty. One
- **How:** SlaveInteractionModeDef BlaxSlaves_Recruit (listOrder 25); the slave tab lists every def by listOrder.
- Save safety: vanilla saves slaveInteractionMode with Scribe_Defs and repairs only the prisoner mode on load (Pawn_GuestTracker.cs:375, 394-399), and WorkGiver_Warden_SuppressSlave suppresses only in Suppress mode (WorkGiver_Warden_SuppressSlave.cs:19). A Blax mode in the save would load as null once the mod is removed, and that slave would never be suppressed again. So a Blax mode never reaches the save. The ledger's ExposeData, which the game runs before the world and the maps (Game.cs:401-403, 443), records every colony slave whose mode is BlaxSlaves_Recruit or BlaxSlaves_Convert. A prefix on Pawn_GuestTracker.ExposeData writes SlaveInteractionModeDefOf.Suppress into slaveInteractionMode while Scribe.mode is Saving, and a finalizer puts the real mode back. On load, the ledger's GameComponent.LoadedGame restores the recorded modes. Removing the mod leaves those slaves on Suppress.
- WorkGiver_Warden_BlaxSlaveMode, a base shared with convert, hands out vanilla's SlaveSuppress job while BlaxSuppression.BelowWardenThreshold(need) and ScheduledForSlaveSuppression hold (JobDriver_SuppressSlave doesn't check the mode). Otherwise, once a day, a JobDriver (walk over, 180-tick wait) runs InteractionDef BlaxSlaves_PersuadeSlave: persuasion in the ledger rises by 4% x the warden's NegotiationAbility, so a warden at 1.0 needs 25 talks. The DoSlavePriceListing line shows progress. At 100%: CastesApi.HintJoinReason(pawn, "blax.slaves.slaveRecruited"), then InteractionWorker_RecruitAttempt.DoRecruit(warden, slave), which adds the quest signal, tale, record and RecruitedMe that RecruitUtility.Recruit alone skips, then FreedFromSlavery. Non-recruitable pawns are skipped with a reason line. Loyalty turns this counter into the loyalty value and adds passive gain. (The design's fallback was a 3% chance per talk; I took the counter because it persists, shows progress and becomes loyalty later.)
- Switched off: with recruitMode off the slave tab stops offering the mode, and the ledger's 2,500-tick pass puts every slave still in BlaxSlaves_Recruit back on Suppress, because vanilla wardens suppress only in Suppress mode. So a mode set earlier by hand or by Blax Castes' slave default never leaves a slave unsuppressed. Convert does the same with convertMode.
- **Settings:** recruitMode (on), persuadeGain 4% (1 to 15).
- **Replaces:** Recruit Slaves 2887124861 (26,336 subs), No Slave Mental Breaks (its recruit interaction).
- **Effort:** M.
@ -604,16 +606,18 @@ Built on loyalty, which decides who is willing to stay, and on the buy-mode butt
- **Players get:** A gizmo gives selected slaves a term of 15, 30, 60 or 120 days. Indentured slaves lose suppression 30% slower and grow loyal faster because they can see the end. The trade button gains a third choice, "joins indentured", at 80% of the colonist price. When a term ends, a letter says whether the slave is willing to stay: welcome them as a colonist (only if willing), send them home with goodwill, or extend 15 days at a mood cost. Either way out gives "served my term" (+8, 10 days) instead of "was enslaved".
- **How:** The ledger stores each pawn's term end tick and source. A SetGuestStatus postfix drops the term on sale, imprisonment or early release. The gizmo comes from a Pawn.GetGizmos postfix; the slave tab shows days left. While serving: a fall-rate factor x0.7 through SlaveLedger.FallFactor (no hediff, so not a DefModExtension) and loyalty gain x1.5.
- Blax Laws as a source, only if Fabian says yes to Laws' open question 2 (indenture as a sentence): SlavesApi.StartIndenture(Pawn pawn, int days, string source) makes a convict a colony slave if it isn't one and registers the term like a gizmo term, with Laws' source saved next to it so the term-end letter names the sentence. Slaves owns the status and the term; Laws only hands over the convict and the days. How a convict's term ends (Welcome without the willingness check, since the convict was a colonist) is settled with that answer. Term-end letters are grouped per day. Willing means loyalty >= 50% (with loyalty off, a seeded roll from 30% at 20% mood to 90% at 80% mood). Choices:
- Blax Laws' jail, only if Fabian says yes to open question 3 in features.md: a SlavesApi member Laws calls from its CapturedBy prefix, right before it captures an indentured slave it arrests (named in the spec), marks the pawn in the ledger, so the SetGuestStatus postfix keeps the term at that imprisonment and the term runs on through the sentence. When Laws makes the convict a slave again the term goes on; if it leaves another way (released, recruited, escaped, dead), the term ends as before. The mark is cleared at the end of the tick if no imprisonment follows.
- Idea, only once Laws takes up indenture as a sentence: SlavesApi.StartIndenture(Pawn pawn, int days, string source) makes a convict a colony slave if it isn't one and registers the term like a gizmo term, with Laws' source saved next to it so the term-end letter names the sentence. Slaves owns the status and the term; Laws only hands over the convict and the days. How a convict's term ends (Welcome without the willingness check, since the convict was a colonist) is settled then.
- Term-end letters are grouped per day. Willing means loyalty >= 50% (with loyalty off, a seeded roll from 30% at 20% mood to 90% at 80% mood). Choices:
- Welcome: HintJoinReason "blax.slaves.indentureServed", then DoRecruit plus FreedFromSlavery; disabled if the pawn isn't Recruitable.
- Send home: GenGuest.SlaveRelease with vanilla walk-home goodwill. Disabled with a reason when HomeFaction is null or the player, because ShouldStayOnMapOnRelease would quietly keep the pawn as a colonist and skip the willingness check.
- Extend 15 days: BlaxSlaves_TermBroken (-10 for 15 days), loyalty -25%.
After Welcome or Send home, WasEnslaved is removed and BlaxSlaves_ServedTerm added. autoResolve: the willing join, the rest go home. Buying: JoinStatus has no indentured value, so buy-mode keeps a pending Dictionary<Pawn, PurchaseMode>, cleared when the session closes or the pawn leaves stock, and the button cycles slave, indentured (30 days), colonist. The price postfix applies 0.8/0.6 to the slave buy price. A ResolveTrade(PlayerBuys) prefix calls HintJoinReason "blax.slaves.boughtIndentured"; the postfix registers the term and writes the purchase ledger, so ransom and buy-back skip the pawn. SlavesApi.TermDaysLeft(Pawn) ships here, and StartIndenture with it if Laws' question is answered yes.
After Welcome or Send home, WasEnslaved is removed and BlaxSlaves_ServedTerm added. autoResolve: the willing join, the rest go home. Buying: JoinStatus has no indentured value, so buy-mode keeps a pending Dictionary<Pawn, PurchaseMode>, cleared when the session closes or the pawn leaves stock, and the button cycles slave, indentured (30 days), colonist. The price postfix applies 0.8/0.6 to the slave buy price. A ResolveTrade(PlayerBuys) prefix calls HintJoinReason "blax.slaves.boughtIndentured"; the postfix registers the term and writes the purchase ledger, so ransom and buy-back skip the pawn. SlavesApi.TermDaysLeft(Pawn) ships here, and the Laws jail member with it if open question 3 is answered yes.
- **Settings:** indentureEnabled (on), term choices 15/30/60/120 days, fallFactor 70%, joinChance 30% to 90% (loyalty off only), indenturedBuyPrice 80% of the colonist price, extendDays 15, autoResolve (off).
- **Replaces:** Indentured Servitude 2878184888 (1,311 subs, 8,244 lifetime, no 1.7), ServeTime 3259353607 (84).
- **Effort:** M.
- **Tests:** Indenture a slave for 15 days and tick 15 days: the letter is there. Welcome at loyalty 0.6 makes a free colonist with ServedTerm and no WasEnslaved; at 0.2 Welcome is disabled. Send home releases a foreign slave and is disabled for a colony-born one. Extend moves the end by 15 days and adds TermBroken. Fall rate is x0.7 while serving. Buying as indentured gives a slave with a 30-day term at 0.8/0.6 of the slave price, in the purchase ledger. If StartIndenture is built: a free colonist passed in for 15 days is a colony slave with a 15-day term and the given source. Phase 2: the term and its source survive reload.
- **Tests:** Indenture a slave for 15 days and tick 15 days: the letter is there. Welcome at loyalty 0.6 makes a free colonist with ServedTerm and no WasEnslaved; at 0.2 Welcome is disabled. Send home releases a foreign slave and is disabled for a colony-born one. Extend moves the end by 15 days and adds TermBroken. Fall rate is x0.7 while serving. Buying as indentured gives a slave with a 30-day term at 0.8/0.6 of the slave price, in the purchase ledger. If the Laws jail member is built: an indentured slave marked through it, then imprisoned and made a slave again 5 days later, keeps its term end tick; an indentured slave imprisoned without the mark loses its term. If StartIndenture is built: a free colonist passed in for 15 days is a colony slave with a 15-day term and the given source. Phase 2: the term and its source survive reload.
- **Risks:** Coexists with Recruit Slaves, which is an interaction, not a term. Many slaves mean many letters, hence grouping and autoResolve. M is tight; the split above is the fallback.
## Colony conscience
@ -664,11 +668,17 @@ How much a slave counts for wealth, raids and population. Slaves Are Worthless i
| blax.slaves.contractReturned | labor contract return (Hire out slaves) | NotifyJoined | keep current caste |
- **Buying needs no call:** buy-mode only sets guest.joinStatus before vanilla Pawn.PreTraded, and Castes classifies by the final status in its own PreTraded scope.
- **Not used yet:** CastesApi.CasteLabels and PrePick (version 3), for the caste picker on the trade row (Trade, its own step that waits for Castes). CastesApi version 4 (per-caste values a sibling registers, Castes area 5, step 4), for a per-caste blood donor and indenture term, only if Fabian says yes to Castes' open question 1. CasteIdOf stays unused.
- **Calls into BlaxZones.ZonesApi:** TryFindDropSpot(map, thing, out cell) inside BlaxDelivery.Drop for every silver payout (ransom and buy-back, order premiums, hire-out wages). The pod spawns exactly on that cell with TradeUtility.SpawnDropPod, as the ZonesApi contract asks; DropCellFinder.TradeDropSpot with DropThingsNear is the fallback. Payouts follow the zone's orbital checkbox. Pawns are never routed into zones: returned runaways and hired-out slaves use the vanilla spot. TryFindDropSpot and Version are all of ZonesApi version 1; the shared infirmary only touches Medical beds.
- **BlaxSlaves.SlavesApi (static):** Version and IsSafe(Pawn) with No doom timer. CalmsBreaks (static bool, true while "Wardens calm breakdowns" is on) with Control's Wardens step, for Blax Laws. Loyalty(Pawn) with Loyalty, TermDaysLeft(Pawn) with Indentured servitude. Only if Fabian says yes to Laws' open question 2 (indenture as a sentence): StartIndenture(Pawn, int days, string source), also with Indentured servitude.
- **Calls from Blax Laws:** Laws reads SlavesApi.CalmsBreaks, not IsSafe. While it is true, Laws leaves slaves in non-violent breaks to the wardens instead of subduing them. Laws treats slaves as offenders like colonists (warn, guilty, subdue, later jail and court), records a slave rebellion as a crime but leaves the rebellion itself to Slaves, and never touches suppression. Its designed jail for slaves would put a jailed slave back into slavery when the sentence ends, a write to slave status that waits for Fabian's decision (open question 1 in features.md); the ownership line below carries that exception in Laws' wording, conditional on his yes. Its indenture as a sentence would call StartIndenture (open question 3 in features.md).
- **Ownership:** Castes owns 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, if Fabian says yes to Castes' open question 1, per-caste values other Blax mods register, which those mods apply. So Slaves never sets a policy: the medical-care keeper of "Surgery bills and medical care survive status changes" stands down when Castes is loaded, and blood donor and term have no "new slaves" default here. Zones owns 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. Defaults owns the 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. Slaves owns slave status (except the status Laws gives back to a slave it jailed, if Fabian agrees), the slave interaction mode (vanilla's modes plus Recruit and Convert), trade, prices, suppression, rebellion, slave medicine and the slave economy. Laws owns the colony's lawbook, cases, sentences and later trials, judges, attorneys and law votes, slaves included as offenders; it acts through vanilla arrest, capture, release and guilt plus its own non-lethal subdue job.
- **Not used yet:** CastesApi.CasteLabels (version 1) and PrePick (version 3), for the caste picker on the trade row (Trade, its own step that waits for Castes). CastesApi version 4 (per-caste values a sibling registers, Castes area 5, step 4), for a per-caste blood donor and indenture term, only if Fabian says yes to Castes' open question 1. CasteIdOf stays unused.
- **Calls into BlaxZones.ZonesApi:** TryFindDropSpot(map, thing, out cell) inside BlaxDelivery.Drop for every silver payout (ransom and buy-back, order premiums, hire-out wages). The pod spawns exactly on that cell with TradeUtility.SpawnDropPod, as the ZonesApi contract asks; DropCellFinder.TradeDropSpot with DropThingsNear is the fallback. Payouts follow the zone's orbital checkbox, and Zones' global "Route orbital trade" switch too if Fabian says yes to Zones' open question 2. Pawns are never routed into zones: returned runaways and hired-out slaves use the vanilla spot. TryFindDropSpot and Version are all of ZonesApi version 1; the shared infirmary only touches Medical beds.
- **BlaxSlaves.SlavesApi (static):** Version and IsSafe(Pawn) with No doom timer. CalmsBreaks (static bool, true while "Wardens calm breakdowns" is on) with Control's Wardens step, for Blax Laws. Loyalty(Pawn) with Loyalty, TermDaysLeft(Pawn) with Indentured servitude. Only if Fabian says yes to open question 3 in features.md: the member Laws calls right before it captures an indentured slave it arrests, also with Indentured servitude. StartIndenture(Pawn, int days, string source) only once Laws takes up indenture as a sentence.
- **Calls from Blax Laws:** Laws reads SlavesApi.CalmsBreaks, not IsSafe. While it is true, Laws leaves slaves in the breaks the wardens take (not IsAggro, not the rebellion) to them instead of subduing or talking them down; tantrums, rages and slaughterers stay Laws'. Laws treats slaves as offenders like colonists (warn, guilty, subdue, later jail and court), records a slave rebellion as a crime but leaves the rebellion itself to Slaves, and never touches suppression. Its designed jail for slaves would put a jailed slave back into slavery when the sentence ends, a write to slave status that waits for Fabian's decision (open question 1 in features.md); the ownership line below carries that exception in Laws' wording, conditional on his yes. Until the term hint of open question 3 exists, it doesn't jail indentured slaves. Its idea of indenture as a sentence would call StartIndenture.
- **Ownership**, the same list in all five Blax design docs; a part that waits on Fabian's answer names the open question:
- Castes: every per-pawn policy default of colonists, slaves and prisoners (apparel, food, drug, reading, medical care, schedule, work priorities, weapon loadout, allowed area, hostility, self-tend, carried medicine, fire at will, prisoner interaction except the Maintain only and Release modes Laws sets on colonists it jailed), and the planned ones: the cold-weather apparel policy, the Combat Extended loadout, the Royalty and Biotech switches (room and apparel requirements, psyfocus target, entropy limit, hemogen pack use, deathrest auto-wake), the slave interaction mode a new slave starts on (Castes' open question 2) and per-caste values other Blax mods register, which those mods apply (Castes' open question 1).
- Zones: sleeping spots, beds by zone, every friendly drop location and per-cell work rules (work rule areas), with path rules on those areas (Zones' open question 3); it never changes a pawn's work priorities or allowed area.
- Slaves: slave status (except the status Laws gives back to a slave it jailed, Laws' open question 1), the slave interaction modes (vanilla's plus Recruit and Convert), trade, prices, suppression, rebellion, slave medicine and the slave economy. Slaves routes its silver payouts through `ZonesApi.TryFindDropSpot`, with `DropCellFinder.TradeDropSpot` as fallback. Pawns are never routed into zones.
- Defaults: starting settings of vanilla stockpiles and growing zones, storage buildings, production bills, workbenches, buildings, animals and mechs, the named areas a new map starts with, and what the game forbids when pawns go down, die or are stripped. It writes when something is made or joins, and through its opt-in forbid rules when a pawn goes down, dies or is stripped. It keeps nothing in the save.
- Laws: the colony's lawbook (which acts are crimes, at which stage, how severe and how they are punished), cases, sentences, trials, judges, attorneys and law votes. It acts through vanilla arrest, capture, release and guilt plus its own non-lethal subdue job, and talks colonists and slaves out of a break, except slaves while Slaves' wardens calm breaks. For the colonists it jailed, and only for them, it writes the prisoner interaction mode (Maintain only after the arrest, Release when the sentence ends) and gives back what the sentence took: bed, grave, throne, deathrest casket, ideoligion role, mech work modes and the weapon the arrest dropped. It puts a slave it jailed back into slavery (Laws' open question 1). It never sets policies, work priorities, allowed areas, zones or suppression. It keeps its state in one GameComponent.
- **What that means for Slaves:** Slaves never sets a policy. The medical-care keeper of "Surgery bills and medical care survive status changes" stands down when Castes is loaded, and blood donor and term have no "new slaves" default here.
- **Shared conventions:** patches applied one class at a time from a [StaticConstructorOnStartup] class with the "[Blax Slaves] N patches applied" log line (already in BlaxSlavesStartup); a ModSettings toggle for every feature; the headless test mod pattern (Tests/BlaxSlavesTests harness, run-tests.ps1), which Castes and Zones copy.
## Backlog
@ -689,7 +699,7 @@ How much a slave counts for wealth, raids and population. Slaves Are Worthless i
- Slaves leave loose weapons alone: wrong premise, slaves and colonists don't pick up weapons in daily life; only rebels do.
- Comms-console slave catalogue: L effort with world-pawn cleanup risk, and 1.1 caravans, stock-any-size, every-trader-buys and the slave ship already cover supply. Revisit after faction slave orders if players ask. Rimdeed (2411722784, in your mod list, no 1.7 build) is not a reason to build it: it hires colonists at the console, which is recruitment, not slavery.
- Harvest Everything's part items and its lethal "harvest everything" surgery: a body-part system for every pawn, not slave rules, and each new part item needs a def and art. Open question 5 in features.md.
- A "mode for new slaves" setting: new slaves start in Suppress as vanilla sets it; recruit and convert are orders given per slave.
- A "mode for new slaves" setting in Slaves: new slaves start in Suppress as vanilla sets it; recruit and convert are orders given per slave. A per-caste default is Blax Castes' open question 2.
- Sedation collar apparel: needs art on every body type; the relay implant does the same job.
- Absorbing Raiders Never Die (2024330186, in your mod list): vanilla 1.7 custom difficulty already has the slider (Difficulty.enemyDeathOnDownedChanceFactor, Difficulty.cs:77).
- Per-join policy defaults (outfit, food, drugs, reading, medical care, area): Castes owns them, and the README points players there.