#####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 }
	}
}

#Savoyan events by Hive

#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 Chambéry 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 = french }
		command = { type = relation which = FRA value = -100 }
		command = { type = stability value = -1 }

	}

	action_b ={				#Keep Capital at Chambéry#
		name = "Keep the Capital at Chambéry"
		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 }
}
	action_b = { #Let the matter fall
		name = "We are doing fine as a Duchy"
		command = { type = vp value = -200 }
		
	}
}


#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
		
		NOT = {
			exists = ITA
		}
	}
	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 = 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
	}

	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 }
	}
}