EverambleGAME API / 1

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

NameTypeMeaning
animationAnimationIdClip 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
emotionEmotionMood of the speaker.
idNameLocal node ID, unique in the dialogue.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
questQuestIdQuest 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
textTextKeySpoken line.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text