feat: dedicated BRP dice pack; Day One uses it instead of coc-d100

Add brp-d100 rule-pack (Basic Roleplaying roll-under): fumble on 100,
critical <= skill/20, special <= skill/5, success <= skill — bands
transcribed from the Continuum Day One console's verdict() logic.
Register it and switch day-one meta.system from coc-d100 to brp-d100.

tests/dice/brp-d100.test.js covers the ladder, low-skill rounding, and
the fumble-only-on-100 edge. 147 tests pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
slaguru666
2026-07-20 22:48:28 +01:00
co-authored by Claude Opus 4.8
parent 9d0e6c7ec4
commit 49e9dcda46
6 changed files with 79 additions and 6 deletions
@@ -70,7 +70,10 @@ jsdom. No new dependencies. Fully offline.
👥 rail chip. Reveal state is ephemeral component state. `tests/components/cast-tray.test.js` +
`gm-shell-cast.test.js` cover it.
- **BRP dice pack built.** `brp-d100` (`src/dice/rulepacks/brp-d100.js`) — fumble on 100, critical
≤ skill/20, special ≤ skill/5, success ≤ skill (bands transcribed from the Day One console). Day
One's `meta.system` switched from `coc-d100` to `brp-d100`. `tests/dice/brp-d100.test.js` covers it.
## Still deferred (backlog)
- A dedicated **BRP** dice pack — Day One currently borrows `coc-d100` (d100 roll-under).
- Break-timer / parking-lot / wake-lock tray tools; online art "Generate".