#####Naples Major Events######
#By Joakim 'Greven' Bergqwist#
##############################

#The Aragon Inheritance of Napoli#
event = {

	id = 3660
	trigger = {
			exists = ARG
		}
	random = no
	country = NAP
	name = "EVENTNAME3660"
	desc = "EVENTHIST3660"
	style = 1

	date = { day = 1 month = january year = 1442 }
	offset = 30
	deathdate = { day = 1 month = january year = 1444 }

	action_a ={
		name = "ACTIONNAME3660A"	#Ruled as Vassal#
		command = { type = trigger which = 3555 }
		command = { type = relation which = ARG value = 150 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = VEN value = 100 }
		command = { type = relation which = GEN value = 100 }
		command = { type = relation which = PRO value = -100 }
		command = { type = stability value = 2 }
	}

	action_b ={
		name = "ACTIONNAME3660B"	#Independent#
		command = { type = relation which = ARG value = -150 }
		command = { type = relation which = PRO value = 100 }
		command = { type = relation which = FRA value = 100 }
		command = { type = stability value = -2 }
	}
}

#The Holy League#
event = {

	id = 3661
	trigger = {
				 exists = TUR
				event = 3549
			 }
	random = no
	country = NAP
	name = "EVENTNAME3661"
	desc = "EVENTHIST3661"
	style = 2

	date = { day = 1 month = january year = 1568 }
	offset = 30
	deathdate = { day = 1 month = january year = 1571 }

	action_a ={						#Support the Holy League#
		name = "ACTIONNAME3661A"	
		command = { type = casusbelli which = TUR value = 72 }
		command = { type = relation which = TUR value = -150 }
		command = { type = relation which = PAP value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = KNI value = 150 }
		command = { type = relation which = SAV value = 150 }
	}

	action_b ={						#Let the matter fall#
		name = "ACTIONNAME3661B"
		command = { type = relation which = TUR value = 50 }
		command = { type = relation which = PAP value = -50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = SPA value = -50 }
		command = { type = relation which = TOS value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = KNI value = -50 }
		command = { type = relation which = SAV value = -50 }
	}
}

#Events by Hive & nightmorphis

#The Kingdom of The Two Sicilies#
event = {
	id = 15053
	random = no
	country = NAP
	name = "The Kingdom of The Two Sicilies"
	desc = "In 1815, after the treaty of Vienna following the end of the Napoleonic Wars, Ferdinand IV was restored as monarch over Naples and Sicily. Although both of these old kingdoms were in his possesion before, they were formally divided. Ferdinand IV ended this by crowning himself king of the Two Sicilies, merging the two kingdoms into one."
	style = 5
	date = { day = 1 month = january year = 1815 }
	offset = 30
	deathdate = { day = 30 month = december year = 1815 }

	action_a = {
		name = "Ok"
		command = { type = country which = U03 }
		command = { type = stability value = 2 }
		
	}
}

event = {
	id = 79745003
	trigger = { control = {	province = 934 data = FRA } }
	random = no
	country = NAP
	name = "Parthenopaean Republic"
	desc = "The French entered Napolí in spite of the fierce resistance of the lazzaroni, who were devoted to the king, and with the aid of the nobles and bourgeois established the Parthenopaean Republic (January 1799). The intellectual Jacobin nobles who governed the Republic were convinced that the people needed of liberty and culture instead of bread and work."
	style = 5
	date = { day = 1 month = january year = 1799 }
	offset = 30
	deathdate = { day = 3 month = may year = 1815 }

	action_a = {
		name = "Flee to Palermo"
		command = { type = capital which = 396 }
		command = { type = stability value = -1 }
	}
}

event = {
	id = 79745004
	random = no
	country = NAP
	name = "The Return of the King"
	desc = "After the fall of Napoleon, Joachim Murat, who had succeeded Joseph Bonaparte as king of Naples in 1808, was dethroned (1815), and Ferdinand returned to Naples."
	style = 5

	action_a = {
		name = "Great"
		command = { type = capital which = 934 }
		command = { type = stability value = 1 }
		command = { type = breakvassal  which = FRA }
	}
}

event = {
	id = 79745009
	random = no
	country = NAP
	name = "The Emporer has Accepted"
	desc = "Emperor Charles VI has agreed in exchanging Parma for recognition as King of Napolí and Sicily."
	style = 5

	action_a = {
		name = "Great"
		command = { type = capital which = 934 }
		command = { type = stability value = 1 }
		command = { type = breakvassal  which = HAB }
		command = { type = addcore which = 934 }
		command = { type = addcore which = 393 }
		command = { type = addcore which = 394 }
		command = { type = addcore which = 395 }
		command = { type = addcore which = 396 }
	}
}


