• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
And more, if Genoa isn't vassal anymore this event won't happen, but it should also in case of alliance with Milan. I know that we cannot have a breakalliance command, but a drop in relation can always be good. I have also modified the whole sequence with Venice and Tuscany. Venice vassalizes Genoa and get her alliance, then Genoa breaks the vassalization, but remains allied until 1458 at least.

So I suggest to modify triggers as follows:

Code:
#(1435-1436) The Visconti's about-face
#by Bordic
event = {
	id = 228020
	trigger = {
		[COLOR=Red]OR = {
			event = 262005 #PRO: The Angevin Inheritance of Naples
			event = 3555 #ARG: The Aragonese Inheritance of Naples
		}[/COLOR]
		[COLOR=Yellow]exists = ARG
		OR = {
			event = 239007 #NAP: The Angevin Inheritance of Naples
			event = 3660 #NAP: The Aragonese Inheritance of Naples
		}[/COLOR]
		OR = {
			[COLOR=Yellow]alliance = { country = MLO country = GEN }[/COLOR]
			vassal = { country = MLO country = GEN }
			AND = {
				NOT = { exists = GEN }
				owned = { province = 403 data = -1 } #Liguria
			}
		}
		NOT = { event = 228058 } #MLO: The Visconti's about-face (MLO vassal of ARG)
		NOT = { vassal = { country = ARG country = MLO } }
	}
	random = no
	country = MLO
	name = "EVENTNAME228020" #The Visconti's about-face
	desc = "EVENTHIST228020"
	#-#

	date = { day = 27 month = November year = 1435 }
	offset = 30
	deathdate = { day = 27 month = January year = 1436 }

	action_a = {
		name = "ACTIONNAME228020A" #Support Alfonso
		command = { type = independence which = GEN }
		command = { type = relation which = PRO value = -25 }
		command = { type = relation which = PAP value = -25 }
		command = { type = vassal which = ARG }
		command = { type = trigger which = 174027 } #GEN: The betrayal of Visconti
		command = { type = trigger which = 228057 } #MLO: The secret alliance with Aragon
		command = { type = sleepevent which = 228058 } #MLO: The Visconti's about-face (MLO vassal of ARG)
	}
}


text change valid for all events using the same EVENTHIST:


#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately joined asked for admission in the Venetian-Florentine league against her former suzerain.

Code:
#(1435-1436) The Visconti's about-face (MLO vassal of ARG)
#by Bordic
event = {
	id = 228058
	trigger = {
	trigger = {
		[COLOR=Red]OR = {
			event = 262005 #PRO: The Angevin Inheritance of Naples
			event = 3555 #ARG: The Aragonese Inheritance of Naples
		}[/COLOR]
		[COLOR=Yellow]exists = ARG
		OR = {
			event = 239007 #NAP: The Angevin Inheritance of Naples
			event = 3660 #NAP: The Aragonese Inheritance of Naples
		}[/COLOR]
		OR = {
			[COLOR=Yellow]alliance = { country = MLO country = GEN }[/COLOR]
			vassal = { country = MLO country = GEN }
			AND = {
				NOT = { exists = GEN }
				owned = { province = 403 data = -1 } #Liguria
			}
		}
		vassal = { country = ARG country = MLO }
		NOT = { event = 228020 } #MLO: The Visconti's about-face (MLO vassal of ARG)
	}
	random = no
	country = MLO
	name = "EVENTNAME228020" #The Visconti's about-face
	desc = "EVENTHIST228020"
	#-#

	date = { day = 27 month = November year = 1435 }
	offset = 30
	deathdate = { day = 27 month = January year = 1436 }

	action_a = {
		name = "ACTIONNAME228020A" #Support Alfonso
		command = { type = independence which = GEN }
		command = { type = relation which = PRO value = -25 }
		command = { type = relation which = PAP value = -25 }
		command = { type = sleepevent which = 228020 } #MLO: The Visconti's about-face
		command = { type = trigger which = 174027 } #GEN: The betrayal of Visconti
	}
}


text change in description of correspondent event file:

#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately joined asked for admission in the Venetian-Florentine league against her former suzerain.
Code:
#(1435-1436) The secret alliance with Aragon
#by Bordic
event = {
	id = 228057 #triggered by MLO_228020 / MLO_228058
	random = no
	country = MLO
	name = "EVENTNAME228057" #The secret alliance with Aragon
	desc = "EVENTHIST228057"
	#-#

	action_a = {
		name = "OK"
		command = { type = secedeprovince which = GEN value = 398 } #Corsica
		command = { type = secedeprovince which = GEN value = 465 } #Kerch
		command = { type = alliance which = ARG }
		command = { type = trigger which = 111013 } #ARG: Visconti supports the Aragonese cause
	}
}
#-#While Genoa was breaking her allegiance to Visconti, Alfons of Aragon and Visconti secretly planned a hegemonic division of Italy in two zones of influence at the expenses of the other Italian States, with the Southern part for Alfonso, and the Northern part for Filippo Maria.


Code:
#(1435) Visconti supports the Aragonese cause
#by Bordic
event = {
	id = 111013 #triggered by MLO_228057
	random = no
	country = ARG
	name = "EVENTNAME111013" #Visconti supports the Aragonese cause
	desc = "EVENTHIST111013"
	#-#

	action_a = {
		name = "ACTIONNAME111013A" #Magnificent!
		command = { type = breakvassal which = MLO }
		command = { type = dynastic which = MLO }
		command = { type = stability value = 3 }
		command = { type = relation which = MLO value = 75 }
		command = { type = relation which = GEN value = -50 }
		command = { type = casusbelli which = GEN value = 36 }
	}
}


text change in description of correspondent event file:

#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately joined asked for admission in the Venetian-Florentine league against her former suzerain. While Genoa was breaking her allegiance to Visconti, Alfons of Aragon and Visconti secretly planned a hegemonic division of Italy in two zones of influence at the expenses of the other Italian States, with the Southern part for Alfonso, and the Northern part for Filippo Maria.

Code:
#(1435) The Visconti's betrayal
#by Bordic
event = {
	id = 174027 #triggered by MLO_228020
	random = no
	country = GEN
	name = "EVENTNAME174027" #The Visconti's betrayal
	desc = "EVENTHIST228020"
	#-#

	action_a = {
		name = "ACTIONNAME174027A" #We'll never support the Aragonese
		command = { type = breakvassal which = MLO }
		command = { type = stability value = 2 }
		[COLOR=Red]command = { type = relation which = MLO value = -50 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = MLO value = -200 }[/COLOR]
		command = { type = relation which = PRO value = 25 }
		command = { type = casusbelli which = ARG value = 60 }
		command = { type = casusbelli which = MLO value = 60 }
	}
}


text change in description of correspondent event file:

#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately joined asked for admission in the Venetian-Florentine league against her former suzerain.



Here I have thought about a B choice for Venice accepting or not the Genoese alliance
Code:
#(1435-1441) Genoa refuses Visconti suzerainty
#by Bordic
event = {
	id = 326034
	trigger = {
		NOT = {
			war = { country = VEN country = GEN }
			war = { country = VEN country = TOS }
			[COLOR=Yellow]vassal = { country = GEN country = VEN }[/COLOR]
		}
		event = 174027 #GEN: The Visconti's betrayal
		event = 326063 #VEN: Another league against Milan
		exists = GEN
	}
	random = no
	country = VEN
	name = "EVENTNAME326034" #Genoa refuses Visconti suzerainty
	desc = "EVENTHIST228020"
	#-#

	date = { day = 27 month = December year = 1435 } #rebellion in Genoa
	offset = 30
	deathdate = { day = 20 month = November year = 1441 } #Peace at Cremona

	action_a = {
		name = "ACTIONNAME326034A" #Try to benefit from this situation
		[COLOR=Yellow]command = { type = vassal which = GEN }[/COLOR]
		[COLOR=Red]command = { type = relation which = GEN value = 50 }
		command = { type = alliance which = GEN }
		command = { type = alliance which = TOS }[/COLOR]
		command = { type = relation which = ARG value = -25 }
		command = { type = relation which = MLO value = -50 }
		[COLOR=Red]command = { type = casusbelli which = MLO value = 36 }[/COLOR]
		[COLOR=Yellow]command = { type = trigger which = 326070 } #VEN: Genoa joins the league against Milan[/COLOR]
		[COLOR=Red]command = { type = trigger which = 297017 } #TOS: The Duke of Milan threatens the balance[/COLOR]
	}
	[COLOR=Yellow]action_b = {
		name = "ACTIONNAME326034B" #Don't pursue Genoese friendship
		command = { type = stability value = -1 }
		command = { type = DIP which = -2 value = 12 }
		command = { type = relation which = ARG value = 15 }
		command = { type = relation which = MLO value = 15 }
		command = { type = relation which = GEN value = -50 }
		command = { type = relation which = TOS value = -50 }
	}[/COLOR]
}

text change in description of correspondent event file:

#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately joined asked for admission in the Venetian-Florentine league against her former suzerain.

ACTIONNAME326034B;Don't pursue Genoese friendship;;;;;;;;;;



A new event to get Genoese alliance and renew Tuscan alliance too:

Code:
#(1435-1441) Genoa joins the league against Milan
#by Bordic
event = {
	id = 326070 #triggered by VEN_326034
	random = no
	country = VEN 
	name = "EVENTNAME326070" #Genoa joins the league against Milan
	desc = "EVENTHIST326070"
	#-#

	action_a = {
		name = "GOOD" 
		command = { type = alliance which = GEN }
		command = { type = alliance which = TOS }
		[COLOR=Yellow]command = { type = relation which = GEN value = -50 } #to prevent diplo-annexation[/COLOR]
		command = { type = casusbelli which = MLO value = 36 }
		command = { type = trigger which = 297017 } #TOS: The Duke of Milan threatens the balance
	}
}

EVENTNAME326070;Genoa joins the league against Milan;;;;;;;;;;
EVENTHIST326070;As Alfonso of Aragon convinced the Duke of Milan to join his side against Angevin interference in Italy, the Republic of Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, rejected Visconti's lordship joining the league formed by Venice and Florence against her former suzerain.;;;;;;;;;;


a correction in who's triggering who:
Code:
[COLOR=Yellow]#(1435-1441)[/COLOR] The Duke of Milan threatens the balance
#by Bordic
event = {
	id = 297017 #triggered by [COLOR=Red]VEN_326034[/COLOR] [COLOR=Red]VEN_326070[/COLOR]
	trigger = {
		NOT = { war = { country = TOS country = GEN } }
	}
	random = no
	country = TOS
	name = "EVENTNAME297017" #The Duke of Milan threatens the balance
	desc = "EVENTHIST228020"
	#-#

	action_a = {
		name = "ACTIONNAME297017A" #Give support to Genoa against Visconti
		command = { type = relation which = GEN value = 50 }
		command = { type = relation which = ARG value = -25 }
		command = { type = relation which = MLO value = -50 }
		command = { type = casusbelli which = MLO value = 36 }
	}
}
text change in description of correspondent event file:

#-#After the death of Giovanna of Anjou without natural heirs, a war of succession for the Kingdom of Naples broke out between the two claimants, René of Anjou and Alfons of Aragon, both designated heirs in two different times by Giovanna. Filippo Maria Visconti of Milan, also Signore of Genoa, preoccupied for the increasing Aragonese influence in the Mediterranean sea trade routes as much as in the Italian peninsula, decided to support the Angevins. Alfons of Aragon was defeated and captured by a Genovese fleet at the battle of Ponza in 1435. Transferred to Milan, Alfons succeeded in gaining Visconti's favour to his cause against the French Angevins. He convinced Filippo Maria that a French presence in Italy could be against the interests of Milan since the House of Orléans had never hidden its dynastic claims on the Duchy of Milan. But Genoa, a bitter rival of Aragon during centuries of dispute over Sardinia, Corsica, and the control of the Western Mediterranean trade, was appalled by Visconti's sudden change of sides, and immediately joined asked for admission in the Venetian-Florentine league against her former suzerain.



And the new event to break the vassalization of Venice:

Code:
#(1436-1441) The league against Visconti
event = {
	id = 174096
	trigger = {
		event = 326070 #VEN: Genoa joins the league against Milan
		vassal = { country = VEn country = GEN }
	}
	random = no
	country = GEN
	name = "EVENTNAME174096" #The league against Visconti
	desc = "EVENTHIST326070"
	#-#

	date = { day = 0 month = January year = 1436 } 
	offset = 20
	deathdate = { day = 20 month = November year = 1441 } 


	action_a = {
		name = "OK" 
		command = { type = breakvassal which = VEN }
		command = { type = stability value = 3 }
		[COLOR=Red]command = { type = relation which = VEN value = 50 }[/COLOR]
	}
}
EVENTNAME174096;The league against Visconti;;;;;;;;;;




BUG here: if no vassalization with Milan why should Genoa break any?


Code:
#(1458-1463) The French suzerainty -I-
#by Bordic
event = {
	id = 174028
	trigger = {
		exists = NAP
		OR = {
			event = 111014 	#ARG: The Aragonese Kingdom of Naples
			event = 7118 	#NAP: The Naples Trastamara Dynasty
		}
		OR = {
			exists = FRA
			exists = PRO
		}
		NOT = {
			event = 174067 #GEN: The French suzerainty -II-
			war = { country = GEN country = FRA }
			war = { country = GEN country = PRO }
			vassal = { country = GEN country = PRO }
			vassal = { country = MLO country = GEN }
		}
	}
	random = no
	country = GEN
	name = "EVENTNAME174028" #The French suzerainty
	desc = "EVENTHIST174028"
	#-#

	date = { day = 15 month = January year = 1458 }
	offset = 30
	deathdate = { day = 15 month = January year = 1463 }

	action_a = {
		name = "ACTIONNAME174028A" #Help the Duke of Calabria
		[COLOR=Red]command = { type = breakvassal which = MLO }
		command = { type = stability value = 2 }[/COLOR]
		[COLOR=Yellow]command = { type = stability value = -1 }[/COLOR]
		command = { type = treasury value = -30 }
		command = { type = alliance which = PRO }
		command = { type = relation which = FRA value = 25 }
		command = { type = relation which = MLO value = -50 }
		command = { type = relation which = NAP value = -50 }
		command = { type = relation which = PRO value = 100 }
		command = { type = casusbelli which = NAP value = 60 }
		command = { type = sleepevent which = 174067 } #GEN: The French suzerainty
		command = { type = trigger which = 262008 } #PRO: The Suzerainty over Genoa
	}
}
#-#Although several peace treaties were stipulated as to guarantee a certain balance of powers in Italy, they couldn't prevent Alfonso I King of Naples from pursuing his old interests on Genoese territories, notably Corsica, and West Mediterranean sea trade routes. Since the confederates of Lega Italica, amongst them Milan, wouldn't risk to break that fragile alliance, and some Genoese families, Adorno and Fieschi amongst them, had clearly in mind to support the Aragonese, King Alfonso represented a real threat for Genoa and the Fregoso family. In 1458, facing a new Aragonese aggression Genoa could only find help in France as it frequently occurred in the past. Charles VII, King of France, accepted the Genoese allegiance and sent Jean d'Anjou, Duke of Calabria and son of René d'Anjou to rule over Genoa. As soon as he established himself in the city as Governor, with the support of the Genoese fleet he arranged a military expedition to be led against Naples with the aim of getting the crown, which his father René failed to succeed in. But this time the political situation in Naples played in his favour: the local barons were opposing Ferdinando, Alfonso's natural son, not recognising him as the new King of Naples. For Jean d'Anjou, it was an invite to become entangled in there...

EDIT: amended GEN_174096, reasons in post #384.

EDIT: amended VEN_326070 as per post #390, in order to avoid VEN diplo-annexation of GEN.

EDIT2: amended colors in some text lines: joined asked for admission in.
However I have seen that 1.55 beta 5 has the entries properly written. Thanks Yoda! :)
 
