mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4397] [Issue]: Storyboards drop NPCs when narration shortens a leading-title name #2388
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#2388
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?
Originally created by @thetopham on GitHub (Aug 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4397
Originally assigned to: @thetopham on GitHub.
Summary
A tracked NPC stored under a full introduction name such as
Old Grishsilently drops out of storyboard keyframe selection when later GM narration uses the bare nameGrish. The storyboard then loses the NPC appearance and avatar context even though those assets remain configured.Expected behavior
A uniquely identifiable tracked NPC should remain eligible for storyboard keyframes and retain its stored appearance and avatar when narration omits a descriptive leading title.
Actual behavior
The storyboard visibility matcher checks the complete normalized name plus an alias with a recognized leading title removed. Descriptive prefixes such as
Old,Young, orElderare not recognized, soGrishdoes not match the tracked nameOld Grish. Because appearance assets are collected only for selected character names, the stored NPC context is omitted from the illustration planner.Steps to reproduce
Old Grishand give the Journal NPC a description or avatar.Old Grishand confirm that the NPC appears in storyboard context.Grish.Environment
Logs, screenshots, or video
No logs or media provided. The behavior was reproduced locally by adding
oldto the recognized leading-prefix set, reloading Marinara, and regenerating the affected turn;Grishthen selected the canonicalOld GrishNPC and restored its stored description in the storyboard illustration-planner context.Additional context
Relevant source paths are
avatarLookupAliases/findCharAvatarFuzzyandstoryboardNormalizedMentionIndex/selectStoryboardAppearanceCharacterNamesinpackages/server/src/routes/game.routes.ts. The installedpackages/server/dist/routes/game.routes.jsis generated output and should not be edited directly.This should remain a narrow bugfix rather than adding a user-configurable title setting. Any shortened alias must not restore broad per-word storyboard matching, which previously promoted unrelated NPCs from ordinary narration words.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: