#################################
#####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
	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 = shipyard }
		command = { type = relation  which = OMA  value = -400 }
		command = { type = relation  which = TUR  value = -100 }
		command = { type = relation  which = GUJ  value = -100 }
		command = { type = domestic  which = MERCANTILISM  value = 2 }
		command = { type = casusbelli  which = OMA value = 1800 }
	}

	action_b = {		#Negotiate trading rights#
		name = "ACTIONNAME3268B"
		command = { type = gainbuilding which = 441 value = shipyard }
		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
	trigger = {
			OR = {
				exists = MOR
				exists = FEZ
				exists = ALD
				}
		}
	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
	country = POR
	name = "EVENTNAME3274"
	desc = "EVENTHIST3274"
	style = 2

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

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

	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 }
		command = { type = trigger  which = 18015 }
	}
}

#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 = 1 month = january 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 }
	}

}

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

#Enrique the Crusader#
event = {
	id = 18000
	random = no
	country = POR
	name = "EVENTNAME18000"
	desc = "EVENTHIST18000"
	style = 1

	date = { day = 3 month = january year = 1419 }

	action_a = {		#Praise God!#
		name = "ACTIONNAME18000A"
		command = { type = leader  which = 09628 }
		command = { type = dynastic  which = ENG }
		command = { type = relation  which = ENG  value = 60 }
	}
}

#Enrique the Navigator#
event = {
	id = 18001
	random = no
	country = POR
	name = "EVENTNAME18001"
	desc = "EVENTHIST18001"
	style = 1

	date = { day = 9 month = january year = 1419 }
	offset = 100
	deathdate = { day = 9 month = january year = 1420 } 	

	action_a = {		#Fund Enrique#
		name = "ACTIONNAME18001A"
		command = { type = treasury  value = -200 }
		command = { type = naval  value = 800 }
		command = { type = gainmanufactory which = 442 value = navalequipment }
	}

	action_b = {		#Invest in Known Trade Routes#
		name = "ACTIONNAME18001B"
		command = { type = treasury  value = -200 }
		command = { type = gainmanufactory which = 434 value = refinery }
		command = { type = trade  value = 800 }
		command = { type = domestic  which = MERCANTILISM  value = 2 }
		command = { type = merchants  value = 6 }
	}
	action_c = {		#Back the Reconquistadores#
		name = "ACTIONNAME18001C"
		command = { type = sleepevent  which = 18002 }
		command = { type = treasury  value = -200 }
		command = { type = land  value = 500 }
		command = { type = infra  value = 250 }
		command = { type = domestic  which = land  value = 2 }
		command = { type = domestic  which = offensive  value = 1 }
		command = { type = domestic  which = quality  value = 1 }
		command = { type = INF  which = -1 value = 5000 }
		command = { type = CAV  which = -3 value = 1000 }
	}
}

#Cape Bojador#
event = {
	id = 18002
	random = no
	country = POR
	name = "EVENTNAME18002"
	desc = "EVENTHIST18002"
	style = 1

	date = { day = 25 month = december year = 1432 }

	action_a = {		#Explore African Coast#
		name = "ACTIONNAME18002A"
		command = { type = leader  which = 09602 }
		command = { type = naval  value = 250 }
		command = { type = addcore  which = 818 }
		command = { type = treasury value = -25 }
	}
	action_b = {		
		name = "ACTIONNAME18002B"
		command = { type = domestic which = land  value = 1 }
		command = { type = domestic which = offensive value = 1 }
		command = { type = casusbelli which = MOR value = 25 }
	}
}

##############################
##  Shortlived Expeditions  ##
#####    Idea: Baston    #####
##  Scripting by Annibale   ##
##############################

#Henry's Captains#
event = {
	id = 18003
	random = no
	country = POR
	name = "EVENTNAME18003"
	desc = "EVENTHIST18003"
	style = 1

	date = { day = 3 month = january year = 1441 }

	action_a = {		#Explore African Coast#
		name = "ACTIONNAME18003A"
		command = { type = leader  which = 09629 }
		command = { type = leader  which = 16266 }
		command = { type = leader  which = 16268 }
		command = { type = leader which = 16271 }
		command = { type = treasury value = -35 }
		command = { type = warships which = -2 value = 2 }
	}
	action_b = {	
		name = "ACTIONNAME18003B"
		command = { type = land  value = 100 }
	}
}

#Royal Charters#
event = {
	id = 18004
	random = no
	country = POR
	name = "EVENTNAME18004"
	desc = "EVENTHIST18004"
	style = 1

	date = { day = 3 month = january year = 1469 }

	action_a = {		#Explore African Coast#
		name = "ACTIONNAME18004A"
		command = { type = leader  which = 09605 }
		command = { type = leader  which = 09606 }
		command = { type = treasury value = -40 }
		command = { type = warships which = -2 value = 4 }
	}
	action_b = {	
		name = "ACTIONNAME18004B"
		command = { type = land  value = 100 }
	}
}

##############################
##  Expedition to Tangiers  ##
#####    Idea: Baston    #####
##  Scripting by Annibale   ##
##############################

