namespace = asy

# Conversion of provinces to Babylonian
province_event = {

	id = asy.1
	title = "asy.EVTNAME1"
	desc = "asy.EVTDESC1"
	picture = MERCHANTS_TALKING_eventPicture

	trigger = {
		owner = { culture_group = mesopotamian }
		OR = {
			province_id = 410
			province_id = 409
			province_id = 2312
			province_id = 2311
			province_id = 408
			province_id = 2340
		}
		NOT = { has_province_flag = babylonian_culture_conversion }
	}
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "asy.EVTOPTA1"
		change_culture = babylonian
		set_province_flag = babylonian_culture_conversion
	}
}

#Return to the Old Ways
country_event = {

	id = asy.2
	title = "asy.EVTNAME2"
	desc = "asy.EVTDESC2"
	picture = COURT_eventPicture
	fire_only_once = yes

	trigger = {
		OR = {
			tag = ASY
			tag = BAB
		}
		NOT = {
			religion = ashurism
		}
	}
	mean_time_to_happen = {
		months = 12
	}

	option = {
		name = "asy.EVTOPTA2"
		change_religion = ashurism
	}
	option = {
		name = "asy.EVTOPTB2"
	}
}

#Mass deportation event
province_event = {

	id = asy.3
	title = "asy.EVTNAME3"
	desc = "asy.EVTDESC3"
	picture = BORDER_TENSION_eventPicture

	trigger = {
		region = mashriq_region
		owner = {
			primary_culture = assyrian
			NOT = {
				calc_true_if = {
					all_owned_province = {
						culture = assyrian
					}
					amount = 16
				}
			}
		}
		NOT = { culture_group = mesopotamian }
	}
	mean_time_to_happen = {
		months = 2400
	}

	option = {
		name = "asy.EVTOPTA3"
		change_culture = assyrian
		add_province_modifier = {
			name = "mass_deportation"
			duration = 1825
		}
		
	}
	option = {
		name = "asy.EVTOPTB3"
	}
}

#Coalition of 12 Kings
country_event = {

	id = asy.4
	title = "asy.EVTNAME4"
	desc = "asy.EVTDESC4"
	picture = CIVIL_WAR_eventPicture

	trigger = {
		tag = ASY
	}
	mean_time_to_happen = {
		months = 600
	}

	option = {
		name = "asy.EVTOPTA4"
		random_owned_province = { create_revolt = 5 }
	}
}