Saxonberg Server API
    Preparing search index...

    Interface DialogueNode

    One node: the NPC's spoken beat plus the player's response choices.

    interface DialogueNode {
        beat?: string;
        choices?: DialogueChoice[];
        terminal?: boolean;
    }
    Index

    Properties

    beat?: string

    The NPC's spoken line for this node (absent ⇒ silent node).

    choices?: DialogueChoice[]

    Player responses, guard-filtered at render time.

    terminal?: boolean

    Reaching this node ends the conversation.