Skip to content

LSDE Dialog Engine / BlockType

Type Alias: BlockType ​

BlockType = typeof BlockType[keyof typeof BlockType]

Defined in: blueprint-types.ts:14

What a block is. Decides which optional fields it carries, and how the engine reads them. condition and router carry the SAME cases and are read in opposite ways: a condition stops at the first true case and leaves by its port (or by default when none matched); a router evaluates EVERY case, launches one parallel track per true case, then always continues - on then when all cases were true, on catch when any was false. A router with no case at all leaves by then, the way Promise.all([]) resolves.