EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

DialogueDefinition

A conversation graph with one NPC; choices only produce dialogue_choice events.

Signature

{ entries: {DialogueEntry}, id: ContentId, initial_node: Name, nodes: {DialogueNode}, npc: NpcId }

Fields

NameTypeMeaning
entries{DialogueEntry}Greetings by quest state, first match wins; none: the initial node.
Items: 0…64
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
initial_nodeNameNode shown first.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
nodes{DialogueNode}Nodes with unique IDs.
Items: 1…256; Unique entries
npcNpcIdNPC definition the dialogue belongs to.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: npc