#Adal (ADA)

#-----------------------------------------------------------------------------------------------

#(1432) The return of the Walashma
#by Fodoron
event = {
	id = 155001
	trigger = {
		owned = { province = 755 data = -1 } #Afars
		control = { province = 755 data = -1 } #Afars
	}
	random = no
	country = ADA
	name = "EVENTNAME155001" #The return of the Walashma
	desc = "EVENTHIST155001"
	#-#In 1415 Ethiopian Emperor Yeshaq had finally destroyed the sultanate of Ifat, that with the help of the Afar Muslims had raised in rebellion against his father. The Walashma sultan Saad ad-Din II of Ifat was pursued and cornered at the important trading port of Saylac. Yeshaq conquered the city and killed the sultan, but his family crossed the sea and took refuge in Yemen. The sons of Saad, returned a few years later, taking the name of sultans of Adal, since Ifat was now under Christian hands. Sabr, Mansur and Jamal were soon killed in fights against Ethiopia or between Muslims. It was then up to the young Shihab Badlay to avenge his father. Since Saylac had been sacked several times, he moved the capital to Dakkar, near Hargeisa. He then conquered the province of Bale, and twice invaded Ethiopia in three years trying to conquer the Muslim state of Dawaro, gaining the nickname of Arwe (the beast). However, at the battle of Gomit, in 1445, he was defeated by emperor Zara Yaqob, killed and dismembered.

	date = { day = 0 month = january year = 1432 }
	offset = 150
	deathdate = { day = 0 month = january year = 1433 }

	action_a = {
		name = "ACTIONNAME155001A" #A great ruler
		command = { type = relation which = ETH value = -75 }
		command = { type = casusbelli which = ETH value = 24 }
		command = { type = addcore_claim which = 1590 } #Bale
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = provincetax which = 754 value = -1 } #Issas
		command = { type = provincetax which = 755 value = 1 } #Afars
		command = { type = capital which = 755 } #Afars
		command = { type = wakeleader which = 039801 } #Badlay (ADA)
	}
}

#(1529-1540) Ottoman Assistance
event = {
	id = 155000
	trigger = {
		exists = TUR
		neighbour = ETH
		NOT = { war = { country = TUR country = ADA } }
	}
	random = no
	country = ADA
	name = "EVENTNAME155000" #Ottoman Assistance
	desc = "EVENTHIST155000"
	#-#Sultan Ahmed Gurey launches his campaigns against the Ethiopians with the backing of the powerful Ottoman Empire. The Turks contributed firearms and a contigent of Turkish troops for the Somali forces, giving them a considerable edge over their Ethiopian foes.

	date = { day = 1 month = january year = 1529 }
	offset = 360
	deathdate = { day = 1 month = january year = 1540 }

	action_a = {
		name = "ACTIONNAME155000A" #Make friends With the Turk
		command = { type = land value = 750 }
		command = { type = ART which = -1 value = 20 }
		command = { type = giveaccess which = TUR }
		command = { type = relation which = TUR value = 100 }
		command = { type = relation which = ETH value = -300 }
		command = { type = casusbelli which = ETH value = 120 }
	}
}

#(1526-1576) A new capital in Harar
#by Fodoron
event = {
	id = 155002
	trigger = {
		owned = { province = 1518 data = -1 } #Arsi
		control = { province = 1518 data = -1 } #Arsi
	}
	random = no
	country = ADA
	name = "EVENTNAME155002" #A new capital in Harar
	desc = "EVENTHIST155002"
	#-#Despite its dynastic troubles, Adal was becoming rich through slave-trade at the port of Saylac. Increased power meant also increased needs, and a new base was created at Harar, near the border of the Great Rift, within easy reach of the Christian Northern Highlands and the Afar Delta to raid for slaves. This military base created by then candidate Abu Bakr in 1520, soon expanded, and when finally Abu Bakr rose to power in 1525, he decided to move his capital to Harar. Although it constituted a superb place to launch attacks on Ethiopia, it was a strategic mistake, because it further removed Adal from its real source of wealth, Saylac.

	date = { day = 1 month = january year = 1526 }
	offset = 150
	deathdate = { day = 1 month = december year = 1576 }

	action_a = {
		name = "ACTIONNAME155002A" #Move to Harar
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = provincetax which = 755 value = -1 } #Afars
		command = { type = population which = 755 value = -1000 } #Afars
		command = { type = capital which = 1518 } #Arsi
		command = { type = population which = 1518 value = 2000 } #Arsi
	}
}

