An Exception-returning finalizer makes Harmony throw the exception again instead of rethrowing it, which cuts the stack trace at the patched method. All ten finalizers only passed the exception on, so they now return void. A smoke test fails if a finalizer returns a value again. Version 1.2.2.
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.
Hooks checked against the decompiled 1.7 code: shared infirmary, rebellion alerts, sedation gizmo, colonist bar, organ harvest gate, abolitionists, slave ship under Odyssey, warden threshold, break blocker, kept surgery bills, rescue raid, bloodfeeding, fall-rate factors for loyalty and indenture, enslavement thoughts. Recruit and convert never save a Blax mode. Plan: gear drop moves to Captives pay, buy anyway stays the default, Sell any time follows Captives pay, Control step 2 splits into Wardens and Lingering terror, features that act on their own ship off, a table of the 14 slave and prisoner mods, Laws and Castes API links.
docs/features.md is the new plan of record: everything Blax Slaves
covers when complete, in ten areas (Trade, Faction deals, Control,
Running a slave workforce, Slave medicine, Slave implants, Slave value,
Freedom and loyalty, Colony conscience, Storyteller weight), steps in
dependency order, the build order and two open questions.
The roadmap drops the Days column and day totals, groups the unshipped
specs by area and step, and names features instead of unshipped
versions. New spec stubs: terror covers rebellion risks, warden
suppression threshold, slave overview and caste picker on the trade
row. Blax Laws joins the sibling section (SlavesApi.CalmsBreaks).
README links the companion mods on the Workshop.
One tool for every Blax Gaming mod, configured from About.xml. It creates a missing Workshop item (id written before the upload), sets the title and preview like the in-game uploader, and -Check runs every publish gate without uploading. The gates also need test results from this checkout with no stray mod errors, newer than any shipped file, and source links that open without a login. Test runs record their checkout and keep -Compat results apart.
Without Ideology the trade features that need no slaves keep working (every trader buys captives, slaver caravans), and the slave features switch off: buy mode, branding, slave-harm moods, runaways and time as a slave. Their settings show disabled with "Needs Ideology", and tab resets keep them. A pawn bought without Ideology always joins as a colonist. Slaves and brands left from an Ideology save get no slave features and log nothing. Runaway records save the interaction mode by name.
Tests: run-tests.ps1 takes -NoDlc and -Dlc <list>; DLC tests skip with "needs <DLC>"; new DLC-off tests; fixtures spawn on open cells. Full matrix green: core 50/0/81, Ideology 128 to 131, all 130/0/1, compat 112/0/18. The publish guard wants a green all-DLC run and a green -NoDlc run newer than the DLL.
Payouts spawn their pod on the cell ZonesApi returns. Ownership lists Castes' full slot list and Blax Defaults. Every release works with any DLC combination. Current release line updated to 1.2 live, 1.2.1 waiting.
run-tests.ps1 -AllowWhileRunning starts the headless test game even while
RimWorld is open, at below-normal priority, and a lock file keeps two runs
from overlapping. The art README's render commands now work as written
(escaped regex, separate Edge profile, waiting for each screenshot).
Tools/workshop-upload.ps1 updates the Workshop item through the running
Steam client: no password, no game window, no dev mode. A small tool
(Tools/WorkshopUpload) uses the Steamworks.NET build and steam_api64.dll
that ship with RimWorld. Dry run by default; -Publish refuses unless the
shipped files are committed and pushed and the last test run passed after
the last build. The change note is every CHANGELOG entry newer than
Tools/workshop-published.txt.
docs/workshop-description.txt is the new Workshop description (BBCode).
- Trade window: "Joins as slave / Joins as colonist" on a trader's pawn is
a button that switches it and reprices it. A setting picks what new
stock starts as. Stands down while Trade as Slave or Colonist is active.
- Every trader buys colony slaves and prisoners, visitors included.
Optional refuse mode for factions whose ideoligion rejects slavery,
with a reason in the trade window.
- Settlement slave stock ignores colony size.
- Sliders for slave buy and captive sell prices (vanilla 60%), capped so
buying and reselling a slave never pays, whatever the negotiator.
- Time as a slave in the Records tab and the slave tab, counted in a
GameComponent so no RecordDef shifts other mods' records in saves.
- Tabbed settings with per-tab reset and a Compat tab listing replaced
mods; optional bindings for Blax Castes and Blax Zones.
- Tests cover every feature, also with the compat mods loaded.
- Allied outlanders and tribes send a slaver caravan on request at the
comms console; vanilla marks slavers as not requestable.
- Branding now slows suppression loss (vanilla's suppression stat ignored
the brand's factor) and a slave can't be branded twice.
- Workshop preview and mod icon in the blax.at CI, with their HTML sources.
- Headless in-game test suite (Tests/run-tests.ps1) that saves, reloads
and checks every feature without touching the player's mods or saves.
- Tools/workshop-stage.ps1 stages a clean copy for Workshop uploads.
- Roadmap in docs/roadmap.md.
Slavery as an everyday part of the rim:
- slavers show up twice as often and carry more slaves; every caravan
and orbital trader may have one or two for sale
- branding surgery for colony slaves; the brand remembers its owner,
slows suppression loss, and some trader slaves arrive branded
- a branded runaway is returned by a non-hostile faction after a few
days; hostile factions keep them
- harming slaves costs free colonists no mood, except pacifists and
family
XML patches plus a Harmony mod built for 1.7's .NET 10 runtime.