脚本效果

set_senior_partner

set_senior_partnerin_game/common/scripted_effects/international_organization_effects.txt:949
需要共主邦联整合等级修正类型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 = {
961limit = {
}
962level = 1
}
}
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
}
977set_variable = {
979value = scope:new_senior_partner
}
981if = {
982limit = {
983NOT = {
983has_variable = union_ruler_character
}
984scope:new_senior_partner = {
984has_ruler = yes
}
}
986set_variable = {
988value = scope:new_senior_partner.ruler
}
}
991if = {
992limit = {
993NOT = {
993has_variable = union_heir_character
}
994scope:new_senior_partner = {
994has_heir = yes
}
}
996set_variable = {
998value = scope:new_senior_partner.ruler
}
}
1001if = {
1002limit = {
1003has_variable = union_ruler_character
1005is_alive = yes
1006NOT = {
1006owner = prev.var:union_senior_partner
}
}
}
1009move_country = scope:new_senior_partner
}
}
1011if = {
1012limit = {
1013has_variable = union_heir_character
1015is_alive = yes
1016NOT = {
1016owner = prev.var:union_senior_partner
}
}
}
1019move_country = scope:new_senior_partner
}
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明