#Brazil Major Events from AoN modified by Hive

#Brazilian constitution of 1824#
event = {
	id = 15134
	random = no
	country = BRZ
	name = "Brazilian constitution of 1824"
	desc = "In 1824 Pedro I issued a constitution which give him more power. This act effectively cut off the last remnants of Portuguese suzerainty."
	style = 5
	date = { day = 24 month = march year = 1824 }
	offset = 30
	deathdate = { day = 1 month = january year = 1825 }
	
	action_a = {
		name = "Ok"
		command = { type = breakvassal which = POR }
		command = { type = relation which = POR value = -50 }
		command = { type = domestic which = ARISTOCRACY value = 2 }
		command = { type = domestic which = CENTRALIZATION value = 2 }
	}
}

#Abolition of Slavery#
event = {
	id = 15135
	random = no
	country = BRZ
	name = "Abolition of Slavery"
	desc = "In 1850 slave trade was forbidden in Brazil, but slavery itself was not abolished until 1888 by the Regent Princess Isabel while Pedro II was in Europe. With the abolishment, the wealthy land- and slave- owners did not receive any compensation for their loss in production and profits, and this severely increased the discontent with the Empire. This ultimately led to the abdication of Pedro II and the introduction of a republic in 1891."
	style = 5
	date = { day = 12 month = may year = 1888 }
	deathdate = { day = 1 month = january year = 1889 }
	offset = 30
	
	action_a = {
		name = "Abolish slavery without compensation for slave owners"
		command = { type = stability value = -2 }
		command = { type = domestic which = SERFDOM value = -3 }
		command = { type = domestic which = MERCANTILISM value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -2 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = revoltrisk which = 36 value = 8 }
	}
	action_b = {
		name = "Abolish slavery with compensation for slave owners"
		command = { type = stability value = -1 }
		command = { type = domestic which = SERFDOM value = -1 }
		command = { type = domestic which = MERCANTILISM value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = provincetax which = -1 value = -1 }
		command = { type = revoltrisk which = 36 value = 2 }
		command = { type = treasury value = -250 }
	}
	action_c = {
		name = "Keep slavery"
		command = { type = stability value = -4 }
		command = { type = domestic which = SERFDOM value = 1 }
		command = { type = domestic which = MERCANTILISM value = 1 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = provincetax which = -1 value = 2 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = revolt which = -1 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = FRA value = -100 }
		command = { type = relation which = USA value = -100 }
		command = { type = relation which = POR value = -100 }
		command = { type = relation which = SPA value = -100 }
		command = { type = relation which = HOL value = -100 }
		command = { type = revoltrisk which = 36 value = 12 }
	}
}

#The Republic of Brazil#
event = {
	id = 15136
	random = no
	country = BRZ
	name = "The Republic of Brazil"
	desc = "In 1889 a coup by Deodoro da Fonseca, Marshal of the army forced Pedro I to abdicate. A federal republic was established in 1891, which would last until 1930."
	style = 5
	date = { day = 22 month = september year = 1891 }
	offset = 30
	deathdate = { day = 30 month = december year = 1891 }
	action_a = {
		name = "Proclaim the Republic"
		command = { type = stability value = 2 }
		command = { type = domestic which = ARISTOCRACY value = -2 }
		command = { type = domestic which = CENTRALIZATION value = -2 }
		command = { type = domestic which = LAND value = 1 }
		command = { type = land value = 250 }
		command = { type = sleepmonarch which = 17112 }
		command = { type = sleepmonarch which = 17113 }
		command = { type = wakemonarch which = 17114 }
		command = { type = wakemonarch which = 17115 }
		command = { type = wakemonarch which = 17116 }
		command = { type = wakemonarch which = 17117 }
		command = { type = wakemonarch which = 17118 }
		command = { type = wakemonarch which = 17119 }
		command = { type = wakemonarch which = 17120 }
		command = { type = wakemonarch which = 19121 }
		command = { type = wakemonarch which = 19122 }
		command = { type = wakemonarch which = 19123 }
	}
	action_b = {
		name = "Keep the Monarchy"
		command = { type = stability value = -3 }
		command = { type = domestic which = ARISTOCRACY value = 1 }
		command = { type = domestic which = CENTRALIZATION value = 1 }
		command = { type = domestic which = LAND value = -1 }
	}
}

