Skip to main content

Module happiness

Module happiness 

Source
Expand description

Happiness buildings: wells, markets, the tavern, chapel, cemetery, doctor and trading post make the homes around them happier; mines and the quarry make them less happy. See docs/CITIZEN-LIFE.md “Happiness buildings”.

While active, a building is registered with the town manager and counts on its kind’s map layer within its radius. A citizen’s happiness reads the layers at its home’s entrance; loitering citizens pick a registered building nearby.

Original: HappinessComponent (controller interface vtable 0x14015f6a0), FUN_14004b570.