province_event = {
	
	id = 6201
	
	trigger = {
		religion = shiite
		owner = {
			NOT = { religion = shiite }
			NOT = { any_neighbor_country = {
							religion = shiite
							num_of_cities = 5 }
							}
			NOT = { has_country_flag = shiaflag }
			NOT = { has_country_flag = shiarevolts }
			NOT = { has_country_flag = shiaconcessions }
			}
		}
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.25
			owner = {
				religion = sunni
				}
			}
		modifier = {
			factor = 2.0
			owner = {
				religion = ibadi
				}
			}
		modifier = {
			factor = 0.25
			owner = {
				religion = hindi
				}
			}
		modifier = {
			factor = 0.2
			owner = {
				religion = sikhism
				}
			}
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 2
				}
			}
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 4
				}
			}
		}
	
	title = "Shia Unrest"
	desc = "Local Shi'ites are angry with the government which does not share their faith."
	
	option = {
		name = "Unruly swine!"
		ai_chance = { factor = 75 }
		create_revolt = 3
		add_province_modifier = {
			name = "convert_heretics"
			duration = 100
			}
		set_province_flag = ashiarevolt
		owner = {
			set_country_flag = shiarevolts
			}
		}
	option = {
		name = "Offer concessions"
		ai_chance = { factor = 25 }
		owner = {
			stability = -1
			set_country_flag = shiaconcessions
			}
		}
	}

province_event = {
	
	id = 6202
	
	trigger = {
		religion = shiite
		owner = {
			has_country_flag = shiarevolts
			NOT = { religion = shiite }
			NOT = { any_neighbor_country = {
							religion = shiite
							num_of_cities = 5 }
							}
			NOT = { has_country_flag = shiaflag }
			}
		}
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.25
			owner = {
				religion = sunni
				}
			}
		modifier = {
			factor = 2.0
			owner = {
				religion = ibadi
				}
			}
		modifier = {
			factor = 0.25
			owner = {
				religion = hindi
				}
			}
		modifier = {
			factor = 0.2
			owner = {
				religion = sikhism
				}
			}
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 2
				}
			}
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 4
				}
			}
		}
	
	title = "Shia Unrest"
	desc = "Local Shi'ites are angry with the government which does not share their faith."
	
	option = {
		name = "Unruly swine!"
		create_revolt = 2
		add_province_modifier = {
			name = "convert_heretics"
			duration = 100
			}
		set_province_flag = ashiarevolt
		}
	}
	
province_event = {
		
	id = 6203
		
	trigger = {
		religion = shiite
		owner = {
			has_country_flag = shiaconcessions
			religion = sunni
			NOT = { any_neighbor_country = {
							religion = shiite
							num_of_cities = 5 }
							}
			NOT = { has_country_flag = shiaflag }
			}
		}
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 2
				}
			}
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 4
				}
			}
		}
	
	title = "Shia Unrest"
	desc = "Local Shi'ites are angry with the government which does not share their faith."
		
	option = {
		name = "Unruly swine!"
		ai_chance = { factor = 50 }
		create_revolt = 2
		add_province_modifier = {
			name = "convert_heretics"
			duration = 100
			}
		set_province_flag = ashiarevolt
		owner = {
			set_country_flag = shiarevolts
			clr_country_flag = shiaconcessions
			}
		}
	option = {
		name = "Offer concessions"
		ai_chance = { factor = 25 }
		owner = {
			stability = -1
			}
		}
	option = {
		name = "Follow the Shia path"
		ai_chance = { factor = 25 }
		owner = {
			religion = shiite
			stability = -4
			}
		}
	}
		
