#####Venézia Major Events######
#By Joakim 'Greven' Bergqwist#
##############################

event = {

	id = 773150
	trigger = {
                           NOT = { 
                               war = { country = VEN country = CRD }
                               owned  = { province = 1919 data = CRD } # Brescia not under Verona
                               owned  = { province = 1921 data = CRD } # Parma not under Verona
                               owned  = { province = 1417 data = CRD } # Massa not under Verona
                           }
                           owned  = { province = 1920 data = VEN } # Friuli under Venézia
		}
	random = no
	country = VEN
	name = "Defeat of Verona"
	desc = "The Lord of Verona is on his knees now. Let us finish him off!"
	style = 1

	date = { day = 1 month = january year = 1337 }
	offset = 360
	deathdate = { day = 29 month = december year = 1914 }

	action_a ={
		name = "Finish this!"
		command = { type = inherit which = CRD }
		command = { type = relation which = MLO value = 25 }
	}

	action_b ={
		name = "Let them keep Verona"
		command = { type = relation which = CRD value = 100 }
		command = { type = relation which = MLO value = -25 }
	}

}

#The Veneto-Turkish Conflict#
event = {

	id = 3637					#Triggered by TUR3359#
	random = no
	country = VEN
	name = "EVENTNAME3637"
	desc = "EVENTHIST3637"
	style = 2

	action_a ={				#Ok#
		name = "ACTIONNAME3637A"
		command = { type = casusbelli which = TUR value = 120 }
		command = { type = stability value = 1 }
		command = { type = diplomats value = 5 }
		command = { type = INF which = -2 value = 10000 }
		command = { type = CAV which = -2 value = 500 }
		command = { type = ART which = -2 value = 20 }
		command = { type = galleys which = -2 value = 60 }
	}
}
#The Veneto-Turkish Conflict#
event = {

	id = 3715					#Triggered by TUR3359#
	random = no
	country = VEN
	name = "EVENTNAME3715"
	desc = "EVENTHIST3715"
	style = 2

	action_a ={				#Ok#
		name = "ACTIONNAME3715A"
		command = { type = stability value = 1 }
		command = { type = merchants value = 6 }
		command = { type = treasury value = 300 }
		command = { type = relation which = KNI value = 100 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = TOS value = 100 }
	}
}
#The Holy League#
event = {

	id = 3638
	trigger = {
		exists = TUR
		event = 3549
	}
	random = no
	country = VEN
	name = "EVENTNAME3638"
	desc = "EVENTHIST3638"
	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 = "ACTIONNAME3638A"
		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 = KNI value = 150 }
		command = { type = relation which = NAP value = 150 }
		command = { type = relation which = SAV value = 150 }
	}

	action_b ={						#Let the matter fall#
		name = "ACTIONNAME3638B"
		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 = SAV value = -50 }
	}
}
#The Two Queens#
event = {
	id = 3844
	
	# Triggered by CYP 3842
	
	random = no
	country = VEN
	name = "EVENTNAME3844"
	desc = "EVENTHIST3844"
	style = 1

	action_a ={	#Caterina Cornero becomes Queen of Cyprus#
		name = "ACTIONNAME3844A"
		command = { type = vassal which = CYP }
	}
}

#Vanilla events modified by Hive

#The Inheritance of Cyprus#
event = {
	id = 3845
	
	# Triggered by CYP 3843
	
	random = no
	country = VEN
	name = "EVENTNAME3845"
	desc = "EVENTHIST3845"
	style = 1

	action_a ={	#Caterina Cornero offers Cyprus to Venézia#
		name = "ACTIONNAME3845A"
		command = { type = addcore which = 484 }
		command = { type = inherit which = CYP }
	}
}

event = {
	id = 4567801

	# Triggered by U38 4567800

	random = no
	country = VEN
	name = "The inhertiance of Cephalonia"
	desc = "In 1484 Venézia inherited Cephalonia."
	style = 1

	action_a ={
		name = "Great"
		command = { type = addcore which = 1399 }
		command = { type = inherit which = U38 }
	}
}

