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

#The Social Revolution of João I#
event = {

	id = 3265
	random = no
	country = POR
	name = "EVENTNAME3265"
	desc = "EVENTHIST3265"
	style = 1

	date = { day = 1 month = january year = 1419 }
	offset = 60
	deathdate = { day = 1 month = january year = 1433 }


	action_a ={		#For the trade & people!#
		name = "ACTIONNAME3265A"
		command = { type = domestic which = centralization	value = 3 }
		command = { type = domestic  which = ARISTOCRACY  value = -2 }
		command = { type = domestic  which = SERFDOM  value = -1 }
		command = { type = trade  value = 250 }
		command = { type = revoltrisk  value = 3 }
	}

	action_b ={		#Support the Aristocracy#
		name = "ACTIONNAME3265B"
		command = { type = domestic  which = ARISTOCRACY  value = 1 }
		command = { type = domestic  which = QUALITY  value = 1 }
		command = { type = land  value = 250 }
	}

}

#The Afonsine Ordinances#
event = {

	id = 3266
	random = no
	country = POR
	name = "EVENTNAME3266"
	desc = "EVENTHIST3266"
	style = 1

	date = { day = 1 month = january year = 1446 }
	offset = 60
	deathdate = { day = 1 month = january year = 1481 }

	action_a ={		#Every man make his own fortune#
		name = "ACTIONNAME3266A"
		command = { type = domestic  which = centralization  value = -2 }
		command = { type = stability  value = 2 }
	}

	action_b ={		#Demand less corruption#
		name = "ACTIONNAME3266B"
		command = { type = domestic  which = centralization  value = 2 }
		command = { type = revoltrisk  value = 5 }
		command = { type = stability  value = -2 }
		command = { type = provincetax  which = -1 value = 1 }
		command = { type = provincetax  which = -1 value = 1 }
	}

}


#The Duke of Coimbra#
event = {

	id = 3267
	random = no
	country = POR
	name = "EVENTNAME3267"
	desc = "EVENTHIST3267"
	style = 1

	date = { day = 1 month = january year = 1448 }
	offset = 60
	deathdate = { day = 1 month = january year = 1450 }

	action_a ={				#King is tricked#
		name = "ACTIONNAME3267A"
		
		command = { type = domestic which = centralization value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = stability value = 1 }
	}

	action_b ={				#Duke survives & assists king#
		name = "ACTIONNAME3267B"
		command = { type = domestic which = centralization value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = stability value = -1 }
	}
}

#Commercial Conflict in the Indian Ocean#
event = {

	id = 3268
	Trigger = { ai = no }
	random = no
	country = POR
	name = "EVENTNAME3268"
	desc = "EVENTHIST3268"
	style = 2

	date = { day = 1 month = january year = 1500 }
	offset = 60
	deathdate = { day = 1 month = january year = 1513 }

	action_a ={		#Forcefully control spice trade#
		name = "ACTIONNAME3268A"
		command = { type = gainbuilding which = 441 value = barrack }
		command = { type = relation  which = OMA  value = -400 }
		command = { type = relation  which = TUR  value = -100 }
		command = { type = relation  which = GUJ  value = -100 }
		command = { type = relation  which = VIJ  value = -100 }
		command = { type = relation  which = HYD  value = -100 }
		command = { type = domestic  which = MERCANTILISM  value = 2 }
		command = { type = casusbelli which = OMA value = 1800 }
		command = { type = casusbelli which = GUJ value = 1800 }
		command = { type = casusbelli which = VIJ value = 1800 }
		command = { type = casusbelli which = HYD value = 1800 }
}

	action_b ={		#Negotiate trading rights#
		name = "ACTIONNAME3268B"
		command = { type = gainbuilding which = 441 value = barrack }
		command = { type = relation  which = OMA  value = 50 }
		command = { type = relation  which = TUR  value = 50 }
		command = { type = relation  which = GUJ  value = 50 }
		command = { type = domestic  which = MERCANTILISM  value = -2 }
	}

}

#The Holy Inquisition#
event = {

	id = 3269
	random = no
	country = POR
	name = "EVENTNAME3269"
	desc = "EVENTHIST3269"
	style = 1

	date = { day = 1 month = january year = 1536 }
	offset = 60
	deathdate = { day = 1 month = january year = 1668 }

	action_a ={		#Institute them!#
		name = "ACTIONNAME3269A"
		command = { type = domestic  which = INNOVATIVE  value = -3 }
	}

	action_b ={		#Do not institute them!#
		name = "ACTIONNAME3269B"
		command = { type = domestic  which = INNOVATIVE  value = 1 }
		command = { type = relation  which = SPA  value = -75 }
		command = { type = relation  which = PAP  value = -75 }
	}

}

