I've been testing the latest version of my mod with evolutive civ yesterday, and corrected a few bugs.
There is possible bug, but it's not really one, and I'd like to know what you think about it.
Initially, when you start, you have only the first era visible. Meaning you will see techs for era 1 and era 2, and units only for era 1.
When the first civ reaches era 2, I then add the techs for era 3, and the units for era 2.
When a civ reaches era 3, I add the techs for 4, and the units for era 3.
When a civ reaches era 4, I add the techs for era 5... Wait... Doesn't work here! As there is no era 5 yet, the civ is "stucked" to era 4, discovering Future era techs.
However, after some time, when everyone will be era 2, era 1 becomes useless, and will be deleted. Era 2 becomes era 1, era 3 becomes era 2, and era 4 will be added (in fact, it's added from era 5 of the main game).
So, here, I have two possibilities:
- When a civ is searching a future tech (ie it has finished all the available era), I will add a new era, delete the first one, and automatically advance the "oldest civ" to era 2.
- Or, if a civ is going too fast and as already discovered every techs while a civ is still in the first era, it has too wait a little until every civ has finished discovering the first era.