mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8004] [MERGED] Experience features 1/4: story clocks and actions, creature packs, music, people and companions (Capability API 1.342-1.350) #8053
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#8053
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/8004
Author: @kolacheee
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @kolacheee
Base:
staging← Head:claude/project-thread-iwmrlb-part1📝 Commits (10+)
c1f0321Experience features 1/4: story clocks and actions, creature packs, music, people and companions (Capability API 1.342-1.350)f291a7eMerge remote-tracking branch 'origin/staging' into exp-part1-merged9ad1bd2Keep English locale keys sorted40ce2d7Merge remote-tracking branch 'origin/staging' into exp-part1-mergedb87cb77Experience part 1: story shape lists knowledge, clock rows read once, people looked up by ida2d5f60Merge remote-tracking branch 'origin/staging' into exp-part1-merged9536359Experience part 1: a new turn keeps the story's music cue until it has read its own993f7cdMerge remote-tracking branch 'origin/staging' into exp-part1-mergedbf54ba7Answer the review: map pack minors, music hand-off, kept ending close, logged people reads, readable creature ids2c1ceacRefuse story fight creatures the ruleset lacks; cover the music hand-off and kept ending close📊 Changes
35 files changed (+5066 additions, -1279 deletions)
View changed files
📝
docs/development/optional-agent-packages.md(+129 -0)📝
docs/extending/writing-story-scripts.md(+129 -15)📝
docs/game/party-and-npcs.md(+2 -0)📝
packages/client/src/components/game/CreatureArt.tsx(+26 -1)📝
packages/client/src/components/game/GameJournal.tsx(+20 -0)📝
packages/client/src/components/game/GameSurface.tsx(+1336 -1177)📝
packages/client/src/components/game/RulesetCombatBoard.tsx(+7 -8)➕
packages/client/src/components/game/StoryClockDial.tsx(+92 -0)📝
packages/client/src/components/game/TacticalCombatUI.tsx(+7 -8)📝
packages/client/src/hooks/use-overworld-view.ts(+21 -3)📝
packages/client/src/lib/game-audio.ts(+34 -3)📝
packages/client/src/localization/locales/en.json(+6 -0)📝
packages/server/src/routes/encounter.routes.ts(+28 -0)📝
packages/server/src/routes/game.routes.ts(+132 -13)📝
packages/server/src/routes/generate.routes.ts(+45 -2)📝
packages/server/src/services/capability-packages/package-manager.service.ts(+60 -3)➕
packages/server/src/services/game/experience-companions.service.ts(+138 -0)📝
packages/server/src/services/game/made-battlefield.service.ts(+8 -0)📝
packages/server/src/services/game/map-pack.service.ts(+337 -6)➕
packages/server/src/services/game/story-fight.service.ts(+110 -0)...and 15 more files
📄 Description
Linked issue
Part of #7996 (1 of 4). The later parts open as this one merges, because each takes the next Capability numbers.
Why this change
What changed
Story tools and Experience content (Capability API 1.342-1.350, each declared by the map pack that uses it):
musicaction). Package assets may be audio.POST /api/game/experience/check).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 checkand the fullpnpm regression(963 of 963) pass locally on this part alone, merged with current staging.world-story-actions,world-story-companion-scenes,world-experience-people, and the lifecycle table.game-world-storye2e caught a real bug, fixed here: the story clock query shared the World tab's cache entry, so the World tab kept spinning.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/game/party-and-npcs.md.UI evidence (if applicable)
Story clocks are covered by
e2e/game-world-story.e2e.ts; no screenshots attached.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.