#The Societas Jesu#
event = {

	id = 3270
	random = no
	country = POR
	name = "EVENTNAME3270"
	desc = "EVENTHIST3270"
	style = 2

	date = { day = 1 month = january year = 1540 }
	offset = 60
	deathdate = { day = 1 month = january year = 1541 }

	action_a ={				#Institute them!#
		name = "ACTIONNAME3270A"
		command = { type = domestic which = INNOVATIVE value = -1 }
		command = { type = colonists  value = 4 }
		command = { type = missionaries  value = 4 }
	}

	action_b ={				#Do not institute them!#
		name = "ACTIONNAME3270B"
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = relation  which = SPA  value = -50 }
		command = { type = relation  which = PAP  value = -50 }
		command = { type = relation  which = NAP  value = -50 }
	}
}

#Governor Martim Afonso de Sousa in Brazil#
event = {

	id = 3271
	random = no
	country = POR
	name = "EVENTNAME3271"
	desc = "EVENTHIST3271"
	style = 2

	date = { day = 1 month = january year = 1531 }
	offset = 60
	deathdate = { day = 1 month = january year = 1560 }

	action_a ={		#Appoint de Sousa#
		name = "ACTIONNAME3271A"
		command = { type = stability  value = 2 }
		command = { type = conquistador  which = -1 }
		command = { type = warships  which = -1  value = 10 }
	}

}

#King Sebastião's Expedition to North Africa#
event = {

	id = 3272
	random = no
	country = POR
	name = "EVENTNAME3272"
	desc = "EVENTHIST3272"
	style = 2

	date = { day = 4 month = august year = 1578 }
	offset = 0
	deathdate = { day = 5 month = august year = 1578 }

	action_a ={			#A Crusade against the Heretics in Africa#
		name = "ACTIONNAME3272A"
		command = { type = sleepevent which = 3163 }
		command = { type = casusbelli which = MOR value = 12 }
		command = { type = casusbelli which = FEZ value = 12 }
		command = { type = casusbelli which = ALD value = 12 }
		command = { type = treasury value = 300 }
		command = { type = INF which = -1 value = 10000 }
		command = { type = CAV which = -3 value = 5000 }
		command = { type = ART which = -3 value = 10 }
		command = { type = stability value = 1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -3 }
	}

	action_b ={			#Declare the King insane and lock him up for good#
		name = "ACTIONNAME3272B"
		command = { type = wakemonarch which = 06768 }
		command = { type = sleepevent which = 3162 }
		command = { type = trade value = 800 }
		command = { type = naval value = 800 }
		command = { type = stability value = 1 }
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
	}
}

#Epidemic Plague#
event = {

	id = 3273			#Triggered by SPA3165#
	random = no
	country = POR
	name = "EVENTNAME3273"
	desc = "EVENTHIST3273"
	style = 3

	action_a ={				#Arrgh!#
		name = "ACTIONNAME3273A"
		command = { type = stability value = -1 }
		command = { type = population which = -1 value = -5000 }
		command = { type = provincetax which = -3 value = -1 }
		command = { type = population which = -1 value = -5000 }
		command = { type = provincetax which = -3 value = -1 }
		command = { type = population which = -1 value = -5000 }
		command = { type = provincetax which = -3 value = -1 }
	}
}

#Filipe II Claim to the Throne# 
event = {

	id = 3274
	random = no
	trigger = {
		OR = { event = 3162 event = 3163 }
	}
	country = POR
	name = "EVENTNAME3274"
	desc = "EVENTHIST3274"
	style = 2

	date = { day = 2 month = february year = 1580 }
	offset = 0
	deathdate = { day = 3 month = april year = 1621 }

	action_a ={				#Accept the New Government#
		name = "ACTIONNAME3274A"
		command = { type = stability value = 1 }
		command = { type = relation which = SPA value = 100 }
	}

	action_b ={				#Accept the King, but not the government#
		name = "ACTIONNAME3274B"
		command = { type = stability value = -1 }
		command = { type = breakvassal which = SPA }
		command = { type = relation which = SPA value = -200 }
		command = { type = casusbelli which = SPA value = 6 }
	}
}