event = {
	id = 18005
	trigger = { 
		OR = { 
			exists = MOR 
			exists = FEZ 
			} 
		NOT = { owned = { province = 732 data = -1 } } 
		}
	random = no
	country = POR
	name = "EVENTNAME18005"
	desc = "EVENTHIST18005"
	style = 1

	date = { day = 1 month = january year = 1437 }
	offset = 360
	deathdate = { day = 1 month = january year = 1438 }

	action_a = {		#Send Expedition#
		name = "ACTIONNAME18005A"
		command = { type = casusbelli which = MOR value = 12 } 
		command = { type = casusbelli which = FEZ value = 12 } 
		command = { type = inf which = -2 value = 8000 } 
		command = { type = cav which = -2 value = 2000 } 
		command = { type = stability value = -1 }
		command = { type = trade value = -250 } 
		command = { type = naval value = -250 }
	}

	action_b = {		#No, Save Our Money#
		name = "ACTIONNAME18005B"
		command = { type = stability value = 1 }
		command = { type = trade value = 250 } 
		command = { type = naval value = 250 } 
		command = { type = relation which = MOR value = 35 }
		command = { type = relation which = FEZ value = 35 }
	}
}

##############################
#####   Colonial Pact   ######
##   Idea: King of Brazil   ##
##  Scripting by Annibale   ##
##############################

event = {
	id = 18006
	trigger = { discovered = 203 }
	random = no
	country = POR
	name = "EVENTNAME18006"
	desc = "EVENTHIST18006"
	style = 2

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

	action_a = {		#Strictly Control Trading Rights#
		name = "ACTIONNAME18006A"
		command = { type = domestic  which = MERCANTILISM  value = 2 }
		command = { type = relation  which = CAS  value = -50 }
		command = { type = relation  which = SPA  value = -50 }
		command = { type = relation  which = ENG  value = -50 }
		command = { type = relation  which = FRA  value = -50 }
	}
	action_b = {             #Relax Trading Restrictions#
		name = "ACTIONNAME18006B"
		command = { type = domestic  which = MERCANTILISM  value = -1 }
		command = { type = relation  which = CAS  value = 20 }
		command = { type = relation  which = SPA  value = 20 }
		command = { type = relation  which = ENG  value = 20 }
		command = { type = relation  which = FRA  value = 20 }
	}
}

##############################
###   Treaty of Alcacovas  ###
#####    Idea: Baston    #####
##  Scripting by Annibale   ##
##############################

event = {
	id = 18008
	trigger = {
		OR = {
			owned = { province = 801 data = CAS }
			owned = { province = 802 data = CAS }
			owned = { province = 803 data = CAS }
			owned = { province = 804 data = CAS }
			owned = { province = 805 data = CAS }
			owned = { province = 818 data = CAS }
			owned = { province = 1595 data = CAS }
			owned = { province = 1596 data = CAS }
			owned = { province = 1597 data = CAS }
			}
		}
	random = no
	country = POR
	name = "EVENTNAME18008"
	desc = "EVENTHIST18008"
	style = 1

	date = { day = 6 month = march year = 1480 }

	action_a = {		#Press Our Trading Rights#
		name = "ACTIONNAME18008A"
		command = { type = relation which = CAS value = -50 }
		command = { type = trigger  which = 18009 }
	}

	action_b = {		#Allow Free Trade#
		name = "ACTIONNAME18008B"
		command = { type = relation which = CAS value = 50 }
	}
}

#Treaty of Alcacovas#
event = {
	id = 18009
	random = no
	country = CAS
	name = "EVENTNAME18009"
	desc = "EVENTHIST18009"
	style = 1

	action_a = {		#Sign Treaty#
		name = "ACTIONNAME18009A"
			command = { type = secedeprovince  which = POR value = 801 }
			command = { type = secedeprovince  which = POR value = 802 }
			command = { type = secedeprovince  which = POR value = 803 }
			command = { type = secedeprovince  which = POR value = 804 }
			command = { type = secedeprovince  which = POR value = 805 }
			command = { type = secedeprovince  which = POR value = 818 }
			command = { type = secedeprovince  which = POR value = 1595 }
			command = { type = secedeprovince  which = POR value = 1596 }
			command = { type = secedeprovince  which = POR value = 1597 }
                  command = { type = casusbelli  which = POR value = 12 }
	}
	action_b = {		#Reject Treaty#
		name = "ACTIONNAME18009B"
			command = { type = relation which = POR value = -50 }
			command = { type = trigger  which = 18010 }
	}
}

#Treaty of Alcacovas Rejected#
event = {
	id = 18010
	random = no
	country = POR
	name = "EVENTNAME18010"
	desc = "EVENTHIST18010"
	style = 1

	action_a = {		#Damn Spaniards!#
		name = "ACTIONNAME18010A"
            command = { type = casusbelli  which = CAS value = 12 }
	}
}

#######################################
## Commercial Conflict in Asian Seas ##
#######      Idea: Baston        ######
#####     Scripting by Annibale   #####
#######################################

event = {
	id = 18012
	random = no
	country = POR
	trigger = { owned = { province = 549 data = -1 }
			exists = MLC
			NOT = { relation = { country = MLC value = -30 } }
	}
	name = "EVENTNAME18012"
	desc = "EVENTHIST18012"
	style = 2

	date = { day = 1 month = january year = 1498 }
	offset = 60
	deathdate = { day = 1 month = january year = 1670 }

	action_a = {		#Forcefully control spice trade#
		name = "ACTIONNAME3268A"
		command = { type = relation  which = MLC  value = -200 }
		command = { type = addcore which = 677 } #so that Portugal and Malacca will always have reason to be at war.#
	}

	action_b = {		#Negotiate trading rights#
		name = "ACTIONNAME3268B"
		command = { type = relation  which = MLC  value = 50 }
		command = { type = sleepevent which = 60003 }
	}
}

