#####Papal Major Events#######
#By Joakim 'Greven' Bergqwist#
##############################
####################################################################
#League of Cambrai - original Paradox events adapted by Isaac Brock#
####################################################################
#
#changed dates:  1503 (Election of Julius II)-1509 (Invasion of Venice)
#added ARG to all events, and added events for SPA and ARG
##############################
####EEP RUS additions#########
#       By Chimera           #	
##############################

#League of Cambrai#
event = {

	id = 3545
	trigger = { 
			exists = VEN
			event = 17017 #VEN seeing a chance
		 }
	random = no
	country = PAP
	name = "EVENTNAME3545"
	desc = "EVENTHIST3545"
	style = 2

	date = { day = 1 month = october year = 1503 }
	offset = 2070
	deathdate = { day = 1 month = april year = 1509 }

	action_a ={
		name = "ACTIONNAME3545A"		#Express Support#
		command = { type = casusbelli which = VEN value = 72 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = HAB value = 150 }
		command = { type = relation which = TOS value = 150 }
		command = { type = relation which = ARG value = 150 }
	}

	action_b ={
		name = "ACTIONNAME3545B"		#Ignore#
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = FRA value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = TOS value = -50 }
		command = { type = relation which = ARG value = -50 }
	}

	action_c ={
		name = "ACTIONNAME3545C"		#Express Hostility#
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = TOS value = -150 }
		command = { type = relation which = ARG value = -150 }
	}
}

#The Commissioning of the Saint Peter's Basilica#
event = {

	id = 3546
	random = no
	country = PAP
	name = "EVENTNAME3546"
	desc = "EVENTHIST3546"
	style = 2

	date = { day = 1 month = october year = 1505 }
	offset = 500
	deathdate = { day = 1 month = may year = 1506 }

	action_a ={		#Build church#
		name = "ACTIONNAME3546A"
		command = { type = gainmanufactory  which = 399 value = luxury }
	}

	action_b ={		#Concentrate on wordly matters#
		name = "ACTIONNAME3546B"
		command = { type = domestic  which = INNOVATIVE  value = 3 }
		command = { type = treasury  value = 200 }
		command = { type = infra  value = 300 }
		command = { type = trade  value = 300 }
	}

}

#The Foundation of Societas Jesu#
event = {

	id = 3547
	random = no
	country = PAP
	name = "EVENTNAME3547"
	desc = "EVENTHIST3547"
	style = 2

	date = { day = 1 month = january year = 1540 }
	offset = 200
	deathdate = { day = 1 month = may year = 1546 }
	
	action_a ={
		name = "ACTIONNAME3547A"
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = colonists  value = 4 }
		command = { type = missionaries  value = 4 }
	}

}

#Reorganisation of the Holy Inquisition# #should trigger events in other italian kingdoms#
event = {

	id = 3548
	random = no
	country = PAP
	name = "EVENTNAME3548"
	desc = "EVENTHIST3548"
	style = 2

	date = { day = 1 month = january year = 1542 }
	offset = 200
	deathdate = { day = 1 month = may year = 1546 }

	action_a ={		#Spanish model inquisition#
		name = "ACTIONNAME3548A"
		command = { type = domestic which = INNOVATIVE value = -4 }
		command = { type = stability value = -2 }
		command = { type = population which = 391 value = -2000 }
		command = { type = population which = 392 value = -2000 }
		command = { type = population which = 393 value = -2000 }
		command = { type = population which = 394 value = -2000 }
		command = { type = population which = 399 value = -2000 }
		command = { type = population which = 400 value = -2000 }
		command = { type = population which = 401 value = -2000 }
		command = { type = population which = 402 value = -2000 }
		command = { type = provincereligion which = 391 value = catholic }
		command = { type = provincereligion which = 392 value = catholic }
		command = { type = provincereligion which = 393 value = catholic }
		command = { type = provincereligion which = 394 value = catholic }
		command = { type = provincereligion which = 399 value = catholic }
		command = { type = provincereligion which = 400 value = catholic }
		command = { type = provincereligion which = 401 value = catholic }
		command = { type = provincereligion which = 402 value = catholic }
		
	}

	action_b ={		#Moderate Inquisition#
		name = "ACTIONNAME3548B"
		command = { type = domestic which = INNOVATIVE value = -2 }
		command = { type = stability value = -1 }
		command = { type = population which = 391 value = -1000 }
		command = { type = population which = 392 value = -1000 }
		command = { type = population which = 393 value = -1000 }
		command = { type = population which = 394 value = -1000 }
		command = { type = population which = 399 value = -1000 }
		command = { type = population which = 400 value = -1000 }
		command = { type = population which = 401 value = -1000 }
		command = { type = population which = 402 value = -1000 }
		command = { type = provincereligion which = 392 value = catholic }
		command = { type = provincereligion which = 399 value = catholic }
	}

}

