脚本效果
set_senior_partner
共主邦联整合等级修正类型ifunion_heir_character变量ifunion_ruler_character变量if定义in_game/common/scripted_effects/international_organization_effects.txt:949
950if = {
951limit = {
951exists = union
}
952custom_description = {
953text = set_senior_partner_text
954save_scope_as = new_senior_partner
955add_cooldown = {
956type = take_over_seniority
957years = 25
}
959union = {
960if = {
}
964every_country_with_special_status_of_type = {
965type = senior_partner
966union = {
967international_organization_remove_special_status = {
969country = prev
}
}
}
973international_organization_add_special_status = {
975country = scope:new_senior_partner
}
981if = {
982limit = {
984scope:new_senior_partner = {
984has_ruler = yes
}
}
}
991if = {
992limit = {
994scope:new_senior_partner = {
994has_heir = yes
}
}
}
1001if = {
1002limit = {
1005is_alive = yes
1006NOT = {
1006owner = prev.var:union_senior_partner
}
}
}
}
1011if = {
1012limit = {
1015is_alive = yes
1016NOT = {
1016owner = prev.var:union_senior_partner
}
}
}
}
}
}
}