Last edited:
Since the conquest of the Kingdom of Naples, Alfons preferred to have his court in Italy so, this leader should have as deathdate the beginning of his reing in Southern Italy, that is 0 June 1442

So my idea is to have two leaders, with the latter only activated if the Angevins take Naples in NAP_239009. Just as a side note, the leader slept by NAP_239009 B isn't the same Alfonso which we have here but his nephew (Alfonso II of Naples) ruling over Naples in 1468-1495:


The action B of NAP_239009 triggers following event to which I would add the wakeleader command:

Code:
#(1442) The Aragonese chased out of Naples
#by Bordic
event = {
	id = 111015 #triggered by NAP_239009 B
	random = no
	country = ARG
	name = "EVENTNAME111015" #The Aragonese chased out of Naples
	desc = "EVENTHIST262006"
	#-#

	action_a = {
		name = "ACTIONNAME111015A" #We'll never give up our rights to Naples
		command = { type = stability value = -1 }
		command = { type = relation which = NAP value = -75 }
		command = { type = relation which = PRO value = -50 }
		command = { type = relation which = DAU value = -50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = GEN value = -25 }
		command = { type = casusbelli which = NAP value = 120 }
		[COLOR=Yellow]command = { type = wakeleader which = 010825 } #Alfons V (ARG)[/COLOR]
	}
}
#-#After his release from Milan, Alfons of Aragon returned to Naples, where his brother Pedro had conquered Gaeta. Naples was defended by Isabelle of Lorraine with the support of Pope Eugenius IV. For three years Alfons conducted as much a diplomatic war as a military one, gaining allies to his cause from the Neapolitan nobles. In 1438, René of Anjou paid a huge ransom to Burgundy for his release, and arrived in the Kingdom, but since he had exhausted his funds his allies abandoned him and he had to retreat to Naples. A long siege was then established, during which the Infante Don Pedro was killed by a chance shot to the great grief of his brother. The support of the Genoese fleet allowed René to sustain the besieged capital with success until 1 June 1442, when 300 Aragonese well-armed men entered the town through an open drain accessible during the dry season, revealed to Alfons' son Ferrante by some prisoners. After several hours of fighting and in spite of the stealthy move inside the city walls, Naples withstood the Aragonese and Alfons was forced to retreat to Sicily. After recovering the rest of the Kingdom, René entered the capital in triumph the year after. Pope Eugenius IV, very happy for the Angevin success, invested René as King of Naples and Sicily thus declaring Alfons of Aragon in unlawful possession of the Sicilian island.

Code:
historicalleader = {
	id = { type = 6 id = 010800 }
	category = monarch
	name = "Alfons V"
	startdate = {
		year = 1416
	}
	[COLOR=Red]deathdate = {
		day = 27
		month = june
		year = 1458
	}[/COLOR]
	[COLOR=Yellow]deathdate = {
		day = 1
		month = june
		year = 1442
	}[/COLOR]
	rank = 0
	movement = 4
	fire = 3
	shock = 4
	siege = 1
	dormant = no
	remark = "Army leader until the conquest of Naples in 1442"
}

Here the new leader:

Code:
[COLOR=Yellow]
historicalleader = {
	id = { type = 6 id = 010825 }
	category = monarch
	name = "Alfons V"
	startdate = {
		day = 2
		month = june
		year = 1442
	}
	deathdate = {
		day = 27
		month = june
		year = 1458
	}
	rank = 0
	movement = 4
	fire = 3
	shock = 4
	siege = 1
	dormant = yes
	remark = "Still Army leader if failing to get the crown of Naples"
}
[/COLOR]
 
As to push France in moving towards Naples I would suggest to increase the bad relations with them:


Code:
#(1494-1498) The Angevin inheritance of Naples
#modified by Bordic
event = {
	id = 12021
	trigger = {
		NOT = { exists = PRO }
		NOT = { event = 211004 } #LOR: The House of Anjou-Lorraine in Provence (LOR inherits PRO)
		exists = NAP
		OR = {
			event = 239012 #NAP: The persecution of the barons
			event = 228025 #MLO: Il Moro sends for Charles VIII
			event = 111014 #ARG: The Aragonese Kingdom of Naples
		}
	}
	random = no
	country = FRA
	name = "EVENTNAME12021" #The Angevin inheritance of Naples
	desc = "EVENTHIST12021"
	#-#

	date = { day = 2 month = September year = 1494 }
	offset = 30
	deathdate = { day = 2 month = April year = 1498 }

	action_a = {
		name = "ACTIONNAME12021A" #Let us claim what is rightfully Ours!
		command = { type = casusbelli which = NAP value = 60 }
		[COLOR=Red]command = { type = relation which = NAP value = -100 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = NAP value = -200 }[/COLOR]
		command = { type = relation which = VEN value = -25 }
		command = { type = relation which = TOS value = -25 }
		command = { type = relation which = PAP value = -25 }
		command = { type = relation which = PIS value = 25 }
		command = { type = relation which = ENG value = 50 } #given money
		command = { type = relation which = HAB value = 25 }
		command = { type = relation which = BUR value = 25 } #ceded Franche-Comté and Artois
		command = { type = relation which = SPA value = 25 } #ceded Roussillon
		command = { type = relation which = ARG value = 25 } #ceded Roussillon
		command = { type = treasury value = -75 } #to England
		command = { type = trigger which = 17409 } #SAV: Civil chaos in Savoy
		command = { type = trigger which = 12022 } #NAP: Charles VIII presses claims on Naples
	}
	action_b = {
		name = "ACTIONNAME12021B" #Let us drop our claims for good!
		command = { type = relation which = NAP value = 50 }
		command = { type = relation which = MLO value = -50 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 170233 } #FRA: The Angevin legacy
	}
}
#-#Charles VIII, King of France, was a throwback as he still lived lost in a world of chivalry. He clearly had a grand design, probably inspired by the Spanish Reconquista and the rise of the Ottoman Turks, of a crusade versus the infidels and the recapture of Jerusalem, the capital city of Christendom. He based his plan on a nebulous claim through the testament in which Charles IV Duke of Anjou bequeathed Louis XI, his cousin and Charles' father, the inheritance of Naples and the subsequent title of King of Sicily. His ambitions were well known to the Duke of Milan who, convinced to solve his problems with the King of Naples, sent his ambassadors, the Count of Belgioioso and the Count of Caiazzo, to speak to the great lords of the Royal Council of France about the legality of Charles VIII's claim to the Kingdom of Naples, about the weakness of the Neapolitan armies, and about the glory the conquest of Naples would bring to France. In the meanwhile some Neapolitan exiles in France, amongst them Antonello Sanseverino, who escaped the baronal persecutions in Naples in 1487, assured that the Neapolitan people would have agreed on a French intervention. Most of the great lords of the Royal Council were against an attack on Naples, seeing it as very expensive and very dangerous and argued that Charles VIII was too inexperienced to fight a war and that his advisors were weak and foolish to trust il Moro, known all over Italy for his treachery. But the young Charles VIII, who was carried away by a thirst for glory and a desire to conquer the Kingdom of Naples, paid very little attention to their arguments and heard instead the advice of his own advisors, many of them already corrupted by the money and promises of il Moro's emissaries with the lure of getting land and estates in the Kingdom of Naples and ecclesiastical positions from the Pope. Finally, after several days' debate, Charles VIII signed a secret agreement with il Moro's ambassadors, by which it was agreed that Charles VIII would send an army to invade the Kingdom of Naples and Milan would provide men, money and free passage. To have his hands free in Italy, Charles made ruinous pacts with all his neighbours, so they would not interfere. A large sum of money was given to Henry VII of England while the Roussillon was given to Ferdinand King of Aragon and the counties of Artois and Franche-Comté were ceded to Maximilian I King of the Romans and regent of Burgundy, thus sacrificing essential territories to the strategic defence of France for his chivalric dream.




Maybe as to avoid an alliance between France and Spain (or Austria) we should consider to lower the relations between them:



Code:
#(1495-1498) The Anti-French League of Venice
#modified by Bordic
event = {
	id = 12143
	trigger = {
		NOT = { exists = ARG }
		NOT = { event = 12144 }	#ARG: The Anti-French League of Venice
		OR = {
			event = 12022 #NAP: Charles VIII presses claims on Naples
			event = 170040 #FRA: The French King in Naples
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME326035" #The Anti-French League of Venice
	desc = "EVENTHIST170040"
	#-#

	date = { day = 0 month = January year = 1495 }
	offset = 25
	deathdate = { day = 0 month = April year = 1498 }

	action_a = {
		name = "ACTIONNAME12143A" #Protect our dynasty from French interference
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = vassal which = NAP } #if existing, Ferrandino asked Ferdinand's help
		[COLOR=Red]command = { type = relation which = FRA value = -100 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = -150 }[/COLOR]
		command = { type = relation which = VEN value = 100 }
		command = { type = relation which = MLO value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = PAP value = 100 }
	}
	action_b = {
		name = "ACTIONNAME12143B" #We cannot stand up to the French
		command = { type = stability value = -1 }
		[COLOR=Red]command = { type = relation which = FRA value = 50 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = 10 }[/COLOR]
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = MLO value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = sleepevent which = 179025 } #HAB: The Anti-French League of Venice
	}
}


#(1495-1498) The Anti-French League of Venice
#modified by Bordic
#previously, Anti-French Coalition (Aragon Event)
event = {
	id = 12144
	trigger = {
		NOT = { event = 12143 }	#SPA: The Anti-French League of Venice
		OR = {
			event = 12022 #NAP: Charles VIII presses claims on Naples
			event = 170040 #FRA: The French King in Naples
		}
	}
	random = no
	country = ARG
	name = "EVENTNAME326035" #The Anti-French League of Venice
	desc = "EVENTHIST170040"
	#-#

	date = { day = 0 month = January year = 1495 }
	offset = 25
	deathdate = { day = 0 month = April year = 1498 }

	action_a = {
		name = "ACTIONNAME12143A" #Protect our dynasty from French interference
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = vassal which = NAP } #if existing, Ferrandino asked Ferdinand's help
		[COLOR=Red]command = { type = relation which = FRA value = -100 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = -150 }[/COLOR]
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = MLO value = 50 }
		command = { type = relation which = HAB value = 50 }
		command = { type = relation which = PAP value = 50 }
	}
	action_b = {
		name = "ACTIONNAME12143B" #We cannot stand up to the French
		command = { type = stability value = -1 }
		[COLOR=Red]command = { type = relation which = FRA value = 50 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = 10 }[/COLOR]
		command = { type = relation which = VEN value = -25 }
		command = { type = relation which = MLO value = -25 }
		command = { type = relation which = HAB value = -25 }
		command = { type = relation which = PAP value = -25 }
		command = { type = sleepevent which = 179025 } #HAB: The Anti-French League of Venice
	}
}