#The Holy League#
event = {

	id = 3549
	trigger = {
			exists = TUR
			AND = {
				event = 3549 
				} 
		}
	random = no
	country = PAP
	name = "EVENTNAME3549"
	desc = "EVENTHIST3549"
	style = 2

	date = { day = 1 month = january year = 1565 }
	offset = 120
	deathdate = { day = 1 month = january year = 1568 }

	action_a ={				#Create the Holy League#
		name = "ACTIONNAME3549A"
		command = { type = casusbelli which = TUR value = 72 }
		command = { type = relation which = TUR value = -150 }
		command = { type = relation which = KNI 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 = NAP value = 150 }
		command = { type = relation which = SAV value = 150 }
	}

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

#Giordano Bruno#
event = {

	id = 3550
	random = no
	country = PAP
	name = "EVENTNAME3550"
	desc = "EVENTHIST3550"
	style = 3

	date = { day = 1 month = january year = 1600 }
	offset = 200
	deathdate = { day = 1 month = may year = 1605 }

	action_a ={		#Burn the heretic#
		name = "ACTIONNAME3550A"
		command = { type = domestic  which = INNOVATIVE  value = -1 }
		command = { type = revoltrisk value = 2 }
	}

	action_b ={		#Spare his life#
		name = "ACTIONNAME3550B"
		command = { type = domestic  which = INNOVATIVE  value = 1 }
		command = { type = stability  value = -2 }
	}

}

#The Saint Peter's Basilica stand in Unearthly Glory#
event = {

	id = 3551
	random = no
	country = PAP
	name = "EVENTNAME3551"
	desc = "EVENTHIST3551"
	style = 3

	date = { day = 1 month = january year = 1613 }
	offset = 1000
	deathdate = { day = 1 month = may year = 1617 }

	action_a ={
		name = "ACTIONNAME3551A"
		command = { type = stability  value = 3 }
	}

}

#The Cleansing of the Pontinian Marches#
event = {

	id = 3552
	random = no
	country = PAP
	name = "EVENTNAME3552"
	desc = "EVENTHIST3552"
	style = 4

	date = { day = 1 month = january year = 1778 }
	offset = 600
	deathdate = { day = 1 month = may year = 1780 }

	action_a ={
		name = "ACTIONNAME3552A"
		command = { type = domestic  which = INNOVATIVE  value = 2 }
		command = { type = provincetax  which = 399 value = 2 }
		command = { type = provincemanpower  which = 399  value = 1 }
	}

}

#The Counter-Reformation and the Reformation of the Catholic Faith#
event = {

	id = 3553
	random = no
	country = PAP
	name = "EVENTNAME3553"
	desc = "EVENTHIST3553"
	style = 4

	date = { day = 1 month = january year = 1545 }
	offset = 200
	deathdate = { day = 1 month = may year = 1563 }

	action_a ={		#Attend the Council of Trient#
		name = "ACTIONNAME3553A"
		command = { type = revoltrisk which = 216 value = 3 }
		command = { type = stability  value = -2 }
	}

}

#The Inheritance of Ferrara#
event = {

	id = 95760
	trigger = { event = 95750 }
	random = no
	country = PAP
	name = "EVENTNAME95760"
	desc = ""
	style = 2

	action_a ={		#Great!#
		name = "ACTIONNAME95760A"
		command = { type = inherit which = u17 }
		command = { type = treasury value = 200 } 
		command = { type = stability value = 1 }
		command = { type = infra  value = 300 }
		command = { type = trade  value = 300 }
	}

	action_b ={		#Cursed they be#
		name = "ACTIONNAME95760B"
		command = { type = relation which = u17 value = -100 } 
		command = { type = casusbelli which = u17 value = 96 }
	}

}

#################################
#####  Papal States Events  #####
#####     by Isaac Brock    #####
#################################

event = {
	id = 17346 #triggered by 17345 Pius II PIS
	random = no
	country = PAP
	name = "EVENTNAME17345"
	desc = "EVENTHIST17345"
	style = 1
	action_a ={
		name = "ACTIONNAME5251A"
		command = { type = vassal which = PIS }
		command = { type = relation which = PIS value = 40 }
		}
}

event = {
	id = 17352  #triggered by 17350 or 17353 Fall of Petrucci PIS
	random = no
	country = PAP
	name = "EVENTNAME17352"
	desc = "EVENTHIST17352"
	style = 1
	action_a ={
		name = "ACTIONNAME5251A"
		command = { type = casusbelli which = PIS value = 24}
		command = { type = relation which = PIS value = -200 }
		}
}


#Relationship with Florence Isaac Brock
event = {
	id = 17360
	trigger = { exists = TOS }
	random = no
	country = PAP
	name = "EVENTNAME17360"
	desc = "EVENTHIST17360"
	style = 1
	date = { day = 21 month = january year = 1478}
	offset = 10

	action_a ={				
		name = "ACTIONNAME17360A"
		command = { type = cash value = -20 }
		command = { type = casusbelli which = TOS value = 12 }
		command = { type = alliance which = NAP }
		command = { type = relation which = TOS value = -40 }
		command = { type = relation which = MLO value = -40 }
		command = { type = relation which = VEN value = -20 }
		command = { type = relation which = MAN value = -20 }
		command = { type = relation which = PIS value = -20 }
		command = { type = relation which = PAR value = -20 }
		command = { type = relation which = GEN value = -20 }
	}
	action_b ={				
		name = "ACTIONNAME17360B"
		command = { type = DIP which = -3 value = 120 }
		command = { type = MIL which = -3 value = 120 }
		command = { type = vp value = -10 }
		command = { type = ADM which = -3 value = 120 }
		command = { type = sleepevent which = 17365 }##Pazzi conspiracy TOS
	}
}

event = {
	id = 17368 #triggered by 17367 TOS Clement VII
	random = no
	country = PAP
	name = "EVENTNAME17368"
	desc = "EVENTHIST17368"
	style = 1
	action_a ={
		name = "OK"
		command = { type = vassal which = TOS }
		}
}

################################
##### Papal States Events  #####
#####      by Annibale     #####
################################

#Wrath of God# 
event = {
	id = 17379  #triggered by 17378 TOS council of Pisa
	random = no
	country = PAP
	name = "EVENTNAME17379"
	desc = "EVENTHIST17379"
	style = 2
	action_a ={		#Punish Florence#
		name = "ACTIONNAME17379A"
		command = { type = casusbelli which = TOS value = 12 } 
		}

	action_b ={		#Absolve Florence#
		name = "ACTIONNAME17379B"
		command = { type = relation which = TOS value = 50 }
		command = { type = casusbelli which = FRA value = 12 } 
		command = { type = relation which = FRA value = -75 }
		}
}

event = {
	id = 17386
	random = no
	country = PAP
	name = "EVENTNAME17386"
	desc = "EVENTHIST17386"
	style = 1
	action_a = {
		name = "ACTIONNAME3637A"
		command = { type = relation which = FRA value = 100}
}
}

### Charles V's Mercenary Army Sacks Rome (Papal States Event) ###
#event from Ryoken69.  Needed for 'Establishment of Republic'.
event = {
	id = 17406
	trigger = {  #French meddling in Italy
		OR = {
			event = 17386 #French intervention in Milan
			event = 12022 #French Angevin claims 
			}			
		}
	random = no
	country = PAP
	name = "EVENTNAME17406"
	desc = "EVENTHIST17406"
	style = 2
	date = { day = 1 month = january year = 1527 }
	offset = 90
	action_a = {
		name = "ACTIONNAME17406A"
		command = { type = relation which = SPA value = -100}
		command = { type = relation which = HAB value = -100}
		command = { type = population which = 399 value = -50000}
		command = { type = provincetax   which = -2 value = -1 }
		command = { type = trigger which = 17407 } #SPA Sack of Rome
		command = { type = trigger which = 17408 } #HAB Sack of Rome
		}
}

#The Holy League#
#From Fate, modded by Isaac Brock
#changed startdate to August 1510 (excommunication and invasion of Ferrara)  
#Added deathdate of April 1512 battle of Ravenna
#The sequence is started by the papal event -all others require it.
#messy trigger-Venice did not defy the pope, France did interfere in Italy, Frane exists
#shortened CB to 36 months
#replaced SPA with ARG - but give SPA the event if ARG doens't exist.

#Holy League of 1510 Papal Version
event = {
	id = 17024
	trigger = { 
		exists = FRA #The alliance was against France  
		NOT = {  #shouldn't happen if no-one supported the League of Cambrai 
			event = 17017 #VEN great chance
			OR = {
				event = 17023 #Cambrai FRA if HAB doesn't exist
				event = 3182 #Cambrai HAB if FRA doesn't exist
				event = 3107 #Cambrai FRA if HAB exists
				}
			NOT = { event = 17018 } #VEN Great danger -happens if League of Cambrai comes off
			}
		OR = {  #shouldn't happen if France hasn't intervened in Italy -alliance was formed to drive French from Milan
			event = 17386
			event = 12022
			}	
		}
	random = no
	country = PAP 
	name = "EVENTNAME17024"
	desc = "EVENTHIST17024"
	style = 2

	date = { day = 1 month = july year = 1510 }
	
	action_a ={
		name = "ACTIONNAME17024A"	#Express Support#
		command = { type = casusbelli which = FRA value = 36 }
		command = { type = relation which = FRA value = -150 }
		command = { type = relation which = VEN value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = ARG value = 150 }
		command = { type = relation which = HAB value = 150 }
	}

	action_b ={
		name = "ACTIONNAME17024B"	#Ignore#
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = HAB value = -50 }
		command = { type = relation which = VEN value = -50 }
		command = { type = relation which = ARG value = -50 }
		command = { type = sleepevent which = 17025 } #HAB
		command = { type = sleepevent which = 17026 } #ARG
		command = { type = sleepevent which = 17027 } #SPA
		command = { type = sleepevent which = 17028 } #VEN
		command = { type = sleepevent which = 17029 } #ENG
		command = { type = sleepevent which = 17030 } #HEL
	}

	action_c ={
		name = "ACTIONNAME17024C"	#Express Hostility#
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = VEN value = -150 }
		command = { type = relation which = HAB value = -150 }
		command = { type = relation which = ARG value = -150 }
		command = { type = sleepevent which = 17025 } #HAB
		command = { type = sleepevent which = 17026 } #ARG
		command = { type = sleepevent which = 17027 } #SPA
		command = { type = sleepevent which = 17028 } #VEN
		command = { type = sleepevent which = 17029 } #ENG
		command = { type = sleepevent which = 17030 } #HEL
	}
}