#(1526) Diraasal-Islaam
#by Fodoron
event = {
	id = 155003
	random = no
	country = ADA
	name = "EVENTNAME155003" #Diraasal-Islaam
	desc = "EVENTHIST155003"
	#-#At the turn of the XVI century Adal was submerged in chaos. Since Ethiopia was strong under a succession of capable rulers, the Sultan of Adal, Muhammad II tried to maintain peace. At the same time, an Imam, Mahfuz, ruler of the port of Saylac started to pursue a rigorous Islamic conduct, including Jihad against the Christians. In control of the port, he was buying flintstock musquets from Ottoman merchants, and conducting succesful raids into Ethiopia to pay for them in loot and slaves. When Muhammad and Mahfuz went together to raid Ethiopia in 1517, the Ethiopian emperor ambushed them. The sultan escaped, but Mahfuz was killed. However the sultan was murdered the next year plunging Adal into a civil war. Under these circumstances, a man emerged that would turn Adal from an obscure sultanate into ''Diraasal-Islaam'', a powerful nation renowed by her virtue and Muslim rigor. He was Ahmad ibn Ibrihim al-Ghazi, known as Sahib al-Fath (the Conqueror). His rise to fame started with his marriage with Mahfuz's daughter, atracting to him his powerful party and giving him control of the port of Saylac. He also married his sister to Mattan ibn Uthman, a great Somali commander that would play an important role in his battles. That way he also added a sizeable Somali army to his forces. He then got the support of the Ottomans, who had grown suspicious of the contacts between Ethiopians and Portuguese. It was easy for him then to kill Sultan Abu Bakr and install his brother Umar Din as a puppet. He was ready to take on Ethiopia.

	date = { day = 0 month = january year = 1526 }
	offset = 30
	deathdate = { day = 0 month = january year = 1527 }

	action_a = {
		name = "ACTIONNAME155003A" #A great leader
		command = { type = relation which = ETH value = -75 }
		command = { type = casusbelli which = ETH value = 228 }
		command = { type = MIL which = 5 value = 228 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = offensive value = 2 }
		command = { type = domestic which = quality value = 1 }
	}
}

#(1527) Jihad
#by Fodoron
event = {
	id = 155004
	trigger = {
		neighbour = ETH
	}
	random = no
	country = ADA
	name = "EVENTNAME155004" #Jihad
	desc = "EVENTHIST155004"
	#-#After seizing power, Ahmad ibn Ibrihim al-Ghazi decided to launch a Jihad against Christian Ethiopia. Adal was a much smaller country, and with far less resources, but this did not stop Ahmad, who had a plan. Besides uniting Muslims from Adal, Ethiopia, Somalia and Afar under his banner, he created an elite corps drilled according to Ottoman standards, and armed with very expensive flintlock arquebuses imported through Saylac. The Ottomans offered their support for a price. The critical moment came when Adal had to pay the annual tribute to Ethiopia imposed after a previous lost war. Under his orders, the sultan refused to pay, and Ahmad destroyed the punitive expedition sent by Ethiopia. Ahmad had started the fire of the Jihad, but to feed it, he started consuming both countries. To finance the overtaxing war, Ahmad transformed Saylac into the biggest slave market in Africa. Over the years, hundreds of thousands, perhaps millions, of slaves from Ethiopia and Adal, both Christians and Muslims were sold to pay armies and buy arms and munitions. Allah demanded such sacrifice and both countries were ravaged and depopulated. Portuguese accounts speak of the huge sale of Ethiopian slaves Christian and Muslims from Egypt to India in those decades. The Indian princes became very found of Ethiopian slaves as they made very good soldiers, and entire armies of slaves were purchased in Gujarat. Before starting this Jihad, be aware that we must eradicate the Christians before the effects of the war consume our country, or we will pay a hefty price.

	date = { day = 0 month = january year = 1527 }
	offset = 150
	deathdate = { day = 0 month = january year = 1528 }

	action_a = {
		name = "ACTIONNAME155004A" #Allah demands it
		command = { type = relation which = ETH value = -75 }
		command = { type = relation which = AJU value = 100 }
		command = { type = domestic which = offensive value = 2 }
		command = { type = domestic which = quality value = 1 }
		command = { type = land value = 8000 }
		command = { type = treasury value = -75 }
	}
	action_b = {
		name = "ACTIONNAME155004B" #Pay the tribute
		command = { type = treasury value = -25 }
		command = { type = relation which = ETH value = 50 }
		command = { type = sleepevent which = 165016 } #ETH: War of extermination
		command = { type = sleepevent which = 155005 } #ADA: War of extermination
	}
}

