Maniac
Apolyton Sage
I wanted to borrow the free production from unhappy people (Governor's Manor) from FfH for Planetfall. However in doing so I noticed the code is in fact bugged. The GameTextMgr constructs a message using a city's angry population (unhappy people minus happy people). The actual production code however uses a city's 'unhappylevel', which actually is all unhappy people from all sources, not the difference of unhappy minus happy.
I corrected this, and while I was at it, I figured I'd change this XML tag from a boolean to an integer. For FfH this would have as a consequence the Pillar of Chains has a use for the Calabim. Perhaps this is of interest to a modmodder.
The attached files are for Planetfall, not FfH. But a search for "unhappyproduction" will find you all related code.
in BuildingSchema.xml you'll need to change bUnhappyProduction to the integer iUnhappyProduction.
I corrected this, and while I was at it, I figured I'd change this XML tag from a boolean to an integer. For FfH this would have as a consequence the Pillar of Chains has a use for the Calabim. Perhaps this is of interest to a modmodder.
The attached files are for Planetfall, not FfH. But a search for "unhappyproduction" will find you all related code.
in BuildingSchema.xml you'll need to change bUnhappyProduction to the integer iUnhappyProduction.