脚本效果

break_union

break_unionin_game/common/scripted_effects/country_effects.txt:2078
需要pu_war_senior_partner变量custom description

定义in_game/common/scripted_effects/country_effects.txt:2078

2079custom_description = {
2080text = break_union_text
2081object = $target$
2082save_scope_as = root_country
2083if = {
2084limit = {
2084has_variable = pu_war_senior_partner
}
2085remove_variable = pu_war_senior_partner
}
2087if = {
2088limit = {
2088in_union_with = $target$
}
2089union = {
2090remove_country_from_international_organization = scope:root_country
}
}
2093if = {
2094limit = {
2095OR = {
2096has_ruler = no
2097ruler = {
2098NOT = {
2098owner = scope:root_country
}
}
}
}
2102if = {
2103limit = {
2103has_ruler = yes
}
2104ruler = {
2104save_scope_as = target_character
}
}
2106if = {
2107limit = {
2107NOT = {
2107exists = scope:target_character
}
}
2108ordered_character = {
2109order_by = heir_score_home
2110limit = {
2110is_adult = yes
}
2111max = 1
2112check_range_bounds = no
2113save_scope_as = target_character
}
}
2116if = {
2117limit = {
2117NOT = {
2117exists = scope:target_character
}
}
2118create_character = {}
}
2128if = {
2129limit = {
2129exists = scope:target_character
}
2130set_new_ruler = scope:target_character
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明