#(1495-1498) The Anti-French League of Venice
event = {
	id = 179025
	trigger = {
		OR = {
			event = 12144 #ARG: The Anti-French League of Venice
			event = 12143 #SPA: The Anti-French League of Venice
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME326035" #The Anti-French League of Venice
	desc = "EVENTHIST170040"
	#-#

	date = { day = 0 month = January year = 1495 }
	offset = 20
	deathdate = { day = 0 month = April year = 1498 }

	action_a = {
		name = "ACTIONNAME17024A" #Express Support
		command = { type = casusbelli which = FRA value = 36 }
		[COLOR=Red]command = { type = relation which = FRA value = -100 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = -150 }[/COLOR]
		command = { type = relation which = ARG value = 50 }
		command = { type = relation which = MLO value = 25 }
		command = { type = relation which = VEN value = 25 }
		command = { type = relation which = PAP value = 50 }
	}
	action_b = {
		name = "ACTIONNAME17024B" #Stay neutral
		command = { type = stability value = -1 }
		[COLOR=Red]command = { type = relation which = FRA value = 25 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = 10 }[/COLOR]
		command = { type = relation which = ARG value = -25 }
		command = { type = relation which = MLO value = -25 }
		command = { type = relation which = VEN value = -25 }
		command = { type = relation which = PAP value = -25 }
	}
	action_c = {
		name = "ACTIONNAME17024C" #Express Hostility
		command = { type = stability value = -2 }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = relation which = MLO value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = PAP value = -50 }
	}
}
#-#The presence of Charles VIII of France in the kingdom of Naples scared the Italian princes, who had in a certain way permitted the French King to achieve his goal of settling there almost undisturbed. Venice and Florence were worried about a French hegemony in the peninsula. French military presence wasn't limited to Southern Italy but also to villages of Tuscany and the Papal States, which previously surrendered to Charles VIII in his march towards Naples, strategically located to grant the French military supply line. The Pope, who previously granted the French King military access through the Papal territories and consented his stay in Rome, felt in jeopardy as much as to refuse Charles VIII being proclaimed King of Naples. Also King Ferdinand of Aragon couldn't accept the French presence in a kingdom where he instead, in spite of Alfons V's testament which assigned Naples to the other Trastamara branch, could be the one to have claims there. The position of Naples was also important for the Aragonese trading in the Mediterranean. The Duke of Milan, who decisively affected Charles VIII's decision to settle in Naples, was now alarmed by the presence of French reserve troops deployed in the county of Asti, very close to Milan and at the order of the Duke of Orléans, who had dynastical claims to the Milanese throne. So Venice, Milan, the Pope, Spain and even the Holy Roman Empire (so firmly opposed to the French expansionism in Italy as to join any Anti-French alliance available) consequently formed the Anti-French league in Venice on 31 March 1495. Florence preferred to stay out because of her internal problems caused by Charles VIII's passage and decided to support France instead. Having heard about those arrangements and fearing that the confederates would isolate his army in Italy, Charles VIII decided to return to France for reinforcements leaving his regent in Naples. He had to move his army quickly through the Apennines as to reach the Alps and then safety, but the presence of heavy artilleries and carriages transporting the big loot he accumulated across Italy, slowed his march down. Only at Fornovo on the Taro River, in the Po Valley, Charles VIII finally faced the army of the confederates. Despite having lost all the carriages, he managed to reach the Alps gaining from his expedition to Italy nothing but his army decimated by epidemies.



Code:
#(1495) The House of Habsburg settles in Spain
#by Bordic
event = {
	id = 137022
	trigger = {
		event = 179025 #HAB: The Anti-French League of Venice
		OR = {
			flag = [Habsburg]
			event = 3178 #HAB: The Habsburg inheritance of Burgundy (1477)
			event = 137012 #BUR: Settlement at Arras (1482-1492)
			event = 137021 #BUR: The new Archduke of Burgundy (1494)
		}
		exists = SPA
		NOT = {
			war = { country = BUR country = HAB }
			war = { country = SPA country = HAB }
			war = { country = SPA country = BUR }
		}
	}
	random = no
	country = BUR
	name = "EVENTNAME137022" #The House of Habsburg settles in Spain
	desc = "EVENTHIST137022"
	#-#
	date = { day = 29 month = March year = 1495 }
	offset = 7
	deathdate = { day = 0 month = January year = 1496 }

	action_a = {
		name = "ACTIONNAME137022A" #Let's bind our destiny to the Spanish Kings
		command = { type = stability value = 1 }
		command = { type = revoltrisk which = 60 value = -5 }
		command = { type = DIP which = 2 value = 12 }
		command = { type = relation which = SPA value = 300 }
		[COLOR=Red]command = { type = relation which = FRA value = -30 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = -50 }[/COLOR]
		command = { type = trigger which = 285151 } #SPA: Political marriages with the Habsburgs
		command = { type = trigger which = 179032 } #HAB: Political marriages with the Spanish royals
	}
}


#(1496) Political marriages with the Habsburgs
#by Bordic
event = {
	id = 285151 #triggered by BUR_137022
	random = no
	country = SPA
	name = "EVENTNAME285151" #Political marriages with the Habsburgs
	desc = "EVENTHIST137022"
	#-#

	action_a = {
		name = "ACTIONNAME285151A" #Let's bind our destiny to the House of Habsburg
		command = { type = stability value = 1 }
		command = { type = dynastic which = BUR }
		command = { type = DIP which = 2 value = 12 }
		[COLOR=Red]command = { type = relation which = FRA value = -30 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = -50 }[/COLOR]
		command = { type = relation which = HAB value = 300 }
	}
}


#(1496) Political marriages with the Spanish royals
#by Bordic
event = {
	id = 179032 #triggered by BUR_137022
	random = no
	country = HAB
	name = "EVENTNAME179032" #Political marriages with the Spanish royals
	desc = "EVENTHIST137022"
	#-#

	action_a = {
		name = "ACTIONNAME179032A" #Let's bind our destiny to the Catholic Kings
		command = { type = stability value = 1 }
		command = { type = dynastic which = SPA }
		command = { type = DIP which = 2 value = 12 }
		[COLOR=Red]command = { type = relation which = FRA value = -30 }[/COLOR]
		[COLOR=Yellow]command = { type = relation which = FRA value = -50 }[/COLOR]
		command = { type = relation which = BUR value = 20 }
	}
}
#-#In 1494 Charles VIII invaded Italy. Maximilian of Habsburg, alarmed at the successful progress of Charles VIII in the Italian peninsula, signed the league of Venice with Spain, Venice and Milan to face the powerful French army in the Kingdom of Naples and in the imperial territories in Northern Italy and, in order to strengthen the ties with the new Spanish ally, at about the same time he arranged a marriage between his children, Marguerite and Philippe, and Juan and Juana, son and daughter of Ferdinand and Isabella, respectively king of Aragon and queen of Castile.
 
post #381 updated, removed from GEN_174096 the relation increase between GEN and VEN. In a few tests I have seen that Venice vassalizes Genoa soon after the event fires because of +200 relations and alliance. What to do? Either remove alliance command or furtherly reduce relations in case?
 
Bordic said:
post #381 updated, removed from GEN_174096 the relation increase between GEN and VEN. In a few tests I have seen that Venice vassalizes Genoa soon after the event fires because of +200 relations and alliance. What to do? Either remove alliance command or furtherly reduce relations in case?

breakvassal command if relations are over 180
 
Toio said:
breakvassal command if relations are over 180
What do you mean? Over 140, right? 140 + 50 = 190
Anyway, AI is able to increase relations very quickly in order to vassalize.

Breakvassal command doesn't change relations with liege and only with countries that have the same religion as the vassal.
 
YodaMaster said:
What do you mean? Over 140, right? 140 + 50 = 190
Anyway, AI is able to increase relations very quickly in order to vassalize.

Breakvassal command doesn't change relations with liege and only with countries that have the same religion as the vassal.
A feew tests more with the removal I have posted and the problem seems to be solved. Genoa and Venice stay at 140-160 in relations.

EDIT: Has anyone noticed Milan diplo-annexing Savoy? Is this maybe a fluke or should relations be revised between them too?
 
Last edited:
YodaMaster said:
What do you mean? Over 140, right? 140 + 50 = 190
Anyway, AI is able to increase relations very quickly in order to vassalize.

Breakvassal command doesn't change relations with liege and only with countries that have the same religion as the vassal.

I should have added that the event should have a -50 relations to it
 
Bordic said:
A feew tests more with the removal I have posted and the problem seems to be solved. Genoa and Venice stay at 140-160 in relations.

EDIT: Has anyone noticed Milan diplo-annexing Savoy? Is this maybe a fluke or should relations be revised between them too?


only about 10% do I see MLO annexing SAV, your current changes have quieten MLO in my games ( unless the take HEL lands)
 
Toio said:
only about 10% do I see MLO annexing SAV, your current changes have quieten MLO in my games ( unless the take HEL lands)
If not less than 10% in mines.
Bordic said:
In the VEN event to get Genoa into alliance, right? I will amend it.
Which one?
 
with 90% of the time VEN joins an alliance with TYR, PRM and wurtenberg AFTER the end of the one with PIS and TOS. Have you seen any "odd" problems arising from this new alliance from its neighbors ?
I ask because, the few times VEN does not join TYR or PRM there is most likely a war between them
 
Toio said:
with 90% of the time VEN joins an alliance with TYR, PRM and wurtenberg AFTER the end of the one with PIS and TOS. Have you seen any "odd" problems arising from this new alliance from its neighbors ?
I ask because, the few times VEN does not join TYR or PRM there is most likely a war between them
That is she stay in alliance with TOS? With an alliance with these Alpine countries Venice is at least protected at her back and can better resist against Hungary and Ottoman Empire. Don't know about any weird result...
 
It is not seldom that, being only vassal of Spain, Milan is easy prey to any Italian minors, in the best of results. So I suggest having Milan enter Spain's alliance.

Code:
#(1519-1522) The Spanish Road
#by Bordic
event = {
	id = 12026
	trigger = {
		event = 285221 #SPA: The Question of Milan
		exists = MLO
		OR = {
			event = 228030 #MLO: The allegiance to the Emperor
			NOT = {
				vassal = { country = MLO country = SPA }
				vassal = { country = HAB country = MLO }
				vassal = { country = FRA country = MLO }
				vassal = { country = HEL country = MLO }
				vassal = { country = SPA country = MLO }
				exists = ITA
			}
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME12026" #The Spanish Road
	desc = "EVENTHIST12026"
	#-#

	date = { day = 26 month = June year = 1519 }
	offset = 20
	deathdate = { day = 26 month = April year = 1522 }

	action_a = {
		name = "ACTIONNAME12026A" #Milan is now a matter of the Spanish-Habsburgs
		command = { type = vassal which = MLO }
		command = { type = relation which = PAP value = 50 }
		command = { type = relation which = MLO value = 50 }
		command = { type = relation which = HAB value = 50 }
		command = { type = relation which = HEL value = 25 }
		command = { type = relation which = PAM value = -75 }
		command = { type = relation which = FRA value = -75 }
		command = { type = sleepevent which = 228030 } #MLO: The allegiance to the Emperor
		[COLOR=Yellow]command = { type = trigger which = 285282 } #SPA: Sforza's allegiance[/COLOR]
	}
}
#-#Being elected Holy Roman Emperor as Charles V, Charles (Karl in the German world or Carlos in Spain) of the House of Habsburg obtained the rights of suzerainty over all the fiefs in the Holy Roman Empire. Amongst them the Duchy of Milan together with its sovereignty of the Republic of Genoa represented an important junction in the Habsburg's dominions, the so-called 'Spanish road'.


the new event:

Code:
#(1519-1522) Sforza's allegiance
#by Bordic
event = {
	id = 285282 #triggered by SPA_12026
	random = no
	country = SPA
	name = "EVENTNAME285282" #Sforza's allegiance
	desc = "EVENTHIST285282"
	#-#

	action_a = {
		name = "GOOD" 
		command = { type = alliance which = MLO }
		command = { type = DIP which = 2 value = 6 }
		command = { type = MIL which = 2 value = 6 }
	}
}

EVENTNAME285282;Sforza's allegiance;;;;;;;;;;
EVENTHIST285282;Acknowledging il Moro's younger son Francesco Sforza as legitimate ruler in the duchy of Milan, later invested with the ducal title as Francesco II, Carlos I Habsburg obtained decisive military support in a key position against any French threat of expansionism in Italy.;;;;;;;;;;



Some bugfixing in order to avoid inconsistencies when SPA_285222 or HAB_179074 fire after that SPA_285108 or 285109 have previously fired:

Code:
#(1535) The lapsed fief of Milan
#by Bordic
event = {
	id = 285222
	trigger = {
		OR = {
			AND = {
				emperor = yes
				exists = MLO
			}
			AND = {
				event = 179074 #HAB: The lapsed fief of Milan
				emperor = no
			}
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME285222" #The lapsed fief of Milan
	desc = "EVENTHIST285222"
	#-#

	date = { day = 0 month = October year = 1535 }
	offset = 1
	deathdate = { day = 29 month = October year = 1535 }

	action_a = {
		name = "ACTIONNAME285222A" #Milan will be part of Spain
		command = { type = addcore which = 389 } #Lombardia
		command = { type = DIP which = 2 value = 12 }
		command = { type = ADM which = 2 value = 12 }
		command = { type = MIL which = 2 value = 12 }
		command = { type = relation which = HAB value = 30 }
	}
}
#-#In 1530 during the congress of Bologna Pope Clement VII consecrated Charles V Holy Roman Emperor and convinced him to forgive the misbehaviour of Francesco II Sforza who joined the League of Cognac, as the Pope himself did. The Pope managed to have the Emperor grant Sforza the ducal title on the throne of Milan again, but under the firm condition that, on Sforza's death, the Duchy would have returned definitely to the Empire. A marriage was also agreed between Sforza and Charles V's niece Christine of Denmark.

Code:
#(1535) The Reversion of Milan
#by Bordic
event = {
	id = 285108 #triggered by MLO_228031 A
	random = no
	country = SPA
	name = "EVENTNAME285108" #The Reversion of Milan
	desc = "EVENTHIST228031"
	#-#

	action_a = {
		name = "ACTIONNAME285108A" #Milan is now part of Spain
		command = { type = addcore which = 389 } #Lombardia
		command = { type = inherit which = MLO }
		command = { type = independence which = PIS } #Habsburg regency (see PIS_17350 A)
		command = { type = secedeprovince which = GEN value = 398 } #Corsica
		command = { type = secedeprovince which = PAP value = 392 } #Marche
		command = { type = secedeprovince which = PAP value = 402 } #Emilia (PAR duchy released by PAP)
		command = { type = relation which = FRA value = -25 }
		command = { type = relation which = HAB value = 50 }
		[COLOR=Yellow]command = { type = sleepevent which = 285222 } #SPA: The lapsed fief of Milan
		command = { type = sleepevent which = 179074 } #HAB: The lapsed fief of Milan[/COLOR]
	}
}
#-#In 1530 during the congress of Bologna Pope Clement VII consecrated Charles V Holy Roman Emperor and convinced him to forgive the misbehaviour of Francesco II Sforza who joined the League of Cognac, as the Pope himself did, having the Emperor confirm him still Duke of Milan. Charles V conceded him the ducal title again but on the firm condition that on Sforza's death the Duchy would have returned definitely to the Empire. A marriage was also agreed between Sforza and Charles V's niece Christine of Denmark. On 2 November 1535 Duke Francesco II died childless and, according to the previous agreements of Bologna, the Duchy reverted to the Empire. As suzerain of those fiefs, Charles V had it administrated by means of life-governors whom he himself appointed. The Emperor's decision strongly displeased François Ier of France, whose younger son Charles, in possession of the title of Duke of Orléans and thus with dynastical claims to the Milanese throne, had his candidature rejected, in spite of his assurances of allegiance to the Empire.

Code:
#(1535) Milan defies the Empire
#by Bordic
event = {
	id = 285109 #triggered by MLO_228031 B
	random = no
	country = SPA
	name = "EVENTNAME285109" #Milan defies the Empire
	desc = "EVENTHIST170050"
	#-#

	action_a = {
		name = "ACTIONNAME285109A" #Milan must be under Imperial rule
		command = { type = addcore which = 389 } #Lombardia
		command = { type = stability value = -1 }
		command = { type = relation which = MLO value = -100 }
		[COLOR=Yellow]command = { type = sleepevent which = 285222 } #SPA: The lapsed fief of Milan
		command = { type = sleepevent which = 179074 } #HAB: The lapsed fief of Milan[/COLOR]
	}
}
#-#In 1530 during the congress of Bologna Pope Clement VII consecrated Charles V Holy Roman Emperor and convinced him to forgive the misbehaviour of Francesco II Sforza who joined the League of Cognac, as the Pope himself did, having the Emperor confirm him still Duke of Milan. Charles V conceded him the ducal title again but on the firm condition that on Sforza's death the Duchy would have returned definitely to the Empire. A marriage was also agreed between Sforza and Charles V's niece Christine of Denmark. On 2 November 1535 Duke Francesco II died childless but, in spite of the previous agreements of Bologna, the people of Milan refused Charles V's decision to have the duchy reverted to the Empire and offered the throne to François Ier of France instead, who, he and his successors as legitimate Dukes of Orléans, would establish the French line of Visconti-Orléans as the ruling dynasty in Milan, thus removing the imperial eagles from the coat of arms and binding the destiny of the Orléans yellow lilies to that of the Milanese Visconti snake for the times to come.







This event shouldn't sleep the event about the treaty of Cateau-Cambrésis as it restores the boundaries between France and Spain, so:
Code:
#(1547-1552) The Habsburg-Valois struggle for supremacy
#by Bordic
event = {
	id = 170156
	trigger = {
		NOT = { exists = ITA }
		exists = SPA
		OR = {
			core = { province = 389 data = -1 } #Lombardia
			event = 301019 #TUR: The alliance with the Infidels
			event = 285106 #SPA: The Peace of Cambrai
			event = 170013 #FRA: The Treaty of Crépy
		}
		core = { province = 389 data = SPA } #Lombardia (imperial lapsed fief)
		core = { province = 387 data = SPA } #Franche-Comté (Burgundian inheritance)
		NOT = {
			alliance = { country = FRA country = SPA }
			alliance = { country = FRA country = HAB }
			war = { country = FRA country = TUR }
		}
		OR = { #minimal Spanish presence in the Low Countries
			owned = { province = 340 data = SPA } #Zeeland
			owned = { province = 377 data = SPA } #Luxemburg
			owned = { province = 378 data = SPA } #Brabant
			owned = { province = 379 data = SPA } #Artois
			owned = { province = 380 data = SPA } #Flanders
			owned = { province = 383 data = SPA } #Picardie
		}
	}
	random = no
	country = FRA
	name = "EVENTNAME170156" #The Habsburg-Valois struggle for supremacy
	desc = "EVENTHIST170156"
	#-#

	date = { day = 0 month = September year = 1547 }
	offset = 27
	deathdate = { day = 27 month = July year = 1552 }

	action_a = {
		name = "ACTIONNAME170156A" #France is still under menace
		command = { type = addcore which = 389 } #Lombardia
		command = { type = addcore which = 379 } #Artois
		command = { type = addcore which = 380 } #Flanders
		#a core over the three bishoprics should be added in the new map
		command = { type = casusbelli which = SPA value = 48 }
		command = { type = casusbelli which = NAP value = 48 } #last attempt
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = NAP value = -100 }
		command = { type = relation which = TUR value = 100 }
		command = { type = relation which = PAP value = 50 }
		command = { type = relation which = BRA value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = PFA value = 50 }
		command = { type = relation which = SAC value = 50 }
		#command = { type = relation which = THU value = 50 }
		command = { type = relation which = KLE value = 50 }
		command = { type = cash value = -100 }
		command = { type = trigger which = 301053 } #TUR: A new alliance with France
	}
	action_b = {
		name = "ACTIONNAME170156B" #We are not interested in continuing wars
		command = { type = removecore which = 389 } #Lombardia
		command = { type = removecore which = 379 } #Artois
		command = { type = removecore which = 380 } #Flanders
		command = { type = removecore which = 387 } #Franche-Comté
		command = { type = removecore which = 404 } #Piemonte
		command = { type = removecore which = 405 } #Savoie
		command = { type = relation which = SPA value = 300 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = BRA value = -50 }
		command = { type = relation which = HAN value = -50 }
		command = { type = relation which = HES value = -50 }
		command = { type = relation which = PFA value = -50 }
		command = { type = relation which = SAC value = -50 }
		#command = { type = relation which = THU value = -50 }
		#if SAV doesn't exist, it'll be released
		command = { type = independence which = SAV }
		#if SAV exists, it'll receive one its two core provinces
		command = { type = secedeprovince which = SAV value = 404 } #Piemonte
		command = { type = secedeprovince which = SAV value = 405 } #Savoie
		command = { type = sleepevent which = 170130 } #FRA: Plan invasion of Corsica
		command = { type = sleepevent which = 170144 } #FRA: The recovery of Siena
		[COLOR=Red]command = { type = sleepevent which = 12037 } #FRA: The Treaty of Cateau-Cambrésis[/COLOR]
		command = { type = sleepevent which = 170233 } #FRA: The Angevin legacy
	}
}
#-#When Henri II succeeded his father François Ier to the throne of France he soon reopened the hostilities with the House of Habsburg. He proceeded to renew the old alliance France had with 'the Turk', Sultan Süleyman I, whose fleet was so important to gain control of the accesses to the Italian peninsula in case of invasion from the sea. With the imperial Lutheran Princes he then stipulated the treaty of Chambord, under whose terms in exchange of financial and military help against the Habsburgs he was given a free hand in occupying the three neighbouring bishoprics of Metz, Toul and Verdun. In 1552-1557 King Henri II would also arrange further military expeditions to Italy, mainly to help the Republic of Siena lift the siege laid by the imperial troops in order to punish Siena's pro-French attitude, and to support Pope Paulus IV, with strong anti-Spanish attitude, in a league aiming at liberating Italy from the Spanish yoke in a last resolute attempt. In case of success the Pope would acknowledge French possession of Milan and Naples.


Code:
#(1559-1575) The Treaty of Cateau-Cambrésis
#modified by Bordic
event = {
	id = 12037
	trigger = {
		NOT = { exists = ITA }
		exists = SPA
		[COLOR=Yellow]OR = {[/COLOR]
			core = { province = 389 data = -1 } #Lombardia
			[COLOR=Yellow]event = 170156 #FRA: The Habsburg-Valois struggle for supremacy
		}[/COLOR]
		NOT = {
			war = { country = FRA country = SPA }
			war = { country = FRA country = SAV }
			war = { country = SPA country = SAV }
		}
		core = { province = 389 data = SPA } #Lombardia (imperial lapsed fief)
		core = { province = 387 data = SPA } #Franche-Comté (Burgundian inheritance)
		OR = { #France didn't achieve her goals
			NOT = { owned = { province = 379 data = -1 } } #Artois
			NOT = { owned = { province = 380 data = -1 } } #Flanders
			NOT = { owned = { province = 387 data = -1 } } #Franche-Comté
			NOT = { owned = { province = 389 data = -1 } } #Lombardia
			NOT = { owned = { province = 402 data = -1 } } #Emilia
			NOT = { owned = { province = 393 data = -1 } } #Napoli
			NOT = { owned = { province = 403 data = -1 } } #Liguria
			NOT = { owned = { province = 428 data = -1 } } #Navarra
		}
		OR = { #minimal Spanish presence in the Low Countries
			owned = { province = 340 data = SPA } #Zeeland
			owned = { province = 377 data = SPA } #Luxemburg
			owned = { province = 378 data = SPA } #Brabant
			owned = { province = 379 data = SPA } #Artois
			owned = { province = 380 data = SPA } #Flanders
			owned = { province = 383 data = SPA } #Picardie
		}
		OR = { #minimal Spanish presence in Italy
			owned = { province = 405 data = SPA } #Savoie
			owned = { province = 404 data = SPA } #Piemonte
			owned = { province = 406 data = SPA } #Provence
			owned = { province = 389 data = SPA } #Lombardia
			owned = { province = 401 data = SPA } #Firenze
			owned = { province = 402 data = SPA } #Emilia
			owned = { province = 400 data = SPA } #Siena
			owned = { province = 403 data = SPA } #Liguria
			owned = { province = 390 data = SPA } #Mantua
			owned = { province = 391 data = SPA } #Romagna
			owned = { province = 392 data = SPA } #Marche
			owned = { province = 399 data = SPA } #Roma
			owned = { province = 393 data = SPA } #Napoli
			owned = { province = 394 data = SPA } #Apulia
		}
	}
	random = no
	country = FRA
	name = "EVENTNAME12037" #The Treaty of Cateau-Cambrésis
	desc = "EVENTHIST12037"
	#-#

	date = { day = 2 month = April year = 1559 }
	offset = 10
	deathdate = { day = 20 month = October year = 1575 }

	action_a = {
		name = "ACTIONNAME12037A" #Sign the Treaty
		command = { type = stability value = 1 }
		command = { type = removecore which = 389 } #Lombardia
		command = { type = removecore which = 379 } #Artois
		command = { type = removecore which = 380 } #Flanders
		command = { type = removecore which = 387 } #Franche-Comté
		command = { type = removecore which = 404 } #Piemonte
		command = { type = removecore which = 405 } #Savoie
		command = { type = secedeprovince which = SPA value = 387 } #Franche-Comté
		command = { type = secedeprovince which = SPA value = 337 } #Friesen
		command = { type = secedeprovince which = SPA value = 338 } #Geldre
		#The Burgundian Low Countries
		command = { type = secedeprovince which = SPA value = 339 } #Holland
		command = { type = secedeprovince which = SPA value = 340 } #Zeeland
		command = { type = secedeprovince which = SPA value = 377 } #Luxembourg
		command = { type = secedeprovince which = SPA value = 378 } #Brabant
		command = { type = secedeprovince which = SPA value = 379 } #Artois
		command = { type = secedeprovince which = SPA value = 380 } #Flanders
		#All Italian territories except Venice
		command = { type = secedeprovince which = SPA value = 389 } #Lombardia
		command = { type = secedeprovince which = SPA value = 390 } #Mantua
		command = { type = secedeprovince which = SPA value = 403 } #Liguria
		command = { type = secedeprovince which = SPA value = 402 } #Emilia
		command = { type = secedeprovince which = SPA value = 391 } #Romagna
		command = { type = secedeprovince which = SPA value = 401 } #Firenze
		command = { type = secedeprovince which = SPA value = 400 } #Siena
		command = { type = secedeprovince which = SPA value = 399 } #Roma
		command = { type = secedeprovince which = SPA value = 392 } #Marche
		command = { type = secedeprovince which = SPA value = 393 } #Napoli
		command = { type = secedeprovince which = SPA value = 394 } #Apulia
		command = { type = secedeprovince which = SPA value = 395 } #Messina
		command = { type = secedeprovince which = SPA value = 396 } #Sicily
		command = { type = secedeprovince which = SPA value = 397 } #Sardinia
		#All Spanish territories
		command = { type = secedeprovince which = SPA value = 426 } #Roussillon
		command = { type = secedeprovince which = SPA value = 428 } #Navarra
		command = { type = secedeprovince which = SPA value = 427 } #Gerona
		command = { type = secedeprovince which = SPA value = 429 } #Catalonia
		command = { type = secedeprovince which = SPA value = 430 } #Aragon
		command = { type = secedeprovince which = SPA value = 431 } #Cantabria
		command = { type = secedeprovince which = SPA value = 432 } #Asturias
		command = { type = secedeprovince which = SPA value = 433 } #Galicia
		command = { type = secedeprovince which = SPA value = 435 } #Leon
		command = { type = secedeprovince which = SPA value = 436 } #Castilla
		command = { type = secedeprovince which = SPA value = 437 } #Valencia
		command = { type = secedeprovince which = SPA value = 438 } #Murcia
		command = { type = secedeprovince which = SPA value = 439 } #Toledo
		command = { type = secedeprovince which = SPA value = 440 } #Estramadura
		command = { type = secedeprovince which = SPA value = 443 } #Andalusia
		command = { type = secedeprovince which = SPA value = 444 } #Granada
		command = { type = secedeprovince which = SPA value = 445 } #Gibraltar
		command = { type = secedeprovince which = SPA value = 817 } #The Canary Islands
		command = { type = secedeprovince which = SPA value = 821 } #The Baleares
		#if SAV exists, it'll receive one its two core provinces
		command = { type = secedeprovince which = SAV value = 404 } #Piemonte
		command = { type = secedeprovince which = SAV value = 405 } #Savoie
		command = { type = revoltrisk which = 60 value = -5 }
		command = { type = badboy value = -5 }
		command = { type = sleepevent which = 170233 } #FRA: The Angevin legacy
		command = { type = trigger which = 285112 } #SPA: Treaty of Cateau-Cambrésis
	}
	action_b = {
		name = "ACTIONNAME12037B" #Refuse to sign it
		command = { type = stability value = -2 }
		command = { type = removecore which = 389 } #Lombardia
		command = { type = removecore which = 404 } #Piemonte
		command = { type = removecore which = 405 } #Savoie
		command = { type = removecore which = 387 } #Franche-Comté
		command = { type = relation which = SPA value = -100 }
		command = { type = revoltrisk which = 60 value = 5 }
		command = { type = badboy value = 5 }
		command = { type = cash value = -500 } #for continuing wars
		command = { type = DIP which = -2 value = 60 }
		command = { type = ADM which = -2 value = 60 }
		command = { type = sleepevent which = 170021 } #FRA: Independence of Savoy
		command = { type = sleepevent which = 285098 } #SPA: Independence of Savoy
		command = { type = sleepevent which = 170131 } #FRA: Cateau-Cambrésis and Corsica
		command = { type = sleepevent which = 170233 } #FRA: The Angevin legacy
	}
}
#-#The spread of Calvinism led the King of France to sign the Treaty of Cateau-Cambrésis in 1559, ending the long struggle between France and Spain. After decades of reckless invasions, Henri II agreed to respect Habsburg primacy in Italy and control over Flanders and Franche-Comté. King Felipe II of Spain, in return, promised that Spain would desist in its attempts to weaken the Valois kings. After signing the treaty, Henri II and Felipe II could now turn their attention to combating Protestantism. In execution of the peace treaty the House of Savoy was granted its ancestral territories in order to form a buffer state between France and Spanish controlled Italy.
 
RELATIONS BETWEEN AUSTRIA AND SPAIN WITH BURGUNDY IN THE EARLY ITALIAN WARS


In the sequences of the league of Cambrai and the Holy League against France, any relation with Spain was removed because only Aragon was involved in the early Italian Wars, historically speaking. But since in eu2 terms, Aragon disappear long before these events happen (about 1480s) and we would like to see Spain very friendly towards Austria, also because of Austrian vote in the election of the Holy Roman Emperor (I sometimes see Spain becoming HRE in early 1500s and until 1516, when the real historical HRE was elected, Carlos I), I then suggest to add, ONLY for HAB events, +100 relations towards Spain (keeping ARG of course) and for action A (historical choice) only. What about? Is this feasible?

And becausee of family ties I would do the same between Austria and Burgundy as far as Cambrai was in the Burgundian Low Countries.


Code:
#(1508) League of Cambrai (FRA accepts)
#reworked by Isaac Brock
event = {
	id = 17021 #triggered by FRA_3107 A
	random = no
	country = HAB
	name = "EVENTNAME3107" #The League of Cambrai
	desc = "EVENTHIST3107"
	#-#

	action_a = {
		name = "ACTIONNAME3107A" #Express Support
		command = { type = casusbelli which = VEN value = 36 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = ARG value = 150 }
		[COLOR=Yellow]command = { type = relation which = SPA value = 100 }
		command = { type = relation which = BUR value = 200 }[/COLOR] 
	}
	action_b = {
		name = "ACTIONNAME3107B" #Ignore
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = ARG value = -50 }
	}
	action_c = {
		name = "ACTIONNAME3107C" #Express Hostility
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = ARG value = -150 }
	}
}

#(1508) League of Cambrai (FRA refuses)
#reworked by Isaac Brock and by Bordic
event = {
	id = 17022 #triggered by FRA_3107 B/C
	random = no
	country = HAB
	name = "EVENTNAME3107" #The League of Cambrai
	desc = "EVENTHIST3107"
	#-#

	action_a = {
		name = "ACTIONNAME3107A" #Express Support
		command = { type = casusbelli which = VEN value = 36 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = ARG value = 150 }
		[COLOR=Yellow]command = { type = relation which = SPA value = 100 }
		command = { type = relation which = BUR value = 200 }[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME3107B" #Ignore
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = sleepevent which = 3545 } #PAP: The League of Cambrai
		command = { type = sleepevent which = 17020 } #SPA: The League of Cambrai
		command = { type = sleepevent which = 17019 } #ARG: The League of Cambrai
		command = { type = sleepevent which = 220009 } #MAN: The League of Cambrai
		command = { type = sleepevent which = 252009 } #PAM: The League of Cambrai
		command = { type = sleepevent which = 17018 } #VEN: Realizing Great Danger
		command = { type = sleepevent which = 17024 } #PAP: The Holy League against France
		command = { type = sleepevent which = 236006 } #MUS: The Holy League against France (no PAP)
	}
	action_c = {
		name = "ACTIONNAME3107C" #Express Hostility
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = sleepevent which = 3545 } #PAP: The League of Cambrai
		command = { type = sleepevent which = 17020 } #SPA: The League of Cambrai
		command = { type = sleepevent which = 17019 } #ARG: The League of Cambrai
		command = { type = sleepevent which = 220009 } #MAN: The League of Cambrai
		command = { type = sleepevent which = 252009 } #PAM: The League of Cambrai
		command = { type = sleepevent which = 17018 } #VEN: Realizing Great Danger
		command = { type = sleepevent which = 17024 } #PAP: The Holy League against France
		command = { type = sleepevent which = 236006 } #MUS: The Holy League against France (no PAP)
	}
}
#(1508-1509) League of Cambrai (FRA doesn't exists or FRA3107 doesn't fire)
#reworked by Isaac Brock
event = {
	id = 3182
	trigger = {
		exists = VEN
		event = 17017 #VEN: Seeing a Chance in Romagna
		NOT = { event = 3107 } #earlier FRA Cambrai event
	}
	random = no
	country = HAB
	name = "EVENTNAME3107" #The League of Cambrai
	desc = "EVENTHIST3107"
	#-#

	date = { day = 10 month = December year = 1508 } #must be after deathdate of FRA_3107
	offset = 5
	deathdate = { day = 1 month = April year = 1509 }

	action_a = {
		name = "ACTIONNAME3107A" #Express Support
		command = { type = casusbelli which = VEN value = 72 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = ARG value = 150 }
		[COLOR=Yellow]command = { type = relation which = SPA value = 100 }
		command = { type = relation which = BUR value = 200 }[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME3107B" #Ignore
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = sleepevent which = 17018 } #VEN: Realizing Great Danger
	}
	action_c = {
		name = "ACTIONNAME3107C" #Express Hostility
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = sleepevent which = 17018 } #VEN: Realizing Great Danger
	}
}

