mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7997] [CLOSED] feat(experiences): story tools, content packs, setup values and data-only Experience files #8048
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#8048
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/7997
Author: @kolacheee
Created: 10/21/2026
Status: ❌ Closed
Base:
staging← Head:claude/project-thread-iwmrlb📝 Commits (10+)
9c6a6efGame Mode stories: clocks, and events that give, fight, move and end the game (Capability API 1.350, 1.351)354c2e6Experiences: creature packs and music in a map pack (Capability API 1.352, 1.353)dce743dExperiences: people and companions (Capability API 1.354, 1.355)7b0fbc0Game Mode stories: what people know, and companions' scenes (Capability API 1.356, 1.357)8002c4fExperiences: check a whole map pack before export (Capability API 1.358)7091f02Experience features: held seasons (Capability API 1.359)2340194Experience features: flying creature art (Capability API 1.360)01c24c9Experience features: 256 story flags (1.361), fliers in the air (1.362)e38340cExperience features: ruleset overlays (Capability API 1.363)8f2f93dExperience features: fight variants by party size (Capability API 1.364)📊 Changes
100 files changed (+14062 additions, -1456 deletions)
View changed files
📝
docs/development/optional-agent-packages.md(+330 -0)📝
docs/extending/writing-creature-packs.md(+9 -1)📝
docs/extending/writing-rulesets.md(+10 -0)📝
docs/extending/writing-story-scripts.md(+296 -9)📝
docs/game/party-and-npcs.md(+2 -0)➕
e2e/game-experience-file-import.e2e.ts(+189 -0)📝
packages/client/src/components/agents/AgentCatalogView.tsx(+1 -0)📝
packages/client/src/components/game/CreatureArt.tsx(+46 -2)📝
packages/client/src/components/game/DungeonMapView.tsx(+10 -4)➕
packages/client/src/components/game/ExperienceFileImportModal.tsx(+178 -0)📝
packages/client/src/components/game/GameJournal.tsx(+20 -0)📝
packages/client/src/components/game/GameSetupWizard.tsx(+37 -2)📝
packages/client/src/components/game/GameSurface.tsx(+1321 -1177)📝
packages/client/src/components/game/NewGameExperienceChooser.tsx(+89 -3)📝
packages/client/src/components/game/RulesetCombatBoard.tsx(+8 -8)➕
packages/client/src/components/game/StoryClockDial.tsx(+76 -0)📝
packages/client/src/components/game/TacticalCombatUI.tsx(+16 -9)📝
packages/client/src/components/game/TownView.tsx(+9 -2)📝
packages/client/src/components/game/WorldOverworld.tsx(+28 -10)📝
packages/client/src/hooks/use-capability-packages.ts(+27 -1)...and 80 more files
📄 Description
Linked issue
Closes #7996
Why this change
client.js, which is exactly what careful users are wary of: compressed contents they can't see, and code. Catalog rulesets had the same zip path.What changed
Story tools (Capability API 1.342-1.371, each declared by the map pack that uses it):
anycondition groups; 256 flags and 256 events.Content an Experience brings (in its map pack):
POST /api/game/experience/check).Setup and sharing:
kind: ["experience"], no entrypoints or code) and are shared as one<id>.experience.jsonfile. The new-game Experience chooser can import one, after a review screen showing its size, what it is made of and that it holds no code. Every picture must pass the same image check as character cards and match its extension, pictures and music are stripped of metadata, and data files must be valid JSON..experience.jsonartifact, through the same reader and checks as an import. This removes the catalog zip path for map packs from #7473. Experiences already installed keep working. The official catalog lists none today..ruleset.jsonpackage file, read by the same reader as a player's ruleset import, never from a zip.Experiences play on generated worlds, so they need Overworld games turned on (
MARINARA_OVERWORLD_GAMES) like any story script. No CHANGELOG.md edit, per #7483.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkpassed. Fullpnpm regression: 973 of 976 on the first run; the three failures were tests pinned to shapes this PR changes (the runtime host services check pinned the newest minor at 1.341, the combat screen lane needed a line for the new airborneliftevent, and the zip reader lane reads the catalog install's zip opening), all fixed and passing.world-story-*(actions, companion scenes, exposures and their saves, fight adjust and variants, Held Ground, item costs, party size, precedence, reach, seasons, sheet actions),world-experience-*(people, rulesets, dungeon looks),game-creature-flying-art,game-ruleset-combat-airborne,experience-file-import,catalog-package-files, plus the lifecycle table.game-experience-file-import,game-experience-setup,game-experience-startup,game-world-map-packs,game-world-storyall pass. They caught a real bug, fixed here: the story clock query shared the World tab's cache entry, so the World tab kept spinning.game-experience-startupand the Tactical setup test each failed once under a parallel run and passed on every rerun alone (the Tactical one also passes on plain staging).Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation): added to #7512Docs:
docs/extending/writing-story-scripts.md,docs/development/optional-agent-packages.md,docs/extending/writing-creature-packs.md,docs/extending/writing-rulesets.md.UI evidence (if applicable)
The Experience import review is covered by
e2e/game-experience-file-import.e2e.ts; no screenshots attached.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.