event = {
	id = 18103
	trigger = { event = 60003 } 
	random = no
	country = POR
	name = "EVENTNAME18103"
	desc = "EVENTHIST18103"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 10
	deathdate = { day = 1 month = january year = 1680 }	
	action_a = { 
		name = "ACTIONNAME18034A"
		command = { type = conquistador which = 677 }
		command = { type = inf which = -3 value = 10000 }
		command = { type = cav which = -3 value = 7000 }
		command = { type = cav which = 678 value = 6000 }
		command = { type = treasury value = -100 }		
		}
}
event = {
	id = 18104
	trigger = { event = 60003 } 
	random = no
	country = POR
	name = "EVENTNAME18104"
	desc = "EVENTHIST18104"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 10
	deathdate = { day = 1 month = january year = 1680 }	
	action_a = { 
		name = "ACTIONNAME40116A"
		command = { type = conquistador which = 677 }
		command = { type = inf which = -3 value = 5000 }
		command = { type = cav which = -3 value = 5000 }
		command = { type = vassal which = MLC }
		command = { type = treasury value = 100 }
		command = { type = population which = 677 value = -2000 }
		command = { type = losebuilding which = 677 value = bailiff }		
		}
}
#Submission of Malacca#
event = {
	id = 18105
	trigger = { 
			control = { province = 677 data = -1 } }
	random = no
	country = POR
	name = "EVENTNAME18105"
	desc = "EVENTHIST18105"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1680 }	
	action_a = { 
		name = "ACTIONNAME18035A"
		command = { type = warships which = 677 value = 5 }
		command = { type = inf which = 677 value = 6000 }
		command = { type = cav which = -3 value = 2000 }	
		command = { type = treasury value = -100 }
		}
	action_b = { 
		name = "ACTIONNAME18035B"
		command = { type = stability value = -1 }
		}
}
#Construction of A Famosa#
event = {
	id = 18106
	trigger = { control = { province = 677 data = -1 } 
			owned = { province = 677 data = -1 } }
	random = no
	country = POR
	name = "EVENTNAME18106"
	desc = "EVENTHIST18106"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1690 }	
	action_a = { 
		name = "ACTIONNAME18036A"
		command = { type = fortress which = 677 value = 1 }
		command = { type = inf which = -3 value = 6000 }
		command = { type = cav which = -3 value = 2000 }	
		command = { type = treasury value = -100 }
		}
	action_b = { 
		name = "ACTIONNAME18036B"
		command = { type = revolt which = 677 }
		}
}

####################################
####     Dynastic Conflict      ####
####   Idea: Ezzezze, Annibale  ####
####    Scripting by Annibale   ####
####################################

event = {
	id = 18015
	random = no
	country = POR
	name = "EVENTNAME18015"
	desc = "EVENTHIST18015"  
	style = 2

	action_a = {		#Accept Filipe II's Government#
		name = "ACTIONNAME18015A"
		command = { type = alliance which = SPA }
		command = { type = dynastic  which = SPA }
		command = { type = relation  which = SPA  value = 80 }
		command = { type = domestic  which = aristocracy value = 1 }
		command = { type = domestic  which = serfdom value = 1 }
		command = { type = stability  value = 1 }
	}

	action_b = {		#Support Dom Antonio's Claim#
		name = "ACTIONNAME18015B"
		command = { type = monarch  which =  06769 }
		command = { type = wakemonarch  which = 06770}
		command = { type = sleepmonarch  which = 06758 }
		command = { type = sleepmonarch  which = 06759 }
		command = { type = sleepmonarch  which = 06760 }
		command = { type = sleepmonarch  which = 06761 }
		command = { type = domestic  which = aristocracy value = -1 }
		command = { type = domestic  which = serfdom value = -1 }
		command = { type = stability  value = 1 }
		command = { type = revoltrisk  which = 12 value = 3 }
	}

	action_c = {		#Support Dona Catarina's Claim#
		name = "ACTIONNAME18015C"
		command = { type = monarch  which =  06772 }
		command = { type = wakemonarch  which = 06773 }
		command = { type = wakemonarch  which = 06774 }
		command = { type = sleepmonarch  which = 06758 }
		command = { type = sleepmonarch  which = 06759 }
		command = { type = sleepmonarch  which = 06760 }
		command = { type = sleepmonarch  which = 06761 }
		command = { type = stability  value = 1 }
		command = { type = revoltrisk  which = 12 value = 3 }
	}
}

#House of Bragança#
event = {
	id = 18016
	trigger = {
		monarch = 06770
		}
	random = no
	country = POR
	name = "EVENTNAME18016"
	desc = "EVENTHIST18016" 
	style = 3

	date = { day = 6 month = december year = 1620 }

	action_a = {		#OK#
		name = "ACTIONNAME18016A"
		command = { type = wakemonarch  which = 06771}
	}
}

###################
##Dutch Conflicts##
###################

