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

#The Holy League#
event = {

	id = 3647
	trigger = {
				 exists = TUR
				event = 3549
			 }
	random = no
	country = SAV
	name = "EVENTNAME3647"
	desc = "EVENTHIST3647"
	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 = "ACTIONNAME3647A"
		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 = NAP value = 150 }
		command = { type = relation which = KNI value = 150 }
	}

	action_b ={					#Let the matter fall#
		name = "ACTIONNAME3647B"
		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 = NAP value = -50 }
		command = { type = relation which = KNI value = -50 }
	}
}

#The Sale of Corsica#
event = {

	id = 3648				#Triggered by GEN3709 or SPA3175#
	random = no
	country = SAV
	name = "EVENTNAME3648"
	desc = "EVENTHIST3648"
	style = 4

	action_a ={				#Offer to buy Corsica#
		name = "ACTIONNAME3648A"
		command = { type = trigger which = 3710 }
	}

	action_b ={				#Pass the opportunity#
		name = "ACTIONNAME3648B"
		command = { type = treasury value = 100 }
	}
}

#Genoa accepts offer to buy Corsica#
event = {

	id = 3725				#Triggered by GEN3710#
	random = no
	country = SAV
	name = "EVENTNAME3725"
	desc = "EVENTHIST3725"
	style = 4

	action_a ={				#Good#
		name = "ACTIONNAME3725A"
		command = { type = relation which = GEN value = 150 }
		command = { type = treasury value = -800 }
	}
}

#Genoa decline offer to buy Corsica#
event = {

	id = 3726				#Triggered by GEN3710#
	random = no
	country = SAV
	name = "EVENTNAME3726"
	desc = "EVENTHIST3726"
	style = 4

	action_a ={				#Darn#
		name = "ACTIONNAME3726A"
		command = { type = relation which = GEN value = -50 }
	}
}

#Phillip of Bourbon succedes Carlos II in Spain#	#Bourbon#
event = {

	id = 79745000		#Triggered by SPA3173#
	random = no
	country = SAV
	name = "EVENTNAME3035"
	desc = "EVENTHIST3035"
	style = 4

	action_a ={				#Fight him#
		name = "ACTIONNAME3035A"
		command = { type = casusbelli which = FRA value = 360 }
		command = { type = casusbelli which = SPA value = 360 }
		command = { type = relation which = SPA value = -150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = stability value = 3 }
		command = { type = addcore which = 395 }
		command = { type = addcore which = 396 }
	}

	action_b ={				#Accept it#
		name = "ACTIONNAME3035B"
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = stability value = -1 }
	}
}

#Charles of Habsburg succedes Carlos II in Spain#	#Habsburg#
event = {

	id = 79745001		#Triggered by SPA3173#
	random = no
	country = SAV
	name = "EVENTNAME3036"
	desc = "EVENTHIST3036"
	style = 4

	action_a ={				#Accept it conditionally#
		name = "ACTIONNAME3036A"
		command = { type = casusbelli which = HAB value = 36 }
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = relation which = FRA value = 100 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = HOL value = 150 }
		command = { type = stability value = 1 }
	}

	action_b ={				#Fight him#
		name = "ACTIONNAME3036B"
		command = { type = casusbelli which = HAB value = 36 }
		command = { type = casusbelli which = SPA value = 36 }
		command = { type = relation which = SPA value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = stability value = 3 }
	}

	action_c ={				#Accept it#
		name = "ACTIONNAME3036C"
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = HOL value = 150 }
		command = { type = stability value = -1 }
	}

}

#Savoyan events by Hive & nightmorphis