#The Meuthen Agreement#
event = {

	id = 3275
	random = no
	country = POR
	name = "EVENTNAME3275"
	desc = "EVENTHIST3275"
	style = 4

	date = { day = 1 month = january year = 1703 }
	offset = 10
	deathdate = { day = 1 month = july year = 1750 }


	action_a ={			#Offer the Agreement#
		name = "ACTIONNAME3275A"
		command = { type = trigger which = 3093 }
		command = {	type = domestic which = CENTRALIZATION value = 1 }
		command = { type = relation which = ENG value = 150 }
		command = { type = gainmanufactory which = -1 value = refinery }
		command = { type = gainmanufactory which = -1 value = refinery }
		command = { type = gainmanufactory which = -1 value = refinery }
		command = { type = gainmanufactory which = -1 value = goods }
		command = { type = stability value = -1 }
	}

	action_b ={			#Don't Offer the Agreement#
		name = "ACTIONNAME3275B"
		command = { type = domestic which = MERCANTILISM value = -3 }
		command = { type = relation which = ENG value = -100 }
		command = { type = stability value = 2 }
	}
}

#Count da Ericeira#
event = {

	id = 3276
	random = no
	country = POR
	name = "EVENTNAME3276"
	desc = "EVENTHIST3276"
	style = 4

	date = { day = 1 month = january year = 1676 }
	offset = 10
	deathdate = { day = 1 month = january year = 1706 }

	action_a ={				#An Excellent Minister!#
		name = "ACTIONNAME3276A"
		command = { type = domestic which = MERCANTILISM value = 3 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = DIP which = 3 value = 240 }
		command = { type = ADM which = 3 value = 240 }
		command = { type = MIL which = 3 value = 240 }
		command = { type = stability value = 3 }
	}
}


#The Effects of the Pragmatic Sanction#
event = {

	id = 3277
	random = no
	country = POR
	name = "EVENTNAME3277"
	desc = "EVENTHIST3277"
	style = 4

	date = { day = 1 month = january year = 1742 }
	offset = 10
	deathdate = { day = 1 month = april year = 1742 }


	action_a ={				#Neutral#
		name = "ACTIONNAME3277A"
		command = { type = stability value = 2 }
		command = { type = relation which = BAY value = 50 }
		command = { type = relation which = SAC value = 50 }
		command = { type = relation which = GEN value = 50 }
		command = { type = relation which = PRU value = 50 }
		command = { type = relation which = FRA value = 50 }
		command = { type = relation which = ENG value = -50 }
		command = { type = relation which = HOL value = 50 }
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = HES value = 50 }
		command = { type = relation which = HAN value = 50 }
		command = { type = relation which = HAB value = 50 }

	}

	action_b ={				#Pro-Habsburg#
		name = "ACTIONNAME3277B"
		command = { type = casusbelli which = SPA value = 36 }
		command = { type = relation which = BAY value = -100 }
		command = { type = relation which = SAC value = -100 }
		command = { type = relation which = PRU value = -100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = HOL value = 150 }
		command = { type = relation which = ENG value = 150 }
		command = { type = relation which = RUS value = 50 }
		command = { type = relation which = HES value = 100 }
		command = { type = relation which = HAN value = 100 }
		command = { type = relation which = HAB value = 150 }
		command = { type = stability value = -1 }

	}
	action_c ={				#Anti-Habsburg#
		name = "ACTIONNAME3277C"
		command = { type = casusbelli which = HOL value = 12 }
		command = { type = casusbelli which = ENG value = 12 }
		command = { type = relation which = BAY value = 150 }
		command = { type = relation which = SAC value = 150 }
		command = { type = relation which = PRU value = 150 }
		command = { type = relation which = FRA value = 150 }
		command = { type = relation which = SPA value = 150 }
		command = { type = relation which = HOL value = -150 }
		command = { type = relation which = RUS value = -50 }
		command = { type = relation which = ENG value = -150 }
		command = { type = relation which = HES value = -100 }
		command = { type = relation which = HAN value = -100 }
		command = { type = relation which = HAB value = -150 }
		command = { type = stability value = -1 }

	}
}

#Earthquake destroy Lisboa#

event = {

	id = 3278
	random = no
	country = POR
	name = "EVENTNAME3278"
	desc = "EVENTHIST3278"
	style = 4

	date = { day = 1 month = january year = 1755 }
	offset = 10
	deathdate = { day = 1 month = january year = 1756 }

	action_a ={
		name = "ACTIONNAME3278A"
		command = { type = population  which = 441 value = -30000 }
		command = { type = provincetax  which = 441 value = -4 }
		command = { type = stability  value = -3 }
	}
}