#Uruguayan Independence#
event = {
	id = 15137
	trigger = {
		OR = {
			owned = { province = 215 data = -1 }
			owned = { province = 216 data = -1 }
		}
		NOT = {
			exists = U09
		}
	}
	random = no
	country = BRZ
	name = "Uruguayan Independence"
	desc = "Montevideo was founded by the Spanish in the early 18th century as a military stronghold; its natural harbor soon developed into a commercial center competing with Argentina's capital, Buenos Aires. Uruguay's early 19th century history was shaped by ongoing fights between the English, Spanish, Portuguese, and colonial forces for dominance in the Argentina-Brazil-Uruguay region. In 1811, Jose Gervasio Artigas, who became the Uruguay's hero, launched a successful revolt against Spain. In 1821, the Provincia Oriental del Rio de la Plata, present-day Uruguay, was annexed to Brazil by Portugal. The Provincia declared independence from Brazil in August 25, 1825 (after numerous revolts in 1821, 1823, and 1825) but decided to adhere to a regional federation with Argentina. The regional federation defeated Brazil after 3-year fight. The 1828 Treaty of Montevideo, fostered by England, gave birth to Uruguay as an independent state."
	style = 5
	date = { day = 1 month = january year = 1828 }
	offset = 60
	deathdate = { day = 30 month = december year = 1834 }
	action_a = {
		name = "Grant their independence"
		command = { type = independence which = U09 }
		command = { type = trigger which = 15044 }
	}
	action_b = {
		name = "Crush the rebellion!"
		command = { type = stability value = -2 }
		command = { type = revolt which = 215 }
		command = { type = revolt which = 216 }
		command = { type = relation which = ENG value = -100 }
		command = { type = relation which = LAP value = -150 }
		command = { type = revoltrisk which = 36 value = 4 }
	}
}

#The Coffee Boom#
event = {
	id = 15138
	trigger = { 
		OR = {	
			owned = { province = 206 data = -1 }
			owned = { province = 207 data = -1 }	
			owned = { province = 210 data = -1 }	
			owned = { province = 211 data = -1 }
			owned = { province = 212 data = -1 }
			owned = { province = 213 data = -1 }
			owned = { province = 214 data = -1 }
		}
	}
	random = no
	country = BRZ
	name = "The Coffee Boom"
	desc = "The coffee plant was brought to Brazil from Guayana in the end of the 18th century. At first, plantations were created in the North, but that land was not very well suited, and the coffe plant was introduced in the Southern area instead. The experiment was a success, and attracted thousands of European immigrants. Coffee was soon to replace sugar as Brazil's most important export product, and Brazil became the largest coffee producer of the world."
	style = 5
	date = { day = 1 month = january year = 1870 }
	offset = 300
	deathdate = { day = 30 month = december year = 1878 }
	action_a = {
		name = "Excellent!"
		command = { type = provincetax which = 206 value = 3 }
		command = { type = provincetax which = 207 value = 3 }
		command = { type = provincetax which = 210 value = 5 }
		command = { type = provincetax which = 211 value = 5 }
		command = { type = provincetax which = 212 value = 5 }
		command = { type = provincetax which = 213 value = 5 }
		command = { type = provincetax which = 214 value = 5 }
		command = { type = population which = 206 value = 5000 }
		command = { type = population which = 207 value = 5000 }
		command = { type = population which = 210 value = 5000 }
		command = { type = population which = 211 value = 5000 }
		command = { type = population which = 212 value = 5000 }
		command = { type = population which = 213 value = 5000 }
		command = { type = population which = 214 value = 5000 }
	}
}