#Trade Restrictions#
event = {

	id = 18018
	trigger = { 
		exists = HOL
		OR = {
			owned = { province = 205 data = -1 }
			owned = { province = 701 data = -1 }
			owned = { province = 702 data = -1 }
			owned = { province = 677 data = -1 }
			}
		NOT = { 
			alliance = { country = HOL country = POR }  
		}
		}
	random = no
	country = POR
	name = "EVENTNAME18018"
	desc = "EVENTHIST18018"
	style = 3

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

	action_a = {		#Strictly Control Trading Rights#
		name = "ACTIONNAME18018A"
		command = { type = domestic  which = MERCANTILISM  value = 2 }
		command = { type = relation  which = HOL value = -100 }
		command = { type = relation  which = SPA value = 20 }
		command = { type = trigger  which = 18019 }
	}
}

#Dutch Conflict with Portugal#
event = {

	id = 18019
	random = no
	country = HOL
	name = "EVENTNAME18019"
	desc = "EVENTHIST18019"
	style = 3

	action_a = {		#Use Force to Secure Trade#
		name = "ACTIONNAME18019A"
		command = { type = relation which = POR value = -100 } 
		command = { type = addcore  which = 205 }
		command = { type = addcore  which = 677 }
		command = { type = addcore  which = 701 }
		command = { type = addcore  which = 702 }
	}

	action_b = {		#Avoid Open Conflict#
		name = "ACTIONNAME18019B"
		command = { type = relation which = POR value = 50 }
		command = { type = sleepevent  which = 18020 } 
	}
}

#Dutch Ambitions Realized#
event = {
	id = 18020
	trigger = {
		event = 18019
		OR = {
			owned = { province = 205 data = -1 }
			owned = { province = 701 data = -1 }
			owned = { province = 702 data = -1 }
			owned = { province = 677 data = -1 }
			}
	} 
	random = no
	country = HOL
	name = "EVENTNAME18020"
	desc = "EVENTHIST18020"
	style = 3

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


	action_a = {		#Well, they still speak Portuguese...#
		name = "ACTIONNAME18020A"
		command = { type = removecore  which = 205 }
		command = { type = removecore  which = 677 }
		command = { type = removecore  which = 701 }
		command = { type = removecore  which = 702 } 

	}
}

###########################################
#####     Move Court to Brazil        #####
####  Idea: King of Brazil, Annibale   ####
#####     Scripting by Annibale       #####
###########################################
##EEP RUS corrections##
####   by Tanone  #####
#######################
 
event = { 
	id = 18023 
	trigger = { 
		owned = { province = 211 data = -1 }
		control = { province = 211 data = -1 } 
		NOT = { control = { province = 441 data = -1 } } 
		} 
	random = no 
	country = POR 
	name = "EVENTNAME18023" 
	desc = "EVENTHIST18023" 
	style = 5 

	date = { day = 1 month = january year = 1750 } 
	deathdate = { day = 1 month = january year = 1820 } 

	action_a = { #Flee to Brazil!# 
		name = "ACTIONNAME18023A" 
		command = { type = capital which = 211 } 
		command = { type = addcore which = 211 } 
		command = { type = fortress which = 211 value = 1 }
		command = { type = population which = 211  value = 20000 } 
		command = { type = stability value = -2 } 
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic which = MERCANTILISM  value = -5 }
	} 
	action_b = { #Stay in Portugal# 
		name = "ACTIONNAME18023B" 
		command = { type = stability value = 1 } 
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = sleepevent  which = 18024 } 
	} 
}

#Return to Lisbon#
event = {
	id = 18024
	trigger = {
		event = 18023
		owned = { province = 441 data = -1 }
		control = { province = 441 data = -1 }
		}
	random = no
	country = POR
	name = "EVENTNAME18024"
	desc = "EVENTHIST18024"
	style = 5

	date = { day = 2 month = january year = 1750 }
	deathdate = { day = 1 month = january year = 1820 }

	action_a = {		#Return to Lisbon#
		name = "ACTIONNAME18024A"
		command = { type = capital which = 441 }  
		command = { type = stability value = 2 } 
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic  which = aristocracy value = 1 }
		command = { type = domestic  which = serfdom value = 1 }
		command = { type = trigger  which = 18025 }
	}

	action_b = {		#Stay in Brazil#
		name = "ACTIONNAME18024B"
		command = { type = stability value = -2 } 
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = revolt  which = 441 }
		command = { type = sleepevent  which = 18025 }
	}
}

#Brazilian Independence#
event = {
	id = 18025
	random = no
	country = POR
	name = "EVENTNAME18025"
	desc = "EVENTHIST18025"
	style = 5

	action_a = {		#Grant Brazilian Independence#
		name = "ACTIONNAME18025A"
		command = { type = independence  which = BRZ }
		command = { type = removecore which = 211 }
		command = { type = relation  which = BRZ  value = 100 }  
		command = { type = stability value = 1 } 
		command = { type = domestic which = CENTRALIZATION value = 1 }
	}

	action_b = {		#Fight for our Overseas Colonies#
		name = "ACTIONNAME18025B"
		command = { type = independence  which = BRZ }
		command = { type = relation  which = BRZ  value = -100 }
		command = { type = stability value = -1 } 
		command = { type = domestic which = CENTRALIZATION value = -1 }
		command = { type = domestic  which = aristocracy value = 1 }
		command = { type = domestic  which = serfdom value = 1 } 
	}
}
## Events by Crook ##

#Sugar in Azores#
event = { 
        id = 18026 
        random = no 
        country = POR 
	  trigger = { owned = { province = 823 data = -1 } }
        style = 1 
        date = { day = 1 month = january year = 1452 } 
        offset = 25
	  deathdate = { day = 1 month = january year = 1490 }

        name = "EVENTNAME18026" 
        desc = "EVENTHIST18026" 
        action_a = { 
               name = "ACTIONNAME18026A" 
               command = { type = provincetax which = 823 value = 1 } 
		   command = { type = treasury value = 30 }
                   } 
       } 