#Marquis de Pombal#
event = {

	id = 3279
	random = no
	country = POR
	name = "EVENTNAME3279"
	desc = "EVENTHIST3279"
	style = 4

	date = { day = 3 month = august year = 1750 }
	offset = 10
	deathdate = { day = 1 month = april year = 1777 }

	action_a ={				#An Excellent Minister!#
		name = "ACTIONNAME3279A"
		command = { type = DIP which = 3 value = 240 }
		command = { type = ADM which = 4 value = 240 }
		command = { type = MIL which = 2 value = 240 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = SERFDOM value = -2 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = domestic which = MERCANTILISM value = 3 }
		command = { type = domestic which = QUALITY value = 1 }
		command = { type = land value = 750 }
		command = { type = naval value = 750 }
		command = { type = stability value = 3 }
	}
}



#The Tavoras Conspiracy#
event = {

	id = 3280
	random = no
	country = POR
	name = "EVENTNAME3280"
	desc = "EVENTHIST3280"
	style = 4

	date = { day = 3 month = september year = 1758 }
	offset = 0
	deathdate = { day = 4 month = september year = 1758 }

	action_a ={				#Crush the Opposition#
		name = "ACTIONNAME3280A"
		command = { type = domestic which = CENTRALIZATION value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = INNOVATIVE value = -3 }
		command = { type = revoltrisk which = 60 value = 3 }
		command = { type = stability value = 1 }
	}

	action_b ={				#Be Lenient#
		name = "ACTIONNAME3280B"
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = stability value = -1 }
	}
}

#The Expulsion of Marquis José da Pombal#
event = {

	id = 3281
	random = no
	country = POR
	name = "EVENTNAME3281"
	desc = "EVENTHIST3281"
	style = 4

	date = { day = 1 month = january year = 1777 }
	offset = 10
	deathdate = { day = 1 month = january year = 1778 }

	action_a ={				#Expell him#
		name = "ACTIONNAME3281A"
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = INNOVATIVE value = -3 }
		command = { type = treasury value = 500 }
		command = { type = stability value = 2 }
	}

	action_b ={				#Let the 'Great Marquis' rule#
		name = "ACTIONNAME3281B"
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = ARISTOCRACY value = -1 }
		command = { type = domestic which = INNOVATIVE value = 1 }
		command = { type = DIP which = 3 value = 60 }
		command = { type = ADM which = 4 value = 60 }
		command = { type = MIL which = 2 value = 60 }
		command = { type = revoltrisk which = 60 value = 3 }
		command = { type = stability value = -1 }
	}
}


#The Liberal Opposition#
event = {

	id = 3282
	random = no
	country = POR
	name = "EVENTNAME3282"
	desc = "EVENTHIST3282"
	style = 5

	date = { day = 1 month = january year = 1816 }
	offset = 10
	deathdate = { day = 30 month = december year = 1820 }

	action_a ={		#Growing opposition#
		name = "ACTIONNAME3282A"
		command = { type = stability  value = -3 }
		command = { type = revoltrisk  value = 5 }
	}

	action_b ={		#King consede to liberal ideas#
		name = "ACTIONNAME3282B"
		command = { type = stability  value = -2 }
		command = { type = revoltrisk  value = 2 }
		command = { type = domestic  which = ARISTOCRACY  value = -2 }
		command = { type = domestic  which = INNOVATIVE  value = 1 }
		command = { type = domestic  which = SERFDOM  value = -2 }
	}

}


