Skip to content

LSDE Dialog Engine / Block

Interface: Block ​

Defined in: blueprint-types.ts:190

A node of the graph. type decides which optional fields are present.

Properties ​

actors? ​

optional actors?: string[]

Defined in: blueprint-types.ts:202

Card ids of who speaks. Resolve them through Blueprints.cards.


body? ​

optional body?: string

Defined in: blueprint-types.ts:210

The body of a note block: never translated, only when notes are exported.


calls? ​

optional calls?: ActionCall[]

Defined in: blueprint-types.ts:216

Action blocks: what to run, in order.


cases? ​

optional cases?: ConditionCase[]

Defined in: blueprint-types.ts:218

Condition AND router blocks: the cases, in evaluation order.


emotion? ​

optional emotion?: string

Defined in: blueprint-types.ts:204

Card id of the emotion, when one is set.


id ​

id: string

Defined in: blueprint-types.ts:192

Identity RELATIVE to its scene (DIALOG-002): what links and Scene.start reference.


intensity? ​

optional intensity?: number

Defined in: blueprint-types.ts:206

Only with emotion.


key ​

key: string

Defined in: blueprint-types.ts:194

The full i18n key, as localization files carry it.


label? ​

optional label?: string

Defined in: blueprint-types.ts:196

The readable name (its summary), when written.


next? ​

optional next?: Link[]

Defined in: blueprint-types.ts:222

Outgoing wires. Absent when nothing leaves the block.


note? ​

optional note?: string

Defined in: blueprint-types.ts:212

The team note on the block, only when notes are exported.


options? ​

optional options?: Option[]

Defined in: blueprint-types.ts:220

Choice blocks: the answers, in display order.


parentLabels? ​

optional parentLabels?: string[]

Defined in: blueprint-types.ts:198

Readable names above the block, root first. Empty ones are skipped.


props? ​

optional props?: PropertyBag

Defined in: blueprint-types.ts:214

Properties SET on the block, native and project-declared alike, by id. Ids never collide: a project property cannot take a native name. One native holds a LIST rather than a scalar: waitForBlocks, an array of block ids OF THIS SCENE the block waits for before it advances - the counterpart of isAsync.


text? ​

optional text?: TextByLocale

Defined in: blueprint-types.ts:208

The line by locale, dialogs only, when texts are exported.


type ​

type: BlockType

Defined in: blueprint-types.ts:200

What the block is.