#Garibaldi lands in Naples#
event = { 
	id = 12345650
	random = no
	country = NAP
	name = "Garibaldi lands in Naples"
	desc = "Giuseppe Garibaldi (1807-1882) was an Italian patriot and soldier. After an unsuccesful attempt together with the founder of 'Young Italy', Mazzini, to unite Italy he fled to South America, were he took part in revolutions in Brazil and Uruguay. He returned to Italy in 1854 where he settled down on the island of Caprera northeast of Sardinia, and formed an alliance with Victor Emmanuel II, the King of Sardinia, and his prime minister, Camillo Cavour. After the war against Austria in 1859, Garibaldi and 1,000 volunteers - the 'Expedition of the Thousand' - with the accept of Victor Emmanuel II landed on Sicily on May 11 1860 and in less than three months conquered the entire island with the help from Sicilian volunteers. After taking control of Sicily, he crossed the Straits of Messina on August 19 and marched towards Naples. The Bourbon King of Naples and Sicily fled, leaving Garibaldi in control."
	style = 5
	action_a = {
		name = "Let Garibaldi have it all"
		command = { type = trigger which = 12345651 }
	}
	action_b = {
		name = "We shall stay and fight him!"
		command = { type = stability value = -3 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revoltrisk which = 120 value = 5 }
	}
}

event = {
	id = 1234701
	random = no
	country = NAP
	name = "Naples inheritance of Achaea"
	desc = "In 1373 Philip III of Taranto, prince of Achaea, resigned and gave the princepality to his former sister-in-law, Joan I of Naples."
	style = 1


	action_a = {
		name = "How nice of him"
		command = { type = addcore which = 1369 } 
		command = { type = inherit which = ALE }
		command = { type = stability value = 1 }
		
	}
}

event = {
	id = 1234702
	trigger = {
	NOT = { exists = ANJ }
        OR = {
        atwar = yes
        NOT = { control  = { province = 393 data = -1 } }
        NOT = { stability = 3 }
        domestic   = { type = aristocracy  value = 7 }
        }
	     }
	random = no
	country = NAP
	name = "The capture of Queen Giovanna I"
	desc = "Pope Urban VI declared her kingdom (a papal fief) to be forfeit and bestowed it upon Charles of Durazzo, her niece's husband and the heir-male. With Hungarian support, Charles advanced on Naples and captured Giovanna in 1381. She was strangled in prison in the Castle of San Fele on May 12, 1382. Her adopted heir, Louis of Anjou, was able to retain the mainland counties of Provence and Forcalquier. James of Baux, the nephew of Philip II of Taranto, claimed the Principality of Achaea after her deposition in 1381."
	date = { day = 1 month = january year = 1381 }
	offset = 30
	deathdate = { day = 12 month = may year = 1382 }

	action_a = {
		name = "Damn"
		command = { type = removecore which = 1369 }
		command = { type = removecore which = 406 }
		command = { type = independence which = ALE }
		command = { type = independence which = PRO }
		command = { type = sleepevent which = 1234601 }
		command = { type = trigger which = 1234703 } #ALE: The capture of Queen Giovanna I
		command = { type = trigger which = 1234704 } #PRO: The capture of Queen Giovanna I
		command = { type = monarch which = 16485 }
	}
}

event = {
	id = 1234601
	trigger = {
	exists = ANJ
        OR = {
        atwar = yes
        NOT = { control  = { province = 393 data = -1 } }
        NOT = { stability = 3 }
        domestic   = { type = aristocracy  value = 7 }
	}     }
	random = no
	country = NAP
	name = "The capture of Queen Giovanna I"
	desc = "Pope Urban VI declared her kingdom (a papal fief) to be forfeit and bestowed it upon Charles of Durazzo, her niece's husband and the heir-male. With Hungarian support, Charles advanced on Naples and captured Giovanna in 1381. She was strangled in prison in the Castle of San Fele on May 12, 1382. Her adopted heir, Louis of Anjou, was able to retain the mainland counties of Provence and Forcalquier. James of Baux, the nephew of Philip II of Taranto, claimed the Principality of Achaea after her deposition in 1381."
	date = { day = 1 month = january year = 1381 }
	offset = 30
	deathdate = { day = 12 month = may year = 1382 }

	action_a = {
		name = "Damn"
		command = { type = removecore which = 1369 }
		command = { type = removecore which = 406 }
		command = { type = independence which = ALE }
                command = { type = secedeprovince which = ANJ value = 406 }
		command = { type = sleepevent which = 1234702 }
		command = { type = trigger which = 1234703 } #ALE: The capture of Queen Giovanna I
		command = { type = trigger which = 1234710 } #ANJ: The capture of Queen Giovanna I
		command = { type = monarch which = 16485 }
	}
}


