Gah! Just got my first new trait for my leader and all my units lost their promotions and can't get them back! Should have saved
BTW a hover over on the traits would be nice.
AH HAH! So THAT'S why you've all been losing promos eh? (Well its part of that anyhow...) That let's me know
exactly where my problem is here! Thanks! I'll have a fix tomorrow on that then - I promise!
As for a hoverover - I struggled mightily to figure out how to generate one. Either hoverover help popups are called in python or... and I shudder to think... its done via the core. Almost all the places where this process seems to begin in the code reports to the core so we may find it impossible. However, I was hoping to still figure out a way to link a right click to the pedia listing.
Also, since you're the python expert, I was hoping you might be able to help me with the buttons in the pedia. Apparently they are being called to specific and direct art calls but I don't think that's being handled in the dll. If you could help me to pull the button on the traits there, that'd be awesome!
Anyhow, yeah, the mystery of the missing promos is solved and I just need some time to rethink how I'm going to route around it. In short, it involves making a check for any promotion that's handed out by traits and if you
don't have that trait it removes it from the unit. My oversight was in the way our traits currently are, Combat I is handed out by a trait (or two). So it's removing that, and by so doing, finding you no longer qualify for any of the Combats above it. Ugh. This process was considered necessary because units should lose whatever promos they picked up from any negative trait that's been selected for removal. So I just need to think about how I can remove JUST those safely... Unfortunately, with a promo like Combat I being handed out by a negative trait, that's going to be far more tricky than I realized!