#The Borgias#
event = {

	id = 17400
	random = no
	country = PAP
	name = "EVENTNAME17400"
	desc = "EVENTHIST17400"
	style = 1

	date = { day = 4 month = august year = 1492 }
	offset = 360
	deathdate = { day = 4 month = august year = 1493 }

	action_a ={		#Annihilate the Political Factions#
		name = "ACTIONNAME17400A"
		command = { type = domestic  which = CENTRALIZATION value = 1 }
		command = { type = domestic  which = aristocracy  value = -1 }
		command = { type = dynastic  which = ARG }
		command = { type = dynastic  which = NAP }#added Isaac Brock, however this was the same family
	}

	action_b ={		#Conciliate with our Aristocracy#
		name = "ACTIONNAME17400B"
		command = { type =  domestic  which = CENTRALIZATION value = -1 }
		command = { type = domestic  which = aristocracy  value = 1 }
		command = { type = dynastic  which = ARG }
		command = { type = dynastic  which = NAP }#added Isaac Brock, however this was the same family
	}
}

#Lucrezia Borgia#
event = {

	id = 17401
	random = no
	country = PAP
	name = "EVENTNAME17401"
	desc = "EVENTHIST17401"
	style = 1

	date = { day = 1 month = september year = 1493 }
	offset = 360
	deathdate = { day = 1 month = september year = 1494 }


	action_a ={		#Keep Her#
		name = "ACTIONNAME17401A"
		command = { type = ADM  which = 2  value = 72 }
		command = { type = DIP  which = 3  value = 72 }
	}
	action_b ={		#d'Este Family#
		name = "ACTIONNAME17401B"
		command = { type = dynastic  which = PAR }
		command = { type = relation which = PAR value = 20 }
	}

	action_c ={		#Sforzas#
		name = "ACTIONNAME17401C"
		command = { type = dynastic  which = MLO }
		command = { type = relation which = MLO value = 20 }
	}
	action_d ={		#Aragonese#
		name = "ACTIONNAME17401D"
		command = { type = dynastic  which = NAP }
		command = { type = relation which = NAP value = 20 }
	}
}

