Époque Nanboku-chō
ConjonctureModifié dans cette version

Époque Nanboku-chō

nanbokuchouin_game/common/situations/nanbokuchou.txt:1

Suite au démantèlement du shogunat de Kamakura, le pouvoir impérial fut rétabli sous Takaharu avec l'aide de Takauji, au cours d'une période connue comme la restauration de Kenmu. Toutefois, les deux anciens alliés devinrent rapidement de farouches adversaires. Takaharu souhaitait réhabiliter la suprématie du règne impérial de l'époque de Heian, suscitant ainsi le mécontentement de la classe guerrière, dont Takauji. Tandis que ce dernier fut évincé de la capitale et contraint à fuir vers Kyūshū, il fit son grand retour et s'empara de Kyōto en 1336, établissant un nouveau Shogunat japonais et asseyant un nouvel empereur sur le trône. En janvier 1337, Takaharu s'enfuit de la capitale et instaura sa propre cour à Yoshino, marquant ainsi le début de l'Époque Nanboku-chō, la période des cours du Nord et du Sud.

RequiertJaponPayson monthlyJimyōin-tōPayson monthlyDaikakujiPayson monthly, on startShogunat japonaisOrganisation internationalecan start, on ended, on monthly, visibleTennôStatut spécialon ended, on monthlyÉpoque Nanboku-chōModificateur statiqueon endednanbokuchou_has_valid_cb_targetVariableon monthlynanbokuchou_has_valid_war_targetVariableon monthlysupports_northern_courtVariableon monthly, on startsupports_southern_courtVariableon monthly, on start

Définitionin_game/common/situations/nanbokuchou.txt:1

