I cant seem to figure what is wrong with this code:
Code:
decisions = {
create_k_smaland = {
hide_if_not_possible = yes
is_high_prio = yes
potential = {
is_ruler = yes
min_age = 16
prisoner = no
independent = yes
NOT = { trait = incapable }
primary_title = { title = d_smaland }
NOT = { FROM = {
tier = emperor
tier = king
}
}
}
allow = {
FROM = { title = k_smaland }
religion = norse_pagan
NOT = { trait = incapable }
prestige = 200
wealth = 100
piety = 50
}
effect = {
k_smaland = { gain_title = FROM }
wealth = -100
piety = 200
prestige = 200
}
revoke_allowed = {
always = no
}
ai_will_do = {
factor = 1
}
}