#Jubilee 1500#
event = {
	id = 17402
	random = no
	country = PAP
	name = "EVENTNAME17402"
	desc = "EVENTHIST17402"
	style = 2

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


	action_a ={		#Annihilate the Opposition#
		name = "ACTIONNAME17402A"
		command = { type = revolt which = -1 }
		command = { type = domestic  which = CENTRALIZATION value = 1 }
		command = { type = provincetax  which = -2 value = 1 }
	}
	action_b ={		#Placate the Colonesi#
		name = "ACTIONNAME17402B"
		command = { type = domestic  which = CENTRALIZATION value = -1 }
		command = { type = provincetax  which = -2 value = -1 }
	}
}

#Cesare Borgia#
event = {
	id = 17403
	random = no
	country = PAP
	name = "EVENTNAME17403"
	desc = "EVENTHIST17403"
	style = 2

	date = { day = 1 month = october year = 1502 }

	action_a ={		#Strangle the Captains#
		name = "ACTIONNAME17403A"
		command = { type = domestic  which = aristocracy  value = -1 }
		command = { type = stability  value = 1 }
		command = { type = revoltrisk  which = 12 value = -3 }
	}

	action_b ={		#Keep Our Word#
		name = "ACTIONNAME17403B"
		command = { type = domestic  which = aristocracy  value = 1 }
		command = { type = stability  value = -1 }
		command = { type = revoltrisk  which = 12 value = 3 }
	}
}

