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

#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 Venice#
		name = "ACTIONNAME3845A"
		command = { type = addcore which = 384 }
		command = { type = inherit which = CYP }
	}
}

#Venetian events from AoN modified by Hive

#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 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 = 15176 }
	} 
	action_b = {
		name = "Stay out"
		command = { type = relation which = SAR value = -100 }
		command = { type = stability value = -2 }
	} 
}

#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
	
		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 = 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 Venice instead"
		command = { type = stability value = -2 }
		command = { type = domestic which = CENTRALIZATION value = -5 }
		command = { type = desertion which = -1 value = 10000 }
	}
}

#Venetian events from EEP by Phillip V and Isaac Brock - severely modified by Hive

#Expansion for Survival#
event = {
	id = 15388
	trigger = {
		NOT = {
			owned = { province = 391 data = -1 }
		}
	}
	random = no
	country = VEN
	name = "Expansion for Survival"
	desc = "In the beginning of the 16th century Venice was facing decline. Increasing threat from the Turks in the East and the princes of Europe in the West, combined with their fading position in trade, caused the Republic to seek action. With literally no friends and many enemies, it was decided that Venice should move aggresively in order to strengthen their position. Venice sought to do this by expanding their Italian holdings, and exploiding times of troubles in the Papal States, Venice moved into several cities under Papal rule in the north of Italy. This caused for Pope Julius II to create the anti-Venetian League of Cambrai in 1508."
	style = 2
	date = { day = 13 month = august year = 1503 }
	offset = 2000
	deathdate = { day = 1 month = may year = 1508 }
	
	action_a = {
		name = "Focus on mainland expansion"
		command = { type = relation which = PAP value = -100 }
		command = { type = addcore which = 390 }
		command = { type = addcore which = 391 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = land value = 500 }
	}
	action_b = {
		name = "Focus on overseas expansion"
		command = { type = relation which = TUR value = -100 }
		command = { type = addcore which = 358 }
		command = { type = addcore which = 359 }
		command = { type = domestic which = LAND value = -1 }
		command = { type = naval value = 500 }
		command = { type = sleepevent which = 3545 }
		
	}
	action_c = {
		name = "Focus on 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 = 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 }
	}
}