#Columbus#
event = { 
        id = 18027 
        random = no 
        country = POR 
        style = 1 
        date = { day = 1 month = january year = 1484 } 
        offset = 140
	  deathdate = { day = 1 month = january year = 1485 }

        name = "EVENTNAME18027" 
        desc = "EVENTHIST18027"
        action_a = { 
               name = "ACTIONNAME18027A" 
               command = { type = vp value = 15 } 
               } 
	  action_b = { 
               name = "ACTIONNAME18027B"
               command = { type = leader which = 09802 } 
		   command = { type = warships which = -2 value = 2 }
		   command = { type = treasury value = -100 }
		   command = { type = domestic which = innovative value = 1 }
		   command = { type = sleepevent which = 24005 }
		   command = { type = sleepevent which = 24006 }
               } 
}
       
##Catherine of Braganza Events##
## Created by Johnny Canuck   ##

#The Dowry of Catherine of Braganza#
event = {

	id = 21079
	trigger = {
		OR = {
			exists = HOL
			exists = SPA
			}
		NOT = {
			vassal = { country = SPA country = POR }
			}
		exists = ENG
		NOT = {
			war = { country = POR country = ENG }
			}
		OR = {
			atwar = yes
			NOT = { stability = 2 }
			}
		OR = {
			owned = { province = 548 data = -1 }
			owned = { province = 732 data = -1 }
			}
		NOT = { event = 21080 }
		}
	random = no
	country = POR
	name = "EVENTNAME21079"
	desc = "EVENTHIST21079"
	style = 3

	date = { day = 23 month = june year = 1661 }

	action_a = {
		name = "ACTIONNAME21079A"
		command = { type = secedeprovince which = ENG value = 548 }
		command = { type = secedeprovince which = ENG value = 732 }
		command = { type = stability value = 1 }
		command = { type = relation which = ENG value = 100 }
		command = { type = trigger which = 21081 }
	}

	action_b = {
		name = "ACTIONNAME21079B"
		command = { type = treasury value = -200 }
		command = { type = relation which = ENG  value = 50 }
		command = { type = trigger which = 21082 }
	}

	action_c = {
		name = "ACTIONNAME21079Ñ"
		command = { type = stability value = -1 }
		command = { type = relation which = ENG  value = -50 }
		command = { type = trigger which = 21083 }
	}
}

#The Dowry of Catherine of Braganza (No Territory)#
event = {

	id = 21080
	trigger = {
		OR = {
			exists = HOL
			exists = SPA
			}
		NOT = {
			vassal = { country = SPA country = POR }
			}
		exists = ENG
		NOT = {
			war = { country = POR country = ENG }
			}
		OR = {
			atwar = yes
			NOT = { stability = 2 }
			}
		NOT = {
			owned = { province = 548 data = -1 }
			owned = { province = 732 data = -1 }
			}
		NOT = { event = 21079 }
		}
	random = no
	country = POR
	name = "EVENTNAME21080"
	desc = "EVENTHIST21080"
	style = 3

	date = { day = 21 month = june year = 1663 }

	action_a = {
		name = "ACTIONNAME21080A"
		command = { type = treasury value = -200 }
		command = { type = stability value = 1 }
		command = { type = relation which = ENG  value = 50 }
		command = { type = trigger which = 21082 }
	}

	action_b = {
		name = "ACTIONNAME21080B"
		command = { type = stability value = -1 }
		command = { type = relation which = ENG  value = -50 }
		command = { type = trigger which = 21083 }
	}
}

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

#Support Juana (1474)#
event = {
	id = 18028                 #Triggered by CAS 7110 or 7111#
	random = no
	country = POR
	name = "EVENTNAME18028"
	desc = "EVENTHIST18028"
	style = 1

	action_a = { #Support Juana#
		name = "ACTIONNAME18028A"
		command = { type = casusbelli which = CAS value = 60 }
		command = { type = relation which = CAS value = -200 }
	}
	action_b = { #Forget it#
		name = "ACTIONNAME18028B"
		command = { type = relation which = CAS value = 100 }
		command = { type = stability value = -2 }
	}
}

#############################
### Events by Isaac Brock ###
#############################

#Conquest of Macao - fantasy event/place holder#
event = {
	id = 18029
	trigger = { owned = { province = 659 data = -1 }} 
	random = no
	country = POR
	name = "EVENTNAME18029"
	desc = "EVENTHIST18029"
	style = 2
	date = { day = 1 month = december year = 1556 }
	
	action_a = { #Excellent#
		name = "ACTIONNAME7110A"
		command = { type = merchants value = 1 }
		command = { type = trade value = 50 }
	}
}
#Cession of Macao#
event = {
	id = 18030
	trigger = { 
		owned = { province = 659 data = -1 }
		NOT = {event = 18029}
		event = 3704
		} 
	random = no
	country = POR
	name = "EVENTNAME18030"
	desc = "EVENTHIST18030"
	style = 2
	date = { day = 5 month = january year = 1557 }
	deathdate = { day = 1 month = january year = 1558 }

	
	action_a = { #Excellent#
		name = "ACTIONNAME18030A"
		command = { type = losebuilding which = 659 value =  bailiff }
		command = { type = losebuilding which = 659 value =  courthouse }
		command = { type = losebuilding which = 659 value =  cityrights }
		command = { type = losebuilding which = 659 value =  barrack }
		command = { type = losebuilding which = 659 value =  shipyard }
		command = { type = losemanufactory which = 659 }
		command = { type = merchants value = 2 }
		command = { type = trade value = 50 }
		command = { type = relation which = CHI value = 100 }
	}
}
##########################
### Submission of Zanj ###
###    by Crook        ###
##########################

