﻿
add_namespace = cameroon

country_event = { #askari fate?
	id = cameroon.9
	immediate = { log = "[GetDateText]: [Root.GetName]: event cameroon.9" }
	title = cameroon.9.t
	desc = cameroon.9.d
	is_triggered_only = yes
	fire_only_once = yes

	option = { #Exile
		name = cameroon.9.a
		add_war_support = -0.05
		add_political_power = 50
		CMR = {
			every_unit_leader = {
				limit = { has_unit_leader_flag = CMR_leader_flag }
				set_nationality = NMB
			}
		}
	}
	
	option = { #Keep
		name = cameroon.9.b
		add_war_support = 0.05
		add_political_power = -50
	}
}

country_event = { #Fate of Central Africa
	id = cameroon.10
	immediate = { log = "[GetDateText]: [Root.GetName]: event cameroon.10" }
	title = cameroon.10.t
	desc = cameroon.10.d
trigger = {
		has_global_flag = CEA_CMR_WAR
		ADW = {
			has_completed_focus = CMR_the_overthrow
		}
		CEA = {
			is_subject_of = CMR
		}
	}
	
	mean_time_to_happen = {
		days = 45
	}
	
	fire_only_once = yes

	option = { #Continue Occupation
		name = cameroon.10.a
		add_stability = -0.05	
		CEA = {
			CEA_remove_bokassa = yes
		}
	}
	option = { #Syndicalist
		name = cameroon.10.b
		CEA = {
			set_politics = {
				ruling_party = syndicalist
				elections_allowed = no
			}
			add_popularity = {
				ideology = syndicalist
				popularity = 0.3
			}
			CEA_remove_bokassa = yes
		}
		end_puppet = CEA
	}
	
	option = { #SocDem
		name = cameroon.10.c
		CEA = {
			set_politics = {
				ruling_party = social_democrat
				elections_allowed = no
			}
			add_popularity = {
				ideology = social_democrat
				popularity = 0.3
			}
			CEA_remove_bokassa = yes
		}
		end_puppet = CEA
	}
	
	option = { #SocLib
		name = cameroon.10.e
		CEA = {
			set_politics = {
				ruling_party = social_liberal
				elections_allowed = no
			}
			add_popularity = {
				ideology = social_liberal
				popularity = 0.3
			}
			CEA_remove_bokassa = yes
		}
		end_puppet = CEA
	}
	
	option = { #PatAut
		name = cameroon.10.f
		CEA = {
			create_country_leader = {
				name = "Kamoun Mohamed al-Senoussi"
				picture = "gfx/leaders/CEA/Portrait_CEA_Kamoun_Mohamed_Senoussi.png"
				expire = "1.1.1"
				ideology = pataut_tribal_chiefdom_subtype
	
			}
			set_party_name = {
				name = CEA_paternal_autocrat_party3
				long_name = CEA_paternal_autocrat_party3_long
				ideology = paternal_autocrat
			}
			set_politics = {
				ruling_party = paternal_autocrat
				elections_allowed = no
			}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = 0.3
			}
			set_cosmetic_tag = CEA_SULTANATE
			CEA_remove_bokassa = yes
		}
		end_puppet = CEA
	}
}