Commit Graph

10 Commits

Author SHA1 Message Date
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
Fabian @ Blax Software b673e44f76 docs: decisions of 2026-12-01 2026-12-01 19:48:13 +01:00
Fabian @ Blax Software 8ffc99f2e2 docs: the indentured term hint goes out at the capture
Laws calls Slaves' term member from hook K's prefix, in the same tick
as the imprisonment.
2026-12-01 19:35:54 +01:00
Fabian @ Blax Software 3fb454b217 docs: plans checked against the sibling plans
One ownership list in all five design docs. An unhinted arrest keeps
Castes' new-prisoner row; a jailed slave made a slave again gets the
released hint. Slaves' wardens first and talk down stand down only for
the breaks those wardens take. Sibling doc changes marked done.
2026-12-01 19:34:13 +01:00
Fabian @ Blax Software 5652d162fb docs: plan review fixes 2026-12-01 19:18:40 +01:00
Timothy a02630972e docs: feature plan by area instead of releases by size
docs/features.md is the new plan of record: seven areas (lawbook,
crimes, enforcement and punishments, sentences, repeat offenders,
court, colony votes), steps only where a part needs another part, a
sibling feature or a decision first, the order with its reasons, and
two open questions (jail for slaves, indenture as a sentence).

The first release now holds every crime family except uprisings and
faith, all punishments and sentences that give back what jail took.
New, not yet specced: lawbook templates, crimes against the faith,
criminal record, escalation, probation, witnesses, guilty plea,
appeals, jury and pardon petitions.

design.md: At a glance by area, release sections regrouped into areas
and steps, day counts gone, version references replaced by feature
names; Violence and the slaughterer/uprising section split along the
new areas. README: first-release features and Planned by area.
2026-12-01 17:20:25 +01:00
Timothy dd82dd75df docs: rework the design around an act catalogue
A law's Action is now picked from a catalogue built from the game's defs
(mental breaks, ate, used, social interactions, recorded acts, records,
bills, special acts), as Fabian asked on 2026-11-30. The six crimes become
starter rows and break-to-act links. New hooks for records, history
events, bills and usables, checked against the 1.7.5021 reference
assemblies; behaviour claims listed under "To verify". 1.0 is 12 days,
1.8 2 days, the plan 50.
2026-12-01 08:46:52 +01:00
Fabian @ Blax Software 8d0f5692e8 docs: Blax Laws design and README draft
Lawbook, crimes and punishments for RimWorld 1.7: design for nine releases, 1.0 still to be reworked around a full crime catalogue.
2026-11-30 22:42:53 +01:00