脚本值

country_needs_allies_value

country_needs_allies_valuein_game/common/script_values/io_policy.txt:675

定义in_game/common/script_values/io_policy.txt:675

676desc = "NEEDS_ALLIES_AGAINST_STRONG_RIVALS_AND_NEIGHBOURS" 来自邻国与宿敌的威胁
678save_temporary_scope_as = root_country
680subtract = defensive_alliance_strength
682if = {
683limit = {
684exists = scope:scripted_relation_type
685exists = scope:recipient
}
687add = scope:recipient.country_strength
}
690every_neighbor_country = {
691limit = {
692nor = {
693has_mutual_scripted_relation = {
694type = relation_type:alliance
695target = scope:root_country
}
697in_union_with = scope:root_country
698has_royal_marriage_with = scope:root_country
}
700is_threat_to = scope:root_country
701trigger_if = {
702limit = {
703exists = scope:actor
}
705not = {
705this = scope:actor
}
}
707trigger_if = {
708limit = {
709exists = scope:target
}
711not = {
711this = scope:target
}
}
}
714add = country_strength
}
716every_rival = {
717limit = {
718trigger_if = {
719limit = {
720exists = scope:actor
}
722not = {
722this = scope:actor
}
}
724trigger_if = {
725limit = {
726exists = scope:target
}
728not = {
728this = scope:target
}
}
}
731add = country_strength
}
733scope:target ?= {
734add = country_strength
}
736divide = {
737value = country_strength
738min = 0.001
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明