inquisitive_otter
Warlord
- Joined
- Mar 12, 2019
- Messages
- 100
I'm trying to create a mod which limits the population in the players cities to a set amount, lets just say 4. I've thought a bit about how to implement this and I believe that one solution is to set the city growth rate to -500% or so when the city hits four population. However, I would only like this penalty to apply to the human's cities not the AIs.
Doing some research I have found the following modifier which looks promising:
MODIFIER_ALL_CITIES_ADJUST_CITY_GROWTH
MODIFIER_PLAYER_CITIES_ADJUST_CITY_GROWTH
I assume that the PLAYER is the human and will not be applied to the AI? Is that correct? How can I put a hook into the code for it to apply with cities that have 4 or more population? Is there another mod that already does this? Thanks!
Doing some research I have found the following modifier which looks promising:
MODIFIER_ALL_CITIES_ADJUST_CITY_GROWTH
MODIFIER_PLAYER_CITIES_ADJUST_CITY_GROWTH
I assume that the PLAYER is the human and will not be applied to the AI? Is that correct? How can I put a hook into the code for it to apply with cities that have 4 or more population? Is there another mod that already does this? Thanks!