rimworld-blax-slaves/docs/features.md

25 KiB

Blax Slaves feature plan

Planned 2026-12-01 and checked against the decompiled 1.7 code the same day. This is the plan of record for what Blax Slaves covers and in which order the rest gets built. How each feature works, its settings, tests and risks live in roadmap.md.

When it is complete, Blax Slaves is the one slavery mod a RimWorld 1.7 colony needs. You buy and sell slaves on your terms, make deals with factions over the people you hold, keep slaves without a rebellion doom timer, run a slave workforce with its own hospital and implants, and give slaves a way to loyalty and freedom. It replaces about thirty dead or conflicting slavery mods, every feature has its own toggle, and it works with any DLC combination (the slave features need Ideology).

Status: 1.0, 1.1 and 1.2.1 are on the Workshop (item 3847282171), 1.2.1 since 2026-11-29. Everything marked Designed has a full spec in the roadmap and no code yet.

Status labels:

  • Shipped x.y: on the Workshop.
  • Designed: specified in the roadmap, no code.
  • New: added in this plan, with a spec stub in the roadmap; its hook is named but not checked against the decompiled code.
  • Idea: in scope, waits until players ask.

Every unbuilt feature that changes a running colony by itself ships switched off. The others ship on but do nothing until you use them: a comms option, a bill, an order or a gizmo. Which is which: "Defaults I picked" in the roadmap.

Scope