#(1538) War of extermination
#by Fodoron
event = {
	id = 155005
	trigger = {
		neighbour = ETH
	}
	random = no
	country = ADA
	name = "EVENTNAME155005" #War of extermination
	desc = "EVENTHIST155005"
	#-#After invading Ethiopia, Ahmad met the army of the Ethiopian Emperor Lebna Dengel or Dawit IV at the Awash river in the battle of Shimbra Kure in 1529. Lebna Dengel had 16,000 cavalry and 200,000 infantry against Ahmad 560 cavalry and 12,000 soldiers. Although the Ethiopians were able to kill 5,000 soldiers of Adal, their loses were much higher. Afterwards Ahmad penetrated deep into the highlands, attacking Dawaro and Shewa in 1531, then Amhara, Lasta, Bale, Hadya, Sidama and the Gurage. With half of former Ethiopia under his control, in 1535 Ahmad invaded Tigray in the North, sacking the sacred city of Aksum and destroying the Cathedral were the emperors had been crowned for centuries. But the worst part was the damage inflicted to the people of Ethiopia and Adal by Ahmad, that would change their demography forever. To finance his military campaign against his bigger neighbour, Ahmad used a scorched earth tactic, laying waste to the land and selling every Ethiopian he could capture, Muslim or Christian, as a slave. No Christian priest or nun was left alive by him. Lebna Dengel, outmanoeuvred and out-musketed, fled from one province to another, trying to organize the resistance. There was no possibility of a peace agreement, as Ahmad was bent on the destruction of the Christian country. His elder son, Fiqtor, was killed in battle, and the youngest, Menas, was captured and sent as a slave to the Ottoman overlord of Yemen. In desperation, Lebna Dengel sent a plee for help to the King of Portugal. In doing that, he saved his country, but he would no see the result, as he died on the run, exhausted and miserable in 1540.

	date = { day = 0 month = january year = 1538 }
	offset = 150
	deathdate = { day = 0 month = january year = 1539 }

	action_a = {
		name = "ACTIONNAME155005A" #Jihad
		command = { type = war which = ETH }
	}
}

#(1556) A last attempt
#by Fodoron
event = {
	id = 155006
	trigger = {
		neighbour = ETH
	}
	random = no
	country = ADA
	name = "EVENTNAME155006" #A last attempt
	desc = "EVENTHIST155006"
	#-#When the Portuguese arrived to help Ethiopia, Ahmad was about to win the entire Kingdom, with the emperor in hiding and the Ethiopians accepting his supremacy. The King of Portugal had sent Cristovo da Gama, son of famous explorer Vasco da Gama, with 400 soldiers and 1000 arquebuses, plus some small cannons. Surprised, Ahmad was defeated three times, but he had a last card to play. He offered his vassalage to the Ottoman bey of Yemen, Zebid Pasha, in exchange for help. He was granted 900 Turkish soldiers and additional arms, and at the battle of Wofla, on August 28, 1542, the Portuguese were defeated, and Cristovo was captured, tortured and beheaded. Believing the Portuguese destroyed, Ahmed dismissed 600 of the Ottomans to other duties, but was then confronted by the remaining Portuguese and the army of Gelawdewos, rearmed with the stored weapons. The battle of Wayna-Daga on February 21, 1543, was initially indecisive, but the Portuguese had sworn to avenge their leader, and singling out Ahmad, killed him. His army fell in confusion and was completely destroyed. The remaining of the forces of Adal abandoned Ethiopia and fell back to Harar. The war continued, now favorable to Ethiopia, and Bale was lost. Afars and Somalies abandoned the war, leaving exhausted Adal almost an empty shell. Ahmad's widow, Del Wambara, offered herself to Ahmad's nephew, Nur ibn Mujtahid, on the condition of continuing the fight. Nur reinforced his base, by walling the city of Harar with the famous Jugol, to prevent another sacking, and in 1556 he launched a two front coordinated attack with Ottoman help. The Ottomans, leaded by Ozdemur Pasha, conquered Massawa, the best port of the Red Sea, and the only one the Ethiopians had, but their attempt to reach the highlands failed against the determined Ethiopian resistance. The attack by Nur was an even worse failure, taking the life of the last of the Walashma sultans of Adal, Barakat. The death of Ethiopian Emperor Gelawdewos at the walls of Harar did not compensate the last failure of Adal. The survival of Ethiopia meant the death of Adal. Nur took over the crown of Adal, but his authority didn't extend far beyond the walls of Harar, and things were about to get much worse.

	date = { day = 0 month = january year = 1556 }
	offset = 150
	deathdate = { day = 0 month = january year = 1557 }

	action_a = {
		name = "ACTIONNAME155006A" #Kill Ethiopia or die
		command = { type = INF which = -1 value = 10000 }
		command = { type = CAV which = -3 value = 5000 }
		command = { type = relation which = TUR value = 100 }
		command = { type = fortress which = 1518 value = 1 } #Arsi
		command = { type = domestic which = CENTRALIZATION value = -5 }
	}
}

