Skip to content

HarvestGathering beta ​

Interface of @v12-engine/engine

ts
export interface HarvestGathering extends HarvestKept

At work (HarvestState): the seconds of it left, and what it works (working) or is inside of (a mine's, inside)

Members ​

inside ​

ts
inside?: EntityId;

The mine it is inside of, hidden, while it works there

phase ​

ts
phase: 'gathering';

The step this state is in, 'gathering'

timer ​

ts
timer: number;

Seconds of work left before the load is taken

working ​

ts
working?: EntityId;

The resource it works from outside, like a tree