#Events for Ancona#


event = {
	id = 78793504
	trigger = {
		NOT = { vassal = { country = PAP country = ROM } }
                                        }
	random = no
	country = ROM
	name = "Free from Papal Control"
	desc = "We are free from Papal control now is the time to change our coat of arms and flag to something other than religious."
	style = 2
	
	date = { day = 1 month = january year = 1337 }
	offset = 30
        deathdate = { day = 1 month = january year = 1914 }

	action_a ={
		name = "Yes do it"
		command = { type = flagname which = _Prince-Bishop }
	}
	action_b ={
		name = "Stick with old ones"
		command = { type = vp value = -1 }
	}
}


#The Kingdom of Italy#
event = {

	id = 78793505
	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 = 78793506
		}
	}
	random = no
	country = ROM
	name = "The Counsil 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 Counsil 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 Ancona 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 = 78793506
	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 = ROM
	name = "The Counsil 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 Counsil 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 = 78793507 }
	}

	action_b ={
		name = "Let us keep the name Ancona 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 = 78793507
        random = no
	country = ROM
	name = "Counsil of Italy"
	desc = "From now our counsil will have the rule of Italy"
	style = 5

	action_a ={
		name = "Glory to our counsil"
		command = { type = wakemonarch which = 64112 }
	}
}
