I'm having an issue with a decision. It should be available for females if the gender law is at least level 2 but it doesn't appear at all for any kind of law. Any ideas?
This is the code for the potential
potential = {
OR = {
is_female = no
has_law = status_of_women_2
has_law = status_of_women_3
has_law = status_of_women_4
has_game_rule = {
name = gender
value = all
}
}
ROOT = { is_close_relative = FROM }
age = 16
NOT = { age = 40 }
learning = 3
}
This is the code for the potential
potential = {
OR = {
is_female = no
has_law = status_of_women_2
has_law = status_of_women_3
has_law = status_of_women_4
has_game_rule = {
name = gender
value = all
}
}
ROOT = { is_close_relative = FROM }
age = 16
NOT = { age = 40 }
learning = 3
}