#Shogun Surrender Event
country_event = {
    id = 97645
    title = "EVTNAME97645" #We Are Defeated
    desc = "EVTDESC97645"
    picture = "boshin_war"

    trigger = {
        tag = SHO
        war = yes
        JAP = { has_country_flag = boshin_war_has_happened }
        1649 = {
                controlled_by = JAP
            NOT = {
                controlled_by = SHO
                controller = { alliance_with = SHO }
                controller = { vassal_of = SHO }
                controller = { substate_of = SHO }
            }
        }
        war_exhaustion = 20
    }

    mean_time_to_happen = {
        days = 7
    }

    option = {
        name = "EVT97645OPTA"
        JAP = { end_war = SHO } 
		civilized = yes
		JAP = { country_event = 97646 days = 10 }
    }
}
country_event = {
    id = 97646
    title = "EVTNAME97646" #We Are Defeated
    desc = "EVTDESC97646"
	major = yes
    picture = "boshin_war"

    is_triggered_only = yes
    option = {
        name = "EVT97645OPTA"
        inherit = SHO
    }
}