I think this is the first time I am opening a new thread and it's also the first time I dare to "request" a modding feature:
E has added the database flags CivilisationOnly, CityStyleOnly and CultureOnly.
He obviously intended to add GovernmentOnly as well, but somehow didn't. Well, ... I would like to have it
I don't like the original GovernmentType flag because it makes the units just disappear when the governemt is switched, which seems a bit "unrealistic" (even fascists unfortunately didn't just disappear after WW2, as we know -- the vast majority of them were absorbed by the democratic, post-war institutions, including armies) and weakens the AI, which doesn't have the means to prepare for the switch.
Due to these considerations I am using the mod_CanCityBuildUnit() function for gov-spec units in my humble Mod, but I am afraid this will not work so well with the new unit upgrading mechanism: I assume it will be possible to upgrade to the next best unit technically available even if it couldn't be built in any of your cities -- which might be an issue to take care of apart from my government-specific application).
Anyway a flag would be more elegant ...
E has added the database flags CivilisationOnly, CityStyleOnly and CultureOnly.
He obviously intended to add GovernmentOnly as well, but somehow didn't. Well, ... I would like to have it
I don't like the original GovernmentType flag because it makes the units just disappear when the governemt is switched, which seems a bit "unrealistic" (even fascists unfortunately didn't just disappear after WW2, as we know -- the vast majority of them were absorbed by the democratic, post-war institutions, including armies) and weakens the AI, which doesn't have the means to prepare for the switch.
Due to these considerations I am using the mod_CanCityBuildUnit() function for gov-spec units in my humble Mod, but I am afraid this will not work so well with the new unit upgrading mechanism: I assume it will be possible to upgrade to the next best unit technically available even if it couldn't be built in any of your cities -- which might be an issue to take care of apart from my government-specific application).
Anyway a flag would be more elegant ...
Comment