event = {
	id = 1234706
	random = no
	country = NAP
	name = "Naples inheritance of Achaea"
	desc = "In 1383, Charles III of Naples succeeded to the Principality of Achaea on the death of James of Baux."
       	style = 1


	action_a = {
		name = "Good"
		command = { type = vassal which = ALE }

	}
}

#The Kingdom of Italy#
event = {

	id = 761200
	trigger = {
		owned = { province = 389 data = -1 } #Lombardia
		owned = { province = 391 data = -1 } #Romagna
		owned = { province = 392 data = -1 } #Marche
		owned = { province = 393 data = -1 } #Napoli
		owned = { province = 394 data = -1 } #Apulia
		owned = { province = 395 data = -1 } #Messina
		owned = { province = 396 data = -1 } #Sicily
		owned = { province = 400 data = -1 } #Siena
		owned = { province = 401 data = -1 } #Firenze
		owned = { province = 402 data = -1 } #Emilia 
		owned = { province = 403 data = -1 } #Liguria
		owned = { province = 404 data = -1 } #Piemonte
		owned = { province = 370 data = -1 } #Veneto
		owned = { province = 397 data = -1 } #Sardinia
		owned = { province = 390 data = -1 } #Mantua
		owned = { province = 934 data = -1 } #Capitanata
		owned = { province = 1919 data = -1 } #Brescia
		owned = { province = 1920 data = -1 } #Friuli
		owned = { province = 1921 data = -1 } #Parma
		owned = { province = 1922 data = -1 } #Pisa
		owned = { province = 1923 data = -1 } #Ferrara
		
		NOT = {
			exists = ITA
			exists = SAV
			event = 60007
		}
	}
	random = no
	country = NAP
	name = "The Kingdom of Italy"
	desc = "During the 18th century, intellectual changes began to dismantle traditional values and institutions. Liberal ideas from France and England spread rapidly, and the French Revolution inspired several movements for a Unified Italy. Support came from the intellectual and middle-classes in all the Italian States and from numerous patriotic associations, often working in secret (as the `Young Italy', of Giuseppe Mazzini) but profoundly influencing society. A series of political and military events resulted in a Unified Kingdom of Italy being proclaimed on 17 March 1861 when the King of Sardinia, with the help from France, was crowned King of Italy."
	style = 5

	date = { day = 1 month = june year = 1848 }
	offset = 150

	action_a ={
		name = "Let us claim the name Kingdom of Italy"
		command = { type = country which = ITA }
		command = { type = addcore which = 368 } #Istria
		command = { type = addcore which = 370 } #Veneto
		command = { type = addcore which = 389 } #Lombardia
		command = { type = addcore which = 390 } #Mantua
		command = { type = addcore which = 391 } #Romagna
		command = { type = addcore which = 392 } #Marche
		command = { type = addcore which = 399 } #Rome
		command = { type = addcore which = 400 } #Siena
		command = { type = addcore which = 401 } #Firenze
		command = { type = addcore which = 402 } #Emilia
		command = { type = addcore which = 403 } #Liguria
		command = { type = addcore which = 396 } #Sicily
		command = { type = addcore which = 395 } #Messina
		command = { type = addcore which = 394 } #Apulia
		command = { type = addcore which = 393 } #Napoli
		command = { type = addcore which = 397 } #Sardinia
		command = { type = addcore which = 404 } #Piemonte
		command = { type = addcore which = 819 } #Malta
		command = { type = addcore which = 934 } #Capitanata
                command = { type = addcore which = 1417 } #Massa
		command = { type = addcore which = 1419 } #Verona
		command = { type = addcore which = 1423 } #Aquileia
		command = { type = addcore which = 1593 } #Trento
		command = { type = addcore which = 1919 } #Brescia
		command = { type = addcore which = 1920 } #Friuli
		command = { type = addcore which = 1921 } #Parma
		command = { type = addcore which = 1922 } #Pisa
		command = { type = addcore which = 1923 } #Ferrara
	}

	action_b ={
		name = "Let us keep the name Naples instead"
		command = { type = stability value = -2 }
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = desertion which = -1 value = 10000 }
	}
}