#From France to Italy#
event = {

	id = 15001
	trigger = {
			owned = {
					province = 404
					data = -1
					}
		}
	random = no
	country = SAV
	name = "From France to Italy"
	desc = "In 1559, The great Duke Emmanuel Philibert moved the ducal residence of Savoy from Chambry to Torino, making Savoy more of an Italian than a French state. Emmanuel Philibert wanted Savoy to become less dependant on France and sought more influence in Italy."
	style = 2
	date = { day = 1 month = january year = 1559 }
	offset = 30
	deathdate = { day = 31 month = december year = 1561 }

	action_a ={				#Move Capital to Torino#
		name = "Move the Capital to Torino"
		command = { type = capital which = 404 }
		command = { type = infra value = 200 }
		command = { type = population which = 404  value = 10000 }
		command = { type = provincetax which = 404 value = 5 }
		command = { type = provincemanpower which = 404 value = 2 }
		command = { type = remove_countryculture which = french }
		command = { type = add_countryculture which = italian }
		command = { type = relation which = FRA value = -100 }
		command = { type = stability value = -1 }

	}

	action_b ={				#Keep Capital at Chambry#
		name = "Keep the Capital at Chambry"
		command = { type = stability value = 2 }
		command = { type = relation which = FRA value = 50 }
		command = { type = sleepevent which = 15002 }
	}
}


#The King of Sardinia#
event = {
	id = 15002
	trigger = {
		 owned = { province = 397 data = -1 }
	
	}
	random = no
	country = SAV
	name = "The King of Sardinia"
	desc = "Victor Amadeus II, Duke of Savoy, became King of Sicily in 1713 (by terms of the Treaty of Utrecht), after the War of the Spanish Succession. However, Sicily was passed to Austrian rule no more than 5 years later, in 1718 and then exchanged with Austria for the Kingdom of Sardinia in 1720. Savoy was subsumed into the Kingdom of Sardinia - but this change was in reality just a political maneuver by Victor Amadeus II, designed to secure a promotion from Duke to King. This was illustrated trough the fact that Torino remained as the capital of the kingdom."
	style = 4
	date = { day = 1 month = january year = 1713 }
	offset = 1
	deathdate = { day = 31 month = december year = 1790 }

	action_a = { # Excellent!
		name = "Let us aquire the title of King!"
		command = { type = addcore which = 397 }
		command = { type = remove_countryculture which = french }
		command = { type = country which = SAR }
		command = { type = stability value = 3 }
		command = { type = flagname which = KING }
		command = { type = secedeprovince which = HAB value = 395 }
		command = { type = secedeprovince which = HAB value = 396 }
		command = { type = removecore which = 395 }
		command = { type = removecore which = 396 }
}
	action_b = { #Let the matter fall
		name = "We are doing fine as a Duchy"
		command = { type = vp value = -200 }
		command = { type = addcore which = 397 }
		
	}
}


#The Kingdom of Italy#
event = {

	id = 15200
	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
			event = 60013
		}
	}
	random = no
	country = SAV
	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 Duchy of Savoy 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 = 60013
	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 = SAV
	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 = 60014 }
	}

	action_b ={
		name = "Let us keep the name Savoia 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 = 60014
	trigger = { event = 60013 }
        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 dukes"
		command = { type = sleepmonarch which = 16311 }
		command = { type = wakemonarch which = 89889 }
		command = { type = wakemonarch which = 89890 }
		command = { type = wakemonarch which = 89891 }
		command = { type = wakemonarch which = 89892 }
		command = { type = wakemonarch which = 89893 }
		command = { type = wakemonarch which = 89894 }
		command = { type = wakemonarch which = 89895 }
		command = { type = wakemonarch which = 89896 }
		command = { type = wakemonarch which = 89897 }
		command = { type = wakemonarch which = 89898 }
		command = { type = wakemonarch which = 89899 }
		command = { type = wakemonarch which = 89900 }
		command = { type = wakemonarch which = 89901 }
		command = { type = wakemonarch which = 89902 }
		command = { type = wakemonarch which = 89903 }
		command = { type = wakemonarch which = 89904 }
		command = { type = wakemonarch which = 89905 }
		command = { type = wakemonarch which = 89906 }
		command = { type = wakemonarch which = 89907 }
		command = { type = wakemonarch which = 89908 }
		command = { type = wakemonarch which = 89909 }
		command = { type = wakemonarch which = 89910 }
		command = { type = wakemonarch which = 89911 }
		command = { type = wakemonarch which = 89912 }
		command = { type = wakemonarch which = 89913 }
	} 
}