namespace = dvg_gran_colombia

# The Fate of Gran Colombia
dvg_gran_colombia.1 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.1.t
	desc = dvg_gran_colombia.1.d
	flavor = dvg_gran_colombia.1.f
	
	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	# Gran Colombia Shall Win!
	option = {
		name = dvg_gran_colombia.1.a
		default_option = yes
		add_loyalists = {
			value = 0.1
		}
		add_journal_entry = {
			type = je_caladeran_war_of_independence_gran_colombia
		}
		ai_chance = {
			base = 1
		}
	}
}

# Success In The Caladeran War!
dvg_gran_colombia.2 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.2.t
	desc = dvg_gran_colombia.2.d
	flavor = dvg_gran_colombia.2.f
	
	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	# Vive!
	option = {
		name = dvg_gran_colombia.2.a
		default_option = yes
		add_loyalists = {
			value = 0.2
		}
		add_journal_entry = {
			type = je_conquer_new_spain_gran_colombia
		}
		add_journal_entry = {
			type = je_build_a_navy_gran_colombia
		}
		add_journal_entry = {
			type = je_conquer_granada_gran_colombia
		}
		ai_chance = {
			base = 1
		}
	}
	
}

# The Collapse of Gran Colombia
dvg_gran_colombia.3 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.3.t
	desc = dvg_gran_colombia.3.d
	flavor = dvg_gran_colombia.3.f
	
	event_image = {
		video = "gfx/event_pictures/southamerica_aristocrats.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/southamerica/aristocrats"

	icon = "gfx/interface/icons/event_icons/event_fire.dds"

	duration = 3

	trigger = {
	}
	
	#Become Mexico
	option = {
		name = dvg_gran_colombia.3.a
		default_option = yes
			create_country = {
				tag = UCA
				origin = this
				state = s:STATE_YUCATAN.region_state:GCO
				state = s:STATE_CHIAPAS.region_state:GCO
				state = s:STATE_GUATEMALA.region_state:GCO
				state = s:STATE_SAN_SALVADOR.region_state:GCO
				state = s:STATE_MANAGUA.region_state:GCO
				state = s:STATE_COSTA_RICA.region_state:GCO
				state = s:STATE_PANAMA.region_state:GCO
			}
			create_country = {
				tag = LUS
				origin = this
				state = s:STATE_LUSITANIA.region_state:GCO
				state = s:STATE_BAHIA.region_state:GCO
				state = s:STATE_RIO_GRANDE.region_state:GCO
				state = s:STATE_TEJAS.region_state:GCO
				state = s:STATE_SANTA_CATARINA.region_state:GCO
				state = s:STATE_TERRAS_VERMELHAS.region_state:GCO
				state = s:STATE_BAJA_CALIFORNIA.region_state:GCO
			}
		change_tag = MEX
		hidden_effect = {
			c:MEX = {
				remove_primary_culture = cu:lusitanian
				remove_primary_culture = cu:central_american
			}
		}
		ai_chance = {
			base = 1
		}
	}
	
	#Become the UCA
	option = {
		name = dvg_gran_colombia.3.b
		default_option = yes
			create_country = {
				tag = MEX
				origin = this
				state = s:STATE_VERACRUZ.region_state:GCO
				state = s:STATE_MEXICO.region_state:GCO
				state = s:STATE_BAJIO.region_state:GCO
				state = s:STATE_ZACATECAS.region_state:GCO
				state = s:STATE_OAXACA.region_state:GCO
				state = s:STATE_GUERRERO.region_state:GCO
				state = s:STATE_JALISCO.region_state:GCO
				state = s:STATE_DURANGO.region_state:GCO
				state = s:STATE_SINALOA.region_state:GCO
			}
			create_country = {
				tag = LUS
				origin = this
				state = s:STATE_LUSITANIA.region_state:GCO
				state = s:STATE_BAHIA.region_state:GCO
				state = s:STATE_RIO_GRANDE.region_state:GCO
				state = s:STATE_TEJAS.region_state:GCO
				state = s:STATE_SANTA_CATARINA.region_state:GCO
				state = s:STATE_TERRAS_VERMELHAS.region_state:GCO
				state = s:STATE_BAJA_CALIFORNIA.region_state:GCO
			}
		set_capital = STATE_SAN_SALVADOR
		change_tag = UCA
		hidden_effect = {
			c:UCA = {
				remove_primary_culture = cu:mexican
				remove_primary_culture = cu:lusitanian
			}
		}
		ai_chance = {
			base = 0
		}
	}
	
	#Become Lusitania
	option = {
		name = dvg_gran_colombia.3.c
		default_option = yes
			create_country = {
				tag = UCA
				origin = this
				state = s:STATE_YUCATAN.region_state:GCO
				state = s:STATE_CHIAPAS.region_state:GCO
				state = s:STATE_GUATEMALA.region_state:GCO
				state = s:STATE_SAN_SALVADOR.region_state:GCO
				state = s:STATE_MANAGUA.region_state:GCO
				state = s:STATE_COSTA_RICA.region_state:GCO
				state = s:STATE_PANAMA.region_state:GCO
			}
			create_country = {
				tag = MEX
				origin = this
				state = s:STATE_VERACRUZ.region_state:GCO
				state = s:STATE_MEXICO.region_state:GCO
				state = s:STATE_BAJIO.region_state:GCO
				state = s:STATE_ZACATECAS.region_state:GCO
				state = s:STATE_OAXACA.region_state:GCO
				state = s:STATE_GUERRERO.region_state:GCO
				state = s:STATE_JALISCO.region_state:GCO
				state = s:STATE_DURANGO.region_state:GCO
				state = s:STATE_SINALOA.region_state:GCO
			}
		set_capital = STATE_LUSITANIA
		change_tag = LUS
		hidden_effect = {
			c:LUS = {
				remove_primary_culture = cu:mexican
				remove_primary_culture = cu:central_american
			}
		}
		ai_chance = {
			base = 0
		}
	}
}

