DD/Economy/Settler happiness
From Unknown Horizons
This page is part of the Unknown Horizons design document. Please discuss everything concerning this topic on the "discussion" tab of this page. If you´re not sure whether your ideas are fitting the Unknown Horizons style, either use the discussion page, talk to us, or edit the "Questions" section of this page, but please don´t directly edit the other parts.
Contents |
Proposal
Summary
Each settler building should have an own happiness value. It's influenced by what they get and how much they have to pay(taxes). Also, a certain value should be necessary so that the settlers can enter a new level.
Points to Fulfill
- Happiness increases when goods are got by settler's collector.
- Happiness decreases when consumed goods are used up.
- Settlers have to die or decrease in level when happiness reaches a certain minimum.
- A certain value of happiness is required for entering a new level.
- Happiness is influenced by the tax setting
Implementation details
Happiness is an integer, ranging from 0 to 100. You can think of it as "percent". The settler collector will notify the building, that new goods have arrived. The building will then react in terms of raising the happiness value. Every x ticks, the building checks which resources are missing (depends on the increment level), and decreases the happiness aproprietly. This could be done each time the taxes are paid.
Open questions
| Open question: Does the happiness influence the number of settlers living in one building (such as in 1602? totycro |

