Scripted Effect
move_country_with_family
Definitionin_game/common/scripted_effects/character_effects.txt:360
361move_country = $country$
362every_spouse = {
363limit = {
364is_ruler = no
365is_regent = no
}
367move_country = $country$
}
369every_child = {
370limit = {
371OR = {
372is_heir = no
373is_heir_of = $country$
}
375NOT = {
376any_parent = {
377is_ruler = yes
378NOT = {
378is_ruler_of = $country$
}
}
}
}
382move_country = $country$
}