Documentation
LoreHub Dialogue System

Dialogue Node version 2.1

Dialogue Node 2.1 is Dialogue Node v2 with one more optional field, connectedDocumentIds. Everything else is the same: optionsIds, setVariableOnStart, metaData and stateData.

Schema

{
  "type": "@lorehub/dialogue-node",
  "apiVersion": "2.1.0",
  "id": "dialogue/6147dcb9-b8bd-4238-9c8b-5b773260570c/dialogue-node/895b060b-8af4-47c7-b607-98455103e9b1",
  "optionsIds": [],
  "setVariableOnStart": [],
  "metaData": [],
  "connectedDocumentIds": [
    "031476c0-2504-4ed7-aa79-e5fce21e2091",
    "9c3b7e21-5d4a-4b8f-a1e6-0f2d7c9b3e55"
  ],
  "stateData": { "played": false }
}

connectedDocumentIds

The documents in the node's Connected documents, by id, sorted. Use them for what the node shows or refers to without naming it in a line: the place a scene happens in, an item on the table, a character who listens but doesn't speak.

Each id is the id of a Document v1.1 resource in the same export, so you can read the document's template and fields from there. A node with no connected documents has no connectedDocumentIds.

Which documents are in the export

  • The Export button, the shared export and the MCP get_export tool include every document in the world.
  • Game Sync includes the documents a dialogue uses: its speakers, documents mentioned in a line, and documents connected to its nodes.