#Venetian events from AoN modified by Hive & nightmorphis

#The Grand Plebiscite#
event = { 
	id = 15166
	random = no 
	country = VEN
	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 Venézia, 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 = 15176 }
	} 
	action_b = {
		name = "Stay out"
		command = { type = relation which = SAR value = -100 }
		command = { type = stability value = -2 }
	} 
}

#Events by Hive

#The League of Cambrai#
event = {
	id = 15388
	trigger = {
		exists = PAP
	}
	random = no
	country = VEN
	name = "The League of Cambrai"
	desc = "The area which had tempted Venézia to divert her attention from her maritime position, with its promises of expansion, was the Romagna. Exploiting times of trouble in the Papal States, who held claims over several cities in the Romagna, Venézia asserted more and more influence in the area. Venézia's power was at its height, but this brought her enemies. Eager to take some of Venézia's lands, these all joined Pope Julius II in his anti-Venetian League of Cambrai in 1508. The Pope wanted Romagna back, the Austrian emperor Friuli and the Veneto, Spain the Apulian ports, the king of France Cremona, the king of Hungary Dalmatia, and each of the others some part. After many initial defeats, facing the end of the Republic, Venézia had a chance of luck. Through a series of victories, cecessions and especially cunning diplomacy, Venézia managed to shatter the alliance. After seven years of ruinous war, Venézia regained most of her domains on the mainland. But this war marked the beginning of her decline."
	style = 2
	date = { day = 13 month = august year = 1507 }
	offset = 150
	deathdate = { day = 1 month = may year = 1508 }
	
	action_a = {
		name = "Take an expansionist position"
		command = { type = relation which = PAP value = -100 }
		command = { type = addcore which = 391 }
		command = { type = addcore which = 1923 }
		command = { type = domestic which = OFFENSIVE value = 2 }
		command = { type = land value = 500 }
		command = { type = naval value = 500 }
		command = { type = gainbuilding which = -2 value = barrack }
		command = { type = gainbuilding which = -2 value = shipyard }
		command = { type = treasury value = -500 }
	}
	action_b = {
		name = "Take a defensive position"
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = fortress which = -1 value = 1 }
		command = { type = domestic which = OFFENSIVE value = -2 }
		command = { type = infra value = 500 }
		command = { type = trade value = 500 }
		command = { type = merchants value = 6 }
		command = { type = colonists value = 6 }
		command = { type = sleepevent which = 3545 }
	}
}

#The Occupation of Corfu#
event = {
	id = 15495
	trigger = {
		NOT = {
			owned = { province = 820 data = -1 }
		}
	}
	random = no
	country = VEN
	name = "The Occupation of Corfu"
	desc = "Corfu had been a possession of the Neapolitan house of Anjou since 1267. But under the weak rule the Anjou family, the island suffered considerably from the inroads of various adventurers. As a consequence, it placed itself under the protection of Venézia in 1386. After a series of struggles, Venézia acquired formal sovereignty over the island in 1401. Corfu was strongly fortified and became an important naval base, commanding the lower Adriatic."
	style = 0
	date = { day = 1 month = january year = 1386 }
	offset = 250
	deathdate = { day = 1 month = january year = 1391 }
	
	action_a = {
		name = "Assert claims on Corfu"
		command = { type = addcore which = 820 }
		command = { type = relation which = NAP value = -150 }
		command = { type = relation which = HUN value = -50 }
		command = { type = diplomats value = 2 }
		command = { type = INF which = -2 value = 5000 }
		command = { type = CAV which = -2 value = 5000 }
		command = { type = galleys which = -2 value = 15 }
	}
	action_b = {
		name = "Let it rest"
		command = { type = stability value = 1 }
		command = { type = relation which = NAP value = 100 }
		command = { type = relation which = HUN value = 50 }
	}
}

