Situations Following the dismantling of the Kamakura Shogunate, Imperial rule was reinstated under Takaharu with the help of Takauji in what is known as the Kenmu Restoration. However, the two former allies quickly became bitter rivals. Takaharu wanted to restore the supremacy of the Imperial rule like it was in the Heian Period, which earned him/her the discontent of many in the warrior class, including Takauji. The latter was pushed out from the capital and forced to flee to Kyūshū, but was able to return to Kyōto in 1336 and seize it, establishing a new Japanese Shogunate under him/her and enthroning a new Emperor. In January 1337, Takaharu fled the capital and established his/her own court at Yoshino, starting the period known as Nanbokuchō Jidai, the Northern and Southern Courts.
Definitionin_game/common/situations/nanbokuchou.txt:1 3 resolution = "nanbokuchou_resolution"
4 voters = nanbokuchou_voters
5 hint_tag = hint_nanbokuchou
7 ▾ can_start = {
8 current_date > 1336.1.1
10 num_countries_with_special_status(special_status:japanese_emperor) > 1
}
}
22 ▾ on_start = {
23 ▾ work_of_art:kusanagi_no_tsurugi = {
}
24 ▾ work_of_art:yata_no_kagami = {
}
25 ▾ work_of_art:yasakani_no_magatama = {
}
28 ▾ add_to_global_variable_list = {
28 name = nanbokuchou_voters
28 target = this
}
29 ▾ propose_resolution = {
30 resolution = resolution:nanbokuchou_resolution
31 actor = this
33 vote = this
}
}
38 ▾ every_international_organization_member = {
40 ▾ if = {
42 ▾ add_to_global_variable_list = {
42 name = nanbokuchou_northern_supporters
42 target = this
}
44 ▾ set_vote = {
45 voter = prev
46 resolution = resolution:nanbokuchou_resolution
48 locked = yes
}
}
}
52 ▾ if = {
54 ▾ add_to_global_variable_list = {
54 name = nanbokuchou_southern_supporters
54 target = this
}
56 ▾ set_vote = {
57 voter = prev
58 resolution = resolution:nanbokuchou_resolution
60 locked = yes
}
}
}
64 ▾ if = {
69 ▾ add_to_global_variable_list = {
69 name = nanbokuchou_neutral_countries
69 target = this
}
71 ▾ set_vote = {
72 voter = prev
73 resolution = resolution:nanbokuchou_resolution
74 locked = yes
}
}
}
79 ▾ add_country_modifier = {
}
81 ▾ add_to_global_variable_list = {
81 name = nanbokuchou_voters
81 target = this
}
}
}
}
86 ▾ on_monthly = {
88 clear_global_variable_list = nanbokuchou_northern_supporters
89 clear_global_variable_list = nanbokuchou_southern_supporters
90 clear_global_variable_list = nanbokuchou_neutral_countries
91 ▾ if = {
93 ▾ add_to_global_variable_list = {
94 name = nanbokuchou_northern_supporters
}
}
98 ▾ if = {
100 ▾ add_to_global_variable_list = {
101 name = nanbokuchou_northern_supporters
}
}
105 ▾ if = {
106 ▾ limit = {
106 country_exists = c:STC }
107 ▾ add_to_global_variable_list = {
108 name = nanbokuchou_southern_supporters
}
}
115 ▾ every_international_organization_member = {
116 ▾ if = {
124 ▾ if = {
126 ▾ add_to_global_variable_list = {
126 name = nanbokuchou_northern_supporters
126 target = this
}
}
128 ▾ if = {
130 ▾ add_to_global_variable_list = {
130 name = nanbokuchou_southern_supporters
130 target = this
}
}
132 ▾ if = {
137 ▾ add_to_global_variable_list = {
137 name = nanbokuchou_neutral_countries
137 target = this
}
}
}
}
}
159 ▾ every_international_organization_member = {
160 ▸ random_list = { 7 entries }
}
}
}
254 ▾ on_ended = {
256 ▾ random_international_organization_member = {
257 ▾ limit = {
258 ▾ has_special_status_in_international_organization = {
}
}
263 save_scope_as = target_emperor
264 ▾ ruler_or_heir_if_regent = {
264 save_scope_as = target_character
}
}
266 ▾ every_international_organization_member = {
}
}
274 clear_global_variable_list = nanbokuchou_northern_supporters
275 clear_global_variable_list = nanbokuchou_southern_supporters
276 clear_global_variable_list = nanbokuchou_neutral_countries
277 clear_global_variable_list = nanbokuchou_voters
}
282 ▾ tooltip = {
283 ▾ if = {
284 ▾ limit = {
285 ▾ OR = {
286 ▾ any_foreign_building_countries_in_location = {
287 ▾ AND = {
289 ▾ NOT = {
290 ▾ has_special_status_in_international_organization = {
}
}
}
}
297 ▾ AND = {
298 num_foreign_buildings = 0
}
}
}
303 custom_tooltip = "NORTHERN_COURT_SUPPORTER"
}
305 ▾ else_if = {
306 ▾ limit = {
307 ▾ OR = {
308 ▾ any_foreign_building_countries_in_location = {
309 ▾ AND = {
311 ▾ has_special_status_in_international_organization = {
}
}
}
317 ▾ AND = {
318 num_foreign_buildings = 0
319 ▾ owner ?= {
320 ▾ AND = {
322 ▾ has_special_status_in_international_organization = {
}
}
}
}
}
}
331 custom_tooltip = "NORTHERN_COURT_EMPEROR"
}
333 ▾ else_if = {
334 ▾ limit = {
335 ▾ OR = {
336 ▾ any_foreign_building_countries_in_location = {
337 ▾ AND = {
339 ▾ NOT = {
340 ▾ has_special_status_in_international_organization = {
}
}
}
}
347 ▾ AND = {
348 num_foreign_buildings = 0
}
}
}
353 custom_tooltip = "SOUTHERN_COURT_SUPPORTER"
}
355 ▾ else_if = {
356 ▾ limit = {
357 ▾ OR = {
358 ▾ any_foreign_building_countries_in_location = {
359 ▾ AND = {
361 ▾ has_special_status_in_international_organization = {
}
}
}
367 ▾ AND = {
368 num_foreign_buildings = 0
369 ▾ owner ?= {
370 ▾ AND = {
372 ▾ has_special_status_in_international_organization = {
}
}
}
}
}
}
381 custom_tooltip = "SOUTHERN_COURT_EMPEROR"
}
383 ▾ if = {
384 ▾ limit = {
385 is_multiplayer_session = no
386 ▾ OR = {
387 ▾ any_foreign_building_countries_in_location = {
}
}
}
391 custom_tooltip = this_is_the_player_tt
}
}
395 ▾ map_color = {
396 ▾ if = {
397 ▾ limit = {
398 ▾ OR = {
399 ▾ any_foreign_building_countries_in_location = {
400 ▾ AND = {
402 ▾ NOT = {
403 ▾ has_special_status_in_international_organization = {
}
}
}
}
410 ▾ AND = {
411 num_foreign_buildings = 0
}
}
}
416 value = yellow
}
418 ▾ else_if = {
419 ▾ limit = {
420 ▾ OR = {
421 ▾ any_foreign_building_countries_in_location = {
422 ▾ AND = {
424 ▾ has_special_status_in_international_organization = {
}
}
}
430 ▾ AND = {
431 num_foreign_buildings = 0
432 ▾ owner ?= {
433 ▾ AND = {
435 ▾ has_special_status_in_international_organization = {
}
}
}
}
}
}
444 value = red
}
446 ▾ else_if = {
447 ▾ limit = {
448 ▾ OR = {
449 ▾ any_foreign_building_countries_in_location = {
450 ▾ AND = {
452 ▾ NOT = {
453 ▾ has_special_status_in_international_organization = {
}
}
}
}
460 ▾ AND = {
461 num_foreign_buildings = 0
}
}
}
466 value = blue
}
468 ▾ else_if = {
469 ▾ limit = {
470 ▾ OR = {
471 ▾ any_foreign_building_countries_in_location = {
472 ▾ AND = {
474 ▾ has_special_status_in_international_organization = {
}
}
}
480 ▾ AND = {
481 num_foreign_buildings = 0
482 ▾ owner ?= {
483 ▾ AND = {
485 ▾ has_special_status_in_international_organization = {
}
}
}
}
}
}
494 value = green
}
496 ▾ else = {
497 value = define:NMapColors|DEFAULT_COLOR
}
}
501 ▾ legend_key = {
502 desc = "NORTHERN_COURT_SUPPORTER"
503 color = yellow
504 require_color_on_map = yes
}
506 ▾ legend_key = {
507 desc = "NORTHERN_COURT_EMPEROR"
508 color = red
509 require_color_on_map = yes
}
511 ▾ legend_key = {
512 desc = "SOUTHERN_COURT_SUPPORTER"
513 color = blue
514 require_color_on_map = yes
}
516 ▾ legend_key = {
517 desc = "SOUTHERN_COURT_EMPEROR"
518 color = green
519 require_color_on_map = yes
}
522 ▾ secondary_map_color = {
523 ▾ if = {
524 ▾ limit = {
525 is_multiplayer_session = no
526 ▾ OR = {
527 ▾ any_foreign_building_countries_in_location = {
}
}
}
531 value = white
}
}
Availability Can start Current date > 1336.1.1 and International organization:japanese shogunate (see exact conditions)
Exact conditions Connections Requires 10 International Organizations
Special Statuses
Tennō on_ended, on_monthly References 5 International Organizations
Required by 25 Show all 25