mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8600] [MERGED] Game Mode: the Engine side of the 5e ruleset and its combat AI #8700
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#8700
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/8600
Author: @kolacheee
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @kolacheee
Base:
staging← Head:feat/5e-ruleset-engine📝 Commits (10+)
a632278AI: step out of a harming aura, and mend itself when nearly down8a2df86AI: every blow says why, and a limited use waits for fair odds37a37b3AI: a walk counts the burning areas it crosses6c13b77Combat: a fight nothing can change any more breaks off9fa3742Merge upstream staging: the player picks their own symbol spends (#8233)3e73b78AI: keep flasks at poor odds, no hazards beside brawling friends, fairer stall check390ec6cMerge upstream staging: health on a plain track that fills up (#8235)bd3186dAI: spare orders read a dice pool's most harm as every die a successe34cf98AI: fair odds for setup-only uses; spare holds back lethal areas23a9663Ruleset combat 1.782: attack rows choose the best of several abilities (abilityChoices)📊 Changes
745 files changed (+395085 additions, -56707 deletions)
View changed files
📝
docs/development/game-combat-ai-design.md(+100 -63)📝
docs/development/optional-agent-packages.md(+1 -1)📝
docs/extending/ruleset.schema.json(+213825 -48135)📝
docs/extending/writing-rulesets.md(+963 -17)📝
e2e/agent-lorebook-package-compatibility.e2e.ts(+2 -2)📝
e2e/chat-control-windows.e2e.ts(+1 -1)📝
e2e/game-combat-director.e2e.ts(+3 -0)📝
e2e/game-experience-setup.e2e.ts(+22 -23)📝
e2e/game-hybrid-terrain.e2e.ts(+36 -7)📝
e2e/game-ruleset-seller-honesty.e2e.ts(+42 -7)📝
e2e/game-ruleset-sheet-builder.e2e.ts(+14 -9)📝
e2e/game-ruleset-starting-gear.e2e.ts(+11 -6)📝
e2e/game-ruleset-wearing.e2e.ts(+5 -2)📝
e2e/game-terrain-restore.e2e.ts(+2 -2)📝
e2e/game-widget-style.e2e.ts(+2 -2)📝
e2e/multiplayer-guest-isolation.e2e.ts(+11 -0)📝
e2e/phone-toast-headers.e2e.ts(+1 -1)📝
e2e/ruleset-sheet-migrations.e2e.ts(+1 -1)📝
e2e/ruleset-wound-sheet.e2e.ts(+10 -2)📝
packages/client/src/components/agents/AgentCatalogView.tsx(+17 -6)...and 80 more files
📄 Description
Linked issue
Closes #8599
Why this change
Before: a ruleset could not express most of 5e (SRD 5.1). Its spells, conditions, creatures, items and the rest had no Engine support. Ruleset fights had no combat AI that played them, and encounters were not held to the party's level.
After: the Engine reads everything the 5e package declares. A ruleset fight plays out on the tactical board, with a combat AI on both sides. Encounters are rated by what foes actually do, and the party gets group checks. Rulesets can ship language packs.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdType checks, lint and the locale checks pass on the head. Every ruleset regression passes (689 files). The full regression run passed 1537 of 1586 in the cloud container. Of the 49 failures, 45 are capability-package, avatar and agent regressions that need upstream's new
mmd-parser, which isn't installed there. The other four are container limits (no IPv6 loopback, a dev-watcher exit, a deepmerge prototype check, and a lifecycle runtime snapshot check), and they fail the same way on the head before this merge.pnpm checkwas run as its parts (format, typecheck, lint, locales).Manual verification notes
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.md, the ruleset schema and the combat AI design notes changed. The translated docs follow in #8602.UI evidence (if applicable)
The ruleset combat board, the cast menu and the group check lines were checked in the playtests above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.