Skip to main content

Module herbalist

Module herbalist 

Source
Expand description

The gatherer’s shelter and the herbalist, their work, and the workplace’s auto-pickup. See docs/JOBS.md, “Gatherers”.

A worker first takes one of the piles its own building made (AutoPickup). Otherwise, while the stock is under the production group’s limit, it draws random cells within the building’s radius until one holds an unclaimed, fully grown natural resource of a listed kind, and harvests it. The pile it leaves is recorded for the AutoPickup. Too many unlucky draws in a row and the worker drops off what it carries instead of waiting.

Original: HerbalistComponent; its work is made by slot FUN_14004bac0.

Structs§

AutoPickup
AutoPickupComponent (on, from AutoPickupDescription; the Pickup works of the piles the workplace’s workers made).
HerbalistTemplate
A resolved HerbalistDescription.
HerbalistWork
The work’s state: the workers (a set; its size), misses in a row.