Skip to content

GameIdSources beta ​

Interface of @v12-engine/engine

ts
export interface GameIdSources

What the game's files say, as the editor reads them: every part is optional, and what is not the shape described is passed over (a file written by hand may be wrong; it is the game's loader that says so)

Members ​

cinematics ​

ts
cinematics?: readonly {
        file: string;
        data: unknown;
    }[];

The cinematics: each file's id and its lanes (the speakers of its dialog); file is its name without .json, the id of one that says none

data ​

ts
data?: unknown;

The data.json: definitions by kind (units, abilities, items, upgrades), the removed ids, rules.resources

fx ​

ts
fx?: unknown;

The fx.json: effects by id

looks ​

ts
looks?: unknown;

The looks.json: a look by unit type id

sounds ​

ts
sounds?: unknown;

The sounds.json: how each sound is played, by id