Imposer un changement de faction
Traité de paixModifié dans cette version

Imposer un changement de faction

peace_gag_force_faction_changein_game/common/peace_treaties/guelphs_and_ghibellines.txt:1

TARGET COUNTRY change leur allégeance à GAGOwn Faction, et est contraint de rejoindre notre cause.

RequiertRomePaysallowGibelinsOrganisation internationaleallowGuelfesOrganisation internationaleallowSaint-Empire romain germaniqueOrganisation internationaleallowSoutient les guelfesModificateur statiqueeffect

Définitionin_game/common/peace_treaties/guelphs_and_ghibellines.txt:1

2blocks_full_annexation = yes
3cost = {
4add = {
5desc = "DIPLOREASON_BASE" Base
6value = 5
}
8add = {
9desc = "game_concept_prestige" Prestige
10value = scope:loser.prestige
11multiply = 0.5
}
}
15potential = {
16scope:war = {
17or = {
18has_casus_belli = no
19casus_belli = {
20is_trade_cb = no
}
}
}
24OR = {
25AND = {
26scope:winner = {
26is_member_of_international_organization_of_type = {
26type = guelphs_io
}
}
27scope:loser = {
28NOT = {
29is_member_of_international_organization_of_type = {
29type = guelphs_io
}
}
}
}
33AND = {
34scope:winner = {
34is_member_of_international_organization_of_type = {
34type = ghibellines_io
}
}
35scope:loser = {
36NOT = {
36is_member_of_international_organization_of_type = {
36type = ghibellines_io
}
}
}
}
}
}
40allow = {
41scope:loser = {
42NOR = {
43this = c:PAP
44is_leader_of_international_organization = international_organization:hre
}
}
47trigger_if = {
48limit = {
49scope:winner = {
49is_member_of_international_organization_of_type = {
49type = guelphs_io
}
}
50scope:loser = {
51NOR = {
52is_member_of_international_organization_of_type = {
52type = ghibellines_io
}
53this = c:PAP
54is_leader_of_international_organization = international_organization:hre
}
}
}
58scope:loser = {
58can_join_international_organization = international_organization:guelphs_io
}
}
60trigger_if = {
61limit = {
62scope:winner = {
62is_member_of_international_organization_of_type = {
62type = ghibellines_io
}
}
63scope:loser = {
63NOT = {
63is_member_of_international_organization_of_type = {
63type = guelphs_io
}
}
}
}
65scope:loser = {
65can_join_international_organization = international_organization:ghibellines_io
}
}
}
68effect = {
69hidden_effect = {
70if = {
71limit = {
71scope:loser = {
71is_member_of_international_organization_of_type = {
71type = guelphs_io
}
}
}
73target = scope:loser
74international_organization = international_organization:guelphs_io
75leave_variable = gag_recently_left_a_faction
76leave_years = 2
}
}
80if = {
81limit = {
81scope:loser = {
81is_member_of_international_organization_of_type = {
81type = ghibellines_io
}
}
}
83target = scope:loser
84international_organization = international_organization:ghibellines_io
85leave_variable = gag_recently_left_a_faction
86leave_years = 2
}
}
}
91if = {
92limit = {
92scope:winner = {
92is_member_of_international_organization_of_type = {
92type = guelphs_io
}
}
}
94target = scope:loser
95international_organization = international_organization:guelphs_io
97join_years = 5
98leave_variable = gag_recently_left_a_faction
}
101change_variable = {
103add = 0.005
}
}
}
107if = {
108limit = {
108scope:winner = {
108is_member_of_international_organization_of_type = {
108type = ghibellines_io
}
}
}
110target = scope:loser
111international_organization = international_organization:ghibellines_io
113join_years = 5
114leave_variable = gag_recently_left_a_faction
}
117change_variable = {
119add = 0.005
}
}
}
123if = {
124limit = {
125scope:loser = {
126ruler ?= {
127has_character_modifier = guelphs_support_imperial_rivals_modifier
}
}
}
131scope:loser.ruler = {
132remove_character_modifier = guelphs_support_imperial_rivals_modifier
}
}
135scope:winner = {
136add_prestige = {
137value = scope:loser.prestige
138multiply = 0.05
}
}
141scope:loser = {
142add_prestige = prestige_weak_penalty (-5)
143set_variable = {
145value = scope:recipient
146years = 5
}
148set_variable = {
150value = scope:recipient
151years = 10
}
}
}
155ai_desire = {
156add = 10
157if = {
158limit = {
159scope:winner = {
160is_rival_of = scope:loser
}
}
163add = {
164desc = "game_concept_rival"
165value = 10
}
}
168if = {
169limit = {
170scope:winner.prestige < scope:loser.prestige
}
172add = {
173desc = "DIPLOREASON_LOWER_PRESTIGE"
174value = scope:loser.prestige
175subtract = scope:winner.prestige
}
}
}
179ai_force_add = yes
© 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