#(1577) The end of Adal (Afars owned)
#by Fodoron
event = {
	id = 155007
	trigger = {
		neighbour = ETH
		owned = { province = 755 data = -1 } #Afars
		control = { province = 755 data = -1 } #Afars
		event = 155002 #ADA: A new capital in Harar
		NOT = {
			event = 155008 #ADA: The end of Adal (Afars not owned)
		}
	}
	random = no
	country = ADA
	name = "EVENTNAME155007" #The end of Adal
	desc = "EVENTHIST155007"
	#-#By 1567, when Nur died of pestilence, the sultanate of Adal had been reduced to the city of Harar and the Oromo had cut the vital connection to the ports of Saylac and Barbera. What had been Adal disintegrated, part falling under control of Somalies, and most becoming Oromo lands. The Ottomans took control of the Red Sea ports as payment for their help. Meanwhile Harar was consumed by internal instability, and coups and counter-coups were responsible for the short rule of Harar Emirs. In 1575, Emir Muhammad IV made the mistake of joining the rebellion of the governor of a Muslim province in the North East of Ethiopia. He was captured and executed by Emperor Sarsa Dengel, and this defeat saw the end of Adal's last army. In 1577, the emir transferred the sultanate to the Aussa oasis in the Danakil depression. This desert below sea-level was located in no-mans land between the Afars, the Ottomans at Massawa and the Ethiopians. By moving to one of the nastiest places in Africa the sultanate prolonged its nominal existence until it was overrun by Afars and Oromo in 1672. The city of Harar, remained viable behind its walls, independent from the sultanate since 1647, as a city-state. It always has been Muslim, and today is considered the fourth sacred city of Islam. For all practical purposes, 1577 saw the end of Adal as a state. In the long chain of mistakes, one had to be the last.

	date = { day = 0 month = january year = 1577 }
	offset = 150
	deathdate = { day = 0 month = january year = 1578 }

	action_a = {
		name = "ACTIONNAME155007A" #Move to Aussa
		command = { type = capital which = 755 } #Afars
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = domestic which = offensive value = -3 }
		command = { type = domestic which = quality value = -3 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = independence which = AJU } #Ajuuraan
		command = { type = independence which = MGU } #Mogadishu
		command = { type = cedeprovince which = ETH value = 752 } #Massawa
		command = { type = cedeprovince which = ETH value = 753 } #Keren
		command = { type = cedeprovince which = ETH value = 1516 } #Welo
		command = { type = cedeprovince which = ETH value = 1517 } #Shewa
		command = { type = cedeprovince which = ETH value = 1518 } #Arsi
		command = { type = cedeprovince which = ETH value = 1519 } #Harerge
		command = { type = cedeprovince which = ETH value = 1588 } #Gonder
		command = { type = cedeprovince which = ETH value = 1589 } #Kefa
		command = { type = cedeprovince which = ETH value = 1590 } #Bale
		command = { type = cedeprovince which = TUR value = 754 } #Issas
		command = { type = cedeprovince which = AJU value = 757 } #Somalia
		command = { type = cedeprovince which = AJU value = 758 } #Ogaden
		command = { type = cedeprovince which = AJU value = 759 } #Mudugh
		command = { type = cedeprovince which = MGU value = 760 } #Mogadiscio
		command = { type = trigger which = 165020 } #ETH: The disintegration of Adal
		command = { type = trigger which = 301052 } #TUR: The end of Adal
	}
	action_b = {
		name = "ACTIONNAME155007B" #Remain in Harar and beat the odds
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = independence which = AJU } #Ajuuraan
		command = { type = independence which = MGU } #Mogadishu
		command = { type = cedeprovince which = ETH value = 752 } #Massawa
		command = { type = cedeprovince which = ETH value = 753 } #Keren
		command = { type = cedeprovince which = ETH value = 1516 } #Welo
		command = { type = cedeprovince which = ETH value = 1517 } #Shewa
		command = { type = cedeprovince which = ETH value = 1588 } #Gonder
		command = { type = cedeprovince which = ETH value = 1589 } #Kefa
		command = { type = cedeprovince which = ETH value = 1590 } #Bale
		command = { type = cedeprovince which = TUR value = 754 } #Issas
		command = { type = cedeprovince which = AJU value = 757 } #Somalia
		command = { type = cedeprovince which = AJU value = 758 } #Ogaden
		command = { type = cedeprovince which = AJU value = 759 } #Mudugh
		command = { type = cedeprovince which = MGU value = 760 } #Mogadiscio
		command = { type = war which = ETH }
		command = { type = trigger which = 165020 } #ETH: The disintegration of Adal
		command = { type = trigger which = 301052 } #TUR: The end of Adal
	}
}