#-#Since 1495 Venice held the main ports of Apulia against Aragonese claims to have them back. With the French invasion of Milan, she had acquired Milanese territories from the Adda River eastwards and with the fall of Cesare Borgia also occupied Rimini, Faenza and Ravenna against Pope Julius II's will. She also held Padua, Verona and Friuli on which Maximilian of Habsburg had imperial rights. In late 1507 Maximilian announced his intention to descend Italy to receive the imperial investiture by the Pope himself and in early 1508 he assembled a big army to escort him down to Rome and requested free passage through Venetian territories. He was told that he would be left to pass only without his army. Enraged at that answer, he attacked Venice but his attempt turned to be quickly a big failure: not only Venice routed the imperial army but also seized the imperial cities of Triest, Gorz and Fiume, thus forcing Maximilian to conclude a humiliating truce. With Pope Julius II's assent, Maximilian took the title of 'Emperor-elect', thus breaking the century-old custom that the Holy Roman Emperor had to be crowned by the Pope. When Venice provided a second pretext for an attack on itself by appointing her own candidate to the vacant bishopric of Vicenza, as answer to her misbehaviour, on 10 December 1508 at Cambrai the Emperor, the King of France and Ferdinand of Aragon signed a treaty seemingly concerning a defensive alliance against the Turk, but in reality they meant to form a league to attack Venice and deprive the Serenissima of her Terraferma territories. Pope Julius II, after a renewed Venetian refusal to give Romagna back, ratified the treaty and at the same time proceeded to excommunicate all Venetian citizens. Ferrara and Mantua, each of them with claims to territories held by Venice, joined the league too. In April 1509 military operations started and a month later French troops decimated the Venetian army at the battle of Agnadello. Even though Venice managed to break the league by concluding separate peaces with her opponents, she faced the collapse of its strategic position and had to offer up the cities it had occupied in Romagna to the Pope. However, Pope Julius II was still not satisfied and demanded that the war be prosecuted until Venice conceded control over their church to the Pope and compensated him for his expenses.

