
国際組織このバージョンで変更
包囲網
包囲網とは、敵対心が高まりすぎた他国の将来的な侵略を牽制する目的で、複数の国家が形成する組織のこと。包囲網のメンバーは、対象国が包囲網のいずれかの国を攻撃した場合、お互いを防衛するとともに、対象国に宣戦布告することができる。
包囲網開戦事由join offensive wars always
朝貢国従属国タイプauto leave trigger定義in_game/common/international_organizations/coalition.txt:1
3has_target = yes
4show_on_diplomatic_map = yes
5expel_members_who_are_targets_of_other_members = yes
6expel_members_who_are_attackers_at_war_with_other_members = yes
7expel_members_who_are_defenders_at_war_with_other_members = yes
8has_leader_country = yes
9leader_type = country
10show_strength_comparison_with_target = yes
11declare_war_on_target_casus_belli = cb_coalition
12promote_strongest_member_to_war_leader = yes
14gives_food_access_to_members = yes
16create_visible_trigger = {
17always = yes
}
20invite_visible_trigger = {
21always = yes
}
24diplomatic_capacity_cost = {
25add = {
26desc = "UPKEEP_BASE_VALUE" 基本値
27value = 1
}
}
32leader_color = define:NMapColors|INTERNATIONAL_ORGANIZATION_LEADER_COLOR
38join_defensive_wars_always = {
39scope:target ?= {
40this = root.international_organization_target
}
}
43join_offensive_wars_always = {
44scope:target ?= {
45this = root.international_organization_target
}
47trigger_if = {
48limit = {
49exists = scope:casus_belli
}
}
}
55can_declare_war = {
56always = yes
}
59modifier = {
}
62target_modifier = {
63monthly_complacency = -0.05
}
66potential_target_trigger = {
67has_countries_with_near_coalition_grade_antagonism = yes
}
70can_target_trigger = {
71has_countries_with_coalition_grade_antagonism = yes
}
80can_leave_trigger = {
81OR = {
82not = {
82exists = scope:target
}
83not = {
83is_at_war_with = scope:target
}
}
}
87auto_disband_trigger = {
88or = {
89total_members < 1
90not = {
90country_exists = scope:target
}
}
}
94auto_leave_trigger = {
95trigger_if = {
96limit = {
96exists = scope:target
}
97or = {
102and = {
103not = {
103is_at_war_with = scope:target
}
104or = {
105giving_scripted_relation = {
106type = relation_type:anti_coalition_treaty
107target = scope:target
}
109has_truce_with = scope:target
110is_subject_or_below_of = scope:target
111scope:target = {
112is_subject_or_below_of = root
}
114in_union_with = scope:target
116antagonism = {
117target = scope:target
118value < 30
}
}
}
}
}
124trigger_else = {
125always = yes
}
}
143ai_desire_to_join = {
144add = {
145desc = "AT_WAR_TRIGGER" 戦争状態にある
146if = {
147limit = {
148is_at_war_with = scope:target
}
150value = 20
}
}
153add = {
154desc = "game_concept_antagonism" 敵対心
155scope:target = {
156value = prev_antagonism_towards_this
}
}
160if = {
161limit = {
162exists = scope:recipient
}
166scope:recipient ?= {
167add = {
168desc = "CURRENT_SIZE_COMPARED_TO_TARGET" 相対的な規模
169value = "organization_strength_relative_to_country(scope:target|yes)"
170add = -5
171multiply = -25
}
}
}
177if = {
178limit = {
179NOT = {
179exists = scope:recipient
}
}
181add = {
182desc = "CURRENT_SIZE_COMPARED_TO_TARGET" 相対的な規模
183value = "relative_strength(scope:target)"
184add = -0.5
185multiply = 40
}
}
189add = {
190desc = "DISTANCE_TO_TARGET" 距離
191scope:target = {
192value = "border_distance_to(root)"
193multiply = -0.5
}
}
197if = {
198limit = {
199scope:target = {
200border_distance_to(root) > 300
}
}
203add = -1000
}
206add = {
207desc = "OPINION" 評価
208value = "opinion(scope:target)"
209multiply = -0.5
210max = 0
}
}
214ai_desire_to_allow_new_member = {
215add = {
216desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" 我々は国際組織の拡大を望んでいる
217value = 20
}
}