Hey everyone, hope you're having a good one.
I've been trying to detach the Ideology buildings from the ideology traits, probably to make them awarded to specific factions through rewriting their abilities/appending something to a tech. I've hit a snag though as I'm not sure where the defs for the buildings are, and the xml for the culture traits which award the buildings doesn't show any obvious commands/method for their granting (at least as far as my ad hoc and scatter-brained programming knowledge is concerned).
Thank you in advance for any given help.