Code:
#(1510-1512) Holy League of 1510 - Austrian Version
event = {
	id = 17025
	trigger = {
		OR = {
			event = 17024 #PAP: The Holy League against France
			event = 236006 #MUS: The Holy League against France
		}
	}
	random = no
	country = HAB
	name = "EVENTNAME17024" #The Holy League against France
	desc = "EVENTHIST17024"
	#-#

	date = { day = 10 month = October year = 1510 }
	
	offset = 500
	deathdate = { day = 1 month = april year = 1512 }

	action_a = {
		name = "ACTIONNAME17024A" #Express Support
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = ARG value = 150 }
		command = { type = relation which = PAP value = 150 }
		[COLOR=Yellow]command = { type = relation which = SPA value = 100 }
		command = { type = relation which = BUR value = 200 }[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME17024B" #Stay neutral
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = relation which = PAP value = -50 }
	}
	action_c = {
		name = "ACTIONNAME17024C" #Express Hostility
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = relation which = PAP value = -150 }
	}
}
#-#In 1510 Venice submitted to the Pope, thus lessening the league of Cambrai. Conditions were hard for Venice, the Republic had to renounce her traditional power to appoint bishops as well as all jurisdiction over Papal subjects in Venetian territory and was to compensate Pope Julius II for his war expenses needed to recapture the Papal holdings in Romagna, while the Pope accepted the humble request of the Republic for pardon, cancelling the interdict. But the reconciliation between Venice and the Pope did not stop the French to continue the war against Venice with attacks to her cities in Terraferma. Julius II, in the meanwhile, had become increasingly concerned by the growing French presence in Italy and formulated plans, both to chase the French out of the Po Valley and to seize the Duchy of Ferrara, a French ally, with the intention to add the territories of Modena, Reggio and Ferrara to the Papal States. In realizing his plan the Pope immediately excommunicated Alfonso d'Este, Duke of Ferrara, declaring his fief forfeited for his remaining loyal to France, then he gained the military support of Venice, eager to recover her territories lost to the French a armies and hired an army of Swiss mercenaries to attack Milan as to isolate the French armies in Italy. However his plans failed as the French army managed to invade Romagna and occupy the cities of Bologna and Ravenna, supported by the powerful and celebrated artillery of Duke Alfonso d'Este. In addition, in response to Pope's switching sides, Louis XII of France convoked a Schismatic Council at Pisa as to have the 'Warrior Pope' deposed. Pope Julius II, having unsuccessfully pressed the Republic of Florence to refuse hosting the schismatic cardinals, proclaimed the Holy League against France and convoked a Council of his own to meet at the Lateran in Rome. The promise of territorial gains at French expense caused Ferdinand II of Aragon and Emperor Maximilian I to abandon their alliance with the French, and in October 1511, they joined the newly-formed Holy League together with Julius II and the Republic of Venice. In November, Henry VIII of England and the Swiss confederation joined as well.


