#United Provinces of Central America Major Events from AoN modified by Hive

#The Dissolvment of the United Provinces#
event = { 
	id = 15114
	random = no
	country = U24
	date = { day = 3 month = february year = 1830 } 
	offset = 100 
	name = "The Dissolvment of the United Provinces"
	desc = "The United Province of Central America was not a very long-lived federation. Rivalries among the member states of Guatemala, Nicaragua, El Salvador, Costa Rica and Honduras determined the faith of the union, because of fear that one member should gain more influence than another; Throughout most of the union's existence, Guatemala was the dominant nation. The union was finally dissolved in 1830."
	style = 5
	action_a = {
			name = "Accept the dissolvement"
			command = { type = country which = U30 } #Guatemala
			command = { type = capital which = 33 }
			command = { type = independence which = U25 } #El Salvador
			command = { type = independence which = U26 } #Costa Rica
			command = { type = independence which = U27 } #Honduras
			command = { type = independence which = U28 } #Nicaragua
			command = { type = trigger which = 15140 }
			command = { type = trigger which = 15141 }
			command = { type = trigger which = 15142 }
			command = { type = trigger which = 15144 }
			}
	action_b = {
			name = "We will fight for the union!"
			command = { type = stability value = -4 }
        		command = { type = revolt which = 38 }
			command = { type = revolt which = 37 }
        		command = { type = revolt which = 36 }
        		command = { type = revolt which = 822 }
			command = { type = revolt which = 33 }
			command = { type = revolt which = 1878 }
			command = { type = revolt which = 1875 }
	}
}

#Independence#
event = { 
	id = 15266
	random = no
	country = U24
	name = "Independence"
	desc = "The Central American provinces formally declared their independence from Spain in 1821. These provinces were joined with Mexico in early 1822, but in 1823 a revolution in Mexico ousted Emperor Augustin Iturbide, and a new Mexican congress voted to allow the Central American provinces to decide their own fate. That year, the United Provinces of Central America was formed of the five Central American states under the leadership of General Manuel Jose Arce."
	style = 5
	action_a = {
			name = "Excellent!"
			command = { type = breakvassal which = MEX }
			command = { type = stability value = 4 }
	}
}