Some enhancements to OE events for loss of influence in Maghreb and Egypt and other modifications:
Algiers:
Code:
#(1710-1730) The Algerian Rebellion
#by chegitz guevara
event = {
id = 3897
trigger = {
owned = { province = 737 data = -1 } #Al Djazair
NOT = { exists = ALD }
}
random = no
country = TUR
name = "EVENTNAME3897" #The Algerian Rebellion
desc = "EVENTHIST3897"
#-#
date = { day = 1 month = january year = 1710 }
offset = 300
deathdate = { day = 1 month = january year = 1730 }
action_a = {
name = "ACTIONNAME3897A" #Grant limited autonomy
command = { type = remove_countryculture which = delaware }
[COLOR=Yellow]command = { type = independence which = FEZ } #just in case
command = { type = independence which = MOR } #just in case[/COLOR]
command = { type = independence which = ALD }
command = { type = domestic which = CENTRALIZATION value = -1 }
command = { type = removecore which = 734 } #Orania
[COLOR=Yellow]command = { type = removecore which = 735 } #Atlas
command = { type = removecore which = 736 } #Aures[/COLOR]
command = { type = removecore which = 737 } #Al Djazair
command = { type = removecore which = 738 } #Kabylia
[COLOR=Yellow]command = { type = trigger which = 301081 } #TUR: The regent of Algiers
command = { type = trigger which = 105003 } #ALD: The regent of Algiers[/COLOR]
}
action_b = {
name = "ACTIONNAME3897B" #Crush the rebels!
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 734 } #Orania
[COLOR=Yellow]command = { type = removecore which = 735 } #Atlas
command = { type = removecore which = 736 } #Aures[/COLOR]
command = { type = removecore which = 737 } #Al Djazair
command = { type = removecore which = 738 } #Kabylia
[COLOR=Yellow]command = { type = revoltrisk which = 36 value = 4 }
command = { type = stability value = -2 }[/COLOR]
command = { type = revolt which = 734 } #Orania
[COLOR=Yellow]command = { type = revolt which = 735 } #Atlas
command = { type = revolt which = 736 } #Aures[/COLOR]
command = { type = revolt which = 737 } #Al Djazair
command = { type = revolt which = 738 } #Kabylia
[COLOR=Yellow]#Ahistorical
command = { type = revolt which = 732 } #Tangiers
command = { type = revolt which = 733 } #Fez
command = { type = revolt which = 806 } #Toubkal
command = { type = revolt which = 805 } #Sahara
command = { type = revolt which = 1595 } #Anti Atlas[/COLOR]
[COLOR=Red]command = { type = revoltrisk which = 36 value = 4 }
command = { type = stability value = -2 }[/COLOR]
}
}
#-#In the first decades of the 18th century the Beys and Deys (Janissary leaders) of Northern Africa were in a rebellious mood in the wake of the Peace of Carlowitz between the Ottoman Empire and the Holy League. In 1710, it was the turn of the Bey of Algiers to begin to start down the road to independence.
Morocco and Sus are involved just in case and in order for OE to not own any original Maghrebi province west to Algiers or face rebellion of whole North Africa, as stated in EVENTHIST3897.
New events:
Code:
#(1710-1730) The regent of Algiers
event = {
id = 301081 #triggered by TUR_3897 A
trigger = {
OR = {
owned = { province = 734 data = -1 } #Orania
owned = { province = 735 data = -1 } #Atlas
}
}
random = no
country = TUR
name = "EVENTNAME301081" #The regent of Algiers
desc = "EVENTHIST301081"
#-#
action_a = {
name = "ACTIONNAME301048A" #Grant them autonomy
command = { type = secedeprovince which = ALD value = 734 } #Orania
command = { type = secedeprovince which = ALD value = 735 } #Atlas
}
}
#(1710-1730) The regent of Algiers
event = {
id = 105003 #triggered by TUR_3897 A
random = no
country = ALD
name = "EVENTNAME301081" #The regent of Algiers
desc = "EVENTHIST301081"
#-#
action_a = {
name = "GREAT"
command = { type = addcore which = 734 } #Orania
}
}
EVENTNAME301081;The regent of Algiers;;;;;;;;;;
EVENTHIST301081;The Dey persuaded the Sultan to recognize him and his successors as regent, replacing the Pasha in that role. Although Algiers remained a part of the Ottoman Empire, the Ottoman government ceased to have effective influence there.;;;;;;;;;;
According to ALD_105000 and because Orania is not in ALD entry of revolt.txt, new ALD eevent is needed.
Tripolitania:
Code:
#(1710-1720) [COLOR=Yellow]The new Tripolitanian Governor[/COLOR]
event = {
id = 3392
trigger = {
owned = { province = 740 data = -1 } #Tripolitania
[COLOR=Red]owned = { province = 741 data = -1 }[/COLOR]
NOT = { exists = TRI }
}
random = no
country = TUR
name = "EVENTNAME3392" #[COLOR=Yellow]The new Tripolitanian Governor[/COLOR]
desc = "EVENTHIST3392"
#-#
date = { day = 1 month = january year = 1710 }
offset = 1000
deathdate = { day = 1 month = january year = 1720 }
action_a = {
name = "ACTIONNAME3392A" #Accept [COLOR=Yellow]Ahmad Karamanli as Governor[/COLOR]
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 740 } #Tripolitania
command = { type = removecore which = 741 } #Cyrenaica
command = { type = independence which = TRI }
command = { type = domestic which = CENTRALIZATION value = -1 }
command = { type = trigger which = 301048 } #TUR: The independence of Tripolitania
}
action_b = {
name = "ACTIONNAME3392B" #Crush [COLOR=Yellow]him[/COLOR]
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 740 } #Tripolitania
command = { type = removecore which = 741 } #Cyrenaica
command = { type = revolt which = 740 } #Tripolitania
command = { type = revolt which = 740 } #Tripolitania
command = { type = revolt which = 741 } #Cyrenaica
command = { type = revoltrisk which = 36 value = 4 }
command = { type = stability value = -2 }
}
}
#-#In 1711, Ahmad Karamanli, a Turkish cavalry officer and Janissary Dey, killed the Ottoman governor of Tripolitania and prevailed upon the Sultan to name him Bey. The post of governor remained hereditary in the Karamanli family until 1835.
EVENTNAME3392;The new Tripolitanian Governor;;;;;;;;;;
ACTIONNAME3392A;Accept Ahmad Karamanli as Governor;;;;;;;;;;
ACTIONNAME3392B;Crush him;;;;;;;;;;
Code:
#(1710-1720) The independence of Tripolitania
event = {
id = 301048 #triggered by TUR_3392 A
[COLOR=Yellow]trigger = {
owned = { province = 741 data = -1 } #Cyrenaica
}[/COLOR]
random = no
country = TUR
name = "EVENTNAME301048" #The independence of Tripolitania
desc = "EVENTHIST301048"
#-#
action_a = {
name = "ACTIONNAME301048A" #Grant them autonomy
command = { type = secedeprovince which = TRI value = 741 } #Cyrenaica
}
}
#-#While the Karamanlis formally answered to Istanbul, Tripolitania was in effect an autonomous state.
Egypt:
Code:
#(1768-1798) The Independence of Egypt
event = {
id = 3398
trigger = {
[COLOR=Yellow]OR = {
owned = { province = 742 data = -1 } #Quattara
owned = { province = 743 data = -1 } #Cataract
owned = { province = 744 data = -1 } #Alexandria
owned = { province = 745 data = -1 } #Delta[/COLOR]
owned = { province = 746 data = -1 } #Egypt
[COLOR=Yellow]owned = { province = 747 data = -1 } #Nile
}[/COLOR]
NOT = {
OR = {
exists = MAM
exists = EGY
}
}
}
random = no
country = TUR
name = "EVENTNAME3398" #The Independence of the Mamluks in Egypt
desc = "EVENTHIST3398"
#-#
date = { day = 1 month = january year = 1768 }
offset = 720
deathdate = { day = 1 month = january year = 1798 }
action_a = {
name = "ACTIONNAME3398A" #Accept a free Egypt
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 742 } #Quattara
command = { type = removecore which = 743 } #Cataract
command = { type = removecore which = 744 } #Alexandria
command = { type = removecore which = 745 } #Delta
command = { type = removecore which = 746 } #Egypt
command = { type = removecore which = 747 } #Nile
[COLOR=Yellow]command = { type = removecore which = 748 } #Batn al Hajar[/COLOR]
command = { type = removecore which = 749 } #Nubia
command = { type = independence which = EGY }
command = { type = trigger which = 301047 } #TUR: Loss of claims in Egypt
}
action_b = {
name = "ACTIONNAME3398B" #Crush the rebels!
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 742 } #Quattara
command = { type = removecore which = 743 } #Cataract
command = { type = removecore which = 744 } #Alexandria
command = { type = removecore which = 745 } #Delta
command = { type = removecore which = 746 } #Egypt
command = { type = removecore which = 747 } #Nile
[COLOR=Yellow]command = { type = removecore which = 748 } #Batn al Hajar[/COLOR]
command = { type = removecore which = 749 } #Nubia
command = { type = revolt which = 743 } #Cataract
command = { type = revolt which = 743 } #Cataract
command = { type = revolt which = 744 } #Alexandria
command = { type = revolt which = 744 } #Alexandria
command = { type = revolt which = 745 } #Delta
command = { type = revolt which = 746 } #Egypt
command = { type = revolt which = 746 } #Egypt
command = { type = revolt which = 747 } #Nile
command = { type = stability value = -2 }
}
}
#-#Since the Ottoman conquest of 1517-1518, the Mamluks of Egypt had lost official independence, but managed to retain most of the levels of power, although nominally under command from a pasha nominated by the Sultan in Constantinople. In the late 18th century, the influence of the Turkish Pasha was insignificant and the Mamluk Beys behaved nearly as the rulers of an independent nation, paying tribute and taxes whenever they wanted and limiting their duties as Turkish vassals to the minimum.
Code:
#(1768-1798) Loss of claims in Egypt
event = {
id = 301047 #triggered by TUR_3398 A
trigger = {
OR = {
[COLOR=Red]owned = { province = 742 data = -1 } #Quattara
owned = { province = 743 data = -1 } #Cataract
owned = { province = 747 data = -1 } #Nile[/COLOR]
owned = { province = 494 data = -1 } #Sinai
[COLOR=Yellow]#not in EGY revolt.txt
owned = { province = 748 data = -1 } #Batn al Hajar
owned = { province = 749 data = -1 } #Nubia
owned = { province = 750 data = -1 } #Sudan
owned = { province = 751 data = -1 } #Bisharin[/COLOR]
}
}
random = no
country = TUR
name = "EVENTNAME301047" #Loss of claims in Egypt
desc = "EVENTHIST301047"
#-#
action_a = {
name = "ACTIONNAME301047A" #Grant them their lands[COLOR=Yellow]... and more![/COLOR]
[COLOR=Red]command = { type = secedeprovince which = EGY value = 742 } #Quattara
command = { type = secedeprovince which = EGY value = 743 } #Cataract
command = { type = secedeprovince which = EGY value = 747 } #Nile[/COLOR]
command = { type = secedeprovince which = EGY value = 494 } #Sinai
[COLOR=Yellow]#not in EGY revolt.txt
command = { type = secedeprovince which = EGY value = 748 } #Batn al Hajar
command = { type = secedeprovince which = EGY value = 749 } #Nubia
command = { type = secedeprovince which = EGY value = 750 } #Sudan
command = { type = secedeprovince which = EGY value = 751 } #Bisharin[/COLOR]
}
}
#-#Under Mehmet Ali (who became viceroy in 1805 after French evacuation, and until his death in 1849), the factual independence became official at last.
ACTIONNAME301047A;Grant them their lands... and more!;;;;;;;;;;
This goes with modification to revolt.txt as discussed in Egypt thread:
Code:
EGY = { #Egypt
date = { day = 1 month = january year = 1768 }
expirydate = { year = 1820 }
minimum = { [COLOR=Yellow]742 743[/COLOR] 744 745 746 [COLOR=Yellow]747[/COLOR] }
extra = { 741 [COLOR=Red]742 743 747[/COLOR] 490 491 492 493 494 495 496 497 498 }
capital = 746
group = muslim
ai = "SmallTrade1.ai"
}
Code:
MAM = { #Mamluks
date = { day = 1 month = january year = 1419 }
expirydate = { [COLOR=Yellow]day = 29 month = december year = 1767[/COLOR] }
minimum = { 746 [COLOR=Red]745 744[/COLOR] }
extra = { 494 742 743 [COLOR=Yellow]744 745[/COLOR] 747 }
capital = 746
group = muslim
culture = patagonian
ai = "MAM_1419_Default.ai"
}
Other modifications:
Code:
#(1699) The Shuf Mountain Rebellion
event = {
id = 3378
[COLOR=Yellow] trigger = {
OR = {
owned = { province = 490 data = -1 } #Syria
owned = { province = 491 data = -1 } #Lebanon
owned = { province = 485 data = -1 } #Aleppo
}
}[/COLOR]
random = no
country = TUR
name = "EVENTNAME3378" #The Shuf Mountain Rebellion
desc = "EVENTHIST3378"
#-#
date = { day = 1 month = january year = 1699 }
offset = 360
deathdate = { day = 29 month = december year = 1699 }
action_a = {
name = "ACTIONNAME3378A" #Smash the rebellion by force
command = { type = revolt which = 490 } #Syria
command = { type = revolt which = 491 } #Lebanon
command = { type = revolt which = 485 } #Aleppo
command = { type = MIL which = 3 value = 12 }
}
action_b = {
name = "ACTIONNAME3378B" #Negotiate with the rebels
command = { type = stability value = -1 }
command = { type = treasury value = -50 }
command = { type = DIP which = 3 value = 12 }
}
}
#-#The Drusians of Lebanon and the Ottoman governor of Syria rose up against Ottoman rule in 1699. Yet again, the provincial system had produced a serious rebellion.
Code:
#(1770) The Horrible Plague in Anatolia
event = {
id = 3396
[COLOR=Yellow]trigger = {
OR = {
owned = { province = 477 data = -1 } #Anatolia
owned = { province = 476 data = -1 } #Angora
}
}[/COLOR]
random = no
country = TUR
name = "EVENTNAME3396" #The Horrible Plague in Anatolia
desc = "EVENTHIST3396"
#-#
date = { day = 1 month = january year = 1770 }
offset = 360
deathdate = { day = 29 month = december year = 1770 }
action_a = {
name = "[COLOR=Yellow]OH_NO[/COLOR]"
command = { type = population which = 477 value = -7000 } #Anatolia
command = { type = population which = 476 value = -2000 } #Angora
}
}
#-#During the 18th and early 19th centuries, Anatolia was afflicted with intermittent outbreaks of cholera and the bubonic plague.
Code:
#(1718) Lale Devri (The Tulip Age)
event = {
id = 3393
trigger = { monarch = 0139022 } #Ahmed III
random = no
country = TUR
name = "EVENTNAME3393" #Lale Devri - The Tulip Era
desc = "EVENTHIST3393"
#-#
date = { day = 1 month = april year = 1718 }
[COLOR=Yellow]offset = 180
deathdate = { day = 29 month = december year = 1718 }[/COLOR]
action_a = {
name = "ACTIONNAME3393A" #Begin westernization process
command = { type = stability value = -1 }
command = { type = revoltrisk which = 36 value = 5 }
command = { type = domestic which = CENTRALIZATION value = 1 }
command = { type = domestic which = ARISTOCRACY value = -1 }
command = { type = domestic which = INNOVATIVE value = 2 }
command = { type = provincetax which = -1 value = 3 }
command = { type = provincetax which = -1 value = 3 }
command = { type = provincetax which = -1 value = 2 }
command = { type = provincetax which = -1 value = 2 }
command = { type = provincetax which = -1 value = 2 }
command = { type = gainmanufactory which = -1 value = goods }
command = { type = relation which = ENG value = 50 }
command = { type = relation which = FRA value = 50 }
command = { type = relation which = SPA value = 50 }
command = { type = relation which = POR value = 50 }
command = { type = relation which = POL value = 50 }
command = { type = relation which = HAB value = 50 }
command = { type = relation which = PER value = -50 }
command = { type = relation which = ALD value = -50 }
command = { type = relation which = MOR value = -50 }
command = { type = relation which = TRI value = -50 }
command = { type = relation which = TUN value = -50 }
command = { type = relation which = OMA value = -50 }
command = { type = relation which = ADE value = -50 }
command = { type = relation which = ARA value = -50 }
command = { type = DIP which = 3 value = 145 }
command = { type = ADM which = 4 value = 145 }
command = { type = MIL which = 2 value = 145 }
}
action_b = {
name = "ACTIONNAME3393B" #Initiate moderate reforms
command = { type = domestic which = INNOVATIVE value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = provincetax which = -1 value = 1 }
command = { type = revoltrisk which = 12 value = 4 }
command = { type = sleepevent which = 3397 } #TUR: The End of Lale Devri
}
action_c = {
name = "ACTIONNAME3393C" #Islam is the Law!
command = { type = stability value = 3 }
command = { type = INF which = -2 value = 10000 }
command = { type = CAV which = -2 value = 10000 }
command = { type = domestic which = INNOVATIVE value = -2 }
command = { type = relation which = ENG value = -50 }
command = { type = relation which = FRA value = -50 }
command = { type = relation which = SPA value = -50 }
command = { type = relation which = POR value = -50 }
command = { type = relation which = POL value = -50 }
command = { type = relation which = HAB value = -50 }
command = { type = relation which = PER value = 50 }
command = { type = relation which = ALD value = 50 }
command = { type = relation which = MOR value = 50 }
command = { type = relation which = TRI value = 50 }
command = { type = relation which = TUN value = 50 }
command = { type = relation which = OMA value = 50 }
command = { type = relation which = ADE value = 50 }
command = { type = relation which = ARA value = 50 }
command = { type = sleepevent which = 3397 } #TUR: The End of Lale Devri
}
}
#-#Under the rule of Sultan Ahmed III and Sadrazam Damat Ibrahim Pasha, the Ottoman Empire entered a period of unprecedented westernization. The printing press, previously outlawed by the Sheikh-ul-Islams, is introduced to the nation's capital. Ambassadors were sent to Western European nations for the first time in history. Modern textile, paper and porcelain manufactories were built. Despite these improvements, much of the treasury was also wasted on new palaces, gardens and parks in Istanbul. The lavish lifestyle of the royal family and the court aristocracy was intensely resented by the public and religious authorities.
New event:
If conditions are not fullfilled in events of Tunisia - Episode Three sequence (1570-1590), Tunisia will never be a Turkish core. Fix:
Code:
#(1590) Claim on Tunisia
event = {
id = 301082
trigger = {
NOT = {
core = { province = 739 data = -1 } #Tunisia
}
}
random = no
country = TUR
name = "EVENTNAME301082" #Claim on Tunisia
desc = "EVENTHIST301082"
#-#
date = { day = 1 month = june year = 1590 }
offset = 45
deathdate = { day = 29 month = december year = 1590 }
action_a = {
name = "ACTIONNAME301082A" #Tunisia is ours!
command = { type = addcore which = 739 } #Tunisia
}
}
EVENTNAME301082;Claim on Tunisia;;;;;;;;;;
EVENTHIST301082;Tunisia is the key to establish control over North Africa.;;;;;;;;;;
ACTIONNAME301082A;Tunisia is ours!;;;;;;;;;;