and here, since the annexation of a country in eu2 means loss of relations with other countries I suggest to add some towards France and Austria:
Code:
#(1517-1519) The Burgundian court
#by Bordic, text by Fodoron
event = {
	id = 285205
	trigger = {
		core = { province = 387 data = -1 } #Franche-Comté (part of the Burgundian inheritance)
	}
	random = no
	country = SPA
	name = "EVENTNAME285205" #The Burgundian court
	desc = "EVENTHIST285205"
	#-#

	date = { day = 21 month = september year = 1517 }
	offset = 1
	deathdate = { year = 1519 }

	action_a = {
		name = "ACTIONNAME285205A" #Up the Burgundian king!
		command = { type = flagname which = "Saltire" } #Burgundian Cross
		command = { type = revoltrisk which = 60 value = -5 }
		[COLOR=Yellow]command = { type = relation which = HAB value = 50 }
		command = { type = relation which = FRA value = -50 }[/COLOR]
		command = { type = wakeleader which = 0127852 } #Carlos de Lannoy (SPA)
		command = { type = wakeleader which = 0127878 } #Lamoral Egmont (SPA)
		command = { type = wakeleader which = 0127848 } #Luis de Bette (SPA)
		command = { type = sleepevent which = 137016 } #BUR: Charles' residence and insignia
	}
}
#-#Charles of Ghent, Duke of Burgundy, Carlos I of Spain, Charles V Holy Roman Emperor. By inheritance he was the ruler of a vast European empire. Intelligent and capable, he spoke French, German, Spanish and Italian. He was loyaly served by Flemish, Waloons, Germans, French, Spanish and Italians. From his international armies to his international councils, the Spanish monarchy was no longer only that, it was European.




RELATIONS BETWEEN ARAGON/SPAIN AND BURGUNDY IN THE EARLY ITALIAN WARS

Still about Cambrai being Burgundian, also because of dynastical ties even in case Aragon still exists (normally when played by a human).

Code:
#(1508-1509) The League of Cambrai
#Modified by Isaac Brock
event = {
	id = 17019
	trigger = {
		event = 17017 #VEN: Seeing a Chance in Romagna
		exists = VEN
		OR = {
			event = 3107 #FRA: The League of Cambrai
			event = 17023 #FRA: The League of Cambrai (HAB doesn't exists)
		}
	}
	random = no
	country = ARG
	name = "EVENTNAME3107" #The League of Cambrai
	desc = "EVENTHIST3107"
	#-#

	date = { day = 10 month = December year = 1508 }
	offset = 20
	deathdate = { day = 1 month = April year = 1509 }

	action_a = {
		name = "ACTIONNAME3107A" #Express Support
		command = { type = casusbelli which = VEN value = 36 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = FRA value = 150 }
		[COLOR=Yellow]command = { type = relation which = BUR value = 200 }[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME3107B" #Ignore
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = FRA value = -50 }
	}
	action_c = {
		name = "ACTIONNAME3107C" #Express Hostility
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = FRA value = -150 }
	}
}

#(1508-1509) The League of Cambrai
#Modified by Isaac Brock
event = {
	id = 17020
	trigger = {
		event = 17017 #VEN: Seeing a Chance in Romagna
		exists = VEN
		NOT = { exists = ARG }
		OR = {
			event = 3107 #FRA: The League of Cambrai
			event = 17023 #FRA: The League of Cambrai (HAB doesn't exists)
		}
	}
	random = no
	country = SPA
	name = "EVENTNAME3107" #The League of Cambrai
	desc = "EVENTHIST3107"
	#-#

	date = { day = 10 month = December year = 1508 }
	offset = 20
	deathdate = { day = 1 month = April year = 1509 }

	action_a = {
		name = "ACTIONNAME3107A" #Express Support
		command = { type = casusbelli which = VEN value = 36 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = FRA value = 150 }
		[COLOR=Yellow]command = { type = relation which = BUR value = 200 }[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME3107B" #Ignore
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = FRA value = -50 }
	}
	action_c = {
		name = "ACTIONNAME3107C" #Express Hostility
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = FRA value = -150 }
	}
}

#(1510-1512) Holy League of 1510 Spanish Version
event = {
	id = 17027
	trigger = {
		OR = {
			event = 17024 #PAP: The Holy League against France
			event = 236006 #MUS: The Holy League against France
		}
		NOT = { exists = ARG }
		NOT = { event = 17026 } #ARG: The Holy League against France
	}
	random = no
	country = SPA
	name = "EVENTNAME17024" #The Holy League against France
	desc = "EVENTHIST17024"
	#-#

	date = { day = 10 month = October year = 1510 }
	offset = 500
	deathdate = { day = 1 month = april year = 1512 }

	action_a = {
		name = "ACTIONNAME17024A" #Express Support
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = PAP value = 150 }
		[COLOR=Yellow]command = { type = relation which = BUR value = 200 }[/COLOR]
	}
	action_b = {
		name = "ACTIONNAME17024B" #Stay neutral
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = PAP value = -50 }
	}
	action_c = {
		name = "ACTIONNAME17024C" #Express Hostility
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = PAP value = -150 }
	}
}


RELATIONS BETWEEN FRANCE AND BURGUNDY IN THE EARLY ITALIAN WARS


Still about Cambrai being Burgundian but in order to prevent any war between France and Burgundy before the Spanish inheritance.

Code:
#(1508) The League of Cambrai
#reworked by Isaac Brock
event = {
	id = 3107
	trigger = {
		event = 17017 #VEN: Seeing a Chance in Romagna
		exists = VEN
		exists = HAB
	}
	random = no
	country = FRA
	name = "EVENTNAME3107" #The League of Cambrai
	desc = "EVENTHIST3107"
	#-#

	date = { day = 9 month = December year = 1508 }

	action_a = {
		name = "ACTIONNAME3107A" #Express Support
		command = { type = casusbelli which = VEN value = 60 }
		command = { type = relation which = VEN value = -200 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = ARG value = 100 }
		command = { type = relation which = SPA value = 100 }
		[COLOR=Yellow]command = { type = relation which = BUR value = 200 }[/COLOR]
		command = { type = sleepevent which = 17023 } #(if HAB doesn't exist) #FRA: The League of Cambrai
		command = { type = trigger which = 174007 } #GEN: The League of Cambrai
		command = { type = trigger which = 17021 } #HAB: The League of Cambrai
	}
	action_b = {
		name = "ACTIONNAME3107B" #Ignore
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = sleepevent which = 17023 } #(if HAB doesn't exist) #FRA: The League of Cambrai
		command = { type = trigger which = 17022 } #HAB: The League of Cambrai
	}
	action_c = {
		name = "ACTIONNAME3107C" #Express Hostility
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = relation which = SPA value = -150 }
		command = { type = sleepevent which = 17023 } #(if HAB doesn't exist) #FRA: The League of Cambrai
		command = { type = trigger which = 17022 } #HAB: The League of Cambrai
	}
}

