namespace = china_reunification

# China Reunification
china_reunification.1 = {
	type = country_event
	placement = ROOT

	title = china_reunification.1.t
	desc = china_reunification.1.d
	flavor = china_reunification.1.f

	event_image = {
		video = "gfx/event_pictures/unspecific_military_parade.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/military_parade"

	icon = "gfx/interface/icons/event_icons/event_portrait.dds"

	duration = 3

	trigger = {
	}

	option = {
		name = china_reunification.1.a
		add_loyalists = {
			value = 0.1
			culture = cu:han
		}
		if = {
			limit = {
				exists = ruler
				ruler = {
					has_culture = cu:manchu
				}
			}
			add_primary_culture = cu:manchu
		}
		set_global_variable = china_reunified
	}
}

# China Reunification Failed
china_reunification.2 = {
	type = country_event
	placement = ROOT

	title = china_reunification.2.t
	desc = china_reunification.2.d
	flavor = china_reunification.2.f

	event_image = {
		video = "gfx/event_pictures/unspecific_military_parade.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/military_parade"

	icon = "gfx/interface/icons/event_icons/event_portrait.dds"

	duration = 3

	trigger = {
	}

	option = {
		name = china_reunification.2.a
		add_radicals = {
			value = 0.2
			culture = cu:han
		}
		if = {
			limit = {
				OR = {
					AND = {
						exists = c:FRS
						this = c:FRS
					}
					AND = {
						exists = c:MCH
						this = c:MCH
					}
				}
			}
			remove_primary_culture = cu:han
		}
	}
}