#Submission of Zanj#
event = {
	id = 18031
	trigger = { 
		exists = ZAN
		owned = { province = 763 data = ZAN } 
		control = { province = 763 data = ZAN }
		NOT = { relation = { country = ZAN value = -20 } }
		} 
	random = no
	country = POR
	name = "EVENTNAME18031"
	desc = "EVENTHIST18031"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 100
	deathdate = { day = 1 month = january year = 1558 }	
	action_a = { 
		name = "ACTIONNAME18031A"
		command = { type = relation which = ZAN value = -100 }
		}
}
#Submission of Zanj#
event = {
	id = 18032
	trigger = { event = 18031 } 
	random = no
	country = ZAN
	name = "EVENTNAME18032"
	desc = "EVENTHIST18032"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1560 }	
	action_a = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 763 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -200 }
		command = { type = sleepevent which = 18034 }
		}
	action_b = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = stability value = -6 }
		command = { type = sleepevent which = 18033 }
		}

}
#Submission of Zanj#
event = {
	id = 18033
	trigger = { event = 18032 } 
	random = no
	country = POR
	name = "EVENTNAME18033"
	desc = "EVENTHIST18033"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1560 }	
	action_a = { 
		name = "ACTIONNAME40116A"
		command = { type = vassal which = ZAN }
		command = { type = casusbelli which = ZAN value = 900 }
		command = { type = inf which = 763 value = 5000 }
		command = { type = cav which = -3 value = 5000 }		
		command = { type = treasury value = 100 }
		command = { type = population which = 763 value = -2000 }
		command = { type = losebuilding which = 763 value = bailiff }
		}
}
#Submission of Zanj#
event = {
	id = 18034
	trigger = { event = 18032 } 
	random = no
	country = POR
	name = "EVENTNAME18034"
	desc = "EVENTHIST18034"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1560 }	
	action_a = { 
		name = "ACTIONNAME18034A"
		command = { type = conquistador which = 766 }
		command = { type = inf which = 766 value = 10000 }
		command = { type = cav which = -3 value = 7000 }	
		command = { type = cav which = 763 value = 5000 }	
		command = { type = treasury value = -100 }
		}
}
#Submission of Zanj#
event = {
	id = 18035
	trigger = { 
			control = { province = 763 data = -1 } }
	random = no
	country = POR
	name = "EVENTNAME18035"
	desc = "EVENTHIST18035"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1504 }	
	action_a = { 
		name = "ACTIONNAME18035A"
		command = { type = warships which = 763 value = 5 }
		command = { type = wakeleader which = 15002 }
		command = { type = inf which = 763 value = 6000 }
		command = { type = cav which = -3 value = 2000 }	
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18102 }
		}
	action_b = { 
		name = "ACTIONNAME18035B"
		command = { type = stability value = -1 }
		command = { type = sleepevent which = 18102 }
		}
}
#Submission of Zanj#
event = {
	id = 18102
	trigger = { 
			control = { province = 763 data = -1 } }
	random = no
	country = POR
	name = "EVENTNAME18035"
	desc = "EVENTHIST18035"
	style = 2
	date = { day = 1 month = january year = 1504 }
	offset = 30
	deathdate = { day = 1 month = january year = 1560 }	
	action_a = { 
		name = "ACTIONNAME18035A"
		command = { type = warships which = 763 value = 5 }
		command = { type = conquistador which = 763 }
		command = { type = inf which = 763 value = 6000 }
		command = { type = cav which = -3 value = 2000 }	
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18102 }
		}
	action_b = { 
		name = "ACTIONNAME18035B"
		command = { type = stability value = -1 }
		}
}
#Construction of Fort Jesus#
event = {
	id = 18036
	trigger = { control = { province = 763 data = -1 } 
			owned = { province = 763 data = -1 } }
	random = no
	country = POR
	name = "EVENTNAME18036"
	desc = "EVENTHIST18036"
	style = 2
	date = { day = 1 month = january year = 1590 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18036A"
		command = { type = fortress which = 763 value = 1 }
		command = { type = inf which = 763 value = 6000 }
		command = { type = cav which = -3 value = 2000 }	
		command = { type = treasury value = -100 }
		}
	action_b = { 
		name = "ACTIONNAME18036B"
		command = { type = revolt which = 763 }
		}
}
#Settlement of Mozambique#
event = {
	id = 18037
	trigger = { control = { province = 770 data = -1 } 
			owned = { province = 770 data = -1 } 
			provinceculture = { prov = 770 data = iberian }
		ai = yes
}
	random = no
	country = POR
	name = "EVENTNAME18037"
	desc = "EVENTHIST18037"
	style = 2
	date = { day = 1 month = january year = 1500 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18037A"
		command = { type = population which = 770 value = 250 }
		command = { type = treasury value = -100 }
		command = { type = fortress which = 770 value = 1 }
		}
	action_b = { 
		name = "ACTIONNAME18037B"
		command = { type = vp value = -1 }
		}
}

