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

#The Inheritance of Milano#
event = {

	id = 3706
	trigger = {
			exists = HAB
			exists = FRA
		}
	random = no
	country = MLO
	name = "EVENTNAME3706"
	desc = "EVENTHIST3706"
	style = 2

	date = { day = 1 month = january year = 1500 }
	offset = 0
	deathdate = { day = 1 month = january year = 1501 }

	action_a ={					#Let the Habsburgs Inherite#
		name = "ACTIONNAME3706A"
		command = { type = trigger which = 3181 }
		command = { type = trigger which = 15441 }
		command = { type = dynastic which = HAB }
		command = { type = alliance which = HAB }
		command = { type = stability value = 1 }
		command = { type = relation which = HAB value = 100 }
		command = { type = relation which = FRA value = -100 }
	}

	action_b ={					#Let the French Inherite#
		name = "ACTIONNAME3706B"
		command = { type = trigger which = 3718 }
		command = { type = trigger which = 15442 }
		command = { type = dynastic which = FRA }
		command = { type = alliance which = FRA }
		command = { type = treasury value = 200 }
		command = { type = relation which = HAB value = -100 }
		command = { type = relation which = FRA value = 100 }
	}

	action_c ={					#Let the Sforzas keep it#
		name = "ACTIONNAME3706C"
		command = { type = stability value = -2 }
		command = { type = treasury value = -500 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = FRA value = -150 }
	}

}

#Events from AoN modified by Hive & nightmorphis

#The Grand Plebiscite#
event = { 
	id = 15164
	random = no 
	country = MLO
	name = "The Grand Plebiscite" 
	desc = "Following a plebiscite during 1859 and 1860 that voted in favour of annexation, all northern states of the Italian peninsula, except Venice, which was still part of Austria, joined the Kingdom of Sardinia. Together with the territory of Napoli and Sicily that had been taken by Garibaldi's expedition of `The Thousand', the Kingdom of Italy was proclaimed on 17 March 1861. Shall we join Sardinia in their glorious quest for a United Italy?"
	style = 5 
	action_a = {
		name = "Join" 
		command = { type = trigger which = 15174 }
	} 
	action_b = {
		name = "Stay out"
		command = { type = relation which = SAR value = -100 }
		command = { type = stability value = -2 }
	} 
}

#The Kingdom of Italy#
event = {

	id = 15192
	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 = 60023
		}
	}
	random = no
	country = MLO
	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 Milan 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 = 60023
	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 = MLO
	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 = 60024 }
	}

	action_b ={
		name = "Let us keep the name Milano 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 = 60024
	trigger = { event = 60023 }
        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 = wakemonarch which = 89780 }
		command = { type = wakemonarch which = 89781 }
		command = { type = wakemonarch which = 89782 }
		command = { type = wakemonarch which = 89783 }
		command = { type = wakemonarch which = 89784 }
		command = { type = wakemonarch which = 89785 }
		command = { type = wakemonarch which = 89786 }
		command = { type = wakemonarch which = 89787 }
		command = { type = wakemonarch which = 89788 }
		command = { type = wakemonarch which = 89789 }
		command = { type = wakemonarch which = 89790 }
		command = { type = wakemonarch which = 89791 }
		command = { type = wakemonarch which = 89792 }
	} 
}