脚本效果
set_new_ruler_with_union_if_senior
联统主导国特殊地位if定义in_game/common/scripted_effects/country_effects.txt:973
974if = {
975limit = {
975exists = union
}
976save_scope_as = root_country
977if = {
978limit = {
979union ?= {
980country_has_special_status = {
980country = scope:root_country
}
}
}
}
985else = {
986$character$ = {
986save_scope_as = breakaway_ruler
}
987union ?= {
988every_international_organization_member = {
989limit = {
989this != scope:root_country
}
}
}
993set_new_ruler = $character$
994every_subject = {
995limit = {
995subject_type = {
995has_overlords_ruler = yes
}
}
996set_new_foreign_ruler_no_update = $character$
}
}
}
1000else = {
1001set_new_ruler = $character$
1002every_subject = {
1003limit = {
1003subject_type = {
1003has_overlords_ruler = yes
}
}
1004set_new_foreign_ruler_no_update = $character$
}
}