Rejoindre une ligue
ActionModifié dans cette version

Rejoindre une ligue

join_a_leaguein_game/common/generic_actions/italian_wars.txt:1

La guerre a éclaté en Italie. Nous devons préserver notre souveraineté face aux envahisseurs des ligues étrangères. Pour cela, nous devons intégrer une ligue italienne active !

RequiertRomePaysallow, potentialLigue balkaniqueOrganisation internationaleselect trigger 2Ligue françaiseOrganisation internationaleselect trigger 2Sainte ligueOrganisation internationaleselect trigger 2Ligue ibériqueOrganisation internationaleselect trigger 2Première ligue italienneOrganisation internationaleselect trigger 2Deuxième ligue italienneOrganisation internationaleselect trigger 2Troisième ligue italienneOrganisation internationaleselect trigger 2Guerres d'ItalieConjonctureselect trigger 1

Définitionin_game/common/generic_actions/italian_wars.txt:1

2type = situation
4ai_tick = monthly
5ai_tick_frequency = 1
7automation_tick = never
8automation_tick_frequency = 12
10potential = {
11scope:actor ?= {
12OR = {
13tag = PAP
14capital.region = region:italy_region
}
}
}
19allow = {
20scope:actor ?= {
21trigger_if = {
22limit = {
23NOT = {
23tag = PAP
}
}
25capital.region = region:italy_region
}
28at_war = no
29custom_tooltip = {
30text = is_not_leader_of_any_leagues_tt N'est pas un dirigeant d'une ligue
}
}
}
35price = price:join_italian_wars_price
37cooldown = {
38type = join_a_league
39years = 5
}
42select_trigger = {
43looking_for_a = situation
44interaction_source_list = {
46add_to_list = source
}
}
49target_flag = recipient
50name = "choose_situation" Sélectionner la Conjoncture :
51column = {
52data = name
}
54visible = {
56situation_is_active = yes
}
}
60select_trigger = {
61looking_for_a = international_organization
62target_flag = target
63interaction_source_list = {
64add_to_list = source
}
65add_to_list = source
}
66add_to_list = source
}
67add_to_list = source
}
68add_to_list = source
}
69add_to_list = source
}
70add_to_list = source
}
}
72name = "join_league_choose_text" Choisissez une ligue à rejoindre.
73none_available_msg_key = "join_a_league_no_ios"
74column = {
75data = name
}
77visible = {
78scope:actor ?= {
79can_join_international_organization = root
}
}
82enabled = {
83scope:actor = {
84NOT = {
84is_member_of_international_organization = scope:target
}
}
}
}
89effect = {
90if = {
91limit = {
91exists = scope:target
}
92scope:target = {
93add_country_to_international_organization = scope:actor
}
}
}
98ai_will_do = {
99add = {
100value = 5
101desc = BASE_VALUE
}
103if = {
104limit = {
104exists = scope:target
}
106if = {
116add = {
117value = -10
118desc = "FOREIGN_LEAGUE"
}
120add = {
121desc = "IW_BALANCE_OF_POWER"
122value = scope:target.total_members
123multiply = -1
}
}
128if = {
129limit = {
130scope:actor = {
130is_member_of_any_italian_wars_league = yes
}
}
132scope:actor = {
133subtract = {
134scope:league_leader_current = {
135scope:actor = {
136value = this_trust_of_prev
137multiply = 0.25
}
}
140desc = "our trust towards our leader"
}
142subtract = {
143value = 25
144multiply = "scope:actor.relative_strength(scope:league_leader_current)"
145desc = "our relative strength against our leader"
}
147add = {
148scope:league_leader_current = {
149scope:actor = {
150value = this_opinion_of_prev
151multiply = -0.15
}
}
154desc = "our opinion of our leader"
}
}
}
158scope:target.leader_country = {
158save_temporary_scope_as = league_leader_to_join
}
161add = {
162scope:league_leader_to_join = {
163scope:actor = {
164value = this_trust_of_prev
165multiply = 0.25
}
}
168desc = "target leader trust"
}
170add = {
171value = 25
172multiply = "scope:actor.relative_strength(scope:league_leader_to_join)"
173desc = "target leader relative strength"
}
175add = {
176scope:league_leader_to_join = {
177scope:actor = {
178value = this_opinion_of_prev
179multiply = 0.15
}
}
182desc = "target leader opinion"
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Tous droits réservés. Projet de fan non officiel, non affilié à Paradox Interactive. Contenu du jeu © Paradox Interactive. À propos · Confidentialité · Mentions légales