ObjectiveDef beta
Interface of @v12-engine/engine
ts
export interface ObjectiveDefWhat a player is set to do, in a mission: survive ten waves, keep the hero alive, build a frost tower
Members
detail
ts
detail?: MessageRef;More about it, in the words of the game: shown under it when the player opens it in the quest panel (campaign plan CP5)
id
ts
id: string;Shared by every game, like other ids: give it a prefix of the game's ('td.hold')
required
ts
required?: boolean;Whether the mission needs it: all of them done is a victory, one failed a defeat. True when left out
text
ts
text: MessageRef;What it says, in the words of the game: a message key, with params where it shows numbers