feat(content): migrate line IDs to NPC-scoped namespace (D-035)
Line IDs in all dialogue and monologue pool files renamed from the old location-scoped format (e.g. the-terminal_d_039) to the new NPC-scoped format (e.g. kael-davan_d_001) per the D-035 Sprint 15 amendment. Changes: - 20 dialogue pool files across 3 locations renamed - 14 monologue pool files (detective + smuggler) renamed - Schema descriptions updated in dialogue/monologue schema files - Authoring style guide and design docs updated with new examples - Multi-location NPCs (kael-davan, pc-detective, pc-smuggler) given globally unique cross-file sequences to satisfy XREF uniqueness check The location-scoped scheme already caused a collision (the-terminal_d_039 appearing in multiple NPC files) and would not scale to procedurally generated NPC populations (D-029). Zero content changes — pure ID substitution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -234,10 +234,10 @@ All schema files live in `content/_schema/`. They use JSON Schema draft 2020-12.
|
||||
|
||||
| Content Type | ID Pattern | Example |
|
||||
|---|---|---|
|
||||
| Dialogue | `{location_slug}_{d}_{###}` | `the-terminal_d_001` |
|
||||
| Monologue (smuggler) | `{location_slug}_m_s_{###}` | `the-terminal_m_s_001` |
|
||||
| Monologue (detective) | `{location_slug}_m_d_{###}` | `the-terminal_m_d_001` |
|
||||
| Examine | `{location_slug}_{e}_{###}` | `the-terminal_e_001` |
|
||||
| Dialogue | `{npc-slug}_d_{###}` | `kael-davan_d_001` |
|
||||
| Monologue (smuggler) | `{npc-slug}_m_s_{###}` | `pc-smuggler_m_s_001` |
|
||||
| Monologue (detective) | `{npc-slug}_m_d_{###}` | `pc-detective_m_d_001` |
|
||||
| Examine | `{npc-slug}_{e}_{###}` | `kael-davan_e_001` |
|
||||
|
||||
Line IDs are stable. They are never reused, even if a line is deleted. Numbering gaps are expected and acceptable.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user