sman1975
Emperor
Does anyone know of a mod that reduces the city's population when a unit is trained and/or purchased in a city?
I'm working on a mod that needs this kind of capability. I've referred to @Machiavelli24's snippet here (as well as several other posts that reference this mod):
https://forums.civfanatics.com/threads/unit-created-event.547441/
Overall, the functions work quite well. However it relies on a "dummy promotion" to mark units that were just created. My problem with that, is the dummy promotion appears in the Unit Panel in the lower left-side of the game screen, and also in the Civilopedia - reusing the "Blitz" promotion icon. For those a***-retentive types such as myself, these artifacts harm the immersive quality of the mod.
So, if anyone knows of a mod that actually has already solved this problem (removing pop by 1 for each unit created/purchased), or a way to hide the dummy promotion from the Unit Panel UI and Civilopedia (a solution that doesn't require replacing the UIs), please let me know.
Thanks!
I'm working on a mod that needs this kind of capability. I've referred to @Machiavelli24's snippet here (as well as several other posts that reference this mod):
https://forums.civfanatics.com/threads/unit-created-event.547441/
Overall, the functions work quite well. However it relies on a "dummy promotion" to mark units that were just created. My problem with that, is the dummy promotion appears in the Unit Panel in the lower left-side of the game screen, and also in the Civilopedia - reusing the "Blitz" promotion icon. For those a***-retentive types such as myself, these artifacts harm the immersive quality of the mod.
So, if anyone knows of a mod that actually has already solved this problem (removing pop by 1 for each unit created/purchased), or a way to hide the dummy promotion from the Unit Panel UI and Civilopedia (a solution that doesn't require replacing the UIs), please let me know.
Thanks!