Protroid
Chieftain
Hello, I want to make a civilization that provides units with a 20% Combat bonus if they are adjacent to a friendly city, similar to the Defender of the Faith religious belief. However, the code for DotF is in the Beliefs table, not Traits. If anyone can either help or direct me to a good tutorial on how to add this to the Traits table, that would be wonderful.
It was a while ago though, if you need more direction I can go look again. Suprisingly I think it's in CivUP not GEM - pay special attention to his tools lua files (MT_whatever) and grep is your friend. In the leader xml for Ghandi there is a trait called NoWarrior, grep on that and you should find all you need.