Guerre civile Castillane
CatastropheModifié dans cette version

Guerre civile Castillane

castilian_civil_warin_game/common/disasters/castilian_civil_war.txt:1

Nos ennemis cherchent constamment des moyens d'intervenir dans notre politique, soit en nous déstabilisant, soit en soutenant des prétendants rivaux au trône. Cette période d'instabilité révélera assurément ceux qui cherchent à mettre fin à notre règne et à nous effacer des pages de l'histoire. Les richesses de l'Ibérie ont toujours attiré les regards affamés des ennemis à nos frontières, mais nous ne devons pas les laisser se repaître !

RequiertAragonPayson monthlyCastillePayscan startAngleterrePayson monthlyFrancePayson monthlyPortugalPayson monthlyAragonaisCultureon monthlyCatalanCultureon monthlyAnglaisCultureon monthlyFrancienCultureon monthlyPortugaisCultureon monthlyMonarchieType de régime politiquecan startBâtardModificateur statiquecan start, on start

Modificateurs

Définitionin_game/common/disasters/castilian_civil_war.txt:1

3image = "gfx/interface/illustrations/disaster/castilian_civil_war.dds"
5monthly_spawn_chance = monthly_spawn_chance_ultimate_high (0.5)
7fire_only_once = yes
9can_start = {
10tag = CAS
11has_any_active_disaster = no
12government_type = government_type:monarchy
13in_civil_war = no
14ruler_or_regent ?= {
15this != character:cas_alfonso_xi_burgundy
16OR = {
17this = character:cas_pedro_i_burgundy
18dynasty ?= dynasty:burgundy_castile_dynasty
}
}
21any_character = {
22NOR = {
23is_ruler = yes
24is_heir = yes
}
26father ?= character:cas_alfonso_xi_burgundy
27mother ?= character:cas_leonor_guzman
28OR = {
29is_eligible_heir = root
30AND = {
31has_character_modifier = bastard
33is_adult = yes
}
}
}
37OR = {
38legitimacy < 40
39stability < 15
}
}
43can_end = {
}
53on_start = {
54add_country_modifier = {
56years = -1
57mode = add_and_extend
}
60if = {
61limit = {
62has_ruler = yes
63any_character = {
64father ?= character:cas_alfonso_xi_burgundy
65mother ?= character:cas_leonor_guzman
66OR = {
67is_eligible_heir = root
68AND = {
69has_character_modifier = bastard
71is_adult = yes
}
}
}
}
76set_variable = ccw_ruler_target
}
78else_if = {
79limit = {
80has_regent = yes
81has_heir = yes
82heir.mother = character:cas_maria_portugal
83heir.father = character:cas_alfonso_xi_burgundy
84any_character = {
85father ?= character:cas_alfonso_xi_burgundy
86mother ?= character:cas_leonor_guzman
87OR = {
88is_eligible_heir = root
89AND = {
90has_character_modifier = bastard
92is_adult = yes
}
}
}
}
97set_variable = ccw_heir_target
}
99trigger_event_non_silently = castilian_civil_war.1
}
102on_end = {
103every_character = {
104limit = {
104has_character_modifier = plotting_rebellion_modifier
}
105remove_character_modifier = plotting_rebellion_modifier
}
107remove_country_modifier = ai_succession_disaster_targets
108remove_variable = pretender_rebel_character
110add_legitimacy = legitimacy_extreme_bonus (20)
111if = {
}
115if = {
116limit = {
116has_variable = ccw_active
}
117remove_variable = ccw_active
118trigger_event_non_silently = castilian_civil_war.100
}
120else = {
121trigger_event_non_silently = succession_crisis.100
}
}
125on_monthly = {
126if = {
127limit = {
127has_variable = ccw_active
}
128hidden_effect = {
129if = {
130limit = {
130NOT = {
130has_variable = ccw_timer
}
130NOT = {
}
}
131random = {
132chance = 5
133switch = {
134trigger = has_variable
135ccw_sided_with_legal_heir = {
136if = {
137limit = {
137country_exists = c:FRA
}
138c:FRA = {
139save_scope_as = pretender_ally_nation
}
}
142else = {
143random_known_country = {
144limit = {
144culture = culture:french
}
145save_scope_as = pretender_ally_nation
}
}
}
149ccw_sided_with_bastard_heir = {
150if = {
151limit = {
151country_exists = c:ENG
}
152c:ENG = {
153save_scope_as = pretender_ally_nation
}
}
156else = {
157random_known_country = {
158limit = {
158culture = culture:english
}
159save_scope_as = pretender_ally_nation
}
}
}
}
164if = {
165limit = {
165exists = scope:pretender_ally_nation
}
166scope:pretender_ally_nation = {
167trigger_event_silently = castilian_civil_war.1000
}
}
170set_variable = {
}
171set_variable = {
171name = ccw_timer
171value = yes
171days = 365
}
}
}
174if = {
175limit = {
175NOT = {
175has_variable = ccw_timer
}
175NOT = {
}
}
176random = {
177chance = 5
178switch = {
179trigger = has_variable
180ccw_sided_with_legal_heir = {
181if = {
182limit = {
182country_exists = c:ARA
}
183c:ARA = {
183save_scope_as = iberian_pretender_ally_nation
}
}
185else = {
186random_known_country = {
187limit = {
187OR = {
187culture = culture:catalan
187culture = culture:aragonese
}
}
188save_scope_as = iberian_pretender_ally_nation
}
}
}
192ccw_sided_with_bastard_heir = {
193if = {
194limit = {
194country_exists = c:POR
}
195c:POR = {
195save_scope_as = iberian_pretender_ally_nation
}
}
197else = {
198random_known_country = {
199limit = {
199culture = culture:portuguese
}
200save_scope_as = iberian_pretender_ally_nation
}
}
}
}
205if = {
206limit = {
206exists = scope:iberian_pretender_ally_nation
}
207scope:iberian_pretender_ally_nation = {
207trigger_event_silently = castilian_civil_war.1010
}
}
209set_variable = {
}
210set_variable = {
210name = ccw_timer
210value = yes
210days = 365
}
}
}
213if = {
214limit = {
214NOT = {
214has_variable = ccw_allies_timer
}
214NOT = {
214has_variable = ccw_had_100yw_ally_event
}
}
215random = {
216chance = 5
217trigger_event_silently = castilian_civil_war.1030
218set_variable = ccw_had_100yw_ally_event
219set_variable = {
219value = yes
219days = 365
}
}
}
222if = {
223limit = {
223NOT = {
223has_variable = ccw_allies_timer
}
223NOT = {
223has_variable = ccw_had_iberian_ally_event
}
}
224random = {
225chance = 5
226trigger_event_silently = castilian_civil_war.1050
227set_variable = ccw_had_iberian_ally_event
228set_variable = {
228value = yes
228days = 365
}
}
}
}
232random_list = {
23322 = {
233custom_tooltip = an_event_occurs_tt Un Événement lié à cette Catastrophe pourrait survenir
}
23478 = {
234custom_tooltip = no_event_occurs_tt Aucun Événement n'a lieu
}
}
236hidden_effect = {
237random_list = {}
}
}
249else = {
251random_list = {
25214 = {
252custom_tooltip = an_event_occurs_tt Un Événement lié à cette Catastrophe pourrait survenir
}
25386 = {
253custom_tooltip = no_event_occurs_tt Aucun Événement n'a lieu
}
}
255hidden_effect = {
256random_list = {
257250 = {
}
25810 = {
258trigger_event_silently = succession_crisis.2
}
25910 = {
259trigger_event_silently = succession_crisis.3
}
26010 = {
260trigger_event_silently = succession_crisis.4
}
26110 = {
261trigger_event_silently = succession_crisis.5
}
}
}
}
}
© 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