#The Kingdom of Italy#
event = {

	id = 60021
	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 = VEN
	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 = 1840 }
	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 = remove_countryculture which = greek }
		command = { type = remove_countryculture which = aleutian }
		command = { type = trigger which = 60022 }
	}

	action_b ={
		name = "Let us keep the name Venezia 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 = 60022
	trigger = { event = 60021 }

        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 doges"
		command = { type = wakemonarch which = 89947 }
		command = { type = wakemonarch which = 89948 }
		command = { type = wakemonarch which = 89949 }
		command = { type = wakemonarch which = 89950 }
		command = { type = wakemonarch which = 89951 }
		command = { type = wakemonarch which = 89952 }
		command = { type = wakemonarch which = 89953 }
		command = { type = wakemonarch which = 89954 }
		command = { type = wakemonarch which = 89955 }
		command = { type = wakemonarch which = 89956 }
		command = { type = wakemonarch which = 89957 }
		command = { type = wakemonarch which = 89958 }
		command = { type = wakemonarch which = 89959 }
		command = { type = wakemonarch which = 89960 }
		command = { type = wakemonarch which = 89961 }
		command = { type = wakemonarch which = 89962 }
		command = { type = wakemonarch which = 89963 }
		command = { type = wakemonarch which = 89964 }
		command = { type = wakemonarch which = 89965 }
		command = { type = wakemonarch which = 89966 }
		command = { type = wakemonarch which = 89967 }
		command = { type = wakemonarch which = 89968 }
		command = { type = wakemonarch which = 89969 }
		command = { type = wakemonarch which = 89970 }
		command = { type = wakemonarch which = 89971 }
		command = { type = wakemonarch which = 89972 }
		command = { type = wakemonarch which = 89973 }
		command = { type = wakemonarch which = 89974 }
		command = { type = wakemonarch which = 89975 }
		command = { type = wakemonarch which = 89976 }
		command = { type = wakemonarch which = 89977 }
		command = { type = wakemonarch which = 89978 }
		command = { type = wakemonarch which = 89979 }
		command = { type = wakemonarch which = 89980 }
		command = { type = wakemonarch which = 89981 }
		command = { type = wakemonarch which = 89982 }
		command = { type = wakemonarch which = 89983 }
		command = { type = wakemonarch which = 89984 }
		command = { type = wakemonarch which = 89985 }
		command = { type = wakemonarch which = 89986 }
		command = { type = wakemonarch which = 89987 }
		command = { type = wakemonarch which = 89988 }
		command = { type = wakemonarch which = 89989 }
		command = { type = wakemonarch which = 89990 }
		command = { type = wakemonarch which = 89991 }
		command = { type = wakemonarch which = 89992 }
		command = { type = wakemonarch which = 89993 }
		command = { type = wakemonarch which = 89994 }
		command = { type = wakemonarch which = 89995 }
		command = { type = wakemonarch which = 89996 }
		command = { type = wakemonarch which = 89997 }
		command = { type = wakemonarch which = 89998 }
		command = { type = wakemonarch which = 89999 }
		command = { type = wakemonarch which = 90000 }
		command = { type = wakemonarch which = 90001 }
		command = { type = wakemonarch which = 90002 }
		command = { type = wakemonarch which = 90003 }
		command = { type = wakemonarch which = 90004 }
		command = { type = wakemonarch which = 90005 }
		command = { type = wakemonarch which = 90006 }
		command = { type = wakemonarch which = 90007 }
		command = { type = wakemonarch which = 90008 }
		command = { type = wakemonarch which = 90009 }
		command = { type = wakemonarch which = 90010 }
		command = { type = wakemonarch which = 90011 }
		command = { type = wakemonarch which = 90012 }
		command = { type = wakemonarch which = 90013 }
		command = { type = wakemonarch which = 90014 }
	}
}

#The Kingdom of Italy#
event = {

	id = 15189
	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
		}
	}
	random = no
	country = VEN
	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 Venézia instead"
		command = { type = stability value = -2 }
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = desertion which = -1 value = 10000 }
	}
}