##########################
### Submission of Goa  ###
###    by Crook        ###
##########################

#Submission of Goa#
event = {
	id = 18038
	trigger = { 
		OR = {  owned = { province = 549 data = HYD } 
			owned = { province = 549 data = U02 } 
			owned = { province = 549 data = GUJ } 
			owned = { province = 549 data = DLH } 
			owned = { province = 549 data = BGL } 
			owned = { province = 549 data = OMA } 
			owned = { province = 549 data = PER } 
			owned = { province = 549 data = MOG } 
			owned = { province = 549 data = TIM } 
			owned = { province = 549 data = MLW } 
		}
		owned = { province = 763 data = -1 }
} 
	random = no
	country = POR
	name = "EVENTNAME18038"
	desc = "EVENTHIST18038"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 100
	deathdate = { day = 1 month = january year = 1658 }	
	action_a = { 
		name = "ACTIONNAME18038A"
		command = { type = relation which = VIJ value = 50 }
		command = { type = relation which = MYS value = 50 }
		}
}
#Submission of Goa#
event = {
	id = 18039
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = HYD
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = stability value = 1 }
		command = { type = relation which = POR value = -100 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18040
	trigger = { OR = { event = 18039 
			event = 18045
			event = 18046 
			event = 18048 
			event = 18050 
			event = 18052
			event = 18054
			event = 18056
			event = 18058
			event = 18060 } } 
	random = no
	country = POR
	name = "EVENTNAME18040"
	desc = "EVENTHIST18040"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 10
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME40116A"
		command = { type = treasury value = 100 }
		command = { type = conquistador which = 549 }
		command = { type = inf which = 549 value = 5000 }
		command = { type = cav which = -3 value = 5000 }		
		command = { type = addcore which = 549 }
		command = { type = losebuilding which = 549 value = bailiff }
		}
}
#Submission of Goa#
event = {
	id = 18041
	trigger = {OR = { event = 18039 
			event = 18045
			event = 18046 
			event = 18048 
			event = 18050 
			event = 18052
			event = 18054
			event = 18056
			event = 18058
			event = 18060 } } 
	random = no
	country = POR
	name = "EVENTNAME18041"
	desc = "EVENTHIST18041"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18034A"
		command = { type = conquistador which = 549 }
		command = { type = inf which = 549 value = 10000 }
		command = { type = cav which = -3 value = 7000 }	
		command = { type = treasury value = -50 }
		}
}
#Submission of Goa#
event = {
	id = 18042
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = HYD
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18043
	random = no
	country = POR
	name = "EVENTNAME18043"
	desc = "EVENTHIST18043"
	style = 2
	action_a = { 
		name = "ACTIONNAME18034A"
		command = { type = cav which = 549 value = 5000 }
		command = { type = warships which = 549 value = 5 }		
		command = { type = addcore which = 549 }
		command = { type = losebuilding which = 549 value = bailiff }
		command = { type = population which = 549 value = -1000 }
		command = { type = treasury value = 50 }
		}
}
#Submission of Goa#
event = {
	id = 18044
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = U02
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18045
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = U02
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18046
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = DLH
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18047
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = DLH
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18048
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = BGL
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18049
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = BGL
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18050
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = MOG
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18051
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = MOG
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18052
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = TIM
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18053
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = TIM
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18054
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = GUJ
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18055
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = GUJ
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18056
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = PER
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18057
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = PER
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18058
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = OMA
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18060 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18045 }
		command = { type = sleepevent which = 18060 }
		}
}
#Submission of Goa#
event = {
	id = 18059
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = OMA
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18060
	trigger = { event = 18038 
		owned = { province = 549 data = -1 } }
	random = no
	country = MLW
	name = "EVENTNAME18039"
	desc = "EVENTHIST18039"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18032B"
		command = { type = war which = POR }
		command = { type = relation which = POR value = -100 }
		command = { type = stability value = 1 }
		command = { type = sleepevent which = 18040 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18045 }
		}
	action_b = { 
		name = "ACTIONNAME18032A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = stability value = -2 }
		command = { type = treasury value = -100 }
		command = { type = sleepevent which = 18041 }
		command = { type = sleepevent which = 18039 }
		command = { type = sleepevent which = 18046 }
		command = { type = sleepevent which = 18048 }
		command = { type = sleepevent which = 18050 }
		command = { type = sleepevent which = 18052 }
		command = { type = sleepevent which = 18054 }
		command = { type = sleepevent which = 18056 }
		command = { type = sleepevent which = 18058 }
		command = { type = sleepevent which = 18045 }
		}
}
#Submission of Goa#
event = {
	id = 18061
	trigger = { event = 18041
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = MLW
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18043 }
		}
}
#Submission of Goa#
event = {
	id = 18062
	trigger = { 
		OR = {  owned = { province = 549 data = MYS } 
			owned = { province = 549 data = VIJ } 
		}
		owned = { province = 763 data = -1 }
		NOT = { alliance = { country = POR country = VIJ } }
		NOT = { alliance = { country = POR country = MYS } }
} 
	random = no
	country = POR
	name = "EVENTNAME18038"
	desc = "EVENTHIST18062"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 100
	deathdate = { day = 1 month = january year = 1658 }	
	action_a = { 
		name = "ACTIONNAME18062A"
		command = { type = treasury value = -50 }
		}
}
#Submission of Goa#
event = {
	id = 18063
	trigger = { event = 18062 
			owned = { province = 549 data = -1 } 
			control = { province = 549 data = -1 } 
			NOT = { event = 18068 } } 
	random = no
	country = VIJ
	name = "EVENTNAME18063"
	desc = "EVENTHIST18063"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 100
	deathdate = { day = 1 month = january year = 1658 }	
	action_a = { 
		name = "ACTIONNAME18063A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = relation which = POR value = 50 }
		command = { type = treasury value = 50 }
		command = { type = land value = 1000 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = sleepevent which = 18065 }
		}
	action_b = { 
		name = "ACTIONNAME18063B"
		command = { type = treasury value = 50 }
		command = { type = relation which = POR value = -200 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = sleepevent which = 18064 }
		command = { type = war which = POR }
		}
}
#Submission of Goa#
event = {
	id = 18068
	trigger = { event = 18062 
			owned = { province = 549 data = -1 } 
			control = { province = 549 data = -1 } 
			NOT = { event = 18063 } } 
	random = no
	country = MYS
	name = "EVENTNAME18063"
	desc = "EVENTHIST18063"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 100
	deathdate = { day = 1 month = january year = 1658 }	
	action_a = { 
		name = "ACTIONNAME18063A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = relation which = POR value = 50 }
		command = { type = treasury value = 50 }
		command = { type = land value = 1000 }
		command = { type = domestic which = mercantilism value = -1 }
		command = { type = sleepevent which = 18065 }
		}
	action_b = { 
		name = "ACTIONNAME18063B"
		command = { type = treasury value = 50 }
		command = { type = relation which = POR value = -200 }
		command = { type = domestic which = mercantilism value = 1 }
		command = { type = sleepevent which = 18064 }
		command = { type = war which = POR }
		}
}
#Submission of Goa#
event = {
	id = 18064
	trigger = { event = 18063 } 
	random = no
	country = POR
	name = "EVENTNAME18064"
	desc = "EVENTHIST18064"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 100
	deathdate = { day = 1 month = january year = 1658 }	
	action_a = { 
		name = "ACTIONNAME40116A"
		command = { type = inf which = 549 value = 5000 }
		command = { type = cav which = -3 value = 5000 }
		command = { type = addcore which = 549 }		
		command = { type = losebuilding which = 549 value = bailiff }
		}
}
#Submission of Goa#
event = {
	id = 18065
	trigger = { event = 18063 } 
	random = no
	country = POR
	name = "EVENTNAME18065"
	desc = "EVENTHIST18065"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 100
	deathdate = { day = 1 month = january year = 1658 }	
	action_a = { 
		name = "ACTIONNAME18034A"
		command = { type = conquistador which = 549 }
		command = { type = inf which = 549 value = 10000 }
		command = { type = cav which = -3 value = 8000 }
		command = { type = treasury value = -50 }			
		}
}
#Submission of Goa#
event = {
	id = 18066
	trigger = { event = 18065
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = VIJ
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18067 }
		}
}
#Submission of Goa#
event = {
	id = 18069
	trigger = { event = 18065
		control = { province = 549 data = POR } 
		owned = { province = 549 data = -1 } } 
	random = no
	country = MYS
	name = "EVENTNAME18042"
	desc = "EVENTHIST18042"
	style = 2
	date = { day = 1 month = january year = 1498 }
	offset = 30
	deathdate = { day = 1 month = january year = 1660 }	
	action_a = { 
		name = "ACTIONNAME18042A"
		command = { type = secedeprovince which = POR value = 549 }
		command = { type = trigger which = 18067 }
		}
}
#Submission of Goa#
event = {
	id = 18067
	random = no
	country = POR
	name = "EVENTNAME18043"
	desc = "EVENTHIST18043"
	style = 2
	action_a = { 
		name = "ACTIONNAME18034A"
		command = { type = cav which = 549 value = 5000 }
		command = { type = warships which = 549 value = 5 }		
		command = { type = addcore which = 549 }
		command = { type = losebuilding which = 549 value = bailiff }
		command = { type = population which = 549 value = -1000 }
		command = { type = treasury value = 50 }
		}
}
#Henry's Captains#
event = {
	id = 18100
	random = no
	country = POR
	name = "EVENTNAME18003"
	desc = "EVENTHIST18003"
	style = 1

	date = { day = 25 month = december year = 1435 }

	action_a = {		#Explore African Coast#
		name = "ACTIONNAME18003A"
		command = { type = leader  which = 16267 }
		command = { type = treasury value = -15 }
		command = { type = warships which = -2 value = 1 }
	}
	action_b = {	
		name = "ACTIONNAME18003B"
		command = { type = land  value = 50 }
	}
}

#Henry's Captains#
event = {
	id = 18101
	random = no
	country = POR
	name = "EVENTNAME18003"
	desc = "EVENTHIST18003"
	style = 1

	date = { day = 25 month = december year = 1450 }

	action_a = {		#Explore African Coast#
		name = "ACTIONNAME18003A"
		command = { type = leader  which = 16269 }
		command = { type = leader  which = 16270 }
		command = { type = leader  which = 16272 }
		command = { type = treasury value = -35 }
		command = { type = warships which = -2 value = 2 }
	}
	action_b = {	
		name = "ACTIONNAME18003B"
		command = { type = land  value = 100 }
	}
}


