
БедствиеИзменено в этой версии
Кастильская гражданская война
Враги неустанно ищут способы вмешаться в нашу политику, подогревая нестабильность или поддерживая претендентов на наш трон. Те, кто желает покончить с нашим правлением и вычеркнуть наше имя из исторических книг, наверняка не останутся в стороне в этот неспокойный период. Богатства Иберии всегда привлекали алчных недругов на наших границах, но мы не позволим им пировать за наш счёт!
АрагонДержаваon monthly
КастилияДержаваcan start
АнглияДержаваon monthly
ФранцияДержаваon monthly
ПортугалияДержаваon monthlyАрагонскКультураon monthlyКаталонскКультураon monthlyАнглийскКультураon monthlyФрансийскКультураon monthlyПортугальскКультураon monthly
МонархияФорма правленияcan startБастардСтатический модификаторcan start, on startМодификаторы
Определениеin_game/common/disasters/castilian_civil_war.txt:1
3image = "gfx/interface/illustrations/disaster/castilian_civil_war.dds"
7fire_only_once = yes
9can_start = {
11has_any_active_disaster = no
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
}
}
37OR = {
38legitimacy < 40
39stability < 15
}
}
46modifier = {
}
53on_start = {
54add_country_modifier = {
}
60if = {
61limit = {
62has_ruler = yes
63any_character = {
64father ?= character:cas_alfonso_xi_burgundy
65mother ?= character:cas_leonor_guzman
66OR = {
67is_eligible_heir = root
}
}
}
}
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
}
}
}
}
}
102on_end = {
103every_character = {
}
111if = {
}
115if = {
}
}
125on_monthly = {
126if = {
128hidden_effect = {
129if = {
130limit = {
}
131random = {
132chance = 5
133switch = {
134trigger = has_variable
135ccw_sided_with_legal_heir = {
136if = {
}
142else = {
143random_known_country = {
145save_scope_as = pretender_ally_nation
}
}
}
149ccw_sided_with_bastard_heir = {
150if = {
}
156else = {
157random_known_country = {
159save_scope_as = pretender_ally_nation
}
}
}
}
164if = {
165limit = {
165exists = scope:pretender_ally_nation
}
}
}
}
174if = {
175limit = {
}
176random = {
177chance = 5
178switch = {
179trigger = has_variable
180ccw_sided_with_legal_heir = {
181if = {
}
185else = {
186random_known_country = {
188save_scope_as = iberian_pretender_ally_nation
}
}
}
192ccw_sided_with_bastard_heir = {
193if = {
}
197else = {
198random_known_country = {
200save_scope_as = iberian_pretender_ally_nation
}
}
}
}
205if = {
206limit = {
206exists = scope:iberian_pretender_ally_nation
}
}
}
}
213if = {
214limit = {
}
215random = {
216chance = 5
}
}
222if = {
223limit = {
}
224random = {
225chance = 5
}
}
}
232random_list = {
23322 = {
233custom_tooltip = an_event_occurs_tt Может произойти Concept, связанное с этим Concept
}
23478 = {
234custom_tooltip = no_event_occurs_tt Никакого Concept не произойдёт
}
}
236hidden_effect = {
237random_list = {}
}
}
249else = {
251random_list = {
25214 = {
252custom_tooltip = an_event_occurs_tt Может произойти Concept, связанное с этим Concept
}
25386 = {
253custom_tooltip = no_event_occurs_tt Никакого Concept не произойдёт
}
}
255hidden_effect = {
256random_list = {
257250 = {
}
}
}
}
}



