####Other Congo Events###

add_namespace = congo_crisis

add_namespace = congo_news


####################################
####### Misc Congo   ###############
####################################

country_event = { #work with kivu?
	id = congo_crisis.1
	immediate = {log = "[GetDateText]: [Root.GetName]: event congo_crisis.1"}
	title = congo_crisis.1.t
	desc = congo_crisis.1.d
	picture = GFX_report_event_KIV_get_yer_guns

	mean_time_to_happen = {
		days = 60
	}
	
trigger = {
		tag = MSF
		has_global_flag = COG_alliance_with_breakoffs
		has_war_with = KIV
	}

	fire_only_once = yes

	option = {
		ai_chance = {
			factor = 25
		}
		name = congo_crisis.1.b
		add_political_power = 20
		
	}
	
	option = {
		ai_chance = {
			factor = 75
		}
		name = congo_crisis.1.a
		add_political_power = -20
		KIV = {
			country_event = {
				id = congo_crisis.2
				days = 5
			}
		}
	}
}

country_event = { #work with the msf?
	id = congo_crisis.2
	immediate = {log = "[GetDateText]: [Root.GetName]: event congo_crisis.2"}
	title = congo_crisis.2.t
	desc = congo_crisis.2.d
	picture = GFX_report_event_KIV_get_yer_guns
	
	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = congo_crisis.2.a
		ai_chance = {
			factor = 75
		}
		add_political_power = -20
		MSF = {
			white_peace_with_ROOT = yes
		}
		diplomatic_relation = {
			country = MSF
			relation = non_aggression_pact
		}
		MSF = {
			country_event = {
				id = congo_crisis.4
				days = 2
			}
		}
		set_global_flag = KIVU_MSF_TRUCE
	}
	
	option = {
		ai_chance = {
			factor = 25
		}
		name = congo_crisis.2.b
		add_political_power = 20
		MSF = {
			country_event = {
				id = congo_crisis.3
				days = 2
			}
		}
	}
}

country_event = { #NAP accepted
	id = congo_crisis.3
	immediate = {log = "[GetDateText]: [Root.GetName]: event congo_crisis.3"}
	title = congo_crisis.3.t
	desc = congo_crisis.3.d
	picture = GFX_report_event_KIV_get_yer_guns
	
	fire_only_once = yes

	is_triggered_only = yes

	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = congo_crisis.3.a
		
	}
}

country_event = { #NAP denied
	id = congo_crisis.4
	immediate = {log = "[GetDateText]: [Root.GetName]: event congo_crisis.4"}
	title = congo_crisis.4.t
	desc = congo_crisis.4.d
	picture = GFX_report_event_KIV_get_yer_guns
	
	fire_only_once = yes

	is_triggered_only = yes

	trigger = {
		is_ai = no
		NOT = { has_global_flag = player_dislikes_colonial_flavour_flag }
	}
	#minor_flavor = yes

	option = {
		name = congo_crisis.4.a
		
	}
}

country_event = { #NAP ends
	id = congo_crisis.5
	immediate = {log = "[GetDateText]: [Root.GetName]: event congo_crisis.5"}
	title = congo_crisis.5.t
	desc = congo_crisis.5.d
	picture = GFX_report_event_KIV_get_yer_guns
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 60
	}

trigger = {
		has_global_flag = KIVU_MSF_TRUCE
		tag = KIV
		NOT = {
			country_exists = COG
			country_exists = LPD
			country_exists = UMN
		}
	}

	option = {
		name = congo_crisis.5.a
		diplomatic_relation = {
			country = MSF
			relation = non_aggression_pact
			active = no
		}
		declare_war_on = {
			target = MSF
			type = annex_everything
		}
	}
}


####################################
####### News  Events ###############
####################################

# Freestate wins
news_event = {
	id = congo_news.1
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.1" }
	title = congo_news.1.t
	desc = congo_news.1.d
	picture = GFX_news_event_COG_Freestate_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}
	
	option = {
		name = congo_news.1.a
	}
}

# Leopoldville wins 
news_event = {
	id = congo_news.2
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.2" }
	title = congo_news.2.t
	desc = congo_news.2.d
	picture = GFX_news_event_LPD_Leopoldville_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.2.a
	}
}

# Leopoldville wins - Kimbangu
news_event = {
	id = congo_news.3
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.3" }
	title = congo_news.3.t
	desc = congo_news.3.d
	picture = GFX_news_event_LPD_Kimbangu_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.3.a
	}
}

# Union Minere Wins
news_event = {
	id = congo_news.4
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.4" }
	title = congo_news.4.t
	desc = congo_news.4.d
	picture = GFX_news_event_UMN_Union_Minere_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.4.a
	}
}

# Mwami Wins
news_event = {
	id = congo_news.5
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.5" }
	title = congo_news.5.t
	desc = congo_news.5.d
	picture = GFX_news_event_UMN_Mwami_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.5.a
	}
}

# Kivu Wins
news_event = {
	id = congo_news.6
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.6" }
	title = congo_news.6.t
	desc = congo_news.6.d
	picture = GFX_news_event_KIV_Kivu_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.6.a
	}
}

# Mercs Wins
news_event = {
	id = congo_news.7
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.7" }
	title = congo_news.7.t
	desc = congo_news.7.d
	picture = GFX_news_event_KSV_Mercs_Win

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.7.a
	}
}

# Epp Wins
news_event = {
	id = congo_news.8
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.8" }
	title = congo_news.8.t
	desc = congo_news.8.d
	picture = GFX_news_event_COG_Epp_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.8.a
	}
}

# Kongo Wins
news_event = {
	id = congo_news.9
	immediate = { log = "[GetDateText]: [Root.GetName]: eventcongo_news.9" }
	title = congo_news.9.t
	desc = congo_news.9.d
	picture = GFX_news_event_KOG_Manikongo_Wins

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}

	option = {
		name = congo_news.9.a
	}
}