#The Kingdom of Italy#
event = {

	id = 60007
	trigger = {
		owned = { province = 389 data = -1 } #Lombardia
		owned = { province = 391 data = -1 } #Romagna
		owned = { province = 392 data = -1 } #Marche
		owned = { province = 400 data = -1 } #Siena
		owned = { province = 401 data = -1 } #Firenze
		owned = { province = 402 data = -1 } #Emilia 
		owned = { province = 403 data = -1 } #Liguria
		owned = { province = 404 data = -1 } #Piemonte
		owned = { province = 390 data = -1 } #Mantua
		owned = { province = 1919 data = -1 } #Brescia
		owned = { province = 1921 data = -1 } #Parma
		owned = { province = 1922 data = -1 } #Pisa
		owned = { province = 1923 data = -1 } #Ferrara
		
		NOT = {
			exists = ITA
		}
	}
	random = no
	country = NAP
	name = "The Kingdom of Italy"
	desc = "After the fall of the Roman Empire Italy was fragmented in many nations always in war. During the reign of its dukes Modena conquered the peninsula."
	style = 5

	date = { day = 1 month = june year = 1337 }
	offset = 150
	deathdate = { day = 1 month = june year = 1848 }

	action_a ={
		name = "Let us claim the title of King of Italy"
		command = { type = country which = ITA }
		command = { type = addcore which = 370 } #Veneto
		command = { type = addcore which = 389 } #Lombardia
		command = { type = addcore which = 390 } #Mantua
		command = { type = addcore which = 391 } #Romagna
		command = { type = addcore which = 392 } #Marche
		command = { type = addcore which = 399 } #Rome
		command = { type = addcore which = 400 } #Siena
		command = { type = addcore which = 401 } #Firenze
		command = { type = addcore which = 402 } #Emilia
		command = { type = addcore which = 403 } #Liguria
		command = { type = addcore which = 396 } #Sicily
		command = { type = addcore which = 395 } #Messina
		command = { type = addcore which = 394 } #Apulia
		command = { type = addcore which = 393 } #Napoli
		command = { type = addcore which = 397 } #Sardinia
		command = { type = addcore which = 404 } #Piemonte
		command = { type = addcore which = 934 } #Capitanata
		command = { type = addcore which = 988 } #Nice
		command = { type = addcore which = 1417 } #Massa
		command = { type = addcore which = 1419 } #Verona
		command = { type = addcore which = 1423 } #Aquileia
		command = { type = addcore which = 1919 } #Brescia
		command = { type = addcore which = 1920 } #Friuli
		command = { type = addcore which = 1921 } #Parma
		command = { type = addcore which = 1922 } #Pisa
		command = { type = addcore which = 1923 } #Ferrara
		command = { type = trigger which = 60008 }
	}

	action_b ={
		name = "Let us keep the name Napoli instead"
		command = { type = stability value = -2 }
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = desertion which = -1 value = 10000 }
	}
}

#Kings of Italy#
event = {

	id = 60008
	trigger = { event = 60007 }
        random = no
	country = ITA
	name = "Kings of Italy"
	desc = "From now our rulers will have the Crown of Italy"
	style = 5

	date = { day = 1 month = june year = 1337 }
	offset = 150
	deathdate = { day = 1 month = june year = 1848 }

	action_a ={
		name = "Glory to our monarchs"
		command = { type = wakemonarch which = 89812 }
		command = { type = wakemonarch which = 89813 }
		command = { type = wakemonarch which = 89814 }
		command = { type = wakemonarch which = 89815 }
		command = { type = wakemonarch which = 89816 }
		command = { type = wakemonarch which = 89817 }
		command = { type = wakemonarch which = 89818 }
		command = { type = wakemonarch which = 89819 }
		command = { type = wakemonarch which = 89820 }
		command = { type = wakemonarch which = 89821 }
		command = { type = wakemonarch which = 89822 }
		command = { type = wakemonarch which = 89823 }
		command = { type = wakemonarch which = 89824 }
		command = { type = wakemonarch which = 89825 }
		command = { type = wakemonarch which = 89826 }
		command = { type = wakemonarch which = 89827 }
		command = { type = wakemonarch which = 89828 }
		command = { type = wakemonarch which = 89829 }
		command = { type = wakemonarch which = 89830 }
		command = { type = wakemonarch which = 89831 }
		command = { type = wakemonarch which = 89832 }
		command = { type = wakemonarch which = 89833 }
		command = { type = wakemonarch which = 89834 }
	} 
}