#Shi'a takeover#
event = {
	id = 65053
	trigger = {
		owned = { province = 487 data = -1 }
		control = { province = 487 data = REB }
}
	random = no
	country = QAR
	name = "EVENTNAME65052"
	desc = "EVENTHIST65052"
	style = 1

	date = { day = 1 month = may year = 1500 }
	offset = 30
	deathdate = { day = 1 month = january year = 1505 }

	action_a ={ 
		name = "ACTIONNAME65052A"
		command = { type = country which = PER }
		command = { type = capital which = 487 }
		command = { type = religion which = shiite }
		command = { type = add_countryculture which = persian }
		command = { type = add_countryculture which = ukrainian }
		command = { type = remove_countryculture which = turkish }
		command = { type = remove_countryculture which = kurdish }
		command = { type = revoltrisk value = -8 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = technology which = torthodox }
		command = { type = land value = 4000 }
                command = { type = cash value = 300 }
                command = { type = manpower value = 50 }
		command = { type = cav which = -1 value = 7000 }
		command = { type = stability value = 1 }	
	}
	action_b ={ 
		name = "ACTIONNAME65052B"
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = domestic which = centralization value = -2 }
		command = { type = revoltrisk which = 90 value = 8 }
		command = { type = stability value = -6 }
	}
}

#Ismail's Resurrection of Persia#
event = {
	id = 3369
	trigger = {
		owned = {
			province = 487 data = -1
		}
		NOT = {
			exists = PER
			stability = 1 # Lower than 1
		}
	}
	random = no
	country = QAR
	name = "EVENTNAME3369"
	desc = "EVENTHIST3369"
	style = 1

	date = { day = 1 month = january year = 1501 }
	offset = 720
	deathdate = { day = 1 month = january year = 1530 }

	action_a ={ # Crush the Shiite rebels
		name = "ACTIONNAME3369A"
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revoltrisk which = 90 value = 8 }
		command = { type = stability value = -6 }
	}
	action_b ={ # Negotiate with Ismail
		name = "ACTIONNAME3369B"
		command = { type = country which = PER }
		command = { type = religion which = shiite }
		command = { type = add_countryculture which = persian }
		command = { type = add_countryculture which = ukrainian }
		command = { type = remove_countryculture which = turkish }
		command = { type = remove_countryculture which = kurdish }
		command = { type = revoltrisk value = -8 }
		command = { type = cav which = -1 value = 7000 }
		command = { type = stability value = 1 }	
	}
}

#The Importance of Pir Budaq#
event = {
	id = 266021
	trigger = {
			exists = TIM
		OR = {
			owned = { province = 530 data = -1 }
			owned = { province = 531 data = -1 }
		}
	}
	random = no
	country = QAR
	name = "The Importance of Pir Budaq"
	desc = "Under the leadership of Pir Budaq, sone of Jahan Shah, the Kara Koyunlu expanded into most of the Fars-Kerman region by 1452."
	style = 1
	date = { day = 1 month = january year = 1449 }
	offset = 0
	deathdate = { day = 1 month = january year = 1500 }
	action_a ={ 
		name = "What is theirs shall be ours!"
		command = { type = addcore which = 525 }
		command = { type = addcore which = 526 }
		command = { type = addcore which = 527 }
		command = { type = addcore which = 528 }
		command = { type = addcore which = 529 }
		command = { type = addcore which = 532 }
		command = { type = addcore which = 533 }
		command = { type = addcore which = 534 }
		command = { type = INF which = 530 value = 7000 }
		command = { type = relation which = TIM value = -300 }
	}
}

#The Might of the Black Sheep#
event = {
	id = 266022
	trigger = {
			exists = TIM
		OR = {
			owned = { province = 533 data = -1 }
			owned = { province = 534 data = -1 }
		}
	}
	random = no
	country = QAR
	name = "The Might of the Black Sheep"
	desc = "With the sucessful conquest of the Isfahan-Fars region, the Kara Koyunlu effectively ended the reign of the Timurid Empire in Western Iran. The Kara Koyunlu had proven themselves a force to be recokened with."
	style = 1
	date = { day = 1 month = january year = 1450 }
	offset = 0
	deathdate = { day = 1 month = january year = 1500 }
	action_a ={ 
		name = "We are unstoppable!"
		command = { type = addcore which = 535 } #Kerman
		command = { type = addcore which = 536 }
		command = { type = addcore which = 1651 } #Hormuz
		command = { type = addcore which = 1802 }
		command = { type = addcore which = 1530 }
		command = { type = addcore which = 1529 }
		command = { type = vp value = 50 }
	}
}
