Jarlaxe Baenre
Emperor
For a mod I'm working on, I need to make it so that when when a unitclass is built, it takes away one of a specific resource, and when that unitclass dies it takes it away.


Significant mods can be done in python. Bad design can lead to slow code in any language, and not everything can be done in Python.If I recall correctly the modder in question is running a Mac setup. Since you mostly do C++ mod comps...Jarlaxe Baenre, did you find a solution to this? If not let me know... I think I still have some vanilla code somewhere on my computer that lets cities stockpile resources.

If I recall correctly the modder in question is running a Mac setup. Since you mostly do C++ mod comps...![]()

