Double post, but I'd like to announce a new feature.
I've been working on a module recently (too burned out to do much else atm, lots going on, sorry), and I needed a few mechanics for it.
The first change is just a graphical addition... A civ's racial type will be displayed in the pedia, under the civ trait.
The second change is potentially useful (and required for something I needed to do involving artstyles...): PyOnPromoTaken. Runs a specified python function as soon as the promotion is taken, and never again (unless stackable, though admittedly I have not tested that part!).
The third change could potentially be
very useful, though I'm of the opinion that it should be used sparingly. What is it? SecondaryUnitCombats.
Essentially, promotions can now allow units to take promotions belonging to other unitclasses. I required it for something I wanted to do with commanders... Special promotion which can grant any unit access to
all Commander promotions, no matter what we add, remove, change via module, etc. You can list any number of unitcombats, and it will function; I tested it by granting Combat5 both Commander and Adept unitcombats. A warrior became eligible for promotions from both combats.
As of now, it
only grants promotions. All other features tied to unitcombat (combat penalties/bonuses, many spells, etc) all remain untouched. These are
secondary unitcombats.