Skip to content

PresetGeneratorOptions beta ​

Interface of @v12-engine/engine

ts
export interface PresetGeneratorOptions

What the engine's preset takes from a game: what its scenery is

Members ​

rocks ​

ts
rocks?: string[];

The models of rocks, the same way. None when left out

start ​

ts
start?: StartsPassOptions['from'];

What a game puts at a start (startsPass): its hall and workers

trees ​

ts
trees?: string[];

The models of trees, by their paths in models/: one picked for each. No trees when left out

treeScale ​

ts
treeScale?: {
        scale?: number;
        vary?: number;
    };

How big a tree is drawn, and how much that varies: 1, by a fifth, when left out