First time trying to build a mod, so I'm rather lost. I wanted to create a trait (and then an event) that only becomes available when certain conditions are met. In short, I want something to counteract the female ruler and female heir malus when a pagan religion has reformed and taken the Equality doctrine (as I understand the malus is removed with the Enatic Clans doctrine) and provide a small opinion boost to those who truly follow the New Ways (and really piss of those who still follow the Old Ways).
But I have two problems:
1. I can't seem to find any way to make a trait conditional to doctrines of a reformed religion
2. I can't seem to figure out how to make an opinion bonus apply to female rulers and heiresses.
Here's what I have so far (basic, I know):
faithful = {
has_religion_features = yes
is_reformed_religion = yes
inherit_chance = 20
personality = yes
religious = yes
virtue = yes
same_opinion_if_same_religion = 5
unreformed_tribal_opinion = -10
ai_zeal = 10
}
But I have two problems:
1. I can't seem to find any way to make a trait conditional to doctrines of a reformed religion
2. I can't seem to figure out how to make an opinion bonus apply to female rulers and heiresses.
Here's what I have so far (basic, I know):
faithful = {
has_religion_features = yes
is_reformed_religion = yes
inherit_chance = 20
personality = yes
religious = yes
virtue = yes
same_opinion_if_same_religion = 5
unreformed_tribal_opinion = -10
ai_zeal = 10
}