Commit Graph

4 Commits

Author SHA1 Message Date
Fabian @ Blax Software f9c7fce799 Blax Laws 1.1.0: court place on a table, spot, throne or lectern, one per map 2026-12-03 19:28:31 +01:00
Fabian @ Blax Software 198093e715 Blax Laws 1.0.0: escapee that dies off the map, gift and map-loss tests, steadier perf test
- A jailed colonist that escapes and then dies off the map closes as
  escaped, not "died in jail", also when the world deletes it first.
- Tests for a prisoner given away by pod and one lost with its map.
- The subdue tests keep predators off colonists: a wild wolf killed a
  subdued binger once, which the test read as subdue damage.
- The performance test takes up to five rounds and decides from the
  spread of its samples, so a busy machine no longer fails it while a
  slow hook still does.
2026-12-03 16:32:47 +01:00
Fabian @ Blax Software 2cc552b31f Blax Laws 1.0.0: tests for every shipped claim, escape and custody fixes
- Tests for the end-to-end subdue and jail, halved pain, the role hold,
  every way a sentence ends, pruning, the nobody-to-enforce letter and
  performance; each fails when its feature is broken.
- A jailed colonist that escapes closes as Escaped, also when the world
  deletes it before the sentence check or a save falls in between. One
  sold, given away, kidnapped or lost with a map closes with its own
  message instead of "escaped".
- The release fallback also frees a prisoner on a caravan.
- An arrest waits while the offender carries someone, and ends an
  offender job that holds reservations, so no reservation errors.
- Release text says a colonist, not a warden: Basic work also releases
  prisoners.
- Test harness: test order, fixture hardening, roof cleanup and logging.
2026-12-03 15:46:28 +01:00
Fabian @ Blax Software 756af6c14e Blax Laws 1.0.0: lawbook, act catalogue, enforcement and jail
- Laws tab with the lawbook and the case log; the book starts empty and
  the mod watches nothing until a law exists.
- Act catalogue built from the game's defs (breaks, food, drugs, usables,
  interactions, recorded acts, records, bills) plus special acts, with
  groups, break links and a starter lawbook.
- Enforcement: warn, guilty, subdue, jail for N days and subdue then jail,
  one case per incident, danger waits, role holders and mechanitors held
  for Arrest now.
- Headless test suite green in every DLC combination, core only and with
  the compat mods.
2026-12-02 21:07:17 +01:00