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

Французская лига

foreign_league_francein_game/common/international_organizations/foreign_league_france.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/foreign_league_france.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_france
10member_color = map_iw_france_member
11secondary_map_color_override = {
13if = {
14limit = {
15root.owner ?= scope:recipient.leader_country
}
17value = map_iw_france
}
}
21has_leader_country = yes
22leader_type = country
23disband_if_no_leader = yes
24land_ownership_rule = italian_wars_land_ownership
25non_leader_modifier = {
}
29modifier = {
}
31modifier = {
}
36modifier = {
39scale = {
40add = {
42multiply = 0.01
43desc = "[situation_tension|e]"
}
}
}
48leader_modifier = {
52scale = {
53add = {
54value = 1
55desc = BASE_VALUE Базовое значение: Валенсия
}
57add = {
59multiply = 0.01
60desc = "[situation_tension|e]"
}
}
}
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
}
}
}
80create_visible_trigger = {
81always = no
}
84invite_visible_trigger = {
85always = yes
}
88on_creation = {
89add_to_global_variable_list = {
90name = iw_foreign_leagues_list
91target = root
}
}
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 = {
144is_leader_of_international_organization = international_organization:italian_league_1
145is_leader_of_international_organization = international_organization:foreign_league_hre
146is_leader_of_international_organization = international_organization:foreign_league_iberia
147is_leader_of_international_organization = international_organization:italian_league_3
148is_leader_of_international_organization = international_organization:italian_league_2
149is_leader_of_international_organization = international_organization:foreign_league_balkan
}
151at_war = no
152is_rebel_country = no
153religion.group = religion_group:christian
154trigger_if = {
155limit = {
156NOT = {
156tag = PAP
}
}
158capital.region = region:italy_region
159country_rank_level < 4
}
161trigger_if = {
162limit = {
162is_subject = no
}
163NOT = {
163has_cooldown = join_a_league
}
}
165trigger_else = {
166custom_tooltip = {
167text = league_subject_can_join_tt Это лояльный Concept действующего участника CL GEN
168scope:recipient ?= {
169any_international_organization_member = {
170root = {
170is_disloyal_subject = no
170is_subject_or_below_of = prev
}
}
}
}
}
}
177on_joined = {
178if = {
179limit = {
179is_member_of_international_organization = international_organization:foreign_league_balkan
}
181remove_country_from_international_organization = root
}
}
184if = {
185limit = {
185is_member_of_international_organization = international_organization:foreign_league_hre
}
187remove_country_from_international_organization = root
}
}
190if = {
191limit = {
191is_member_of_international_organization = international_organization:foreign_league_iberia
}
193remove_country_from_international_organization = root
}
}
196if = {
197limit = {
197is_member_of_international_organization = international_organization:italian_league_1
}
199remove_country_from_international_organization = root
}
}
202if = {
203limit = {
203is_member_of_international_organization = international_organization:italian_league_2
}
205remove_country_from_international_organization = root
}
}
208if = {
209limit = {
209is_member_of_international_organization = international_organization:italian_league_3
}
211remove_country_from_international_organization = root
}
}
215every_owned_location = {
216limit = {
216region = region:italy_region
}
217scope:recipient = {
218add_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 = {
290is_member_of_international_organization = international_organization:foreign_league_hre
}
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:italian_league_3
}
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
}
}
332add_cooldown = {
333type = join_a_league
334years = 2
}
336root = {
336add_country_to_international_organization = prev
}
}
}
}
341ai_desire_to_join = {
342add = {
343value = 5
344desc = BASE_VALUE Базовое значение: Валенсия
}
349if = {
350limit = {
}
353subtract = {
354scope:league_leader_current = {
355root = {
356value = this_trust_of_prev
357multiply = 0.25
}
}
360desc = "LEAGUE_LEADER_CURRENT_TRUST" Их Concept к CL DAT
}
362subtract = {
363value = 25
364multiply = "root.relative_strength(scope:league_leader_current)"
365desc = "RELATIVE_STRENGTH_LEAGUE_LEADER_CURRENT" Concept относительно мощи CL GEN
}
367add = {
368scope:league_leader_current = {
369root = {
370value = this_opinion_of_prev
371multiply = -0.15
}
}
374desc = "LEAGUE_LEADER_CURRENT_OPINION" Их Concept Predlog Obo CL PREP
}
}
379add = {
380scope:actor = {
381root = {
382value = this_trust_of_prev
383multiply = 0.25
}
}
386desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
388subtract = {
389value = 25
390multiply = "root.relative_strength(scope:actor)"
391desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
393add = {
394scope:actor = {
395root = {
396value = this_opinion_of_prev
397multiply = 0.15
}
}
400desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
405add = {
406value = -10
407desc = "FOREIGN_LEAGUE" Наша лига — иностранная
}
409add = {
410desc = "IW_BALANCE_OF_POWER" Размер иностранной лиги
411value = scope:recipient.total_members
412multiply = -1
}
}
417ai_desire_to_allow_new_member = {
418leader_country = {
418save_temporary_scope_as = target_country
}
419add = {
420desc = "WE_WANT_THE_ORGANIZATION_TO_GROW" Мы хотим развивать Concept
421value = 10
}
423subtract = {
424desc = "CONQUEST_DESIRE_ON_US" Желание завоевать нас
425value = "scope:target_country.conquer_desire(scope:actor)"
}
427add = {
428scope:actor = {
429scope:target_country = {
430value = this_trust_of_prev
431multiply = 0.25
}
}
434desc = "TARGET_LEADER_TRUST" Их Concept к нам
}
436subtract = {
437value = 25
438multiply = "scope:target_country.relative_strength(scope:actor)"
439desc = "TARGET_LEADER_RELATIVE_STRENGTH" Concept относительно нашей
}
441add = {
442scope:actor = {
443scope:target_country = {
444value = this_opinion_of_prev
445multiply = 0.15
}
}
448desc = "TARGET_LEADER_OPINION" Их Concept о нас
}
}