Add a mood system for villagers. Villagers get a 'mood score' that is affected by various factors:
- Health (directly tied to health)
- Work (increases when at the worksite)
- Play (increases when reaching a playsite)
- Sleep (increases when near a bed)
- Nature (increases when under the sun)
- Beauty (increases when near blocks the villager likes)
- Social (other villagers nearby or when chatting with player)
All factors except health decrease over time when those needs aren't met.
Beauty depends on the villager's preferences. Each villager has a few blocks they consider 'beautiful'. Each villager also has 0 to 2 favourite colors and considers painted blocks in that color to be 'beautiful'.
Mood affects:
- Trade prices
- Whether you can trade at all
- Dialog texts
Add a mood system for villagers. Villagers get a 'mood score' that is affected by various factors:
* Health (directly tied to health)
* Work (increases when at the worksite)
* Play (increases when reaching a playsite)
* Sleep (increases when near a bed)
* Nature (increases when under the sun)
* Beauty (increases when near blocks the villager likes)
* Social (other villagers nearby or when chatting with player)
All factors except health decrease over time when those needs aren't met.
Beauty depends on the villager's preferences. Each villager has a few blocks they consider 'beautiful'. Each villager also has 0 to 2 favourite colors and considers painted blocks in that color to be 'beautiful'.
Mood affects:
* Trade prices
* Whether you can trade at all
* Dialog texts