event = {

	id = 220010
	trigger = {
		exists = BRZ
		OR = {
			owned = { province = 210 data = -1 }
			owned = { province = 183 data = -1 }
			owned = { province = 184 data = -1 }
			owned = { province = 185 data = -1 }
			owned = { province = 189 data = -1 }
			owned = { province = 190 data = -1 }
			owned = { province = 191 data = -1 }
			owned = { province = 195 data = -1 }
			owned = { province = 196 data = -1 }
			owned = { province = 197 data = -1 }
			owned = { province = 198 data = -1 }
			owned = { province = 199 data = -1 }
			owned = { province = 200 data = -1 }
			owned = { province = 201 data = -1 }
			owned = { province = 202 data = -1 }
			owned = { province = 203 data = -1 }
			owned = { province = 204 data = -1 }
			owned = { province = 205 data = -1 }
			owned = { province = 206 data = -1 }
			owned = { province = 207 data = -1 }
			owned = { province = 208 data = -1 }
			owned = { province = 209 data = -1 }
			owned = { province = 211 data = -1 }
			owned = { province = 212 data = -1 }
			owned = { province = 213 data = -1 }
			owned = { province = 214 data = -1 }
			owned = { province = 1833 data = -1 }
			owned = { province = 1834 data = -1 }
			owned = { province = 1838 data = -1 }
			owned = { province = 1839 data = -1 }
			owned = { province = 1840 data = -1 }
			owned = { province = 1842 data = -1 }
			owned = { province = 1843 data = -1 }
			owned = { province = 1844 data = -1 }
			owned = { province = 1845 data = -1 }
			owned = { province = 1863 data = -1 }
			owned = { province = 1864 data = -1 }
			owned = { province = 1865 data = -1 }
			owned = { province = 1866 data = -1 }
			owned = { province = 1867 data = -1 }
			owned = { province = 1868 data = -1 }
			owned = { province = 1869 data = -1 }
			owned = { province = 1870 data = -1 }
			owned = { province = 1871 data = -1 }
			owned = { province = 1872 data = -1 }
			}
	}
	random = no
	country = POR
	name = "Brazilian independence"
	desc = "Brazil did not secede by war, but in 1822 Pedro, the successor to Portuguese crown, who during Napoleonic years resided in Brazil, decided to remain in Brazil after the royal family returned to Lissabon. He then established the new Brazilian Empire which declared its independence from Portugal, with emperor Pedro I at its head."
	style = 2

	date = { day = 1 month = january year = 1750 }
	offset = 30
	deathdate = { day = 1 month = january year = 1850 }

     action_a = { # Curses!
         name = "BRZombian revolters are succesful"
         command = { type = secedeprovince which = BRZ value = 210 }
         command = { type = secedeprovince which = BRZ value = 183 }
         command = { type = secedeprovince which = BRZ value = 184 }
         command = { type = secedeprovince which = BRZ value = 185 }
         command = { type = secedeprovince which = BRZ value = 189 }
         command = { type = secedeprovince which = BRZ value = 190 }
         command = { type = secedeprovince which = BRZ value = 191 }
         command = { type = secedeprovince which = BRZ value = 195 }
         command = { type = secedeprovince which = BRZ value = 196 }
         command = { type = secedeprovince which = BRZ value = 197 }
         command = { type = secedeprovince which = BRZ value = 198 }
         command = { type = secedeprovince which = BRZ value = 199 }
         command = { type = secedeprovince which = BRZ value = 200 }
         command = { type = secedeprovince which = BRZ value = 201 }
         command = { type = secedeprovince which = BRZ value = 202 }
         command = { type = secedeprovince which = BRZ value = 203 }
         command = { type = secedeprovince which = BRZ value = 204 }
         command = { type = secedeprovince which = BRZ value = 205 }
         command = { type = secedeprovince which = BRZ value = 206 }
         command = { type = secedeprovince which = BRZ value = 207 }
         command = { type = secedeprovince which = BRZ value = 208 }
         command = { type = secedeprovince which = BRZ value = 209 }
         command = { type = secedeprovince which = BRZ value = 211 }
         command = { type = secedeprovince which = BRZ value = 212 }
         command = { type = secedeprovince which = BRZ value = 213 }
         command = { type = secedeprovince which = BRZ value = 214 }
         command = { type = secedeprovince which = BRZ value = 1833 }
         command = { type = secedeprovince which = BRZ value = 1834 }
         command = { type = secedeprovince which = BRZ value = 1838 }
         command = { type = secedeprovince which = BRZ value = 1839 }
         command = { type = secedeprovince which = BRZ value = 1840 }
         command = { type = secedeprovince which = BRZ value = 1841 }
         command = { type = secedeprovince which = BRZ value = 1842 }
         command = { type = secedeprovince which = BRZ value = 1843 }
         command = { type = secedeprovince which = BRZ value = 1844 }
         command = { type = secedeprovince which = BRZ value = 1845 }
         command = { type = secedeprovince which = BRZ value = 1863 }
         command = { type = secedeprovince which = BRZ value = 1864 }
         command = { type = secedeprovince which = BRZ value = 1865 }
         command = { type = secedeprovince which = BRZ value = 1866 }
         command = { type = secedeprovince which = BRZ value = 1867 }
         command = { type = secedeprovince which = BRZ value = 1869 }
         command = { type = secedeprovince which = BRZ value = 1870 }
         command = { type = secedeprovince which = BRZ value = 1868 }
         command = { type = secedeprovince which = BRZ value = 1871 }
         command = { type = secedeprovince which = BRZ value = 1872 }
         }
}