Skip to content

ConstructionStage beta ​

Interface of @v12-engine/client

ts
export interface ConstructionStage

A stage of a building going up (ConstructionLook.stages), from a share of its progress on: another model (a foundation, a scaffold), nodes of its model shown or hidden (the roof from 80%), an effect and a sound as it begins

Members ​

at ​

ts
at: number;

From this share of its progress on, 0 to 1

fx ​

ts
fx?: string | FxDef;

An effect played on it as the stage begins, at a point of its model (point)

hide ​

ts
hide?: readonly string[];

Names of nodes of the stage's model to hide from here on

model ​

ts
model?: ModelDef | string;

The model it is drawn with during this stage: a model (or its path under models/, at the type's model's size). The type's own model where the stage names none (the finished building, its nodes shown by show)

point ​

ts
point?: string;

A point of the stage's model (ModelDef.points) its effect plays at; the model's middle when left out

show ​

ts
show?: readonly string[];

Nodes of its model, by name, shown or hidden from here (each stays as the last stage left it)

sound ​

ts
sound?: string;

A sound of the game's as the stage begins