country_event = {
	id = 99882100
	title = "Diplomacy"
	desc = "Produced by Daoyu"
	picture = "Daoyu"
	is_triggered_only = yes
	option = {
		name = "Truce"
		any_country = {
			limit = { war_with = this }
			country_event = { id=99882102 days=0 }
		}
		set_country_flag = 99882100
		random_country = { country_event = { id=99882101 days=0 } }
	}
	option = {
		name = "Win"
		any_country = {
			limit = { war_with = this }
			any_owned = { change_controller = this }
		}
		set_country_flag = 99882100
		random_country = { country_event = { id=99882101 days=0 } }
	}
	option = {
		name = "Back"
		country_event = 99880000
	}
}

country_event = {
	id = 99882101
	title = "Return to this page"
	is_triggered_only = yes
	option = {
		random_country = {
			limit = { has_country_flag = 99882100 }
			clr_country_flag = 99882100
			country_event = { id=99882100 days = 0 }
		}
	}
}

country_event = {
	id = 99882102
	title = "Truce"
	is_triggered_only = yes
	option = {
		end_war = from
	}
}