
灾难本版本变更
卡斯蒂利亚内战
我们的敌人始终在寻找干预我国政局的手段,无论是煽动动荡,还是支持觊觎王位的僭越者。伊比利亚半岛的富饶始终吸引着境外敌人贪婪的目光,但我们决不能让他们得逞!在这段动荡时期,那些企图终结我们统治、将我们从史册中抹去的人必将原形毕露。
阿拉贡国家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 将触发一项与灾难相关的事件
}
23478 = {
234custom_tooltip = no_event_occurs_tt 无事件发生
}
}
236hidden_effect = {
237random_list = {}
}
}
249else = {
251random_list = {
25214 = {
252custom_tooltip = an_event_occurs_tt 将触发一项与灾难相关的事件
}
25386 = {
253custom_tooltip = no_event_occurs_tt 无事件发生
}
}
255hidden_effect = {
256random_list = {
257250 = {
}
}
}
}
}