#(1508) League of Cambrai (HAB doesn't exists)
#reworked by Isaac Brock
event = {
	id = 17023
	trigger = {
		event = 17017 #VEN: Seeing a Chance in Romagna
		exists = VEN
		NOT = { exists = HAB }
		NOT = {event = 3107} #earlier FRA Cambrai event
	}
	random = no
	country = FRA
	name = "EVENTNAME3107" #The League of Cambrai
	desc = "EVENTHIST3107"
	#-#

	date = { day = 10 month = December year = 1508 } #must be after deathdate of FRA_3107
	offset = 5
	deathdate = { day = 1 month = April year = 1509 }

	action_a = {
		name = "ACTIONNAME3107A" #Express Support
		command = { type = casusbelli which = VEN value = 60 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = ARG value = 150 }
		command = { type = relation which = SPA value = 150 }
		[COLOR=Yellow]command = { type = relation which = BUR value = 200 }[/COLOR]
		command = { type = trigger which = 174007 } #GEN: The League of Cambrai
	}
	action_b = {
		name = "ACTIONNAME3107B" #Ignore
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = sleepevent which = 3545 } #PAP: The League of Cambrai
		command = { type = sleepevent which = 17020 } #SPA: The League of Cambrai
		command = { type = sleepevent which = 17019 } #ARG: The League of Cambrai
		command = { type = sleepevent which = 220009 } #MAN: The League of Cambrai
		command = { type = sleepevent which = 252009 } #PAM: The League of Cambrai
		command = { type = sleepevent which = 17018} #VEN: Realizing Great Danger
		command = { type = sleepevent which = 17024 } #PAP: The Holy League against France
		command = { type = sleepevent which = 236006 } #MUS: The Holy League against France (no PAP)
	}
	action_c = {
		name = "ACTIONNAME3107C" #Express Hostility
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = PAP value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = relation which = SPA value = -150 }
		command = { type = sleepevent which = 3545 } #PAP: The League of Cambrai
		command = { type = sleepevent which = 17020 } #SPA: The League of Cambrai
		command = { type = sleepevent which = 17019 } #ARG: The League of Cambrai
		command = { type = sleepevent which = 220009 } #MAN: The League of Cambrai
		command = { type = sleepevent which = 252009 } #PAM: The League of Cambrai
		command = { type = sleepevent which = 17018} #VEN: Realizing Great Danger
		command = { type = sleepevent which = 17024 } #PAP: The Holy League against France
		command = { type = sleepevent which = 236006 } #MUS: The Holy League against France (no PAP)
	}
}

RELATIONS BETWEEN FLORENCE/TUSCANY AND MILAN IN THE EARLY ITALIAN WARS


It is not so rare that Florence/Tuscany could be vassal of Milan, so instead of adding a new event to deal with vassal breaking, I would suggest to reduce relations between TOS and MLO in this event and also with other Italian minors:

Code:
#(1494-1498) Florentine Fear
#by Toio and modified by Bordic
event = {
	id = 297018
	trigger = {
		OR = {
			event = 12022 #NAP: Charles VIII presses claims on Naples
			event = 170040 #FRA: The French King in Naples
		}
	}
	random = no
	country = TOS
	name = "EVENTNAME297018" #Florentine Fear
	desc = "EVENTHIST297018"
	#-#

	date = { day = 2 month = September year = 1494 }
	offset = 20
	deathdate = { day = 2 month = April year = 1498 }

	action_a = {
		name = "ACTIONNAME297018A" #Let's come to terms with Charles
		command = { type = treasury value = -50 }
		command = { type = DIP which = -2 value = 12 }
		command = { type = merchants value = 3 } #lifted French embargo to Florentine merchants
		command = { type = revoltrisk which = 90 value = 5 } #Pisan rebels
		command = { type = relation which = NAP value = [COLOR=Red]-25[/COLOR] [COLOR=Yellow]-50[/COLOR] }
		command = { type = relation which = PAP value = [COLOR=Red]-25[/COLOR] [COLOR=Yellow]-50[/COLOR] }
		[COLOR=Yellow]command = { type = relation which = MLO value = -50 }
		command = { type = relation which = VEN value = -50 }[/COLOR] 
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = HAB value = -50 }
	}
	action_b = {
		name = "ACTIONNAME297018B" #We never bow to the greedy Charles
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = relation which = FRA value = -200 }
		command = { type = relation which = NAP value = 50 }
		command = { type = MIL which = 2 value = 24 } #Pier Capponi
		command = { type = ADM which = -2 value = 60 }
		command = { type = merchants value = -6 } #still French embargo to Florentine merchants
		command = { type = revolt which = 401 } #Firenze #(should be Pisa in a new map)
		command = { type = revoltrisk which = 120 value = 7 }
		command = { type = sleepevent which = 170121 } #FRA: Florence submits to Charles VIII
	}
}
#-#On the approach of the French in 1494, Piero de' Medici, son and successor of Lorenzo, had suffered a loss of nerve and had left the city to negotiate with Charles VIII. He extracted a promise from the French king to respect the freedom of the city, but only in return for handing over some of the most important fortresses protecting Florentine territory. When the news of this arrangement reached the city, it aroused a great wave of anger and resentment. Piero, forgetting the lessons of his ancestors, had already made himself unpopular by his arrogance and his flaunting of his position. The consequence was an uprising that drove out Piero and his rule and restored a more popular government. The new government admitted the French to the city, and some tense negotiations took place, in which the Florentines feared that Charles would try to restore Piero and become their master. The determination of the citizens to resist these demands, by arms if need be, so impressed Charles that he did not press them, but departed leaving the city its freedom. He held on to the fortresses, including Pisa, which had thrown off Florentine rule at the approach of the French. To regain Pisa was a passion with Florence, and the hope of doing so with French help was one reason why Florence made an alliance with France and stuck to it faithfully during the next few years.
 
Another issue about the sequences of the league of Cambrai and the Holy league against France. Considering the halvening of relations we have done for the Holy league of 1570 agaisnt the Turk, should we also do it for these events or is it unnecessary? Of course the Spanish event of Cambrai shouldn't be changed as Spain wasn't included in other events of the sequence except for the French one (FRA_3107 was furtherly modified with reduced relations in action A, original suggestion in post #368 of this thread). With my suggestion above only Austria will receive further good relations towards Spain.

In principle we should avoid Spain and Austria being allied to or friends (royal marriage for instance) of France but since both sequences fire in a couple of years, problably the effects are neutralized.
 
Last edited:
Since this event deals primarily with the relations between Venice and the Pope, even if Papal States could be out of the game, I suggest to release Marche province in any case, if PAP doesn't exist Marche will stay Venetian, otherwise it'll be released and relations will be improved between them without any permanent CB.

For the same reason, Emilia should be seceded to France together with Milan. Savoy, Florence and Siena released and in case Piemonte handed over to Savoy. Naples given (back) to Spain. Any thoughts?


Code:
#(1509-1510) Realizing Great Danger
#by Philip V modified by Isaac Brock
event = {
	id = 17018
	trigger = {
		event = 17017 #VEN: Seeing a Chance in Romagna
		exists = FRA
		OR = {
			event = 3107 #FRA: League of Cambrai if HAB exists
			event = 17023 #FRA: League of Cambrai if HAB doesn't exist
		}
		OR = {
			vassal = { country = HAB country = VEN }
			vassal = { country = FRA country = VEN }
			vassal = { country = PAP country = VEN }
			AND = {
				exists = PAP
				NOT = { countrysize = 12 }
			}
			AND = {
				NOT = {	exists = PAP }
				NOT = {	owned = { province = 399 data = -1 } } #Roma
			}
		}
	}
	random = no
	country = VEN
	name = "EVENTNAME17018" #Realizing Great Danger
	desc = "EVENTHIST3107"
	#-#

	date = { day = 24 month = february year = 1510 }
	offset = 30
 	deathdate = { day = 20 month = september year = 1510 }

	action_a = {
		name = "ACTIONNAME17018A" #Relinquish partial claims to Terraferma
		command = { type = stability value = 1 }
		command = { type = removecore which = 390 } #Mantua [COLOR=Yellow](not Brescia which is still Venetian[/COLOR])
		command = { type = removecore which = 391 } #Romagna
		command = { type = independence which = MAN } #(Mantua properly)
		command = { type = independence which = PAM } #(if Ferrara, otherwise 391 to be seceded to PAP)
		[COLOR=Yellow]command = { type = independence which = TOS }
		command = { type = independence which = GEN }
		command = { type = independence which = PIS }
		command = { type = independence which = SAV }
		command = { type = secedeprovince which = SAV value = 404 } #Piemonte
		command = { type = secedeprovince which = SAV value = 405 } #Savoie[/COLOR]
		command = { type = secedeprovince which = FRA value = 389 } #Lombardia
		[COLOR=Yellow]command = { type = secedeprovince which = FRA value = 402 } #Emilia
		command = { type = secedeprovince which = PAP value = 392 } #Marche
		command = { type = secedeprovince which = SPA value = 393 } #Napoli
		command = { type = secedeprovince which = SPA value = 394 } #Apulia[/COLOR]
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = HAB value = 50 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = TOS value = 50 }
		command = { type = relation which = ARG value = 50 }
		command = { type = relation which = SPA value = 50 }
		command = { type = relation which = PAM value = 50 }
		command = { type = relation which = MAN value = 50 }
		command = { type = relation which = GEN value = 50 }
	}
}
#-#Since 1495 Venice held the main ports of Apulia against Aragonese claims to have them back. With the French invasion of Milan, she had acquired Milanese territories from the Adda River eastwards and with the fall of Cesare Borgia also occupied Rimini, Faenza and Ravenna against Pope Julius II's will. She also held Padua, Verona and Friuli on which Maximilian of Habsburg had imperial rights. In late 1507 Maximilian announced his intention to descend Italy to receive the imperial investiture by the Pope himself and in early 1508 he assembled a big army to escort him down to Rome and requested free passage through Venetian territories. He was told that he would be left to pass only without his army. Enraged at that answer, he attacked Venice but his attempt turned to be quickly a big failure: not only Venice routed the imperial army but also seized the imperial cities of Triest, Gorz and Fiume, thus forcing Maximilian to conclude a humiliating truce. With Pope Julius II's assent, Maximilian took the title of 'Emperor-elect', thus breaking the century-old custom that the Holy Roman Emperor had to be crowned by the Pope. When Venice provided a second pretext for an attack on itself by appointing her own candidate to the vacant bishopric of Vicenza, as answer to her misbehaviour, on 10 December 1508 at Cambrai the Emperor, the King of France and Ferdinand of Aragon signed a treaty seemingly concerning a defensive alliance against the Turk, but in reality they meant to form a league to attack Venice and deprive the Serenissima of her Terraferma territories. Pope Julius II, after a renewed Venetian refusal to give Romagna back, ratified the treaty and at the same time proceeded to excommunicate all Venetian citizens. Ferrara and Mantua, each of them with claims to territories held by Venice, joined the league too. In April 1509 military operations started and a month later French troops decimated the Venetian army at the battle of Agnadello. Even though Venice managed to break the league by concluding separate peaces with her opponents, she faced the collapse of its strategic position and had to offer up the cities it had occupied in Romagna to the Pope. However, Pope Julius II was still not satisfied and demanded that the war be prosecuted until Venice conceded control over their church to the Pope and compensated him for his expenses.