Skip to content

1681-engine / index / DialogueLine

Interface: DialogueLine ​

Defined in: src/dialogue/script.ts:21

One line said: by speaker (absent: narration). A bare string is a line of narration.

Properties ​

if? ​

ts
optional if?: string;

Defined in: src/dialogue/script.ts:25

Said only when this holds.


key? ​

ts
optional key?: string;

Defined in: src/dialogue/script.ts:29

A translation key, handed to translate with the text.


speaker? ​

ts
optional speaker?: string;

Defined in: src/dialogue/script.ts:23


tags? ​

ts
optional tags?: string[];

Defined in: src/dialogue/script.ts:27

The game's own marks (a portrait's mood, a sound): handed back with the line.


text ​

ts
text: string;

Defined in: src/dialogue/script.ts:22

Released under the MIT License.