mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7589] [MERGED] Rulesets: Game Master combat rules for 5e fights, part 3, and the GM intro message #7816
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#7816
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/7589
Author: @kolacheee
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @kolacheee
Base:
staging← Head:feat/ruleset-gm-rules-4📝 Commits (10+)
543b0faRuleset combat: light and fog drawn on the fight boardd8994b9Ruleset combat: lair actions (Capability API 1.310)27d217eRuleset combat: breakable props that tell the story (Capability API 1.311)b721081Ruleset combat: Legendary Resistance, and scrolls held to a size (Capability API 1.312)9a41cd5Ruleset combat: gate an item use's targetsUpTo at 1.312 againa03be38Ruleset combat: board events and growth (Capability API 1.313)832d136Ruleset combat: shade, light rules, chimes and the light-shy (Capability API 1.314)1ad2fa3Ruleset combat: the 1.313 and 1.314 log samples keyed by event, and the schema file8dea5daRuleset combat: an item effect that only alerts is read (1.314 fix)3621a3eRuleset combat: growing auras, holds with a most, tearing free and hanging on (Capability API 1.315)📊 Changes
103 files changed (+19037 additions, -1104 deletions)
View changed files
📝
docs/extending/ruleset.schema.json(+4543 -670)📝
docs/extending/writing-rulesets.md(+58 -0)📝
docs/extending/writing-story-scripts.md(+51 -23)➕
packages/client/src/components/game/ArtIcon.tsx(+36 -0)📝
packages/client/src/components/game/GameCombatUI.tsx(+12 -1)📝
packages/client/src/components/game/GameInventory.tsx(+29 -3)📝
packages/client/src/components/game/GameNarration.tsx(+29 -11)📝
packages/client/src/components/game/GamePartyBar.tsx(+20 -6)📝
packages/client/src/components/game/GameRulesetSheet.tsx(+6 -0)➕
packages/client/src/components/game/GameSetupGmIntro.tsx(+105 -0)📝
packages/client/src/components/game/GameSetupWizard.tsx(+41 -20)📝
packages/client/src/components/game/GameSurface.tsx(+1 -0)📝
packages/client/src/components/game/RulesetCombatBoard.tsx(+157 -25)📝
packages/client/src/components/game/RulesetCombatMenu.tsx(+5 -1)📝
packages/client/src/components/game/RulesetCombatStatus.tsx(+18 -1)📝
packages/client/src/components/game/RulesetItemPicker.tsx(+11 -0)📝
packages/client/src/components/game/TacticalCombatUI.tsx(+51 -15)➕
packages/client/src/lib/art-pack.ts(+56 -0)➕
packages/client/src/lib/board-art-cells.ts(+134 -0)➕
packages/client/src/lib/board-art.ts(+35 -0)...and 80 more files
📄 Description
Linked issue
Part of #7469
This follows #7588 (merged), the second part of the Game Master's ruleset combat rules. This branch is up to date with staging and holds the third part, with the Game Master's intro message: Capability API 1.315-1.339, so the supported version is 1.339. Maps and the remaining work follow this one at a time.
Why this change
What changed
introcan set the game's first message exactly, or guide the one the Game Master writes, and a story can lock it. A defined intro is never rewritten by an agent or after a roll.docs/extending/writing-rulesets.mdanddocs/extending/writing-story-scripts.mdcover all of it, anddocs/extending/ruleset.schema.jsonis regenerated.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
scripts/regressions/game-ruleset-combat-*.regression.tsthat drives a fight through the shared resolver, and checks the install gate at its version.game-ruleset-combat-lairchecks that a row whose values are namedlair,icon,clearsor the like asks for nothing newer.Changed test expectations
No maintainer asked for these; each follows a change in this PR, and the check it replaces is kept:
capability-package-lifecycle): this PR's versions run to 1.339.game-ruleset-combat-aura-turns, 1.331).game-ruleset-combat-darkness's "who sheds light" case now runs on a dark board, since nobody lights a torch in daylight (1.319).game-ruleset-combat-light-switchchecks the daylight case itself.game-ruleset-combat-relight-ice's "by its id" case now runs a whole fight against a prop under another label, instead of reusing the label case's fight; the check is the same.supportedCapabilityApi.minorfloors now match each file's own version (each went up).game-ruleset-combat-item-reactionsnow also checks the reaction's outcome is not a miss.ruleset-combat-screen-clientexpects the plainer Held Ground death line ("Thorn Lurker died.").Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)docs/extending/writing-rulesets.mdanddocs/extending/writing-story-scripts.mdchanged, anddocs/extending/ruleset.schema.jsonis regenerated. The translations are tracked on #7512.UI evidence (if applicable)
No screenshots attached. The combat board, menu, status, log, icons and setup changes are covered by the regressions above.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.