#Egypt events

## The Massacre of the Mameluks ##
event = {

	id = 15455
	random = no
	country = EGY
	name = "EVENTNAME3862"
	desc = "EVENTHIST3862"
	style = 5

	date = { day = 1 month = march year = 1811 }

	action_a ={		#Die!#
		name = "ACTIONNAME3862A"
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = domestic which = aristocracy value = -2 }
		command = { type = stability value = -3 }
		command = { type = relation which = TUR value = -100 }
	}

	action_b ={		#No!#
		name = "ACTIONNAME3862B"
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = innovative value = -1 }
		command = { type = domestic which = aristocracy value = 1 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 15456 }
	}
}

## Muhammad Ali's Reforms ##
event = {

	id = 15456
	random = no
	country = EGY
	name = "EVENTNAME3863"
	desc = "EVENTHIST3863"
	style = 5

	date = { day = 1 month = january year = 1812 }
	offset = 300

	action_a ={		#Yes, reforms!#
		name = "ACTIONNAME3863A"
		command = { type = domestic which = quality value = 1 }
		command = { type = land value = 500 }
		command = { type = infra value = 500 }
		command = { type = stability value = -1 }
	}

	action_b ={		#No!#
		name = "ACTIONNAME3863B"
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = quality value = -1 }
		command = { type = stability value = -1 }
	}
}

#Events from AoN modified by Hive

#Greek War for Independence#
event = { 
	id = 15457
	random = no
	trigger = {
		event = 15005			
		war = { country = TUR country = GRE }
		owned = { province = 490 data = TUR }
		neighbour = TUR
	}
	country = EGY
	name = "Greek War for Independence"
	desc = "By the beginning of the 19th century Greek nationalism started to arouse, inspired by the French revolution and growing nationalism sentiments across Europe. Fueled by the Ottoman adversity in the wars against Russia, the Greek movement Philike Hetairia, led by Demetrios and Alexander Ypsilanti, raised a revolt at Jassy in Moldavia in 1821 and proclaimed the independence of Greece. The revolt was crushed, but it marked the start of the Greek War for Independence. Muhammad Ali, a very succesful and popular ruler who had become Pasha of Egypt in 1805, promised support to the Ottoman sultan in exchange for Syria."
	date = { year = 1820 }
	deathdate = { year = 1840 }
	style = 5
	action_a = {
			name = "Offer the Sultan our help"
			command = { type = desertion which = -1 value = 15000 }
			command = { type = desertion which = -1 value = 15000 }	
			command = { type = addcore which = 490 }		
			command = { type = addcore which = 491 }
			command = { type = addcore which = 492 }		
			command = { type = addcore which = 493 }
			command = { type = addcore which = 494 }
			command = { type = addcore which = 495 }
			command = { type = relation which = TUR value = 100 }
			command = { type = relation which = GRE value = -150 }
			command = { type = relation which = RUS value = -50 }
			command = { type = relation which = ENG value = -50 }
			command = { type = relation which = FRA value = -50 }
			command = { type = trigger which = 15116 }
	}
	action_b = {
			name = "Do not interfere"
			command = { type = relation which = TUR value = -150 }
			command = { type = relation which = GRE value = 50 }
			command = { type = sleepevent which = 15116 }#TUR
			command = { type = sleepevent which = 15117 }#TUR
	}
}

#Greek War for Independence - Decline#
event = {
	id = 78793508 # Triggered by TUR: 15116B
	random = no
	country = EGY
	name = "Greek War for Independence - Decline"
	desc = "Sultan Mahmud II of the Ottoman Empire has declined our offer to help the Ottomans against the revolting Greeks."
	style = 5
	action_a = {
			name = "We shall not help then!"
			command = { type = relation which = TUR value = -50 }
			command = { type = INF which = -1 value = 15000 }
			command = { type = INF which = -1 value = 15000 }
			command = { type = wakeleader which = 65064 }
			command = { type = sleepleader which = 09838 }
	}
	action_b = {
			name = "We do as the Sultan says"
			command = { type = relation which = TUR value = -20 }
			command = { type = INF which = -1 value = 15000 }
			command = { type = INF which = -1 value = 15000 }
                        command = { type = removecore which = 490 }
			command = { type = removecore which = 491 }
			command = { type = removecore which = 492 }
			command = { type = removecore which = 493 }
			command = { type = removecore which = 494 }
			command = { type = removecore which = 495 }
			command = { type = stability value = 2 }
			command = { type = wakeleader which = 65064 }
			command = { type = sleepleader which = 09838 }
	}
}
#The betrayal of Mahmud II#
event = {
	id = 15458
	random = no
	country = EGY
	name = "The betrayal of Mahmud II"
	desc = "When the Greek war for independence was over, Sultan Mahmud II refused to fulfill his promise and give Syria to the Egyptian Pasha, Muhammad Ali. The Pasha responded by invading Asia Minor, but had to withdraw when he lost support from his ally, France."
	style = 5
	action_a = {
			name = "The Sultan shall suffer for his betrayal!"
			command = { type = breakvassal which = TUR }
			command = { type = casusbelli which = TUR value = 120 }
			command = { type = relation which = TUR value = -200 }
			command = { type = INF which = -2 value = 15000 }

	}
	action_b = {
			name = "We will remain loyal to the Sultan"
			command = { type = stability value = 1 }
			command = { type = relation which = TUR value = 100 }
	}
}