CONTENT CONTRACT · VERSION 1
DialogueNode
One line of a dialogue and the choices it offers; a node without choices ends the session.
Signature
{ animation: (AnimationId)?, choices: {DialogueChoice}, emotion: Emotion, id: Name, quest: (QuestId)?, text: TextKey }Fields
| Name | Type | Meaning |
|---|---|---|
animation | AnimationId | Clip the NPC shows while speaking. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: animation |
choices | {DialogueChoice} | Offered choices with unique IDs. Items: 0…16; Unique entries |
emotion | Emotion | Mood of the speaker. |
id | Name | Local node ID, unique in the dialogue. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
quest | QuestId | Quest whose card shows beside the line. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: quest |
text | TextKey | Spoken line. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text |