
Organisation internationaleModifié dans cette version
Coalition
Une coalition est un groupe de Pays qui s'unissent à cause de leur Antagonisme envers un autre Pays avec pour objectif de contrôler une agression potentielle. Les membres d'une coalition se défendent mutuellement si la cible attaque l'un d'entre eux et peuvent déclarer la Guerre à la cible.
CoalitionCasus bellijoin offensive wars always
TributaireType de vassalauto leave triggerDéfinitionin_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" Valeur de base
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" Est en Guerre
146if = {
147limit = {
148is_at_war_with = scope:target
}
150value = 20
}
}
153add = {
154desc = "game_concept_antagonism" Antagonisme
155scope:target = {
156value = prev_antagonism_towards_this
}
}
160if = {
161limit = {
162exists = scope:recipient
}
166scope:recipient ?= {
167add = {
168desc = "CURRENT_SIZE_COMPARED_TO_TARGET" Taille comparée
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" Taille comparée
183value = "relative_strength(scope:target)"
184add = -0.5
185multiply = 40
}
}
189add = {
190desc = "DISTANCE_TO_TARGET" Distance
191scope:target = {
192value = "border_distance_to(root)"
193multiply = -0.5
}
}
197if = {
198limit = {
199scope:target = {
200border_distance_to(root) > 300
}
}
203add = -1000
}
206add = {
207desc = "OPINION" Opinion
208value = "opinion(scope:target)"
209multiply = -0.5
210max = 0
}
}
214ai_desire_to_allow_new_member = {
215add = {
216desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Nous voulons que l'Organisation internationale se développe
217value = 20
}
}