
Международное объединениеИзменено в этой версии
Иберийская лига
Это лига, созданная в столице державы Иберийская лига Leader Country. Главное устремление этих выходцев из Западной Европы — завоевание полуострова и покорение Итальянского народа.
РимДержаваcan join trigger
Балканская лигаМеждународное объединениеon joined
Французская лигаМеждународное объединениеmonthly effect, on joined
Имперская лигаМеждународное объединениеmonthly effect, on joined
Первая итальянская лигаМеждународное объединениеmonthly effect, on joined
Вторая итальянская лигаМеждународное объединениеmonthly effect, on joined
Третья итальянская лигаМеждународное объединениеmonthly effect, on joinedМодификаторы
Non leader modifier
Modifier 1
Modifier 2
Modifier 3
Leader modifier 1
Leader modifier 2
Определениеin_game/common/international_organizations/foreign_league_iberia.txt:1
2has_target = no
3unique = 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 = no
9leader_color = map_iw_iberia
10member_color = map_iw_iberia_member
11secondary_map_color_override = {
13if = {
14limit = {
15root.owner ?= scope:recipient.leader_country
}
17value = map_iw_iberia
}
}
21has_leader_country = yes
22leader_type = country
23disband_if_no_leader = yes
36modifier = {
39scale = {
40add = {
}
}
}
48leader_modifier = {
52scale = {
53add = {
54value = 1
55desc = BASE_VALUE Базовое значение: Валенсия
}
57add = {
}
}
}
65diplomatic_capacity_cost = {
66scope:recipient = {
67add = {
68desc = "UPKEEP_NUM_MEMBERS" В зависимости от числа участников
69value = total_members
70multiply = 0.33
}
72add = {
73desc = "UPKEEP_TOTAL_ECO_BASE" Общая Concept
74value = international_organization_economical_base
75multiply = 0.0005
}
}
}
80on_creation = {
81add_to_global_variable_list = {
82name = iw_foreign_leagues_list
83target = root
}
}
87create_visible_trigger = {
88always = no
}
91invite_visible_trigger = {
92always = yes
}
95on_disband = {
96remove_list_global_variable = {
96name = iw_foreign_leagues_list
96target = root
}
97leader_country ?= {
98remove_area_preference = foreign_league_italy_conquest
}
}
103can_declare_war = {
104trigger_if = {
105limit = {
105scope:attacker ?= {
105is_member_of_international_organization = scope:recipient
}
}
106scope:defender ?= {
106NOT = {
106is_member_of_international_organization = scope:recipient
}
}
}
108trigger_else = {
109always = yes
}
}
113has_military_access = {
114scope:recipient ?= {
115is_member_of_international_organization = root
}
117scope:actor ?= {
118is_member_of_international_organization = root
}
}
122fleet_basing_rights = {
123scope:recipient ?= {
124is_member_of_international_organization = root
}
126scope:actor ?= {
127is_member_of_international_organization = root
}
}
131gives_food_access_to_members = yes
132can_recruit_regiments_in_members = yes
133can_build_ships_in_members = yes
136leader_modifier = {
}
142can_join_trigger = {
143NOR = {
}
150at_war = no
151is_rebel_country = no
153trigger_if = {
157capital.region = region:italy_region
158country_rank_level < 4
}
160trigger_if = {
161limit = {
161is_subject = no
}
162NOT = {
162has_cooldown = join_a_league
}
}
164trigger_else = {
165custom_tooltip = {
166text = league_subject_can_join_tt Это лояльный Concept действующего участника CL GEN
167scope:recipient ?= {
168any_international_organization_member = {
169root = {
169is_disloyal_subject = no
169is_subject_or_below_of = prev
}
}
}
}
}
}
176on_joined = {
177if = {
178limit = {
}
180remove_country_from_international_organization = root
}
}
183if = {
184limit = {
}
186remove_country_from_international_organization = root
}
}
189if = {
190limit = {
}
192remove_country_from_international_organization = root
}
}
195if = {
196limit = {
}
198remove_country_from_international_organization = root
}
}
201if = {
202limit = {
}
204remove_country_from_international_organization = root
}
}
207if = {
208limit = {
}
210remove_country_from_international_organization = root
}
}
214every_owned_location = {
215limit = {
215region = region:italy_region
}
216scope:recipient = {
217add_location_to_international_organization = prev
}
}
221add_cooldown = {
222type = join_a_league
223years = 2
}
}
227on_left = {
228every_owned_location = {
229limit = {
229region = region:italy_region
}
230scope:recipient = {
231remove_location_from_international_organization = prev
}
}
}
237can_leave_trigger = {
238NOT = {
238root = scope:recipient.leader_country
}
239OR = {
240NOT = {
240is_subject_of = scope:recipient.leader_country
}
241AND = {
242is_subject = yes
243subject_loyalty < 50
}
}
}
248auto_leave_trigger = {
249OR = {
250is_at_war_with = scope:recipient.leader_country
251AND = {
252is_subject = yes
253exists = top_overlord
254NOT = {
255top_overlord = {
255is_member_of_international_organization = scope:recipient
}
}
}
}
}
261join_offensive_wars_auto_call = {
263scope:recipient ?= {
264at_war = no
265is_subject = no
}
}
269auto_disband_trigger = {
270total_members < 1
}
272disband_minimum_member_count = 0
274monthly_effect = {
275every_international_organization_member = {
276limit = {
277any_subject = {
278NOT = {
278is_member_of_international_organization = root
}
279can_join_international_organization = root
280subject_loyalty >= 50
}
}
283every_subject = {
284limit = {
285NOT = {
285is_member_of_international_organization = root
}
286can_join_international_organization = root
287subject_loyalty >= 50
}
289if = {
290limit = {
}
292remove_country_from_international_organization = prev
}
}
295if = {
296limit = {
}
298remove_country_from_international_organization = prev
}
}
301if = {
302limit = {
}
304remove_country_from_international_organization = prev
}
}
307if = {
308limit = {
}
310remove_country_from_international_organization = prev
}
}
313if = {
314limit = {
}
316remove_country_from_international_organization = prev
}
}
320every_owned_location = {
321limit = {
321region = region:italy_region
}
322root = {
323add_location_to_international_organization = prev
}
}
327add_cooldown = {
328type = join_a_league
329years = 2
}
331root = {
331add_country_to_international_organization = prev
}
}
}
}
336ai_desire_to_join = {
337add = {
338value = 5
339desc = BASE_VALUE Базовое значение: Валенсия
}
344if = {
348subtract = {
349scope:league_leader_current = {
350root = {
351value = this_trust_of_prev
352multiply = 0.25
}
}
355desc = "LEAGUE_LEADER_CURRENT_TRUST" Их Concept к CL DAT
}
357subtract = {
358value = 25
359multiply = "root.relative_strength(scope:league_leader_current)"
360desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Concept относительно мощи CL GEN
}
362add = {
363scope:league_leader_current = {
364root = {
365value = this_opinion_of_prev
366multiply = -0.15
}
}
369desc = "LEAGUE_LEADER_CURRENT_OPINION" Их Concept Predlog Obo CL PREP
}
}
374add = {
375scope:actor = {
376root = {
377value = this_trust_of_prev
378multiply = 0.25
}
}
381desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
383subtract = {
384value = 25
385multiply = "root.relative_strength(scope:actor)"
386desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
388add = {
389scope:actor = {
390root = {
391value = this_opinion_of_prev
392multiply = 0.15
}
}
395desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
400add = {
401value = -10
402desc = "FOREIGN_LEAGUE" Наша лига — иностранная
}
404add = {
405desc = "IW_BALANCE_OF_POWER" Размер иностранной лиги
406value = scope:recipient.total_members
407multiply = -1
}
}
412ai_desire_to_allow_new_member = {
413leader_country = {
413save_temporary_scope_as = target_country
}
414add = {
415desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Мы хотим развивать Concept
416value = 10
}
418subtract = {
419desc = "CONQUEST_DESIRE_ON_US" Желание завоевать нас
420value = "scope:target_country.conquer_desire(scope:actor)"
}
422add = {
423scope:actor = {
424scope:target_country = {
425value = this_trust_of_prev
426multiply = 0.25
}
}
429desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
431subtract = {
432value = 25
433multiply = "scope:target_country.relative_strength(scope:actor)"
434desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
436add = {
437scope:actor = {
438scope:target_country = {
439value = this_opinion_of_prev
440multiply = 0.15
}
}
443desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
}









