EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

DialogueChoice

One choice of a dialogue node.

Signature

{ id: Name, next: (Name)?, text: TextKey, when: {QuestCondition} }

Fields

NameTypeMeaning
idNameLocal choice ID, unique in its node.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
nextNameNode shown next; absent ends the session.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
textTextKeyChoice 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