CONTENT CONTRACT · VERSION 1
DialogueChoice
One choice of a dialogue node.
Signature
{ id: Name, next: (Name)?, text: TextKey, when: {QuestCondition} }Fields
| Name | Type | Meaning |
|---|---|---|
id | Name | Local choice ID, unique in its node. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
next | Name | Node shown next; absent ends the session. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
text | TextKey | Choice text. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text |
when | {QuestCondition} | Conditions the choice needs; all must hold. Items: 0…16 |