Nanboku-chō jidai
SytuacjaZmienione w tej wersji

Nanboku-chō jidai

nanbokuchouin_game/common/situations/nanbokuchou.txt:1

Po likwidacji siogunatu z okresu Kamakura w okresie zwanym restauracją Kenmu przywrócono władzę cesarskiej pod rządami Takaharu, w czym pomagał Takauji. Jednak ci dwaj byli sojusznicy szybko zaczęli ze sobą ostro rywalizować. Takaharu pragnął przywrócenia władzy cesarskiej w postaci znanej z epoki Heian, co wywołało niezadowolenie u wielu wojowników, takich właśnie jak Takauji. Ten ostatni w rezultacie został wydalony ze stolicy i zmuszony do ucieczki z Kiusiu, zdołał jednak wrócić do Kyōto w roku 1336 i przejąć miasto, zakładając tam nowy Siogunat japoński pod swoją władzą oraz intronizując nowego cesarza. W styczniu roku 1337 Takaharu opuścił stolicę i założył własny dwór w Yoshino, rozpoczynając tym samym okres znany jako Nanboku-chō jidai i czas podziału na dwór północny oraz południowy.

WymagaJaponiaKrajon monthlyJimyōinKrajon monthlyDaikakujiKrajon monthly, on startSiogunat japońskiOrganizacja międzynarodowacan start, on ended, on monthly, visibleTennōStatus specjalnyon ended, on monthlyNanboku-chō jidaiModyfikator statycznyon endednanbokuchou_has_valid_cb_targetZmiennaon monthlynanbokuchou_has_valid_war_targetZmiennaon monthlysupports_northern_courtZmiennaon monthly, on startsupports_southern_courtZmiennaon monthly, on start

  1. 2monthly_spawn_chance = monthly_spawn_chance_unique (1)
    8current_date > 1336.1.1
    10num_countries_with_special_status(special_status:japanese_emperor) > 1
    }
    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
    }
    }
    }
  2. 19is_member_of_international_organization = international_organization:japanese_shogunate
    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 = {
    161200 = {
    }
    16220 = {
    163trigger = {
    164country_exists = c:NTC
    165country_exists = c:STC
    167OR = {
    168AND = {
    169has_variable = supports_northern_court
    170OR = {
    178opinion = {
    178target = c:NTC
    178value <= -50
    }
    }
    180opinion = {
    180target = c:STC
    180value >= 0
    }
    181c:STC ?= {
    181has_ruler = yes
    }
    }
    183AND = {
    184has_variable = supports_southern_court
    185opinion = {
    185target = c:STC
    185value <= -50
    }
    186OR = {
    194opinion = {
    194target = c:NTC
    194value >= 0
    }
    }
    196c:NTC ?= {
    196has_ruler = yes
    }
    }
    }
    }
    200trigger_event_non_silently = nanbokuchou.3
    }
    20320 = {
    204trigger = {
    205country_exists = c:NTC
    206country_exists = c:STC
    207at_war = yes
    }
    209trigger_event_non_silently = nanbokuchou.5
    }
    21220 = {
    213trigger = {
    }
    216trigger_event_non_silently = nanbokuchou.6
    }
    21920 = {
    220trigger = {
    }
    223trigger_event_non_silently = nanbokuchou.7
    }
    22620 = {
    227trigger = {
    228NOT = {
    228tag = NTC
    }
    229NOT = {
    229tag = STC
    }
    230has_ruler = yes
    231has_regent = no
    232ruler.dynasty ?= dynasty:yamato_dynasty
    }
    234trigger_event_non_silently = nanbokuchou.8
    }
    23720 = {
    238trigger = {
    239root = {
    239years_since_situation_start > 55
    }
    241has_special_status_in_international_organization = {
    }
    }
    246trigger_event_non_silently = nanbokuchou.9
    }
    }
    }
    }
  3. 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

3resolution = "nanbokuchou_resolution"
4voters = nanbokuchou_voters
5hint_tag = hint_nanbokuchou
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.. Wszelkie prawa zastrzeżone. Nieoficjalny projekt fanowski, niezwiązany z Paradox Interactive. Zawartość gry © Paradox Interactive. O serwisie · Prywatność · Nota prawna