#The Death of Komei country_event = { id = 97630 title = "EVTNAME97630" #The Death of Emperor Komei desc = "EVTDESC97630" news = yes news_desc_long = "EVTDESC97630_NEWS_LONG" news_desc_medium = "EVTDESC97630_NEWS_MEDIUM" news_desc_short = "EVTDESC97630_NEWS_SHORT" picture = "emperor_funeral" trigger = { tag = TKG year = 1860 government = absolute_monarchy OR = { has_country_modifier = kobu_gattai has_country_flag = sakuradamon_incident has_global_flag = order_to_expel_barbarians JAP = { is_vassal = no } KAG = { is_vassal = no } YZW = { is_vassal = no } SEN = { is_vassal = no } CHO = { is_vassal = no } TOS = { is_vassal = no } SAT = { is_vassal = no } } NOT = { has_country_flag = emperor_meiji } NOT = { has_global_flag = boshin_war } NOT = { has_global_flag = boshin_war_has_happened } } mean_time_to_happen = { months = 12 modifier = { factor = 0.5 year = 1864 } modifier = { factor = 0.1 year = 1868 } } option = { name = "We welcome the new emperor." set_country_flag = emperor_meiji remove_country_modifier = kobu_gattai any_country = { limit = { substate_of = TKG } country_event = 97631 } } } country_event = { id = 97631 title = "EVTNAME97630" #The Death of Emperor Komei desc = "EVTDESC97630" picture = "emperor_funeral" is_triggered_only = yes option = { name = "We welcome the new emperor." set_country_flag = emperor_meiji remove_country_modifier = kobu_gattai } }
overthrow_the_bakufu = { picture = the_meiji_restoration potential = { primary_culture = japanese OR = { government = absolute_monarchy government = prussian_constitutionalism government = hms_government } NOT = { has_global_flag = boshin_war has_global_flag = boshin_war_has_happened TKG = { has_country_flag = made_peace_with_emperor } tag = TKG } } allow = { war = no has_country_flag = emperor_meiji NOT = { has_country_modifier = kobu_gattai } OR = { is_vassal = no has_country_flag = supports_imperial_edict has_country_flag = angered_by_bakufu ai = no } } ...
NOT = { has_province_modifier = western_presence }