# Success In Building Navy
dvg_gran_colombia.4 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.4.t
	desc = dvg_gran_colombia.4.d
	flavor = dvg_gran_colombia.4.f
	
	event_image = {
		video = "gfx/event_pictures/unspecific_naval_battle.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/naval_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	duration = 3

	trigger = {
	}
	
	# Now to Kuba!
	option = {
		name = dvg_gran_colombia.4.a
		default_option = yes
		add_journal_entry = {
			type = je_conquer_kuba_gran_colombia
		}
		add_modifier = {
			name = dvg_naval_enthusiasm
			months = 60
		}
		
		ai_chance = {
			base = 1
		}
	}
	
}

# Success In Taking Kuba!
dvg_gran_colombia.5 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.5.t
	desc = dvg_gran_colombia.5.d
	flavor = dvg_gran_colombia.5.f
	
	event_image = {
		video = "gfx/event_pictures/unspecific_naval_battle.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/naval_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	duration = 3

	trigger = {
	}
	
	# Spain has left the new world!
	option = {
		name = dvg_gran_colombia.5.a
		default_option = yes
		add_loyalists = {
			value = 0.1
		}
		add_primary_culture = cu:caribeno
		ai_chance = {
			base = 1
		}
	}
}

# Success In Taking Granada! Ai should NOT have strategies for this, as it would kinda feck over anyone playing granada.
dvg_gran_colombia.6 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.6.t
	desc = dvg_gran_colombia.6.d
	flavor = dvg_gran_colombia.6.f
	
	event_image = {
		video = "gfx/event_pictures/unspecific_naval_battle.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/naval_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	duration = 3

	trigger = {
	}
	
	#The troubles
	option = {
		name = dvg_gran_colombia.6.a
		default_option = yes
		add_radicals = {
			value = 0.5
			culture = cu:granadan
		}
		add_journal_entry = {
			type = je_lower_turmoil_granada_gran_colombia
		}
		ai_chance = {
			base = 1
		}
	}
}

# Success in pacifying Granada! Ai should NOT have strategies for this, as it would kinda feck over anyone playing granada.
dvg_gran_colombia.7 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.7.t
	desc = dvg_gran_colombia.7.d
	flavor = dvg_gran_colombia.7.f
	
	event_image = {
		video = "gfx/event_pictures/unspecific_naval_battle.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/naval_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	duration = 3

	trigger = {
	}
	
	# Brothers Reunited!
	option = {
		name = dvg_gran_colombia.7.a
		default_option = yes
		add_loyalists = {
			value = 0.1
		}
		add_journal_entry = {
			type = je_conquer_caladero_gran_colombia
		}
		add_primary_culture = cu:granadan
		ai_chance = {	
			base = 1
		}
	}
}

# Success in pacifying Caladero! Ai should NOT have strategies for this, as it would kinda feck over anyone playing granada.
dvg_gran_colombia.8 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.8.t
	desc = dvg_gran_colombia.8.d
	flavor = dvg_gran_colombia.8.f
	
	event_image = {
		video = "gfx/event_pictures/unspecific_naval_battle.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/naval_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	duration = 3

	trigger = {
	}
	
	# Brothers Reunited!
	option = {
		name = dvg_gran_colombia.8.a
		default_option = yes
		add_loyalists = {
			value = 0.1
		}
		add_primary_culture = cu:caladeran
		ai_chance = {
			base = 1
		}
	}
}

# Giant Big Colombia!
dvg_gran_colombia.9 = {
	type = country_event
	placement = ROOT

	title = dvg_gran_colombia.9.t
	desc = dvg_gran_colombia.9.d
	flavor = dvg_gran_colombia.9.f
	
	event_image = {
		video = "gfx/event_pictures/unspecific_naval_battle.bk2"
	}

	on_created_soundeffect = "event:/SFX/UI/Alerts/event_appear"
	on_opened_soundeffect = "event:/SFX/Events/unspecific/naval_battle"

	icon = "gfx/interface/icons/event_icons/event_military.dds"

	duration = 3

	trigger = {
	}
	
	# Huge big!
	option = {
		name = dvg_gran_colombia.9.a
		default_option = yes
		add_loyalists = {
			value = 0.1
		}
		add_modifier = {
			name = dvg_giant_big_gran_colombia
		}
		ai_chance = {
			base = 1
		}
	}
}