#Boshin War
country_event = {
	id = 112929
	title = "EVTNAME112929"
	desc = "EVTDESC112929"
	picture = "revolutionnn"
	major = yes 
	
	is_triggered_only = yes

	option = {
		name = "EVTOPTA112929"
		release_vassal = JAP
                set_country_flag = boshin_war_has_happened
		war = {
			target = JAP
			attacker_goal = {
				casus_belli = civil_war
			}
			
			defender_goal = {
				casus_belli = civil_war
			}	
		}
	}
}
#Japenese Hokaido
country_event = {
	id = 112930
	title = "EVTNAME112930"
	desc = "EVTDESC112930"
	
	trigger = {
		owns = 1649
		owns = 1657
		NOT = {
				has_country_flag = hokkaido_is_ours
		}
	}

	mean_time_to_happen = { months = 2 }

	option = {
		name = "EVTOPTA112930"
		set_country_flag = hokkaido_is_ours
			1643 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }	
			1644 = { secede_province = THIS any_pop = { literacy = -0.99 } life_rating = 15 }
	}
}

#Japenese Cores
country_event = {
	id = 11293001
	title = "EVTNAME112930"
	desc = "EVTDESC112930"
	
	trigger = {
		owns = 1649
		owns = 1657
		tag = JAP
		NOT = {
				has_country_flag = apan
		}
	}
	
	fire_only_once = yes
	mean_time_to_happen = { months = 2 }

	option = {
		name = "remove Tokugawa's cores"
		set_country_flag = apan
			SHO = { all_core = { remove_core = SHO } } 
	}
}


#Japenese Cores
country_event = {
	id = 11293002
	title = "EVTNAME112930"
	desc = "EVTDESC112930"
	
	trigger = {
		owns = 1649
		owns = 1657
		tag = SHO
		NOT = {
				has_country_flag = apan
		}
	}

	fire_only_once = yes
	mean_time_to_happen = { months = 2 }

	option = {
		name = "remove Imperial's cores"
		set_country_flag = apan
			JAP = { all_core = { remove_core = JAP } } 
	}
}

country_event = {

	id = 463020000

	is_triggered_only = yes

	title = "Annexation of Rehe"
	desc = "The Japanese now claim that the lands that surround Manchuria are theirs."
	
	option = {
		name = "This will not be tolerated" 
		set_country_flag = brazil_free
		FROM = { release_vassal = THIS 
		
        casus_belli = {
            target = THIS
            type = make_puppet
            months = 12
        } }
		FROM = { 
			war = {
                target = THIS
			attacker_goal = {
				casus_belli = make_puppet }
			}
		}
	}
	
	option = {
		name = "Let's not fight this" 
		1613 = { secede_province = JAP }	
		1616 = { secede_province = JAP }
		1534 = { secede_province = JAP }
		CHI = { capital = 2221 }  		
	}
}

# Greenland Purchase 2/3 Denmark Accepts 
country_event = {
	id = 3623122
	title = "EVTNAME36231"
	desc = "EVTDESC36231"
	picture = "selling_bears_to_jan_meyen"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA36231"
		EGY_921 = {
			assimilate = yes
		}	
	}
}
