Ok, I make the opening...
THE CROWN OF NAPLES SEQUENCE
SPA 285294 used or which ever number will be available after latest eu2 agceep patch into ftg...
NAP 239037 used
Here is the issue: Naples was force-annexed by Spain after a short war against France and Spain and then as war booty between France and Spain.
However in agceep mod Naples is not likely to disappear, maybe because it is so far away from either France and Spain or because it is still difficult for Spanish troops to cross the straits and fight in Southern Italy.
Since Naples was historically held by Spain until early 18th century, when the Bourbons rose to the throne of an independent Kingdom of Naples and Sicily, I would suggest a couple of events to "let things happen"...
Modifications to following current event:
Action B means a left out for a SPA player: Naples will ahistorically survive or be at the mercy of any other, at least until 1734.
Since SPA_285204 A gives cores to Naples and Apulia, SPA_285105 B should remove them in case of claim renounciation.
Code:
#(1504-1598) The Trastamara inheritance of Naples
#by Bordic
event = {
id = 285105
trigger = {
NOT = {
event = 285103 #SPA: The Treaty of Granada
[COLOR=Yellow]event = 239037 #NAP: The Crown of Naples[/COLOR]
}
NOT = { exists = ARG }
}
random = no
country = SPA
name = "EVENTNAME285105" #The Trastamara inheritance of Naples
desc = "EVENTHIST285105"
#-#
date = { day = 26 month = November year = 1504 }
offset = 30
deathdate = { day = 13 month = September year = 1598 } #Felipe II's death
action_a = {
name = "ACTIONNAME285104A" #Naples is part of our Kingdom
command = { type = addcore which = 393 } #napoli
command = { type = addcore which = 394 } #apulia
command = { type = relation which = PAP value = -25 }
}
action_b = {
name = "ACTIONNAME285105B" #We shall respect Pope's suzerainty
command = { type = vp value = -5 }
[COLOR=Yellow]command = { type = removecore which = 393 } #napoli
command = { type = removecore which = 394 } #apulia[/COLOR]
command = { type = relation which = PAP value = 25 }
command = { type = relation which = FRA value = 25 }
[COLOR=Yellow]command = { type = sleepevent which = 239037 } #NAP: The Crown of Naples[/COLOR]
}
}
#-#When Isabel of Castile died, Ferdinand found himself in the position of being both King of Aragon and Sicily and regent of Castile, so that he could focus more on Aragonese ambitions in the Mediterranean and claims to Southern Italian territories as legacy of the Trastamara King Alfons V. The Pope who traditionally considered himself suzerain of all the Italian territories south of the HRE boundaries, islands of Sardinia, Corsica and Sicily included, has always reserved for himself the right to appoint Kings and Dukes whoever he decided as being trustful and deign of Papal investiture. He would have opposed any external interference in his 'sacred' decisions. After Ferdinand's death in 1516, Charles, King of Spain would continue his grand father's expansionistic policy in Italy.
Two new events, one for Neaples played by AI and one for Spain (AI or human player): being helpers I have only provided a single choice for both.
The trigger of first new event is a bit complicated as it should try to test any possible influence of either France or Spain in Italy when the event is firing... Only if Spain has some predominance over France, Naples will be annexed by event!
Code:
#(1505-1598) The Crown of Naples (event helper for Spanish historical annexation of Naples)
#by Bordic
event = {
id = 239037
trigger = { #Spain should hold interests on Naples and own Sicily to cross the strait
ai = yes
exists = SPA
core = { province = 393 data = SPA } #Napoli
[COLOR="Lime"]owned = { province = 395 data = SPA } #Messina
control = { province = 395 data = SPA } #Messina
owned = { province = 396 data = SPA } #Sicily
control = { province = 396 data = SPA } #Sicily[/COLOR]
OR = {
AND = {
owned = { province = 393 data = -1 } #Napoli
control = { province = 393 data = -1 } #Napoli
}
AND = {
owned = { province = 394 data = -1 } #Apulia
control = { province = 394 data = -1 } #Apulia
}
}
NOT = {
exists = ARG
war = { country = SPA country = NAP }
war = { country = SPA country = FRA }
vassal = { country = NAP country = SPA }
vassal = { country = PAP country = SPA }
vassal = { country = FRA country = SPA }
}
OR = { #strong Spanish influence in Southern Italy...
vassal = { country = SPA country = PAP }
vassal = { country = SPA country = FRA }
vassal = { country = SPA country = NAP }
dynastic = { country = SPA country = NAP }
[COLOR="Lime"]dynastic = { country = SPA country = PAP }[/COLOR]
owned = { province = 399 data = SPA } #Roma
owned = { province = 393 data = SPA } #Napoli
owned = { province = 394 data = SPA } #Apulia
[COLOR="Red"]OR = {[/COLOR]
alliance = { country = SPA country = NAP }
alliance = { country = SPA country = PAP }
[COLOR="Red"]}[/COLOR]
[COLOR="Red"]OR = {[/COLOR]
AND = {
OR = { #...or at least some Spanish influence in Northern Italy...
owned = { province = 404 data = SPA } #Piemonte
owned = { province = 389 data = SPA } #Lombardia
owned = { province = 390 data = SPA } #Mantua
owned = { province = 370 data = SPA } #Veneto
owned = { province = 403 data = SPA } #Liguria
owned = { province = 402 data = SPA } #Emilia
owned = { province = 391 data = SPA } #Romagna
owned = { province = 401 data = SPA } #Firenze
owned = { province = 400 data = SPA } #Siena
owned = { province = 392 data = SPA } #Marche
[COLOR="Red"]}[/COLOR]
[COLOR="Red"]OR = {[/COLOR]
vassal = { country = SPA country = TOS }
vassal = { country = SPA country = GEN }
vassal = { country = SPA country = MLO }
vassal = { country = SPA country = VEN }
vassal = { country = SPA country = SAV }
vassal = { country = SPA country = MAN }
vassal = { country = SPA country = PIS } #Siena
vassal = { country = SPA country = PAM } #Modena
vassal = { country = SPA country = PAR } #Parma
}
OR = { #...and France shouldn't be engaged in the Italian Wars
NOT = {
core = { province = 389 data = FRA } #Lombardia
}
NOT = {
vassal = { country = FRA country = NAP }
}
NOT = { neighbour = FRA } #France shouldn't border with Naples
}
}
[COLOR="Red"]}[/COLOR]
}
}
random = no
country = NAP
name = "EVENTNAME285294" #The Crown of Naples
desc = "EVENTHIST285294"
#-#
date = { day = 12 month = October year = 1505 } #2nd Treaty of Blois, France ceded rights to Spain
offset = 65
deathdate = { day = 13 month = September year = 1598 } #Felipe II's death
action_a = {
name = "OK"
command = { type = sleepevent which = 285105 } #SPA: The Trastamara inheritance of Naples
command = { type = trigger which = 285294 } #SPA: The Crown of Naples
}
}
#(1505-1598) The Crown of Naples (event helper for Spanish historical annexation of Naples)
#by Bordic
event = {
id = 285294 #triggered by NAP_239037
random = no
country = SPA
name = "EVENTNAME285294" #The Crown of Naples
desc = "EVENTHIST285294"
#-#
action_a = {
name = "ACTIONNAME285294A" #We grabbed Naples at last!
command = { type = addcore which = 393 } #napoli
command = { type = addcore which = 394 } #apulia
command = { type = inherit which = NAP }
command = { type = relation which = PAP value = -40 }
command = { type = relation which = FRA value = -25 }
}
}
EVENTNAME285294;The Crown of Naples;x
EVENTHIST285294;In 16th century the Kingdom of Naples was at its most: flourishing economy and Arts, still good trade routes between the Middle East and the rest of Europe. Unfortunately, a powerful economy is not always being represented by a powerful ruler. Expecially the throne of Naples being claimed by two of the most powerful courts in Europe of those times, Spain and France. In his very expensive rush to the leading role of Western Europe still contested by the untamed King of France, the King of Spain eventually made the decision to send troops, officers and insignia to the capital city of the Southern Italian Kingdom in order to press claims on the crown of Naples definitively. Despite Papal firm opposition but in accordance with treaties stipulated with France which stated the definitive Spanish hegemony in the Italian Peninsula, the King of Spain was certain that his move wouldn't have found any local hostility...;x
ACTIONNAME285294A;We grabbed Naples at last!;x
I didn't check thoroughly but I hope the posted command lines are fully compatible with new FTG engine!
EDIT: redone trigger of NAP event as per post #10.