#The Warrior Pope#
event = {
	id = 17404
	random = no
	country = PAP
	name = "EVENTNAME17404"
	desc = "EVENTHIST17404"
	style = 2
	date = { day = 15 month = october year = 1503 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = domestic  which = quality  value = 1 }
		command = { type = stability  value = 1 }
		command = { type = revoltrisk  which = 12 value = -3 }
		command = { type = domestic  which = innovative  value = 1 }
		command = { type = inflation  value = -5 }
	}
}

#Callixtus's Gold#
event = {
	id = 17405
	trigger = { 
		owned = { province = 357 data = TUR } 
	}
	random = no
	country = PAP
	name = "EVENTNAME17405"
	desc = "EVENTHIST17405"
	style = 1

	date = { day = 1 month = april year = 1455 }
	offset = 800
	deathdate = { day = 1 month = january year = 1457 }

	action_a ={		#Raise Money for Crusade#
		name = "ACTIONNAME17405A"
		command = { type = treasury  value = 100 }
		command = { type = provincetax  which = -2 value = -1 }
		command = { type = stability  value = -2 }
		command = { type = revoltrisk  which = 12 value = 3 }
		command = { type = relation which = FRA value = -20 } 
		command = { type = relation which = ENG value = -20 }
		command = { type = relation which = HAB value = -20 }  
		command = { type = relation which = SPA value = -20 } 
		command = { type = relation which = POR value = -20 }  
		command = { type = relation which = CAS value = -20 }  
		command = { type = relation which = ARG value = -20 }
		command = { type = relation which = BUR value = -20 }
	}
	action_b ={		#Let it Be#
		name = "ACTIONNAME17405B"
		command = { type = stability  value = 1 }
		command = { type = revoltrisk  which = 12 value = -3 }
		command = { type = infra  value = 50 }
		command = { type = trade  value = 50 }
		command = { type = relation which = FRA value = 20 } 
		command = { type = relation which = ENG value = 20 }
		command = { type = relation which = HAB value = 20 }  
		command = { type = relation which = SPA value = 20 } 
		command = { type = relation which = POR value = 20 }  
		command = { type = relation which = CAS value = 20 }  
		command = { type = relation which = ARG value = 20 }
		command = { type = relation which = BUR value = 20 }
	}
}

#A Spanish Pope#
event = {
	id = 17385
	trigger = {
		event = 12009
		}
	random = no
	country = PAP
	name = "EVENTNAME17385"
	desc = "EVENTHIST17385"
	style = 1

	date = { day = 1 month = april year = 1455 }
	offset = 360
	deathdate = { day = 1 month = april year = 1456 }

	action_a ={		#Absolve the Maid#
		name = "ACTIONNAME17385A"
		command = { type = relation  which = FRA  value = 40 }
		command = { type = relation  which = ENG  value = -40 }
	}

	action_b ={		#She was a Witch#
		name = "ACTIONNAME17385B"
		command = { type = relation  which = FRA  value = -40 }
		command = { type = relation  which = ENG  value = 40 }
		command = { type = sleepevent which = 12010 }
	}
}


