Skip to content

HiringItem beta ​

Interface of @v12-engine/engine/ai

ts
export interface HiringItem

A line of what a brain hires (MicroOptions.hiring): a unit a place hires out, how many of it to have, when

Members ​

count ​

ts
count?: number;

How many of it to have: 1 when left out

unit ​

ts
unit: string;

The unit type, by id: one a place that hires lists (UnitTypeDef.hires)

when ​

ts
when?: AiCondition;

When it is wanted: a condition. Always when left out