Blax Slaves covers slave status and everything that hangs on it: trade in slaves and captives, prices and value, deals with factions over the people you hold, suppression, rebellion and the slave interaction mode (vanilla's modes plus Recruit and Convert), slave work rules, slave medicine and implants, the way from slavery to loyalty and freedom, and how much a slave weighs for the storyteller.

It leaves to its siblings:

  • Blax Castes: every per-pawn policy default (apparel, food, drugs, reading, medical care, schedule, work priorities, weapon loadout, allowed area and the rest). Slaves never sets a policy; it tells Castes why a pawn joined.
  • Blax Zones: sleeping spots, beds by zone and every friendly drop location. Slaves' silver payouts land where ZonesApi says; slaves themselves are never routed into zones.
  • Blax Defaults: what the game forbids when pawns go down, die or are stripped, slaves' gear included.
  • Blax Laws: crimes and punishments, for slaves too (warn, guilty, subdue, jail, later court). Rebellion stays Slaves'; Laws only records it as a crime. Laws gives back the slave status a sentence took.

The full contract is "Works with the other Blax mods" in the roadmap.

Trade

Vanilla sells few slaves, lets few traders buy your captives, fixes the price and decides for you whether a bought pawn joins as a slave or a colonist. This area makes the trade window and the traders work for a slave colony.

  • Slavers are common. Slaver caravans and slave ships twice as often with more stock; other traders may carry a slave or two. Shipped 1.0.
  • Request a slaver caravan from allied outlanders and tribes at the comms console. Shipped 1.1.
  • Buy as slave or colonist. One click in the trade window, price updates. Shipped 1.2.
  • Every trader buys captives, visitor groups included; anti-slavery factions may refuse. Shipped 1.2.
  • Slave stock ignores colony size, so settlements keep selling. Shipped 1.2.
  • Price sliders for buying slaves and selling captives, capped so buy-low-sell-high doesn't pay. Shipped 1.2.
  • Settings tabs and a Compat tab that lists the mods you can unsubscribe. Shipped 1.2.

Next step, "Sell any time":

  • Slave ship on request. Allied pro-slavery outlanders send an orbital slave ship from the comms console, so captives sell any time. With Odyssey the slave ship flies the Traders Guild's flag; the option says so and stays closed while the Guild is hostile. Designed.
  • Abolitionists buy to free. A third choice for traders whose ideoligion rejects slavery, next to "buy anyway" (the default since 1.2, and it stays the default) and "refuse": they buy your slaves at half price to free them, nobody minds the sale and their faction's goodwill rises. Designed.

Both answer "sell captives to anyone" at any time: a buyer on request, and a fair deal with factions that reject slavery. Neither needs another area. Slave appraisal, which comes later, leaves buy-to-free sales out of its buyer factor.

Waits for Blax Castes:

  • Caste picker on the trade row. Pick the caste a bought pawn joins, next to the slave or colonist button. Ships once Castes' PrePick (CastesApi version 3) is out; hidden without it. New, from Backlog.

Faction deals

The people you hold are worth more to their own factions than to a trader, and vanilla gives you no way to ask. Every deal here pays silver by drop pod through one helper (into a Blax Zones delivery zone when one fits), and a purchase ledger keeps you from buying a pawn cheap and ransoming it home.

Step 1, "Captives pay":

  • Purchase ledger and payouts. Nothing visible; the base every later deal reuses. Designed.
  • Ransom captives at the comms console. They quote, your negotiator pushes for more at lower odds; a refusal may bring a rescue raid. Replaces PrisonerRansom (91k, no 1.7 build, in your mod list). Designed.
  • Factions buy back their people. Letter offers for captives you hold; nobles and leaders draw more. Designed.
  • Released captives leave your gear behind. A slave you ransom, sell back or release to walk home drops your weapons and armor before leaving. It ships with ransom because ransom is what first releases slaves in numbers. Designed.

Step 2, "Slave orders":

  • Faction slave orders. Pro-slavery factions ask for slaves with a skill and pay a premium plus goodwill. Needs Slave value, because the premium sits on the appraised price. Designed.

Step 3, "Hire out":

  • Hire out slaves to allied factions for wages, built on vanilla's borrowed-pawn quests; escape and injury rolls. Designed. Last on purpose: the riskiest feature in the plan with almost no demand. It moves to Backlog if nobody asks by the time slave orders are out.

Control

Vanilla's rebellion is a doom timer: well-kept slaves still revolt, wardens can't keep up with a barracks, terror fades the moment a slave turns a corner, and a slave who escapes is gone for good. This area keeps slaves without that fight.

  • Branding and rebranding. A brand that remembers its owner and slows suppression loss. Shipped 1.0.
  • Trader slaves come branded. Shipped 1.0.
  • Runaways come back. Non-hostile factions return branded escapees. Shipped 1.0.

Step 1, "No doom timer":

  • No rebellion while suppressed. A slave at or above the safe threshold (50%) never rebels. Adds SlavesApi.IsSafe. Designed.
  • Rebellion options. Armed slaves are never safe; calm genes never rebel (Biotech). Both off until switched on. Designed.
  • Rebellion alerts use the safe threshold, worst first, each alert can be hidden. Designed.
  • Suppressed slaves don't break (off by default). Designed.

Step 2, "Wardens":

  • Warden suppression threshold. Wardens top slaves up below a level you pick instead of vanilla's 70%, which keeps slaves further above the safe threshold. Demand: Useful Terror's "smarter suppression" (90% there); nothing in your mod list does it. Designed.
  • Suppress the whole room. Bystanders within 6 cells get 70% of the gain. Designed.
  • Wardens calm breakdowns. A warden talks a slave out of a non-violent break at a suppression cost. Adds SlavesApi.CalmsBreaks, which Blax Laws reads to leave such slaves to the wardens. Designed.

Step 3, "Lingering terror":

  • Lingering terror. Terror fades over hours instead of at once. Designed.

Step 1 comes first because its safe threshold and MTB postfix are what Slave implants and Loyalty build on. Step 2 teaches wardens new work, and its threshold test is what recruit and convert reuse. Step 3 stands alone.

Ideas:

  • Rebels may surrender when most of a rebellion is down, instead of fighting to the death. Waits to see whether players still meet such fights after step 1.
  • Terror covers rebellion risks. Terror weakens vanilla's three rebellion multipliers (weapon nearby x4, room at the map edge x1.7, no colonist on the map x20). After step 1 a safe slave never rebels, so this only reaches slaves below the safe threshold, or every slave with safe suppression off; in practice slaves left unsuppressed while every colonist travels. Useful Terror (2636462610, 21.8k, maintained on 1.7, not in your mod list) does it. Waits until players report rebellions of unsafe slaves during caravan trips once step 1 is out. Spec.

Running a slave workforce

A big slave colony is hard to run: slaves can't do half the jobs, work at 85% speed and fill the colonist bar. This area is the daily view of that workforce.

  • Time as a slave in the Records tab and the slave tab. Shipped 1.2.
  • Slave work rules. Which banned work types slaves may do, work speed flat or by suppression, and slave wardens never suppress slaves. Replaces Capable Slaves (9.8k, no 1.7) and five smaller work mods. Designed.
  • Hide slaves from the colonist bar with one toggle or a key; caravan slaves stay listed. Replaces SlaveBar (24.6k, last built for 1.5). Designed.
  • Slave overview. A "Slaves" main tab, one sortable row per slave: suppression, days to a possible rebellion, time as a slave, and columns that appear as later areas ship (value, loyalty, term, donor). The place to see slaves once they leave the colonist bar. New, from Backlog.

One step: all three are the same daily job, managing the people who do the work.

Slave medicine

Vanilla keeps slaves out of colonist medical beds, throws away queued operations when a pawn's status changes and gives slaves no hemogen farm. Medical depth was your ask.

Step 1, "One hospital":

  • Shared infirmary and slave-surgeon rule. Slaves use colonist medical beds when theirs are full; slave doctors can be barred from operating on free colonists. Designed.
  • Surgery bills and medical care survive status changes (enslave, imprison, free). The medical care part stands down while Castes is loaded. Designed.

Step 2, "Harvests and blood":

  • Organ harvests wait for health, never take the last kidney or lung, and stop at a stock target. Designed.
  • Blood bank. Donor slaves get hemogen bills when well enough; sanguophages may feed on donors. Needs Biotech. Designed.

Step 1 fixes gaps every slave colony hits. Step 2 is for colonies that use slaves' bodies and keeps its state in the ledger from Faction deals' first step.

Slave implants

Control collars were the top medical request (Simple Slavery Collars, 52k, no 1.7 build), and vanilla has nothing between suppression and a rebellion fight. All three implants are surgery with vanilla items, no new art, and go dormant once the pawn is free.

  • Compliance implant. Suppression falls 30% slower, rebellions start half as often. Designed.
  • Sedation relay. Puts a rebelling or berserk slave under anesthesia; manual and area triggers. Nothing explodes. Designed.
  • Endurance implant. Full work speed for slaves at the cost of faster rest loss. Designed.

One step: they share one hediff class with a status-driven stage and the generalised suppression fall-rate patch, which loyalty and indenture later feed through the ledger. Needs Control's "No doom timer".

Slave value

Vanilla sells every slave at 60% of 60% of market value, so a healthy, skilled, branded slave sells like a sick raider.

  • Slave appraisal. Sale price by suppression, your brand, best skill, health certificate, implant, recent rebellion and the buyer's view of slavery (left out of buy-to-free sales); an appraised-value stat with the spare organs' price next to it. Designed.
  • Health examination and certificate. A healthy slave is certified for 30 days and sells for 15% more. Ships only with appraisal. Designed.
  • Honor by quality at the tribute collector. 1 to 9 honor by the slave's value instead of a flat 3. Needs Royalty. Designed.

One step, after Slave implants, so appraisal counts implants from the start.

Freedom and loyalty

Vanilla's only way out of slavery is emancipation by hand, and years of good service count for nothing.

Step 1, "A way out":

  • Recruit slaves. A warden order that talks a slave round over days, no imprisonment detour. Replaces Recruit Slaves (26k). Designed.
  • Convert slaves. A warden order for daily conversion, then suppress or recruit. Designed.
  • Freedom pays off. Freed slaves who stay get "freed from slavery" instead of "was enslaved". Designed. 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. Blax Castes sets the per-caste default mode for new slaves, Recruit and Convert included; while recruit or convert is switched off here, slaves left in that order go back to Suppress.

Step 2, "Loyalty":

  • Loyalty. Well-kept slaves grow Broken in, Obedient (never rebels), Loyal, then Devoted, when a letter offers to make them colonists. Adds SlavesApi.Loyalty. Designed.

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, and the SlavesApi member Blax Laws calls right before it captures an indentured slave it arrests, so the term runs on through the sentence. Designed.

The order follows the data: loyalty grows out of recruit's persuasion counter, and indenture's willingness check reads loyalty.

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 stores the value per caste, Slaves applies it; Castes builds version 4 when the first sibling feature needs one.
  • 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

Colonists mourn every slave or prisoner you harm, even ones the colony bought for that purpose, and factions punish surgery on captives you hold.

  • Harming slaves doesn't upset colonists. Pacifists and family still mind. Shipped 1.0.
  • Prisoners count too. The same rule for prisoners, enslaving a prisoner included, a mode that halves instead of removes, and optionally no goodwill loss for surgery on captives (execution still costs it). Replaces No Sympathy For Prisoners (16.4k, in your mod list) and Prisoner Harvesting (13.1k). Unlike No Sympathy For Prisoners, pacifists and family still mind. Designed.

Storyteller weight

A slave counts 75% toward wealth, raid points and population, so a large slave workforce brings large raids.

  • Slave wealth, raid and population weight. Three sliders, vanilla by default. Slaves Are Worthless (10.2k) does it on 1.7, so this consolidates rather than fills a gap. Designed.
  • Idea: caravan storyteller wealth, which still counts slaves at 75%, if players report it.

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' 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.
  • 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: 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

The remaining steps, in build order:

  1. Control, "No doom timer": the top complaint (Slave Rebellions Improved, 71k), and its safe threshold and MTB postfix are what Slave implants and Loyalty build on.
  2. Faction deals, "Captives pay": PrisonerRansom (91k) has no 1.7 build and is in your mod list. It brings the ledger and the payout helper that medicine, value, orders and hire-out reuse, and the gear drop every release needs.
  3. Trade, "Sell any time": the other half of "sell captives to anyone", and it needs nothing from later areas.
  4. Colony conscience: replaces No Sympathy For Prisoners from your mod list, and sits next to ransom because both are about the captives you hold.
  5. Running a slave workforce: fills 1.7 gaps no maintained mod covers (Capable Slaves and SlaveBar have no 1.7 build).
  6. Slave medicine, "One hospital", then "Harvests and blood".
  7. Slave implants: need step 1's MTB postfix.
  8. Slave value: counts implants and certificates.
  9. Control, "Wardens": nothing in your mod list covers it, CalmsBreaks is what Blax Laws reads, and its threshold test is what recruit and convert reuse, so it goes right before Freedom.
  10. Freedom and loyalty, "A way out", "Loyalty", then "Indentured servitude".
  11. Faction deals, "Slave orders": needs appraisal and the payout helper.
  12. Control, "Lingering terror": Useful Terror covers it on 1.7 today.
  13. Storyteller weight: consolidation, since Slaves Are Worthless is maintained on 1.7.
  14. Faction deals, "Hire out": only if players ask.

Waiting on a sibling: Trade, caste picker on the trade row, as soon as Castes' PrePick (CastesApi version 3) is out.

Each step is a release of its own and gets its version number when it ships.

Your slave and prisoner mods

The 14 slave and prisoner mods in your mod list, checked against their installed About.xml on 2026-12-01. The Compat tab's list of mods you can unsubscribe follows the "Replaced" rows, each added with the release that replaces it.

Mod Workshop id 1.7 build What happens
Trade as Slave or Colonist 3838162426 yes Replaced: Trade, "Buy as slave or colonist" (shipped 1.2). Our button stands down while it is active, so unsubscribe it.
Everybody Buys Slaves 2799461327 yes Replaced: Trade, "Every trader buys captives" (shipped 1.2). Harmless if left installed.
[SYR] More Slaves (Continued) 3361231919 yes Replaced: Trade, "Slave stock ignores colony size" (shipped 1.2). If left installed, its extra slaves stack on ours.
PrisonerRansom 794038005 no, 1.6 Replaced by Faction deals, "Captives pay".
No Sympathy For Prisoners 3533769253 yes Replaced by Colony conscience, "Prisoners count too", enslavement included. It keeps the pacifist and family exceptions this mod drops.
Raiders Never Die (Continued) 2024330186 yes Not needed: vanilla 1.7's custom difficulty has the same slider (enemy death on downed, Difficulty.cs:77).
Prisoners Should Fear Turrets 2602436826 yes Stays: no Blax mod covers its prisoner half, and Slaves doesn't take its slave half (Cut).
Prison Labor 1899474310 yes Stays: prisoner work, which no Blax mod covers. Slaves only takes its resocialization-offer idea, for slaves (buy-back offers).
Prisoner Realism 3760196312 yes Stays: prisoner handling, which no Blax mod covers. Its slave parts are in Cut.
Custom Prisoner Interactions 2841231775 yes Stays: prisoner interaction modes, whose defaults are Castes'. Slaves takes its convert-then idea and auto hemogen for slaves (Convert slaves, Blood bank).
Harvest Organs Post Mortem (Continued) 1204502413 yes Stays: harvesting corpses is medicine, not slave status. Slaves' mood rule already covers its autopsies (shipped).
War Crimes Expanded 2 Core (Updated) 3032870787 no, 1.6 Not taken: torture and war crimes go past vanilla Ideology's tone (Cut). Slaves' mood rule covers its torture while it loads (shipped).
Harvest Everything! 2007485974 no, 1.6 Not taken: a body-part system for every pawn, not slave rules (Left out). Vanilla's organ harvests stay, with the health gate and appraisal's organ prices.
[RH2] Rimdeed 2411722784 no, 1.6 Not taken: it hires colonists at the comms console, which is recruitment, not slavery. Buy mode leaves its hire trader alone (shipped). The slave ship on request covers selling captives any time.

PrisonerRansom, War Crimes Expanded 2, Harvest Everything! and Rimdeed have no 1.7 build: the game lists them as incompatible and still loads their 1.6 builds, and Rimdeed's throws errors on 1.7. PrisonerRansom goes once "Captives pay" ships; whether to keep the other three is your call.

Left out

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 in Slaves itself: they start in Suppress, as vanilla sets it (Pawn_GuestTracker.cs:501-503), and recruit or convert is set per slave. The per-caste default is Blax Castes'.
  • Harvest Everything!'s part items and its lethal "harvest everything" surgery: 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.
  • 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.
  • A comms-console slave catalogue, slave romance rules, a docility drug, terror building rebalancing.

Decided 2026-12-01

  1. Blax Laws' jail for slaves writes slave status. Laws puts a jailed slave back into slavery when the sentence ends, because it only restores what the sentence took, and Slaves keeps the brand, the time as a slave and loyalty through it.
  2. Useful Terror's slave rules. The warden threshold is built in Control, "Wardens", because nothing in your mod list covers it and it keeps slaves further above the safe threshold; "Terror covers rebellion risks" stays an Idea until players report rebellions of unsafe slaves during caravan trips, and lingering terror stays a late step of its own.
  3. An indentured term through a Laws sentence. Slaves adds the SlavesApi member Laws calls right before the capture (its CapturedBy prefix), shipping with Indentured servitude, so the term runs on through the sentence instead of ending at the arrest and leaving the convict a slave for life.
  4. Safe suppression ships off. It sits first on the Rebellion tab and the change note tells players to switch it on, because on by default would end rebellions in every existing save the moment the update lands.
  5. Harvest Everything! stays out of Blax Slaves. It is a body-part system for every pawn, not slave rules, so it is in Left out; vanilla's heart, lung, kidney and liver harvests stay, with the health gate and appraisal's organ prices.