Первая итальянская лига
Международное объединениеИзменено в этой версии

Первая итальянская лига

italian_league_1in_game/common/international_organizations/italian_league_1.txt:1

Это лига, созданная в столице державы Первая итальянская лига Leader Country.Державы, составляющие лигу, поклялись защищать суверенные границы её участников и быть готовыми сопротивляться влиянию и потенциальным вторжениям иностранных держав.

ТребуетРимДержаваcan join triggerБалканская лигаМеждународное объединениеmonthly effect, on joinedФранцузская лигаМеждународное объединениеmonthly effect, on joinedИмперская лигаМеждународное объединениеmonthly effect, on joinedИберийская лигаМеждународное объединениеmonthly effect, on joinedВторая итальянская лигаМеждународное объединениеmonthly effect, on joinedТретья итальянская лигаМеждународное объединениеmonthly effect, on joined

Модификаторы

Определениеin_game/common/international_organizations/italian_league_1.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_italian_1
10member_color = map_iw_italian_1_member
12has_leader_country = yes
13leader_type = country
14disband_if_no_leader = yes
15take_over_wars_when_called = yes
16land_ownership_rule = italian_wars_land_ownership
17non_leader_modifier = {
}
21modifier = {
23scale = {
24add = {
25value = scope:recipient.total_locations_owned
26divide = 301
27desc = "IO_LOCATIONS_IN_ITALY"
}
}
}
32modifier = {
}
36modifier = {
38scale = {
39add = {
41multiply = 0.01
42desc = "[situation_tension|e]"
}
}
}
47leader_modifier = {
50scale = {
51add = {
52value = 1
53desc = BASE_VALUE Базовое значение: Валенсия
}
55add = {
57multiply = 0.01
58desc = "[situation_tension|e]"
}
}
}
63diplomatic_capacity_cost = {
64scope:recipient = {
65add = {
66desc = "UPKEEP_NUM_MEMBERS" В зависимости от числа участников
67value = total_members
68multiply = 0.1
}
70add = {
71desc = "UPKEEP_TOTAL_ECO_BASE" Общая Concept
72value = international_organization_economical_base
73multiply = 0.00025
}
}
}
79can_declare_war = {
80trigger_if = {
81limit = {
81scope:attacker ?= {
81is_member_of_international_organization = scope:recipient
}
}
82scope:defender ?= {
82NOT = {
82is_member_of_international_organization = scope:recipient
}
}
}
84trigger_else = {
85always = yes
}
}
89on_creation = {
90add_to_global_variable_list = {
91name = iw_italian_leagues_list
92target = root
}
}
96on_disband = {
97remove_list_global_variable = {
97name = iw_italian_leagues_list
97target = root
}
}
100special_statuses_implemented = {
}
104payments_implemented = {
italian_league_sponsor_gold_contribution
italian_league_sponsor_manpower_contribution
}
109has_military_access = {
110scope:recipient ?= {
111is_member_of_international_organization = root
}
113scope:actor ?= {
114is_member_of_international_organization = root
}
}
118fleet_basing_rights = {
119scope:recipient ?= {
120is_member_of_international_organization = root
}
122scope:actor ?= {
123is_member_of_international_organization = root
}
}
127gives_food_access_to_members = yes
128can_recruit_regiments_in_members = yes
129can_build_ships_in_members = yes
132leader_modifier = {
}
138create_visible_trigger = {
139always = no
}
142invite_visible_trigger = {
143always = yes
}
146can_lead_trigger = {
147is_leader_of_international_organization = international_organization:italian_league_1
}
150can_join_trigger = {
151NOR = {
152is_leader_of_international_organization = international_organization:foreign_league_france
153is_leader_of_international_organization = international_organization:foreign_league_hre
154is_leader_of_international_organization = international_organization:foreign_league_iberia
155is_leader_of_international_organization = international_organization:italian_league_3
156is_leader_of_international_organization = international_organization:italian_league_2
}
158at_war = no
159is_rebel_country = no
160religion.group = religion_group:christian
161trigger_if = {
162limit = {
163NOT = {
163tag = PAP
}
}
165capital.region = region:italy_region
166country_rank_level < 4
}
168trigger_if = {
169limit = {
169is_subject = no
}
170NOT = {
170has_cooldown = join_a_league
}
}
172trigger_else = {
173custom_tooltip = {
174text = league_subject_can_join_tt Это лояльный Concept действующего участника CL GEN
175scope:recipient ?= {
176any_international_organization_member = {
177root = {
177is_disloyal_subject = no
177is_subject_or_below_of = prev
}
}
}
}
}
}
184on_joined = {
185if = {
186limit = {
186is_member_of_international_organization = international_organization:foreign_league_balkan
}
188remove_country_from_international_organization = root
}
}
191if = {
192limit = {
192is_member_of_international_organization = international_organization:foreign_league_france
}
194remove_country_from_international_organization = root
}
}
197if = {
198limit = {
198is_member_of_international_organization = international_organization:foreign_league_iberia
}
200remove_country_from_international_organization = root
}
}
203if = {
204limit = {
204is_member_of_international_organization = international_organization:foreign_league_hre
}
206remove_country_from_international_organization = root
}
}
209if = {
210limit = {
210is_member_of_international_organization = international_organization:italian_league_2
}
212remove_country_from_international_organization = root
}
}
215if = {
216limit = {
216is_member_of_international_organization = international_organization:italian_league_3
}
218remove_country_from_international_organization = root
}
}
222every_owned_location = {
223limit = {
223region = region:italy_region
}
224scope:recipient = {
225add_location_to_international_organization = prev
}
}
229add_cooldown = {
230type = join_a_league
231years = 2
}
}
235on_left = {
236every_owned_location = {
237limit = {
237region = region:italy_region
}
238scope:recipient = {
239remove_location_from_international_organization = prev
}
}
}
244can_leave_trigger = {
245NOT = {
245is_leader_of_international_organization = international_organization:italian_league_1
}
246OR = {
247NOT = {
247is_subject_of = scope:recipient.leader_country
}
248AND = {
249is_subject = yes
250subject_loyalty < 50
}
}
}
255auto_leave_trigger = {
256OR = {
257is_at_war_with = scope:recipient.leader_country
258AND = {
259is_subject = yes
260exists = top_overlord
261NOT = {
262top_overlord = {
262is_member_of_international_organization = scope:recipient
}
}
}
}
}
268join_defensive_wars_auto_call = {
270scope:recipient ?= {
271OR = {
272this = root.leader_country
273at_war = no
}
275is_subject = no
276NOT = {
277has_special_status_in_international_organization = {
279international_organization = root
}
}
}
283scope:target ?= {
284NOT = {
285is_member_of_international_organization = root
}
287OR = {
288is_leader_of_international_organization = international_organization:foreign_league_france
289is_leader_of_international_organization = international_organization:foreign_league_iberia
290is_leader_of_international_organization = international_organization:foreign_league_hre
291is_leader_of_international_organization = international_organization:foreign_league_balkan
}
}
}
296auto_disband_trigger = {
297total_members < 1
}
299disband_minimum_member_count = 0
301monthly_effect = {
302every_international_organization_member = {
303limit = {
304any_subject = {
305NOT = {
305is_member_of_international_organization = root
}
306can_join_international_organization = root
307subject_loyalty >= 50
}
}
310every_subject = {
311limit = {
312NOT = {
312is_member_of_international_organization = root
}
313can_join_international_organization = root
314subject_loyalty >= 50
}
316if = {
317limit = {
317is_member_of_international_organization = international_organization:foreign_league_france
}
319remove_country_from_international_organization = prev
}
}
322if = {
323limit = {
323is_member_of_international_organization = international_organization:foreign_league_iberia
}
325remove_country_from_international_organization = prev
}
}
328if = {
329limit = {
329is_member_of_international_organization = international_organization:foreign_league_hre
}
331remove_country_from_international_organization = prev
}
}
334if = {
335limit = {
335is_member_of_international_organization = international_organization:italian_league_2
}
337remove_country_from_international_organization = prev
}
}
340if = {
341limit = {
341is_member_of_international_organization = international_organization:italian_league_3
}
343remove_country_from_international_organization = prev
}
}
346if = {
347limit = {
347is_member_of_international_organization = international_organization:foreign_league_balkan
}
349remove_country_from_international_organization = prev
}
}
353every_owned_location = {
354limit = {
354region = region:italy_region
}
355root = {
356add_location_to_international_organization = prev
}
}
360add_cooldown = {
361type = join_a_league
362years = 2
}
364root = {
364add_country_to_international_organization = prev
}
}
}
}
370ai_desire_to_join = {
371add = {
372value = 5
373desc = BASE_VALUE Базовое значение: Валенсия
}
378if = {
379limit = {
}
382subtract = {
383scope:league_leader_current = {
384root = {
385value = this_trust_of_prev
386multiply = 0.25
}
}
389desc = "LEAGUE_LEADER_CURRENT_TRUST" Их Concept к CL DAT
}
391subtract = {
392value = 25
393multiply = "root.relative_strength(scope:league_leader_current)"
394desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Concept относительно мощи CL GEN
}
396add = {
397scope:league_leader_current = {
398root = {
399value = this_opinion_of_prev
400multiply = -0.15
}
}
403desc = "LEAGUE_LEADER_CURRENT_OPINION" Их Concept Predlog Obo CL PREP
}
}
408add = {
409scope:actor = {
410root = {
411value = this_trust_of_prev
412multiply = 0.25
}
}
415desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
417subtract = {
418value = 25
419multiply = "root.relative_strength(scope:actor)"
420desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
422add = {
423scope:actor = {
424root = {
425value = this_opinion_of_prev
426multiply = 0.15
}
}
429desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
}
434ai_desire_to_allow_new_member = {
435leader_country = {
435save_temporary_scope_as = target_country
}
436add = {
437desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Мы хотим развивать Concept
438value = 10
}
440subtract = {
441desc = "CONQUEST_DESIRE_ON_US" Желание завоевать нас
442value = "scope:target_country.conquer_desire(scope:actor)"
}
444add = {
445scope:actor = {
446scope:target_country = {
447value = this_trust_of_prev
448multiply = 0.25
}
}
451desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
453subtract = {
454value = 25
455multiply = "scope:target_country.relative_strength(scope:actor)"
456desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
458add = {
459scope:actor = {
460scope:target_country = {
461value = this_opinion_of_prev
462multiply = 0.15
}
}
465desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
}