#####Naples Major Events######
#By Joakim 'Greven' Bergqwist#
##############################
###   Updated by Korall    ###
##############################

#The Aragon Inheritance of Napoli#
event = {

	id = 3660
	trigger = {
		vassal = { country = PAP country = NAP } # by Korall #	
			exists = ARG
		}
	random = no
	country = NAP
	name = "EVENTNAME3660"
	desc = "EVENTHIST3660"
	style = 1

	date = { day = 1 month = january year = 1442 }
	offset = 30
	deathdate = { day = 1 month = january year = 1444 }

	action_a = {
		name = "ACTIONNAME3660A"	#Ruled as Vassal#
		command = { type = trigger which = 3555 }
		command = { type = relation which = ARG value = 150 }
		command = { type = relation which = PAP value = 100 }
		command = { type = relation which = VEN value = 100 }
		command = { type = relation which = GEN value = 100 }
		command = { type = relation which = PRO value = -100 }
		command = { type = stability value = 2 }
	}

	action_b = {
		name = "ACTIONNAME3660B"	#Independent#
		command = { type = relation which = ARG value = -150 }
		command = { type = relation which = PRO value = 100 }
		command = { type = relation which = FRA value = 100 }
		command = { type = stability value = -2 }
	}
}

#The Holy League#
event = {

	id = 3661
	trigger = {
				 exists = TUR
				event = 3549
			 }
	random = no
	country = NAP
	name = "EVENTNAME3661"
	desc = "EVENTHIST3661"
	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 = "ACTIONNAME3661A"	
		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 = KNI value = 150 }
		command = { type = relation which = SAV value = 150 }
	}

	action_b = {						#Let the matter fall#
		name = "ACTIONNAME3661B"
		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 = KNI value = -50 }
		command = { type = relation which = SAV value = -50 }
	}
}

###########################
#####  Napoli Events  #####
#####    by Havard   ######
###########################

event = {
	id = 7118
	random = no
	country = NAP
	name = "EVENTNAME7114"
	desc = "EVENTHIST7118"
	style = 1

	action_a = { # #
		name = "ACTIONNAME5251A"
		command = { type = breakvassal which = ARG }#have Apulia# 
		command = { type = stability value = 1 }
	}
}

###########################
#####  Napoli Events  #####
#####     by Wido    ######
###########################

#The Commissioning of Reggia di Caserta#
event = {
	id = 17322
	random = no
	country = NAP
	name = "EVENTNAME17322"
	desc = "EVENTHIST17322"
	style = 4

	date = { day = 1 month = january year = 1752 }
	offset = 30
	deathdate = { day = 30 month = december year = 1752 }

	action_a = { #We need it for the Glory#
		name = "ACTIONNAME17322A"
		command = { type = treasury value = -400 }
		command = { type = stability value = -1 }
		}

	action_b = { #Useless piece of..#
		name = "ACTIONNAME17322B"
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 17323 }
		}
}

#Reggia di Caserta stands in Unearthly Glory#
event = {
	id = 17323
	random = no
	country = NAP
	trigger = { event = 17322 }
	name = "EVENTNAME17323"
	desc = "EVENTHIST17323"
	style = 4
	date = { day = 1 month = january year = 1774 }
	offset = 30
	deathdate = { day = 30 month = december year = 1774 }

	action_a = { #We have our "Versailles"!#
		name = "ACTIONNAME5251A"
		command = { type = gainmanufactory which = 393 value = luxury }
		command = { type = vp value = 50 }
		}
}


### Naples' Response to French Aggression (Naples Event) ###

event = {
	id = 12022
	random = no
	country = NAP
	name = "EVENTNAME12022"
	desc = "EVENTHIST12022"
	style = 1
	action_a = {
		name = "ACTIONNAME12022A"
		command = { type = stability value = -2}
}
	action_b = {
		name = "ACTIONNAME12022B"
		command = { type = trigger which = 12023 }
}
}

