Hi, I'm trying to set the graphical_culture of a child after birth to the graphical_culture of its father ( or real_father is existing). I made an on_action event which works fine, but somehow, the graphical_culture setting part in the option is not executed:
Can you maybe help me? Thanks
Code:
option = {
name = OK
if = {
limit = {
is_father_real_father = yes
}
father = { ROOT = { set_graphical_culture = PREV }}
}
if = {
limit = {
is_father_real_father = no
}
real_father = { ROOT = { set_graphical_culture = PREV }}
}
}
Can you maybe help me? Thanks