feat(client): death onboarding — tell the player to reach an ankh #153
No reviewers
Labels
No labels
alpha:wave-0
alpha:wave-1
alpha:wave-2
alpha:wave-3
area:assets
area:combat
area:ecology
area:infra
area:render
area:scripting
area:ui
area:world
enhancement
epic
migration
post-alpha
roadmap
tech-debt
type:bug
type:chore
type:design
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
marco/IsoMmo!153
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/death-feedback"
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?
Summary
Fixes the "confused grey ghost" the arena review (#109) flagged: on death the screen greys out but nothing tells a newcomer what happened or what to do. Now, the moment you become a ghost, a journal line appears:
SystemMessageId.YouAreDead+ its template inSystemMessageCatalog(client owns the copy; localization-ready like the rest).!wasGhost && IsGhost) inServerMessageDispatcher— presented off the already-known ghost state, so it's a one-liner with no new wire message.ProtocolVersionbumped 9 → 10 per the invariant (aSystemMessageIdvalue was added — same as the v5 bump for new cues).Part of the arena UX-onboarding bundle; the ankh-beacon (make the ankh pop in ghost view) and the "click a foe to attack" HUD hint are separate follow-ups.
How it was tested
SystemMessageCatalogTests.YouAreDead_TellsThePlayerToReachAnAnkh(the copy mentions "dead" + "ankh"); the existingFormat_KnowsEverySystemMessageIdcompleteness test already enforces the template exists.just lint(zero warnings) +just test(423 tests) green; whole solution builds.Checklist
just lintpasses (zero warnings)just testis greenSystemMessageId