Migrate remaining freeform SystemMessage (GM feedback, targeting) to the string catalog #73
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#73
Loading…
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?
The rule (CLAUDE.md): all user-facing text goes through the string catalog (
SystemMessageId+SystemNotice/SystemMessageCatalog), never loose literals.#72 migrated the gameplay cues (spell + skill gain). This tracks migrating the remaining freeform
SystemMessage(string)so no loose user-facing string remains:SpawnCommand,TeleportCommand,KillCommand,ResurrectCommand,CommandRegistry,SaveCommand) — usage strings, "Spawned …", "Cannot spawn there", "Unknown command", "You are not allowed to do that", etc. Many are dynamic →SystemMessageId+ args.TargetValidatorreturns strings: "Out of range", "No line of sight", "Invalid target") — these already have catalog ids; makeTargetValidatorreturn aSystemMessageId(or map at the send site) and sendSystemNotice.Definition of Done
new SystemMessage(...)with a user-facing literal remains; all cues areSystemNotice(id, args).TargetValidatorreports failures asSystemMessageId, reused by both GM targeting and (already) the spell path where they overlap.