Silence101
Nov 20, 2007, 02:28 PM
I'm doing some modding on the leader traits and I've hit a bit of a speed bump with the Spiritual Trait. Spiritual adds a production bonus to all temples, which is fine of itself, but I would also like to add a production bonus to all monasteries and cathedrals as well.
The problem I'm running into is that I can't find how the game knows to give Spiritual a production bonus to temples. It doesn't appear to be defined through the Buildinginfos XML like most trait production bonuses. I can add the trait production bonus to the various individual monasteries and cathedrals through the Buildinginfos XML but it displays each religious building separately in the Pedia entry which is annoying.
So basically, the short of it is that I want to model the Spiritual trait's production bonus on temples to monasteries and cathedrals in the same manner. Does anyone know how to do this?
The problem I'm running into is that I can't find how the game knows to give Spiritual a production bonus to temples. It doesn't appear to be defined through the Buildinginfos XML like most trait production bonuses. I can add the trait production bonus to the various individual monasteries and cathedrals through the Buildinginfos XML but it displays each religious building separately in the Pedia entry which is annoying.
So basically, the short of it is that I want to model the Spiritual trait's production bonus on temples to monasteries and cathedrals in the same manner. Does anyone know how to do this?