Commit Graph

7 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 b013051a90 feat: Workshop tool creates items, sets title and preview, adds -Check
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.
2026-11-29 20:49:45 +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 be2d3d9c63 test: refuse a RimWorld path without the game 2026-11-29 11:54:03 +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