
Международное объединениеИзменено в этой версии
Имперская лига
Это лига, созданная в столице державы Имперская лига 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_hre.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_hre
10member_color = map_iw_hre_member
11secondary_map_color_override = {
13if = {
14limit = {
15root.owner ?= scope:recipient.leader_country
}
17value = map_iw_hre
}
}
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
}
}
87on_disband = {
88remove_list_global_variable = {
88name = iw_foreign_leagues_list
88target = root
}
89leader_country ?= {
90remove_area_preference = foreign_league_italy_conquest
}
}
95can_declare_war = {
96trigger_if = {
97limit = {
97scope:attacker ?= {
97is_member_of_international_organization = scope:recipient
}
}
98scope:defender ?= {
98NOT = {
98is_member_of_international_organization = scope:recipient
}
}
}
100trigger_else = {
101always = yes
}
}
105has_military_access = {
106scope:recipient ?= {
107is_member_of_international_organization = root
}
109scope:actor ?= {
110is_member_of_international_organization = root
}
}
114fleet_basing_rights = {
115scope:recipient ?= {
116is_member_of_international_organization = root
}
118scope:actor ?= {
119is_member_of_international_organization = root
}
}
123gives_food_access_to_members = yes
124can_recruit_regiments_in_members = yes
125can_build_ships_in_members = yes
128leader_modifier = {
}
134create_visible_trigger = {
135always = no
}
138invite_visible_trigger = {
139always = yes
}
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
}
}
220add_cooldown = {
221type = join_a_league
222years = 2
}
}
226on_left = {
227every_owned_location = {
228limit = {
228region = region:italy_region
}
229scope:recipient = {
230remove_location_from_international_organization = prev
}
}
}
236can_leave_trigger = {
237NOT = {
237root = scope:recipient.leader_country
}
238OR = {
239NOT = {
239is_subject_of = scope:recipient.leader_country
}
240AND = {
241is_subject = yes
242subject_loyalty < 50
}
}
}
247auto_leave_trigger = {
248OR = {
249is_at_war_with = scope:recipient.leader_country
250AND = {
251is_subject = yes
252exists = top_overlord
253NOT = {
254top_overlord = {
254is_member_of_international_organization = scope:recipient
}
}
}
}
}
260join_offensive_wars_auto_call = {
262scope:recipient ?= {
263at_war = no
264is_subject = no
}
}
268auto_disband_trigger = {
269total_members < 1
}
271disband_minimum_member_count = 0
273monthly_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
}
}
326add_cooldown = {
327type = join_a_league
328years = 2
}
330root = {
330add_country_to_international_organization = prev
}
}
}
}
335ai_desire_to_join = {
336add = {
337value = 5
338desc = BASE_VALUE Базовое значение: Валенсия
}
343if = {
347subtract = {
348scope:league_leader_current = {
349root = {
350value = this_trust_of_prev
351multiply = 0.25
}
}
354desc = "LEAGUE_LEADER_CURRENT_TRUST" Их Concept к CL DAT
}
356subtract = {
357value = 25
358multiply = "root.relative_strength(scope:league_leader_current)"
359desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Concept относительно мощи CL GEN
}
361add = {
362scope:league_leader_current = {
363root = {
364value = this_opinion_of_prev
365multiply = -0.15
}
}
368desc = "LEAGUE_LEADER_CURRENT_OPINION" Их Concept Predlog Obo CL PREP
}
}
373add = {
374scope:actor = {
375root = {
376value = this_trust_of_prev
377multiply = 0.25
}
}
380desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
382subtract = {
383value = 25
384multiply = "root.relative_strength(scope:actor)"
385desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
387add = {
388scope:actor = {
389root = {
390value = this_opinion_of_prev
391multiply = 0.15
}
}
394desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
399add = {
400value = -10
401desc = "FOREIGN_LEAGUE" Наша лига — иностранная
}
403add = {
404desc = "IW_BALANCE_OF_POWER" Размер иностранной лиги
405value = scope:recipient.total_members
406multiply = -1
}
}
411ai_desire_to_allow_new_member = {
412leader_country = {
412save_temporary_scope_as = target_country
}
413add = {
414desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Мы хотим развивать Concept
415value = 10
}
417subtract = {
418desc = "CONQUEST_DESIRE_ON_US" Желание завоевать нас
419value = "scope:target_country.conquer_desire(scope:actor)"
}
421add = {
422scope:actor = {
423scope:target_country = {
424value = this_trust_of_prev
425multiply = 0.25
}
}
428desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
430subtract = {
431value = 25
432multiply = "scope:target_country.relative_strength(scope:actor)"
433desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
435add = {
436scope:actor = {
437scope:target_country = {
438value = this_opinion_of_prev
439multiply = 0.15
}
}
442desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
}









