mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7629] [MERGED] feat(rulesets): add dice, guided builders and party sheets #7847
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7847
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7629
Author: @kolacheee
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-engine-features📝 Commits (10+)
66586f9Rulesets: dice, guided builders and party sheets for more tabletop systems (Capability API 1.135-1.164, 1.205-1.220, 1.340)7655014fix(rulesets): theme colour for the sheet's draft notice, localized symbol check resultscb01925fix(rulesets): party sheet save hook, item access in the GM prompt, contextual dice and test hygiene35e7239Merge remote-tracking branch 'upstream/staging' into up/pr1439cb0a5fix(rulesets): load the party sheet's save hook without the game storesb3c6cfaMerge remote-tracking branch 'upstream/staging' into up/pr14eb192fcfix(rulesets): catalog files reach the install gates, pre-rolled dice chain, one daze event39ce007Merge remote-tracking branch 'upstream/staging' into up/pr1409b8e87fix(rulesets): apply= checks are the Engine's, scaled forecasts keep the damage minimum1a07655test(rulesets): keep the earlier and new limits asserted explicitly📊 Changes
124 files changed (+65710 additions, -6346 deletions)
View changed files
📝
docs/CONFIGURATION.md(+1 -1)📝
docs/development/game-rulesets-and-sheets-implementation.md(+3 -3)📝
docs/development/optional-agent-packages.md(+4 -2)📝
docs/extending/ruleset.schema.json(+41365 -5726)📝
docs/extending/writing-rulesets.md(+1089 -16)➕
e2e/game-ruleset-party-sheet.e2e.ts(+91 -0)📝
e2e/game-ruleset-sheet-builder.e2e.ts(+441 -0)📝
packages/client/src/components/dice/AnimatedDiceRoll.tsx(+50 -6)📝
packages/client/src/components/dice/AnimatedSkillCheckResult.tsx(+128 -38)📝
packages/client/src/components/dice/DiceGlyph.tsx(+6 -2)➕
packages/client/src/components/game/GameProgressClocks.tsx(+44 -0)📝
packages/client/src/components/game/GameRulesetSheet.tsx(+97 -3)📝
packages/client/src/components/game/GameSurface.tsx(+46 -1)📝
packages/client/src/components/game/StartingGearPicker.tsx(+18 -2)📝
packages/client/src/components/game/game-narration-format.ts(+2 -2)📝
packages/client/src/components/rulesets/RulesetSheetBuilder.tsx(+991 -43)📝
packages/client/src/components/rulesets/RulesetSheetEditor.tsx(+102 -28)📝
packages/client/src/hooks/use-chats.ts(+2 -0)📝
packages/client/src/hooks/use-game.ts(+2 -27)➕
packages/client/src/hooks/use-party-sheet.ts(+46 -0)...and 80 more files
📄 Description
Linked issue
Part of #7625
This follows #7613 (merged). This branch is up to date with staging and holds the ruleset engine features that let more tabletop systems run as rulesets: Capability API 1.135-1.164, 1.205-1.220 and 1.340, so the supported version is 1.340.
Why this change
What changed
docs/extending/writing-rulesets.md,docs/development/game-rulesets-and-sheets-implementation.md,docs/development/optional-agent-packages.mdanddocs/CONFIGURATION.mdcover it, anddocs/extending/ruleset.schema.jsonis regenerated.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
scripts/regressions/game-ruleset-*.regression.ts, which also checks the install gate at its version.e2e/game-ruleset-party-sheet.e2e.ts(light and dark) and all four cases ine2e/game-ruleset-sheet-builder.e2e.tspass locally on desktop Chromium.Changed test expectations
No maintainer asked for these; each follows a change in this PR, and the earlier boundary stays asserted:
capability-package-lifecycle): this PR's versions run to 1.340. 1.339 stays named as supported, and the first unknown minor moves from 1.340 to 1.341.game-ruleset-packagesasserts the new limits as literal sizes (512 KB per ruleset, 2 MB per catalog, both 1.340) and that the earlier 256 KB and 1 MB limits are still defined;game-ruleset-capsasserts that a package below 1.340 is still refused one byte over the earlier limits.gm-skill-check-resolution's source checks follow the route passing the regenerated message to the modifier context and reading the live sheet from the shared turn-start snapshot.game-ruleset-strict-starting-gear's icon stub adds the remove icon the picker now uses.game-ruleset-combat-delayandruleset-combat-screen-clientonly gain cases (a dazed combatant's skipped turn).e2e/game-ruleset-sheet-builder.e2e.tsonly gains cases; its reopen steps wait for the builder to close before clicking the sheet's Edit sheet button.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
No screenshots attached. The builder, party sheet, clocks and dice result changes are covered by the regressions and e2e specs above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.