Commit Graph

9 Commits

Author SHA1 Message Date
Fabian @ Blax Software ccaf4ac01b fix: Harmony finalizers return void, so errors from other mods keep their stack trace
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.
2026-12-02 18:11:50 +01:00
Fabian @ Blax Software b40429286b feat: works with any DLC combination (1.2.1)
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.
2026-11-29 17:07:37 +01:00
Fabian @ Blax Software bca7045f6b docs: serve the Workshop page images from the Blax CDN 2026-11-29 11:59:53 +01:00
Fabian @ Blax Software 2383485f4f build: keep the git commit out of the DLL version, so rebuilds match the committed DLL 2026-11-29 11:33:46 +01:00
Fabian @ Blax Software 560202712b docs: Blax footer, Workshop page art and a restyled description 2026-11-29 11:27:27 +01:00
Fabian @ Blax Software 8070103c1d test: run the suite next to an open game
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).
2026-11-29 09:19:26 +01:00
Fabian @ Blax Software 1e4ad68432 feat: buy as slave or colonist, traders buy captives, price sliders (1.2)
- 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.
2026-11-28 19:33:08 +01:00
Fabian @ Blax Software fffa1db866 feat: slaver requests, brand fixes, Workshop art and in-game tests (1.1)
- 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.
2026-11-28 19:33:08 +01:00
Fabian @ Blax Software d331075649 feat: Blax Slaves for RimWorld 1.7
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.
2026-11-27 19:53:36 +01:00