TC01
Deity
So I have been modifying my version quite a bit, but ran into a roadblock when trying to implement my three new suggested buildings. I am unable to find where the game determines whether a building that increases the population limit should have the additional pop consume food or not. I compared every single line of the Habitation System entry with that of the Moonbase, and couldn't find an XML tag responsible for it. Just setting bMoon to 1 doesn't do anything in that regard, my extended Moonbase building still provides food yield. I also looked a bit through Python and the DLL, but haven't found anything relevant yet. A little help please?
Sounds like you're looking for the updatePlotYield function in FinalFrontierEvents.py. This isn't implemented via XML tags at all at the moment, but instead BUILDINGCLASS_LUNAR_BASE is hardcoded.
If you're adding another building with the mechanic, maybe adding a boolean XML tag for this effect would be good, but it still needs to be implemented in Python because that's where planet yields are.
EDIT: I've no idea what's up with that XML tag, but I would guess it's a BUG issue we inherited (or accidentally created at some point along the line). Which one is it specifically?