####################
## Jubilee Events ##
###  by Annibale ###
####################

#Jubilee 1423#
event = {

	id = 17387
	random = no
	country = PAP
	name = "EVENTNAME17387"
	desc = "EVENTHIST17387"
	style = 1

	date = { day = 1 month = january year = 1423 }
	offset = 360
	deathdate = { day = 1 month = january year = 1424 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = infra  value = 50 }
		command = { type = stability  value = 1 }
		command = { type = revoltrisk  which = 12 value = -2 }
	}
}

#Jubilee 1450#
event = {

	id = 17388
	random = no
	country = PAP
	name = "EVENTNAME17388"
	desc = "EVENTHIST17388"
	style = 1

	date = { day = 1 month = january year = 1450 }
	offset = 360
	deathdate = { day = 1 month = january year = 1451 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = population  which = -2 value = -500 }
		command = { type = infra  value = 50 }
		command = { type = relation  which = ARG  value = 20 }
		command = { type = relation  which = NAP  value = 20 }
		command = { type = relation  which = CYP  value = 20 }
	}
}

#Jubilee 1475#
event = {

	id = 17389
	random = no
	country = PAP
	name = "EVENTNAME17389"
	desc = "EVENTHIST17389"
	style = 1

	date = { day = 1 month = january year = 1475 }
	offset = 360
	deathdate = { day = 1 month = january year = 1476 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = infra  value = -50 }
		command = { type = galleys  which = -1  value = 1 }
	}
}

#Jubilee 1550#
event = {

	id = 17390
	random = no
	country = PAP
	name = "EVENTNAME17390"
	desc = "EVENTHIST17390"
	style = 2

	date = { day = 1 month = january year = 1550 }
	offset = 360
	deathdate = { day = 1 month = january year = 1551 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = vp  value = 5 }
	}
}

#Jubilee 1575#
event = {

	id = 17391
	random = no
	country = PAP
	name = "EVENTNAME17391"
	desc = "EVENTHIST17391"
	style = 2

	date = { day = 1 month = january year = 1575 }
	offset = 360
	deathdate = { day = 1 month = january year = 1576 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = infra  value = 250 }
		command = { type = domestic  which = innovative  value = 1 }
	}
}

#Jubilee 1600#
event = {

	id = 17392
	random = no
	country = PAP
	name = "EVENTNAME17392"
	desc = "EVENTHIST17392"
	style = 3

	date = { day = 1 month = january year = 1600 }
	offset = 360
	deathdate = { day = 1 month = january year = 1601 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = infra  value = 50 }
		command = { type = vp  value = 5 }
		command = { type = relation  which = FRA  value = 10 }
		command = { type = relation  which = ENG  value = 10 }
		command = { type = relation  which = SPA  value = 10 }
		command = { type = relation  which = POR  value = 10 }
		command = { type = relation  which = HAB  value = 10 }
		command = { type = relation  which = CAS  value = 10 }
		command = { type = relation  which = HUN  value = 10 }
		command = { type = relation  which = ARG  value = 10 }
		command = { type = relation  which = VEN  value = 10 }
		command = { type = relation  which = MAN  value = 10 }
		command = { type = relation  which = MLO  value = 10 }
		command = { type = relation  which = TOS  value = 10 }
		command = { type = relation  which = NAP  value = 10 }
		command = { type = relation  which = KNI  value = 10 }
	}
}

#Jubilee 1625#
event = {

	id = 17393
	random = no
	country = PAP
	name = "EVENTNAME17393"
	desc = "EVENTHIST17393"
	style = 3

	date = { day = 1 month = january year = 1625 }
	offset = 360
	deathdate = { day = 1 month = january year = 1626 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = infra  value = -50 }
		command = { type = galleys  which = -1  value = 1 }
		command = { type = population  which = -2 value = -1000 }
	}
}

#Jubilee 1650#
event = {

	id = 17394
	random = no
	country = PAP
	name = "EVENTNAME17394"
	desc = "EVENTHIST17394"
	style = 3

	date = { day = 1 month = january year = 1650 }
	offset = 360
	deathdate = { day = 1 month = january year = 1651 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = relation  which = SAV  value = 20 }
		command = { type = relation  which = HAB  value = 10 }
	}
}