#(1577) The end of Adal (Afars not owned)
#by Fodoron
event = {
	id = 155008
	trigger = {
		neighbour = ETH
		event = 155002 #ADA: A new capital in Harar
		NOT = {
			owned = { province = 755 data = -1 } #Afars
			event = 155007 #ADA: The end of Adal (Afars owned)
		}
	}
	random = no
	country = ADA
	name = "EVENTNAME155007" #The end of Adal
	desc = "EVENTHIST155007"
	#-#By 1567, when Nur died of pestilence, the sultanate of Adal had been reduced to the city of Harar and the Oromo had cut the vital connection to the ports of Saylac and Barbera. What had been Adal disintegrated, part falling under control of Somalies, and most becoming Oromo lands. The Ottomans took control of the Red Sea ports as payment for their help. Meanwhile Harar was consumed by internal instability, and coups and counter-coups were responsible for the short rule of Harar Emirs. In 1575, Emir Muhammad IV made the mistake of joining the rebellion of the governor of a Muslim province in the North East of Ethiopia. He was captured and executed by Emperor Sarsa Dengel, and this defeat saw the end of Adal's last army. In 1577, the emir transferred the sultanate to the Aussa oasis in the Danakil depression. This desert below sea-level was located in no-mans land between the Afars, the Ottomans at Massawa and the Ethiopians. By moving to one of the nastiest places in Africa the sultanate prolonged its nominal existence until it was overrun by Afars and Oromo in 1672. The city of Harar, remained viable behind its walls, independent from the sultanate since 1647, as a city-state. It always has been Muslim, and today is considered the fourth sacred city of Islam. For all practical purposes, 1577 saw the end of Adal as a state. In the long chain of mistakes, one had to be the last.

	date = { day = 0 month = january year = 1577 }
	offset = 150
	deathdate = { day = 0 month = january year = 1578 }

	action_a = {
		name = "ACTIONNAME155007B" #Remain in Harar and beat the odds
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = desertion which = -1 value = 10000 }
		command = { type = independence which = AJU } #Ajuuraan
		command = { type = independence which = MGU } #Mogadishu
		command = { type = cedeprovince which = ETH value = 752 } #Massawa
		command = { type = cedeprovince which = ETH value = 753 } #Keren
		command = { type = cedeprovince which = ETH value = 1516 } #Welo
		command = { type = cedeprovince which = ETH value = 1517 } #Shewa
		command = { type = cedeprovince which = ETH value = 1588 } #Gonder
		command = { type = cedeprovince which = ETH value = 1589 } #Kefa
		command = { type = cedeprovince which = ETH value = 1590 } #Bale
		command = { type = cedeprovince which = TUR value = 754 } #Issas
		command = { type = cedeprovince which = AJU value = 757 } #Somalia
		command = { type = cedeprovince which = AJU value = 758 } #Ogaden
		command = { type = cedeprovince which = AJU value = 759 } #Mudugh
		command = { type = cedeprovince which = MGU value = 760 } #Mogadiscio
		command = { type = war which = ETH }
		command = { type = trigger which = 165020 } #ETH: The disintegration of Adal
		command = { type = trigger which = 301052 } #TUR: The end of Adal
	}
}

#-----------------------------------------------------------------------------------------------

#First free id: 155009
