Skip to content

gathers beta ​

Function of @v12-engine/engine

ts
gathers: (def: Pick<UnitTypeDef, 'harvester'>, kind: string) => boolean

Whether a worker gathers a kind of resource at all (harvester.ids): the game's canHarvest hook may refuse it a resource all the same (canHarvest)