Skip to content

TechStep beta ​

Interface of @v12-engine/engine/ai

ts
export interface TechStep

One step towards a type: a building to build (by a worker), a building to turn another into (morph, from the type that turns into it), or a unit to train (at the type that trains it). for is what the step is on the way to

Members ​

for ​

ts
for: string;

The type the step is on the way to

from ​

ts
from: string;

For a morph, the type that turns into it; for a train, the type that trains it; for a build, the type that builds it

how ​

ts
how: 'build' | 'morph' | 'train';

How it is made: built by a worker, turned into from another type (morph) or trained at a building

type ​

ts
type: string;

The unit type id the step is on