Tunisian revolt
In my current game as the Ottomans I ahistorically wiped the floor with the Habsburgs and their allies. The treaty of Karlowitz event never fired as I control all of Austria and Hungary.
Then the tunisian revolt fired mentioning that those rebels in Tunis became confident because my empire was losing in Europe... :wacko:
Code:
#(1703-1710) The Tunisian Rebellion
event = {
id = 3391
trigger = {
[color=yellow]OR = {
event = 301015 #Treaty of Karlowitz happened
NOT = { stability = 0 } #stab is 0 or lower
NOT = { owned = { province = 819 data = -1 } } #Malta
NOT = { owned = { province = 740 data = -1 } } #Tripolis
} [/color]
owned = { province = 739 data = -1 } #Tunisia
[color=yellow]control = { province = 739 data = -1 } #Tunisa is a must else someone could have sieged it only to lose it.[/color]
NOT = { exists = TUN
[color=yellow]event = 301133[/color] }
}
random = no
country = TUR
name = "EVENTNAME3391" #The Tunisian Rebellion
desc = "EVENTHIST3391"
#
date = { day = 1 month = january year = 1703 }
offset = 1000
deathdate = { day = 1 month = january year = 1710 }
action_a = {
name = "ACTIONNAME3391A" #Accept a free Tunisia
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 739 } #Tunisia
command = { type = independence which = TUN }
command = { type = domestic which = CENTRALIZATION value = -1 }
command = { type = trigger which = 300015 } #TUN: The Tunisian Rebellion
}
action_b = {
name = "ACTIONNAME3391B" #Crush the rebels
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 739 } #Tunisia
command = { type = revolt which = 739 } #Tunisia
command = { type = revolt which = 739 } #Tunisia
command = { type = revolt which = 739 } #Tunisia
[color=red]command = { type = revoltrisk which = 36 value = 4 }[/color]
[color=yellow]command = { type = province_revoltrisk which = 739 value = 5 } #Tunis[/color]
command = { type = stability value = -2 }
}
}
Text:
-#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 1705, Hussein bin Ali Agha of Cretan origin staged a coup and founded the Husseinic dynasty which ruled Tunisia until 1957. Tunisia did not become truly autonomous at once, but it gained a large measure of independence.
I don´t mind a revolt in Tunisia or even a larger revolt due to an ahistorical strong position - but as my Ottoman Empire has shown no weakness yet I would like to propose an enhanced trigger and a second event with a more generic text if that trigger is not met and a chance in the b choice to keep the core on Tunis and maghrebi culture of a few more years until the Algerian/Tripolis/Egypt revolts.
The historical changes that lead to the semi-independence of Tunisa happened because the Empire was defeated in Hungary by the Habsburgs and started losing ground in Europe and was unable to succed in taking Malta despite besieging it and so failing to expand it´s naval superiority into the whole Mediterrenean. So I suggest to use a trigger that checks if the OE did get the Karlowitz event or are unstable enough to allow rebels in Tunis a reasonable chance of getting away (stab 0 or lower) or have as historically not managed to conquer Malta or have lost tripolis so that they have no landconnection to Tunis.
In the b choice I don´t see fighting rebels in Tunis causing revoltrisk in ottoman Nubia, Hungary, Iraq or Bulgaria - wouldn´t it be better to use a high provincial revoltrisk in Tunis instead of an empirewide revoltrisk of 4?
The current trigger checks that the event only fires if TUN does not exist - but what if TUN exists and TUR owns Tunis? Then nothing happens?
The current event explicitely states that Tunisia did NOT become fully independent - yet the events releases TUN as vassal and immediately triggers TUN to break that vassalage to become immediately independent...?
Code:
#(1703-1710) The Tunisian Rebellion #ahistorical strong Empire
event = {
id = 301133
trigger = {
owned = { province = 739 data = -1 } #Tunisia
control = { province = 739 data = -1 } #Tunisa is a must else someone could have sieged it only to lose it.
NOT = { exists = TUN
event = 3391 #historical Tunisian revolt
event = 301015 } #Treaty of Karlowitz happened
}
random = no
country = TUR
name = "EVENTNAME3391" #The Tunisian Rebellion
desc = "EVENTHIST3391"
#-
date = { day = 1 month = january year = 1703 }
offset = 1000
deathdate = { day = 1 month = january year = 1710 }
action_a = {
name = "ACTIONNAME3391A" #Accept a free Tunisia
command = { type = remove_countryculture which = delaware }
command = { type = removecore which = 739 } #Tunisia
command = { type = independence which = TUN }
command = { type = domestic which = CENTRALIZATION value = -1 }
}
action_b = {
name = "ACTIONNAME3391B" #Crush the rebels
command = { type = revolt which = 739 } #Tunisia
command = { type = revolt which = 739 } #Tunisia
command = { type = revolt which = 739 } #Tunisia
command = { type = revolt which = 738 } #provinces bordering Tunisia
command = { type = revolt which = 740 } #
command = { type = revolt which = 819 } #Malta works only if TUR own it
command = { type = revolt which = 351 } #Vienna works only if TUR own it
command = { type = religiousrevolt which = -1 }
command = { type = province_revoltrisk which = 739 value = 5 } #Tunis
command = { type = stability value = -2 }
}
}
#Historically 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 1705, Hussein bin Ali Agha of Cretan origin staged a coup and founded the Husseinic dynasty which ruled Tunisia until 1957. Tunisia did not become truly autonomous at once, but it gained a large measure of independence.
Edit: I forgot two } in the modified trigger. Now the game starts with both events above added.
Edit: Added control trigger. If TUR does not control Tunis then releasing TUN will spoil whoever had control over the province.