Skip to content

PresetScoreOptions beta ​

Interface of @v12-engine/engine

ts
export interface PresetScoreOptions extends Omit<ScoreSettings, 'stats'>

What presetScore is given: which of the engine's stats (only, or all but without), stats of the game's own after them, and the score's other rules

Members ​

only ​

ts
only?: readonly string[];

Only these of the engine's stats, by id (gathered for every gathered.<resource>)

stats ​

ts
stats?: readonly ScoreStatDef[];

Stats of the game's own, after the engine's

without ​

ts
without?: readonly string[];

The engine's stats but these, by id or as only