fodazd
Chieftain
- Joined
- Mar 5, 2013
- Messages
- 75
Hello.
I would like to make a mod that introduces a system for number of cities maintenance (like in Civ4).
So far, the only modding I have done is changing static values in the database. For this, I would need something more than that, because the cost per city should not be a fixed value but increase with the number of cities. I would probably need to evaluate some arithmetic expression each turn, or at least each time the number of cities of a player changes, and then apply it to the gold income of the player.
Is there an easy and simple way of doing something like that? How should I go about doing it?
I would like to make a mod that introduces a system for number of cities maintenance (like in Civ4).
So far, the only modding I have done is changing static values in the database. For this, I would need something more than that, because the cost per city should not be a fixed value but increase with the number of cities. I would probably need to evaluate some arithmetic expression each turn, or at least each time the number of cities of a player changes, and then apply it to the gold income of the player.
Is there an easy and simple way of doing something like that? How should I go about doing it?