Столетняя война
Ситуация

Столетняя война

hundred_years_warin_game/common/situations/hundred_years_war.txt:1

После смерти последнего прямого наследника Французского престола в державе наступило безвластие, и Франция погрузилась в смуту. Хрупкий мир между CL INST и CL INST быстро обернулся конфликтом притязаний, который подогревается старыми разногласиями по поводу территорий и прав феодалов. Обе державы владеют землями во Франции, и возникшее на этой почве противостояние грозит подорвать единство всего христианского мира. Споры о престолонаследии переросли в долгую борьбу за превосходство, и нет сомнений, что шрамы от неё зарастут ещё не скоро.

ТребуетАнглияДержаваcan start, on ended, on monthly, on startФранцияДержаваcan start, on ended, on monthly, on startСтарший партнёрОсобый статусon endedОпределение старшинстваПолитикаon endedfrance_no_robert_interestПеременнаяcan startrobert_the_fugitive_flagПеременнаяcan start

Определениеin_game/common/situations/hundred_years_war.txt:1

2monthly_spawn_chance = monthly_spawn_chance_unique (1)
3hint_tag = hint_hundred_years_war
5can_start = {
6country_exists = c:FRA
7country_exists = c:ENG
8current_date > 1337.5.1
10c:FRA = {
11has_ruler = yes
}
13c:ENG = {
14has_ruler = yes
}
17custom_tooltip = {
18text = matter_of_robert_is_settled_tt Улажен вопрос, касающийся беглеца по имени Роберт
19OR = {
20c:ENG = {
21OR = {
22has_variable = robert_the_fugitive_flag
23has_variable = france_no_robert_interest
}
}
26character:eng_robert_iii_artois = {
26is_alive = no
}
}
}
}
35visible = {
36capital ?= {
36sub_continent = sub_continent:western_europe
}
}
40on_start = {
41every_country = {
42limit = {
43NOT = {
43tag = ENG
}
44NOT = {
44tag = FRA
}
45exists = capital
46capital.sub_continent = sub_continent:western_europe
}
49trigger_event_non_silently = hundred_years_war.1
}
51c:ENG = {
52trigger_event_non_silently = hundred_years_war.2
53add_country_modifier = {
53years = -1
53mode = add
}
55modifier = opinion_hyw_enemies
56target = c:FRA
}
}
59c:FRA = {
60trigger_event_non_silently = hundred_years_war.3
61add_country_modifier = {
61years = -1
61mode = add
}
}
}
65on_monthly = {
66random_list = {
671 = {
67c:ENG = {
67trigger_event_non_silently = hundred_years_war.211
}
}
681 = {
68c:FRA = {
68trigger_event_non_silently = hundred_years_war.211
}
}
6999 = {
}
}
71custom_tooltip = {
72text = hundred_years_war_monthly При заключённом Concept возможно возобновление конфликта.
73random_list = {
7620 = {
77trigger = {
78c:ENG ?= {
79NOT = {
79has_casus_belli_on = c:FRA
}
80NOT = {
80has_truce_with = c:FRA
}
81NOT = {
81is_at_war_with = c:FRA
}
82has_ruler = yes
}
}
85c:ENG = {
85trigger_event_non_silently = hundred_years_war.10
}
}
8920 = {
90trigger = {
91c:FRA ?= {
92NOT = {
92has_casus_belli_on = c:ENG
}
93NOT = {
93has_truce_with = c:ENG
}
94NOT = {
94is_at_war_with = c:ENG
}
95has_ruler = yes
}
}
98c:FRA = {
98trigger_event_non_silently = hundred_years_war.11
}
}
10320 = {
104trigger = {
105c:ENG ?= {}
}
118c:ENG = {
118trigger_event_non_silently = hundred_years_war.20
}
}
12220 = {
123trigger = {
124c:FRA ?= {}
}
137c:FRA = {
137trigger_event_non_silently = hundred_years_war.21
}
}
139200 = {
}
}
}
}
146on_ended = {
147c:ENG = {
148remove_country_modifier = hundred_years_war_impact
150modifier = opinion_hyw_enemies
151target = c:FRA
}
153remove_casus_belli = {
}
}
158c:FRA = {
159remove_country_modifier = hundred_years_war_impact
160remove_casus_belli = {
}
}
167if = {
168limit = {
169OR = {
170c:FRA = {
170is_subject_or_below_of = c:ENG
}
171NOT = {
171country_exists = c:FRA
}
172c:ENG = {
173in_union_with = c:FRA
174union ?= {
175international_organization_has_policy = policy:union_establish_seniority_policy
176country_has_special_status = {
178country = c:ENG
}
}
}
182region:france_region = {
183any_ownable_location_in_region = {
184owner = {
185top_overlord_or_this ?= c:ENG
}
187count > 130
}
}
}
}
192every_country = {
193limit = {
194capital.sub_continent = sub_continent:western_europe
}
196trigger_event_non_silently = hundred_years_war.100
}
}
199else_if = {
200limit = {
201OR = {
202NOT = {
202country_exists = c:ENG
}
203AND = {
204region:france_region = {
205any_ownable_location_in_region = {
206owner = {
207top_overlord_or_this ?= c:ENG
}
209count < 4
}
}
212region:france_region = {
213any_ownable_location_in_region = {
214owner = {
215this = c:FRA
}
217count > 200
}
}
}
}
}
223every_country = {
224limit = {
225NOT = {
225tag = FRA
}
226capital.sub_continent = sub_continent:western_europe
}
228trigger_event_non_silently = hundred_years_war.101
}
230c:FRA = {
230trigger_event_non_silently = flavor_fra.26
}
}
232else = {
233every_country = {
234limit = {
234can_see_situation = situation:hundred_years_war
}
235trigger_event_non_silently = hundred_years_war.1537
}
}
}
241tooltip = {
242if = {
243limit = {
243owner ?= c:FRA
}
244custom_tooltip = this_is_france_tt
}
246else_if = {
247limit = {
247owner ?= c:ENG
}
248custom_tooltip = this_is_england_tt
}
250else_if = {
251limit = {
252owner ?= {
253AND = {
254is_subject_or_below_of = c:FRA
255subject_loyalty >= 50
}
}
}
259custom_tooltip = loyal_member_of_the_french_side_tt
}
261else_if = {
262limit = {
263owner ?= {
264AND = {
265is_subject_or_below_of = c:FRA
266is_disloyal_subject = yes
}
}
}
270custom_tooltip = disloyal_member_of_the_french_side_tt
}
272else_if = {
273limit = {
274owner ?= {
275AND = {
276is_subject_or_below_of = c:ENG
277subject_loyalty >= 50
}
}
}
281custom_tooltip = loyal_member_of_the_english_side_tt
}
283else_if = {
284limit = {
285owner ?= {
286AND = {
287is_subject_or_below_of = c:ENG
288is_disloyal_subject = yes
}
}
}
292custom_tooltip = disloyal_member_of_the_english_side_tt
}
294else_if = {
295limit = {
296owner ?= {
297is_allied_with = {
297target = c:FRA
}
298NOT = {
298is_allied_with = {
298target = c:ENG
}
}
}
}
301custom_tooltip = this_is_ally_of_france_tt
}
303else_if = {
304limit = {
305owner ?= {
306is_allied_with = {
306target = c:ENG
}
307NOT = {
307is_allied_with = {
307target = c:FRA
}
}
}
}
310custom_tooltip = this_is_ally_of_england_tt
}
312else_if = {
313limit = {
314owner ?= {
315is_allied_with = {
315target = c:ENG
}
316is_allied_with = {
316target = c:FRA
}
}
}
319custom_tooltip = this_is_ally_of_both_tt
}
}
323map_color = {
324if = {
325limit = {
326owner ?= c:FRA
}
328value = map_FRA
}
330else_if = {
331limit = {
332owner ?= {
333is_subject_or_below_of = c:FRA
334subject_loyalty > 50
}
}
337value = map_FRA
}
339else_if = {
340limit = {
341owner ?= {
342is_subject_or_below_of = c:ENG
343subject_loyalty > 50
}
}
346value = map_ENG
}
348else_if = {
349limit = {
350owner ?= c:ENG
}
352value = map_ENG
}
354else_if = {
355limit = {
356owner ?= {
356is_allied_with = {
356target = c:FRA
}
}
}
358value = root.owner.country_color
}
360else_if = {
361limit = {
362owner ?= {
363is_allied_with = {
363target = c:ENG
}
}
}
366value = root.owner.country_color
}
368else = {
369value = define:NMapColors|DEFAULT_COLOR
}
}
373legend_key = {
374desc = "ENG"
375color = map_ENG
}
377legend_key = {
378desc = "FRA"
379color = map_FRA
}
382secondary_map_color = {
383if = {
384limit = {
385owner ?= c:FRA
}
387value = map_FRA
}
389else_if = {
390limit = {
391owner ?= c:ENG
}
393value = map_ENG
}
395else_if = {
396limit = {
397owner ?= {
398is_allied_with = {
398target = c:FRA
}
399NOT = {
399is_allied_with = {
399target = c:ENG
}
}
}
}
402value = map_FRA
}
404else_if = {
405limit = {
406owner ?= {
406is_subject_or_below_of = c:FRA
}
}
408value = map_FRA
}
410else_if = {
411limit = {
412owner ?= {
412is_subject_or_below_of = c:ENG
}
}
414value = map_ENG
}
416else_if = {
417limit = {
418owner ?= {
419is_allied_with = {
419target = c:ENG
}
420NOT = {
421is_allied_with = {
421target = c:FRA
}
}
}
}
425value = map_ENG
}
}