# Colombia's quest for independence
country_event = {

	id = 1028
	
	trigger = {
		NOT = { exists = COL }
		NOT = { has_country_flag = colombian_nationalism }
		OR = {
			owns = 824		# Mariquita
			owns = 825		# Bogota
			owns = 827		# Antioquía
			owns = 828		# Cartagena
		}
		COL = {
			NOT = {
				OR = {
					is_core = 821		# Quijos
					is_core = 822		# Caqueta
					is_core = 823		# Cauca
					is_core = 824		# Mariquita
					is_core = 825		# Bogota
					is_core = 826		# Choco
					is_core = 827		# Antioquia
					is_core = 828		# Cartagena
					is_core = 829		# Magdalena
					is_core = 832		# Chiancon
					is_core = 833		# Tunja
				}
			}
		}
		year = 1700
		NOT = { capital_scope = { continent = north_america } }
		NOT = { capital_scope = { continent = south_america } }
	}
	
	mean_time_to_happen = {
		months = 1000

		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = 0 }
		}
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -2 }
		}
		modifier = {
			factor = 0.9
			NOT = { centralization_decentralization = -4 }
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 1
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 3
		}
		modifier = {
			factor = 1.1
			centralization_decentralization = 5
		}
		modifier = {
			factor = 0.9
			NOT = { stability = 0 }
		}
		modifier = {
			factor = 0.9
			NOT = { stability = -1 }
		}
		modifier = {
			factor = 0.9
			NOT = { stability = -2 }
		}
		modifier = {
			factor = 1.1
			stability = 1
		}
		modifier = {
			factor = 1.1
			stability = 2
		}
		modifier = {
			factor = 1.1
			stability = 3
		}
		modifier = {
			factor = 0.9
			year = 1760
		}
		modifier = {
			factor = 0.8
			year = 1780
		}
	}
	
	title = "EVTNAME1028"
	desc = "EVTDESC1028"
	
	option = {
		name = "EVTOPTA1028"
		set_country_flag = colombian_nationalism
		COL = {
			add_core = 821		# Quijos
			add_core = 822		# Caqueta
			add_core = 823		# Cauca
			add_core = 824		# Mariquita
			add_core = 825		# Bogota
			add_core = 826		# Choco
			add_core = 827		# Antioquia
			add_core = 828		# Cartagena
			add_core = 829		# Magdalena
			add_core = 832		# Chiancon
			add_core = 833		# Tunja
		}
		colonists = -1
		random_owned = {
			limit = { is_colony = yes }
			create_revolt = 1
		}
	}
}


# Colonial assembly
province_event = {

	id = 1036
	
	trigger = {
		is_colony = yes
		owner = {
			has_country_flag = colombian_nationalism
			NOT = { stability = 0 }
			NOT = { advisor = colonial_governor }
		}
	}
	
	mean_time_to_happen = {
		months = 60

		modifier = {
			factor = 0.9
			owner = { NOT = { stability = -1 } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { stability = -2 } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { advisor = statesman } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { ADM = 4 } }
		}
		modifier = {
			factor = 0.9
			owner = { NOT = { DIP = 4 } }
		}
		modifier = {
			factor = 1.1
			owner = { ADM = 8 }
		}
		modifier = {
			factor = 1.1
			owner = { DIP = 8 }
		}
		modifier = {
			factor = 1.1
			owner = { advisor = statesman }
		}
	}
	
	title = "EVTNAME1023"
	desc = "EVTDESC1023"
	
	option = {
		name = "EVTOPTA1023"		# Attempt to find a diplomatic solution
		owner = {
			clr_country_flag = colombian_nationalism
			add_country_modifier = {
				name = "diplomatic_negotiation"
				duration = 300
			}
		}
	}
		
	option = {
		name = "EVTOPTB1023"		# The days of diplomacy are over
		owner = { stability = -1 }
		add_province_modifier = {
			name = "colonial_tensions"
			duration = 300
		}
	}
}