
Uluslararası TeşkilatBu sürümde değişti
Savunma Cemiyeti
Savunma Cemiyeti, üyelerden birine Savaş ilan edildiğinde diğer üyelerin o ülkeyi savunmayı taahhüt ettiği bir Ülkeler grubudur.
Tanımin_game/common/international_organizations/defensive_league.txt:1
2has_target = no
3expel_members_who_are_targets_of_other_members = yes
4expel_members_who_are_attackers_at_war_with_other_members = yes
5annulled_by_peace_treaty = yes
6annullment_favours_required = 15
8create_visible_trigger = {
9is_subject = no
}
12invite_visible_trigger = {
13always = yes
}
16laws = {
17mutual_defense_law = possible_defense_policy
}
20diplomatic_capacity_cost = {
21scope:recipient = {
22add = {
23desc = "UPKEEP_NUM_MEMBERS" Üye Sayısından
24value = total_members
25multiply = 0.33
}
27add = {
28desc = "UPKEEP_TOTAL_ECO_BASE" Toplam Ekonomik Taban
29value = international_organization_economical_base
30multiply = 0.0005
}
}
}
35can_declare_war = {
36trigger_if = {
37limit = {
37scope:attacker ?= {
37is_member_of_international_organization = scope:recipient
}
}
38scope:defender ?= {
38NOT = {
38is_member_of_international_organization = scope:recipient
}
}
}
40trigger_else = {
41always = yes
}
}
45modifier = {
}
48show_on_diplomatic_map = yes
52can_join_trigger = {
54is_subject = no
55is_rebel_country = no
56not = {
57is_member_of_international_organization_of_type = {
58type = defensive_league
}
}
64at_war = no
65trigger_if = {
66limit = {
67exists = scope:recipient
}
69scope:recipient = {
70not = {
71any_international_organization_member = {
72save_temporary_scope_as = io_member
73OR = {
74has_blocked_treaties = root
75is_rival_of = root
76is_enemy_of = root
79opinion = {
79target = root
79value < 0
}
80root = {
80opinion = {
80target = scope:io_member
80value < 0
}
}
82at_war = yes
}
}
}
}
}
88trigger_else = {
89not = {
89has_blocked_treaties = scope:actor
}
90scope:actor = {
91not = {
91has_blocked_treaties = root
}
92not = {
92is_rival_of = root
}
93not = {
93is_enemy_of = root
}
95at_war = no
97opinion = {
97target = root
97value >= 0
}
98root = {
98opinion = {
98target = scope:actor
98value >= 0
}
}
}
}
}
103auto_leave_trigger = {
104or = {
105is_subject = yes
106scope:recipient = {
107any_international_organization_member = {
108is_rival_of = root
}
}
111is_rebel_country = yes
}
}
115auto_disband_trigger = {
116total_members < 2
}
118disband_minimum_member_count = 1
120on_joined = {
}
123on_left = {
}
126ai_desire_to_join = {
128add = {
129desc = "DIPLOREASON_BASE" Temel
130value = -50
}
133if = {
134limit = {
135exists = scope:recipient
}
138add = {
139desc = "game_concept_rival" Rakip
140scope:recipient = {
141every_international_organization_member = {
142limit = {
143or = {
144is_rival_of = root
145root = {
146is_rival_of = prev
}
}
}
150add = {
151value = -100
}
}
}
}
157add = {
158desc = "game_concept_trust" Güven
159scope:recipient = {
160every_international_organization_member = {
161save_temporary_scope_as = member
162root = {
163value = "trust(scope:member)"
164divide = 5
}
}
167divide = "scope:recipient.total_members"
}
}
171add = {
172desc = "game_concept_opinion" Görüş
173scope:recipient = {
174every_international_organization_member = {
175root = {
176add = {
177value = this_opinion_of_prev
178multiply = 0.2
}
}
}
}
}
184add = {
185desc = "COALITION_GRADE_ANTAGONISM_TOWARDS_MEMBERS" Üyeler bir koalisyonun olası hedefleri
186value = {
187scope:recipient = {
188every_international_organization_member = {
189add = {
190every_country_with_coalition_grade_antagonism_against_us = {
191limit = {
192not = {
192is_subject_or_below_of = prev
}
}
194subtract = {
195value = military_strength
}
}
198divide = military_strength
199multiply = 10
}
}
}
}
}
206if = {
207limit = {
208scope:recipient = {
209total_members > 0
}
}
212subtract = {
213desc = "ORGANIZATION_SIZE" Teşkilat Boyutu
214value = "scope:recipient.total_members"
215multiply = 15
216add = {
217value = 0
218scope:recipient = {
219every_international_organization_member = {
220add = country_economical_base
}
}
223divide = "scope:actor.country_economical_base"
224multiply = 40
225max = 200
}
}
228add = {}
}
}
245else_if = {
246limit = {
247exists = scope:actor
}
249add = {
250desc = "AVERAGE_ECONOMICAL_BASE" Ortalama Ekonomik Taban
251value = 0
252add = scope:actor.country_economical_base
254subtract = root.country_economical_base
255multiply = 3
256max = 25
257min = -100
}
259add = {
260desc = "game_concept_opinion" Görüş
261scope:actor = {
262root = {
263add = {
264value = this_opinion_of_prev
265multiply = 0.2
}
}
}
}
270add = {
271desc = "game_concept_trust" Güven
272root = {
273value = "trust(scope:actor)"
274divide = 5
}
}
}
280if = {
281limit = {
282exists = scope:recipient
}
284add = {
285desc = "DISTANCE_FROM_FRANCE_LEADER" Cemiyet Liderine olan mesafe
286value = "border_distance_to(scope:actor)"
287multiply = -0.2
288min = -1000
}
}
291else_if = {
292limit = {
293exists = scope:actor
}
295add = {
296desc = "DISTANCE_FROM_FRANCE_LEADER" Cemiyet Liderine olan mesafe
297value = "border_distance_to(scope:actor)"
298multiply = -0.2
299min = -1000
}
301if = {
302limit = {
303country_economical_base > 0
304scope:actor.country_economical_base > 0
}
306add = {
307desc = "GREAT_POWER_RATIO" Büyük Güç Skoru Oranı
308if = {
309limit = {
310country_economical_base > scope:actor.country_economical_base
}
312value = country_economical_base
313divide = scope:actor.country_economical_base
314multiply = -5
}
316else = {
317value = scope:actor.country_economical_base
318divide = country_economical_base
}
}
}
322scope:actor = {
323add = {
324desc = "COALITION_GRADE_ANTAGONISM_TOWARDS_THEM" Actor bir koalisyon tarafından hedef alınabilir
325value = {
326every_country_with_coalition_grade_antagonism_against_us = {
327limit = {
328not = {
328is_subject_or_below_of = prev
}
}
330subtract = {
331value = military_strength
}
}
334divide = military_strength
335multiply = 10
}
}
}
}
340if = {
341limit = {
342exists = scope:actor
}
344add = {
345desc = "game_concept_antagonism" Uzlaşmazlık
346scope:actor = {
347value = prev_antagonism_towards_this
348multiply = -1
}
}
}
353if = {
354limit = {
354num_locations < 8
}
355add = {
356desc = "WE_ARE_SMALL" Küçüğüz
357value = 25
}
}
}
362ai_desire_to_allow_new_member = {
363add = {
364desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Concept büyümesini istiyoruz
365value = 20
}
}