What's the best way to add an arbitrary amount of unhappiness using Lua?
For my mod's happiness system I need to have non-linear (progressive) unhappiness from number of cities. So instead of simply using the UNHAPPINESS_PER_CITY define I need a way to set the unhappiness every turn for every player depending on the number of cities.
For my mod's happiness system I need to have non-linear (progressive) unhappiness from number of cities. So instead of simply using the UNHAPPINESS_PER_CITY define I need a way to set the unhappiness every turn for every player depending on the number of cities.
Although the happiness is actually updated two turns after founding a new city. I will post my Lua code after making some adjustments to it - probably tomorrow.