province_event = {
			
	id = 6204
	
	trigger = {
		religion = shiite
		owner = {
			has_country_flag = shiaconcessions
			NOT = { religion = sunni }
			NOT = { religion = shiite }
			NOT = { any_neighbor_country = {
							religion = shiite
							num_of_cities = 5 }
							}
			NOT = { has_country_flag = shiaflag }
			}
		}
	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 2.0
			owner = {
				religion = ibadi
				}
			}
		modifier = {
			factor = 0.25
			owner = {
				religion = hindi
				}
			}
		modifier = {
			factor = 0.2
			owner = {
				religion = sikhism
				}
			}
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 2
				}
			}
		modifier = {
			factor = 1.1
			owner = {
				innovative_narrowminded = 4
				}
			}
		}
	
	title = "Shia Unrest"
	desc = "Local Shi'ites are angry with the government which does not share their faith."
			
	option = {
		name = "Unruly swine!"
		ai_chance = { factor = 25 }
		create_revolt = 2
		add_province_modifier = {
			name = "convert_heretics"
			duration = 100
			}
		set_province_flag = ashiarevolt
		owner = {
			set_country_flag = shiarevolts
			clr_country_flag = shiaconcessions
			}
		}
	option = {
		name = "Continue to offer concessions"
		ai_chance = { factor = 75 }
		owner = {
			stability = -1
			}
		}
	}
		
country_event = {
			
	id = 6205
			
	trigger = {
		OR = {
			has_country_flag = shiaconcessions
			has_country_flag = shiarevolts
			}
		OR = {
			religion = shiite
			any_neighbor_country = {
					religion = shiite
					num_of_cities = 5 }
							}
		}
	mean_time_to_happen = {
		months = 10
		}
			
	title = "Shia Rebirth"
	desc = "With the birth of a Shia nation, the Shia folk are no longer as rebellious."
			
	option = {
		name = "Good."
		stability = 1
		clr_country_flag = shiaconcessions
		clr_country_flag = shiarevolts
		set_country_flag = shiaflag
		}
	}
		
province_event = {
			
	id = 6206
			
	trigger = {
		religion = sunni
		any_neighbor_province = { religion = shiite }
		}
	mean_time_to_happen = {
		months = 960
		modifier = {
			factor = 0.1
			owner = {
				religion = shiite
				}
			}
		modifier = {
			factor = 2.0
			owner = {
				religion = ibadi
				}
			}
		modifier = {
			factor = 5.0
			any_neighbor_province = {
				NOT = { religion_group = muslim }
				}
			}
		modifier = {
			factor = 0.25
			NOT = { owner = {
				primary_culture = THIS
				}}
			}
		modifier = {
			factor = 2.0
			owner = {
				government = khanate
				}
			}
		modifier = {
			factor = 4.0
			owner = {
				government = imperial_despotism
				}
			}
		modifier = {
			factor = 0.25
			owner = {
				government = shahdom
				}
			}
		}
			
	title = "Shi'ite Spread"
	desc = "Shiism is spreading within our nation."
			
	option = {
		name = "Okay."
		religion = shiite
		}
	}

country_event = {
	id = 6207
	trigger = {
		religion = sunni
		capital_scope = {
				religion = shiite
				has_province_flag = ashiarevolt
				}
		}
	mean_time_to_happen = {
		days = 15
		}
	title = "Shia at the Gates"
	desc = "Shia rebels are at the gates of the palace. Perhaps we wish to capitulate?"
	option = {
		name = "Good idea."
		religion = shiite
		stability = 2
		}
	option = {
		name = "Never!"
		capital_scope = { create_revolt = 2 }
		capital_scope = { clr_province_flag = ashiarevolt }
		}
	}


country_event = {
	
	id = 6208
	
	trigger = {
		year = 1680
		government = raj
		NOT = { idea = divine_supremacy }
		NOT = { idea = deus_vult }
		religion = sunni
		defender_of_faith = no
		war = no
		}
	mean_time_to_happen = {
		months = 3000
		modifier = {
			factor = 0.2
			capital_scope = { religion = hinduism }
			}
		}
	
	title = "Religious Conversion"
	desc = "We have the option of changing over to a Shia state. Do we want to do so?"
	
	option = {
		name = "Heresy!"
		ai_chance = { factor = 75 }
		stability = 2
		}
	
	option = {
		name = Shia is the way to go"
		ai_chance = { factor = 25 }
		religion = shiite
		stability = -4
		}
	}
