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

#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 = population which = 934 value = -2000 }
		command = { type = population which = 1922 value = -2000 }
		command = { type = population which = 1923 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 }
		command = { type = provincereligion which = 934 value = catholic }
		command = { type = provincereligion which = 1922 value = catholic }
		command = { type = provincereligion which = 1923 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 = population which = 934 value = -1000 }
		command = { type = population which = 1922 value = -1000 }
		command = { type = population which = 1923 value = -1000 }
		command = { type = provincereligion which = 391 value = catholic }
		command = { type = provincereligion which = 392 value = catholic }
		command = { type = provincereligion which = 399 value = catholic }
	}

}

#The Holy League#
event = {

	id = 3549
	trigger = {
			war = { country = TUR country = VEN }
		}
	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 }
	}

}

#Events from AoN modified by Hive

#The Grand Plebiscite#
event = { 
	id = 15171
	random = no 
	country = PAP
	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. The Pope was against a Unified Italy, but could not stop large parts of his territories from joining Sardinia."
	style = 5 
	action_a = {
		name = "We have no other choice than allow all but Rome to join" 
		command = { type = secedeprovince which = SAR value = 370 } #Veneto
		command = { type = secedeprovince which = SAR value = 389 } #Lombardia
		command = { type = secedeprovince which = SAR value = 390 } #Mantua
		command = { type = secedeprovince which = SAR value = 391 } #Romagna
		command = { type = secedeprovince which = SAR value = 392 } #Marche
		command = { type = secedeprovince which = SAR value = 400 } #Siena
		command = { type = secedeprovince which = SAR value = 401 } #Firenze
		command = { type = secedeprovince which = SAR value = 402 } #Emilia
		command = { type = secedeprovince which = SAR value = 403 } #Liguria
		command = { type = secedeprovince which = SAR value = 396 } #Sicily
		command = { type = secedeprovince which = SAR value = 395 } #Messina
		command = { type = secedeprovince which = SAR value = 394 } #Apulia
		command = { type = secedeprovince which = SAR value = 393 } #Napoli
		command = { type = secedeprovince which = SAR value = 397 } #Sardinia
		command = { type = secedeprovince which = SAR value = 404 } #Piemonte
		command = { type = secedeprovince which = SAR value = 934 } #Capitanata
		command = { type = secedeprovince which = SAR value = 1919 } #Brescia
		command = { type = secedeprovince which = SAR value = 1920 } #Friuli
		command = { type = secedeprovince which = SAR value = 1921 } #Parma
		command = { type = secedeprovince which = SAR value = 1922 } #Pisa
		command = { type = secedeprovince which = SAR value = 1923 } #Ferrera
		command = { type = revoltrisk which = 60 value = 2 }
	} 
	action_b = {
		name = "It all belongs to the Pope!"
		command = { type = relation which = SAR value = -100 }
		command = { type = stability value = -2 }
		command = { type = revoltrisk which = 60 value = 7 }
	} 
	action_c = {
		name = "Give in to the will of the people and join"
		command = { type = trigger which = 15181 }
	} 
}

#Papal events by Hive

#Papal Wealth#
event = { 

	id = 15435
	random = yes
	country = PAP
	name = "Papal Wealth"
	desc = "The Pope had many ways to improve his finances. Catholic churches across Europe paid regular tributes to the Pope. Strong catholic nations such as Spain, Austria and France did also aid send economical aid from time to time, as well as religious Knighthood orders such as The Knights Templar and The Knights of St. John. And for those who could afford it, donations to secure their place in heaven were widely used among the higher classes. If donations and gifts were not sufficient, the Pope could actively collect money by eg. sale of indulgences."
	style = 0
	action_a = {
			name = "Excellent!"
			command = { type = cash value = 200 }
		}
	}

#Papal Wealth#
event = { 

	id = 15436
	random = yes
	country = PAP
	name = "Papal Wealth"
	desc = "The Pope had many ways to improve his finances. Catholic churches across Europe paid regular tributes to the Pope. Strong catholic nations such as Spain, Austria and France did also aid send economical aid from time to time, as well as religious Knighthood orders such as The Knights Templar and The Knights of St. John. And for those who could afford it, donations to secure their place in heaven were widely used among the higher classes. If donations and gifts were not sufficient, the Pope could actively collect money by eg. sale of indulgences."
	style = 0
	action_a = {
			name = "Excellent!"
			command = { type = cash value = 200 }
		}
	}

#Papal Wealth#
event = { 

	id = 15437
	random = yes
	country = PAP
	name = "Papal Wealth"
	desc = "The Pope had many ways to improve his finances. Catholic churches across Europe paid regular tributes to the Pope. Strong catholic nations such as Spain, Austria and France did also aid send economical aid from time to time, as well as religious Knighthood orders such as The Knights Templar and The Knights of St. John. And for those who could afford it, donations to secure their place in heaven were widely used among the higher classes. If donations and gifts were not sufficient, the Pope could actively collect money by eg. sale of indulgences."
	style = 0
	action_a = {
			name = "Excellent!"
			command = { type = cash value = 200 }
		}
	}

