Modding Ideology Buildings

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.

 

 

6,025 views 2 replies
Reply #1 Top


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).

It's in ImprovementDefs.XML, in the entry for each improvement; the assignment is done via the Prerequ tag.

Reply #2 Top

Thanks a ton, both of those points help me out a lot.

Thank you as well for the promptness, it is very appreciated.