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

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

italian_league_3in_game/common/international_organizations/italian_league_3.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_3.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_3
10member_color = map_iw_italian_3_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
}
}
}
78on_creation = {
79add_to_global_variable_list = {
80name = iw_italian_leagues_list
81target = root
}
}
85on_disband = {
86remove_list_global_variable = {
86name = iw_italian_leagues_list
86target = root
}
}
89special_statuses_implemented = {
}
93payments_implemented = {
italian_league_sponsor_gold_contribution
italian_league_sponsor_manpower_contribution
}
99can_declare_war = {
100trigger_if = {
101limit = {
101scope:attacker ?= {
101is_member_of_international_organization = scope:recipient
}
}
102scope:defender ?= {
102NOT = {
102is_member_of_international_organization = scope:recipient
}
}
}
104trigger_else = {
105always = yes
}
}
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_3
}
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_1
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:italian_league_1
}
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:foreign_league_hre
}
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
}
}
}
245can_leave_trigger = {
246NOT = {
246is_leader_of_international_organization = international_organization:italian_league_3
}
247OR = {
248NOT = {
248is_subject_of = scope:recipient.leader_country
}
249AND = {
250is_subject = yes
251subject_loyalty < 50
}
}
}
256auto_leave_trigger = {
257OR = {
258is_at_war_with = scope:recipient.leader_country
259AND = {
260is_subject = yes
261exists = top_overlord
262NOT = {
263top_overlord = {
263is_member_of_international_organization = scope:recipient
}
}
}
}
}
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 = {
290is_member_of_international_organization = international_organization:foreign_league_france
}
292remove_country_from_international_organization = prev
}
}
295if = {
296limit = {
296is_member_of_international_organization = international_organization:foreign_league_iberia
}
298remove_country_from_international_organization = prev
}
}
301if = {
302limit = {
302is_member_of_international_organization = international_organization:italian_league_1
}
304remove_country_from_international_organization = prev
}
}
307if = {
308limit = {
308is_member_of_international_organization = international_organization:italian_league_2
}
310remove_country_from_international_organization = prev
}
}
313if = {
314limit = {
314is_member_of_international_organization = international_organization:foreign_league_hre
}
316remove_country_from_international_organization = prev
}
}
319if = {
320limit = {
320is_member_of_international_organization = international_organization:foreign_league_balkan
}
322remove_country_from_international_organization = prev
}
}
326every_owned_location = {
327limit = {
327region = region:italy_region
}
328root = {
329add_location_to_international_organization = prev
}
}
333add_cooldown = {
334type = join_a_league
335years = 2
}
337root = {
337add_country_to_international_organization = prev
}
}
}
}
342join_defensive_wars_auto_call = {
344scope:recipient ?= {
345OR = {
346this = root.leader_country
347at_war = no
}
349is_subject = no
350NOT = {
351has_special_status_in_international_organization = {
353international_organization = root
}
}
}
357scope:target ?= {
358NOT = {
359is_member_of_international_organization = root
}
361OR = {
362is_leader_of_international_organization = international_organization:foreign_league_france
363is_leader_of_international_organization = international_organization:foreign_league_iberia
364is_leader_of_international_organization = international_organization:foreign_league_hre
365is_leader_of_international_organization = international_organization:foreign_league_balkan
}
}
}
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 о нас
}
}