Afforess
The White Wizard
I've added two new tags to the SDK, for civics, that involve happiness. One, is CivicHappiness, which adds happiness in all cities, instead of just the largest ones, and the other is a clone of the HappyperMilitaryUnits, but turned into a percent, so that I can have 25 = 25% of one happy face or 4 troops = 1 happiness.
I seem to have coded everything almost right, because they show up in the civilopedia fine, and read from the XML fine, and show up in the city okay, except that now, the unhappiness half of the bar is gone, so that a city only shows how happy it is. I believe a screenshot is in order:
Anyway, I think it has to do with something that I've done wrong in CvGameTextMgr, but I'm not sure.
I seem to have coded everything almost right, because they show up in the civilopedia fine, and read from the XML fine, and show up in the city okay, except that now, the unhappiness half of the bar is gone, so that a city only shows how happy it is. I believe a screenshot is in order:
Spoiler :
Anyway, I think it has to do with something that I've done wrong in CvGameTextMgr, but I'm not sure.