#Papal Wealth#
event = { 

	id = 15438
	random = yes
	country = PAP
	name = "Papal Wealth"
	desc = "The Pope had many ways to improve his finances. Catholic churches across Europe paid regular tributes to the Pope. Strong catholic nations such as Spain, Austria and France did also aid send economical aid from time to time, as well as religious Knighthood orders such as The Knights Templar and The Knights of St. John. And for those who could afford it, donations to secure their place in heaven were widely used among the higher classes. If donations and gifts were not sufficient, the Pope could actively collect money by eg. sale of indulgences."
	style = 0
	action_a = {
			name = "Excellent!"
			command = { type = cash value = 500 }
		}
	}

#Papal Wealth#
event = { 

	id = 15439
	random = yes
	country = PAP
	name = "Papal Wealth"
	desc = "The Pope had many ways to improve his finances. Catholic churches across Europe paid regular tributes to the Pope. Strong catholic nations such as Spain, Austria and France did also aid send economical aid from time to time, as well as religious Knighthood orders such as The Knights Templar and The Knights of St. John. And for those who could afford it, donations to secure their place in heaven were widely used among the higher classes. If donations and gifts were not sufficient, the Pope could actively collect money by eg. sale of indulgences."
	style = 0
	action_a = {
			name = "Excellent!"
			command = { type = cash value = 500 }
		}
	}

#Papal Wealth#
event = { 

	id = 15440
	random = yes
	country = PAP
	name = "Papal Wealth"
	desc = "The Pope had many ways to improve his finances. Catholic churches across Europe paid regular tributes to the Pope. Strong catholic nations such as Spain, Austria and France did also aid send economical aid from time to time, as well as religious Knighthood orders such as The Knights Templar and The Knights of St. John. And for those who could afford it, donations to secure their place in heaven were widely used among the higher classes. If donations and gifts were not sufficient, the Pope could actively collect money by eg. sale of indulgences."
	style = 0
	action_a = {
			name = "Excellent!"
			command = { type = cash value = 1000 }
		}
	}

#Vanillia events modified by Hive

#League of Cambrai#
event = {

	id = 3545
	trigger = {
		exists = VEN
		event = 15388
		}
	random = no
	country = PAP
	name = "EVENTNAME3545"
	desc = "EVENTHIST3545"
	style = 2
	date = { day = 1 month = october year = 1508 }
	offset = 150
	deathdate = { day = 1 month = may year = 1512 }

	action_a ={
		name = "Create the League"		#Express Support#
		command = { type = casusbelli which = VEN value = 72 }
		command = { type = relation which = VEN value = -150 }
		command = { type = trigger which = 3107 }
		command = { type = trigger which = 3182 }
		command = { type = trigger which = 3649 }
	}

	action_b ={
		name = "Let it rest"		#Ignore#
		command = { type = stability  value = 1 }
		command = { type = relation which = VEN value = 50 }
	}

}

#Events for for capital move by Cool-Toxic#
event = {

	id = 789453000
	trigger = {
	               owned  = { province = 399 data = -1 }
                       relation = { country = U01 data = 150 }
                       relation = { country = ROM data = 150 }
		}
	random = no
	country = PAP
	name = "The Return to Rome"
	desc = "When stability was once again reached in the homeland of the Popes they went back to Rome to the real Papal Seat."
	style = 2
	date = { day = 1 month = october year = 1377 }
	offset = 30
	deathdate = { day = 1 month = may year = 1914 }

	action_a ={
		name = "Move the capital"
		command = { type = capital which = 399 }
		command = { type = stability  value = 1 }
		command = { type = sleepevent   which = 789453001 }
	}

	action_b ={
		name = "Stay in Avignon"
		command = { type = relation which = FRA value = 50 }
		command = { type = sleepevent   which = 789453001 }
	}

}

event = {

	id = 789453001
	trigger = {
	               owned  = { province = 399 data = -1 }
		          OR = {
                          control  = { province = 391 data = -1 }
                          control  = { province = 392 data = -1 }
                          }
		}
	random = no
	country = PAP
	name = "The Return to Rome"
	desc = "When stability was once again reached in the homeland of the Popes they went back to Rome to the real Papal Seat."
	style = 2
	date = { day = 1 month = october year = 1377 }
	offset = 30
	deathdate = { day = 1 month = may year = 1914 }

	action_a ={
		name = "Move the capital"
		command = { type = capital which = 399 }
		command = { type = inherit  which = U01 }
		command = { type = inherit  which = ROM }
		command = { type = sleepevent   which = 789453000 }
	}

	action_b ={
		name = "Stay in Avignon"
		command = { type = relation which = FRA value = 50 }
		command = { type = sleepevent   which = 789453000 }
	}

}

event = {

	id = 98874106
	random = no
	country = PAP
	name = "New National Ensign"
	desc = "Now that sounds good"
	style = 4

	date = { day = 8 month = june year = 1829 }

	action_a ={
		name = "Great"
		command = { type = flagname which = "new" }
	}
}