2monthly_spawn_chance = monthly_spawn_chance_unique (1)
3resolution = "nanbokuchou_resolution"
4voters = nanbokuchou_voters
5hint_tag = hint_nanbokuchou
7can_start = {
8current_date > 1336.1.1
10num_countries_with_special_status(special_status:japanese_emperor) > 1
}
}
14can_end = {
}
18visible = {
19is_member_of_international_organization = international_organization:japanese_shogunate
}
22on_start = {
23work_of_art:kusanagi_no_tsurugi = {
23set_art_owner = c:STC
}
24work_of_art:yata_no_kagami = {
24set_art_owner = c:STC
}
25work_of_art:yasakani_no_magatama = {
25set_art_owner = c:STC
}
27c:STC = {
28add_to_global_variable_list = {
28name = nanbokuchou_voters
28target = this
}
29propose_resolution = {
30resolution = resolution:nanbokuchou_resolution
31actor = this
32recipient = situation:nanbokuchou
33vote = this
}
}
38every_international_organization_member = {
39limit = {
39this != c:STC
}
40if = {
41limit = {
41has_variable = supports_northern_court
}
42add_to_global_variable_list = {
42name = nanbokuchou_northern_supporters
42target = this
}
44set_vote = {
45voter = prev
46resolution = resolution:nanbokuchou_resolution
47vote = c:NTC
48locked = yes
}
}
}
52if = {
53limit = {
53has_variable = supports_southern_court
}
54add_to_global_variable_list = {
54name = nanbokuchou_southern_supporters
54target = this
}
56set_vote = {
57voter = prev
58resolution = resolution:nanbokuchou_resolution
59vote = c:STC
60locked = yes
}
}
}
64if = {
65limit = {
66NOT = {
66has_variable = supports_northern_court
}
67NOT = {
67has_variable = supports_southern_court
}
}
69add_to_global_variable_list = {
69name = nanbokuchou_neutral_countries
69target = this
}
71set_vote = {
72voter = prev
73resolution = resolution:nanbokuchou_resolution
74locked = yes
}
}
}
79add_country_modifier = {
79modifier = jap_nanbokuchou
79years = -1
79mode = add
}
80trigger_event_non_silently = nanbokuchou.1
81add_to_global_variable_list = {
81name = nanbokuchou_voters
81target = this
}
}
}
}
86on_monthly = {
88clear_global_variable_list = nanbokuchou_northern_supporters
89clear_global_variable_list = nanbokuchou_southern_supporters
90clear_global_variable_list = nanbokuchou_neutral_countries
91if = {
92limit = {
92country_exists = c:NTC
}
93add_to_global_variable_list = {
94name = nanbokuchou_northern_supporters
95target = c:NTC
}
}
98if = {
99limit = {
99country_exists = c:JAP
}
100add_to_global_variable_list = {
101name = nanbokuchou_northern_supporters
102target = c:JAP
}
}
105if = {
106limit = {
106country_exists = c:STC
}
107add_to_global_variable_list = {
108name = nanbokuchou_southern_supporters
109target = c:STC
}
}
115every_international_organization_member = {
116if = {
117limit = {
118NOR = {
119tag = NTC
120tag = STC
121tag = JAP
}
}
124if = {
125limit = {
125has_variable = supports_northern_court
}
126add_to_global_variable_list = {
126name = nanbokuchou_northern_supporters
126target = this
}
}
128if = {
129limit = {
129has_variable = supports_southern_court
}
130add_to_global_variable_list = {
130name = nanbokuchou_southern_supporters
130target = this
}
}
132if = {
133limit = {
134NOT = {
134has_variable = supports_northern_court
}
135NOT = {
135has_variable = supports_southern_court
}
}
137add_to_global_variable_list = {
137name = nanbokuchou_neutral_countries
137target = this
}
}
}
140if = {
141limit = {
}
}
144else = {
145remove_variable = nanbokuchou_has_valid_cb_target
}
147if = {
148limit = {
}
}
151else = {
}
}
}
159every_international_organization_member = {
160random_list = {}
}
}
}
254on_ended = {
256random_international_organization_member = {
257limit = {
258has_special_status_in_international_organization = {
}
}
263save_scope_as = target_emperor
264ruler_or_heir_if_regent = {
264save_scope_as = target_character
}
}
266every_international_organization_member = {
267if = {
268limit = {
268has_country_modifier = jap_nanbokuchou
}
269remove_country_modifier = jap_nanbokuchou
}
271trigger_event_non_silently = nanbokuchou.2
}
}
274clear_global_variable_list = nanbokuchou_northern_supporters
275clear_global_variable_list = nanbokuchou_southern_supporters
276clear_global_variable_list = nanbokuchou_neutral_countries
277clear_global_variable_list = nanbokuchou_voters
}
282tooltip = {
283if = {
284limit = {
285OR = {
286any_foreign_building_countries_in_location = {
287AND = {
288has_variable = supports_northern_court
289NOT = {
290has_special_status_in_international_organization = {
}
}
}
}
297AND = {
298num_foreign_buildings = 0
299owner ?= {
299has_variable = supports_northern_court
}
}
}
}
303custom_tooltip = "NORTHERN_COURT_SUPPORTER"
}
305else_if = {
306limit = {
307OR = {
308any_foreign_building_countries_in_location = {
309AND = {
310has_variable = supports_northern_court
311has_special_status_in_international_organization = {
}
}
}
317AND = {
318num_foreign_buildings = 0
319owner ?= {
320AND = {
321has_variable = supports_northern_court
322has_special_status_in_international_organization = {
}
}
}
}
}
}
331custom_tooltip = "NORTHERN_COURT_EMPEROR"
}
333else_if = {
334limit = {
335OR = {
336any_foreign_building_countries_in_location = {
337AND = {
338has_variable = supports_southern_court
339NOT = {
340has_special_status_in_international_organization = {
}
}
}
}
347AND = {
348num_foreign_buildings = 0
349owner ?= {
349has_variable = supports_southern_court
}
}
}
}
353custom_tooltip = "SOUTHERN_COURT_SUPPORTER"
}
355else_if = {
356limit = {
357OR = {
358any_foreign_building_countries_in_location = {
359AND = {
360has_variable = supports_southern_court
361has_special_status_in_international_organization = {
}
}
}
367AND = {
368num_foreign_buildings = 0
369owner ?= {
370AND = {
371has_variable = supports_southern_court
372has_special_status_in_international_organization = {
}
}
}
}
}
}
381custom_tooltip = "SOUTHERN_COURT_EMPEROR"
}
383if = {
384limit = {
385is_multiplayer_session = no
386OR = {
387any_foreign_building_countries_in_location = {
387is_human = yes
}
388top_owner ?= {
388is_human = yes
}
}
}
391custom_tooltip = this_is_the_player_tt
}
}
395map_color = {
396if = {
397limit = {
398OR = {
399any_foreign_building_countries_in_location = {
400AND = {
401has_variable = supports_northern_court
402NOT = {
403has_special_status_in_international_organization = {
}
}
}
}
410AND = {
411num_foreign_buildings = 0
412owner ?= {
412has_variable = supports_northern_court
}
}
}
}
416value = yellow
}
418else_if = {
419limit = {
420OR = {
421any_foreign_building_countries_in_location = {
422AND = {
423has_variable = supports_northern_court
424has_special_status_in_international_organization = {
}
}
}
430AND = {
431num_foreign_buildings = 0
432owner ?= {
433AND = {
434has_variable = supports_northern_court
435has_special_status_in_international_organization = {
}
}
}
}
}
}
444value = red
}
446else_if = {
447limit = {
448OR = {
449any_foreign_building_countries_in_location = {
450AND = {
451has_variable = supports_southern_court
452NOT = {
453has_special_status_in_international_organization = {
}
}
}
}
460AND = {
461num_foreign_buildings = 0
462owner ?= {
462has_variable = supports_southern_court
}
}
}
}
466value = blue
}
468else_if = {
469limit = {
470OR = {
471any_foreign_building_countries_in_location = {
472AND = {
473has_variable = supports_southern_court
474has_special_status_in_international_organization = {
}
}
}
480AND = {
481num_foreign_buildings = 0
482owner ?= {
483AND = {
484has_variable = supports_southern_court
485has_special_status_in_international_organization = {
}
}
}
}
}
}
494value = green
}
496else = {
497value = define:NMapColors|DEFAULT_COLOR
}
}
501legend_key = {
502desc = "NORTHERN_COURT_SUPPORTER"
503color = yellow
504require_color_on_map = yes
}
506legend_key = {
507desc = "NORTHERN_COURT_EMPEROR"
508color = red
509require_color_on_map = yes
}
511legend_key = {
512desc = "SOUTHERN_COURT_SUPPORTER"
513color = blue
514require_color_on_map = yes
}
516legend_key = {
517desc = "SOUTHERN_COURT_EMPEROR"
518color = green
519require_color_on_map = yes
}
522secondary_map_color = {
523if = {
524limit = {
525is_multiplayer_session = no
526OR = {
527any_foreign_building_countries_in_location = {
527is_human = yes
}
528owner ?= {
528is_human = yes
}
}
}
531value = white
}
}
© 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