#Jubilee 1675#
event = {

	id = 17395
	random = no
	country = PAP
	name = "EVENTNAME17395"
	desc = "EVENTHIST17395"
	style = 3

	date = { day = 1 month = january year = 1675 }
	offset = 360
	deathdate = { day = 1 month = january year = 1676 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = relation  which = SWE  value = 30 }
	}
}

#Jubilee 1700#
event = {

	id = 17396
	random = no
	country = PAP
	name = "EVENTNAME17396"
	desc = "EVENTHIST17396"
	style = 4

	date = { day = 1 month = january year = 1700 }
	offset = 360
	deathdate = { day = 1 month = january year = 1701 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = infra  value = -50 }
		command = { type = galleys  which = -1  value = 1 }
		command = { type = relation  which = POL  value = 20 }
		command = { type = relation  which = TOS  value = 20 }
		command = { type = dynastic  which = TOS }
	}
}

#Jubilee 1725#
event = {

	id = 17397
	random = no
	country = PAP
	name = "EVENTNAME17397"
	desc = "EVENTHIST17397"
	style = 4

	date = { day = 1 month = january year = 1725 }
	offset = 360
	deathdate = { day = 1 month = january year = 1726 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = stability value = -2 }
		command = { type = population  which = -1 value = 1000 }
	}
}

#Jubilee 1750#
event = {

	id = 17398
	random = no
	country = PAP
	name = "EVENTNAME17398"
	desc = "EVENTHIST17398"
	style = 4

	date = { day = 1 month = january year = 1750 }
	offset = 360
	deathdate = { day = 1 month = january year = 1751 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = domestic  which = centralization value = 1 }
	}
}

#Jubilee 1775#
event = {

	id = 17399
	random = no
	country = PAP
	name = "EVENTNAME17399"
	desc = "EVENTHIST17399"
	style = 4

	date = { day = 1 month = january year = 1775 }
	offset = 360
	deathdate = { day = 1 month = january year = 1776 }

	action_a ={		#Urbi et Orbi#
		name = "ACTIONNAME17404A"
		command = { type = missionaries  value = 4 }
		command = { type = relation  which = HAB  value = 20 }
		command = { type = revolt  which = -1 }
	}
}

### Accademia dei Lincei
### By mfigueras

event = {
	id = 5224
	trigger = { stability = 0
            	domestic = { type = innovative value = 2 }
		NOT = { domestic = { type = innovative value = 8 } } }
	random = no
	country = PAP
	name = "EVENTNAME5224"
	desc = "EVENTHIST5224"
	style = 3
	date = { day = 10 month = march year = 1603 }
	offset = 60
	deathdate = { day = 10 month = march year = 1607 }
	action_a = {
		name = "ACTIONNAME5224A"
		command = { type = infra value = 60 }
		}
	action_b = {
		name = "ACTIONNAME5224B"
		command = { type = cash value = -50 }
		command = { type = infra value = 150 }
		command = { type = domestic which = innovative value = 1 }
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 5225 }	## No trial against Galileo
		}
	action_c = {
		name = "ACTIONNAME5224C"
		command = { type = domestic which = innovative value = -1 }
		command = { type = stability value = -1 }
		command = { type = relation which = -1 value = -20 }
		command = { type = relation which = -1 value = -20 }
		command = { type = relation which = -1 value = -20 }
		}
}

### The trial against Galileo
### By mfigueras

event = {
	id = 5225
	random = no
	country = PAP
	name = "EVENTNAME5225"
	desc = "EVENTHIST5225"
	style = 3
	date = {day = 20 month = october year = 1632}
	offset = 60
	action_a = {
		name = "ACTIONNAME5225A"
		command = { type = relation which = TOS value = -15 }
		command = { type = relation which = VEN value = -15 }
		command = { type = revoltrisk value = -5 }
		}
	action_b = {
		name = "ACTIONNAME5225B"
		command = { type = stability value = -2 }
		command = { type = relation which = TOS value = 25 }
		command = { type = relation which = VEN value = 25 }
		command = { type = domestic which = innovative value = 1 }
		}
	action_c = {
		name = "ACTIONNAME5225C"
		command = { type = stability value = -1 }
		command = { type = revoltrisk value = -6 }
		command = { type = relation which = TOS value = -30 }
		command = { type = relation which = VEN value = -30 }
		command = { type = domestic which = innovative value = -1 }
		}
}

