# Central Africa
add_namespace = cea

country_event = { # Intro Event
	id = cea.0
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.0" }
	title = cea.0.t
	desc = cea.0.d
	picture = GFX_report_event_CEA_bangui

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = cea.0.a
		add_political_power = 50
		hidden_effect = {
			country_event = {
				id = cea.1
				days = 23
			}
		}
	}
}

country_event = { # Create Bokassa
	id = cea.1
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.1" }
	title = cea.1.t
	desc = cea.1.d
	picture = GFX_report_event_CEA_bokassa1

	fire_only_once = yes

	is_triggered_only = yes

	option = {
		name = cea.1.a
		add_political_power = 20
		hidden_effect = {
			set_country_flag = CEA_EMPIRE_TIME
			set_cosmetic_tag = CEA_EMR
		}
	}
}
country_event = {
	id = cea.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.2" }
	title = cea.2.t
	desc = cea.2.d
	picture = GFX_report_event_CEA_palace
	
	is_triggered_only = yes

	option = {
		name = cea.2.a
		add_political_power = -50
		hidden_effect = {
			country_event = {
				id = cea.3
				days = 30
			}
		}
	}
}
country_event = {
	id = cea.3
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.3" }
	title = cea.3.t
	desc = cea.3.d
	picture = GFX_report_event_CEA_empire_flag
	
	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 = cea.3.a
		add_political_power = 10
	}
}
country_event = {
	id = cea.4
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.4" }
	title = cea.4.t
	desc = cea.4.d
	picture = GFX_report_event_EGY_egyptian_palace

	is_triggered_only = yes

	option = {
		name = cea.4.a
		add_political_power = 10
		EGY = {
			country_event = cea.5
			add_political_power = 50
		}
	}
}
country_event = {
	id = cea.5
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.5" }
	title = cea.5.t
	desc = cea.5.d
	fire_only_once = yes
	is_triggered_only = yes
	picture = GFX_report_event_EGY_egyptian_palace

	option = {
		name = cea.5.a
		ai_chance = {
			factor = 99
		}
		add_to_faction = CEA
	}
	option = {
		name = cea.5.b
		ai_chance = {
			factor = 1
		}
		CEA = {
			add_opinion_modifier = {
				target = EGY
				modifier = VEN_alliance_deny
			}
		}
	}
}

country_event = {
	id = cea.6 # intervention in the Cameroon conflict
	immediate = { 	
		log = "[GetDateText]: [Root.GetName]: event cea.6" 
		hidden_effect = {
			set_country_flag = CEA_empire_unlock
			MAF = {
				country_event = {
					id = sharedafrika.97
					days = 1
				}
			}
			COG = {
				country_event = {
					id = sharedafrika.97
					days = 1
				}
			}
			NGR = {
				country_event = {
					id = sharedafrika.97
					days = 1
				}
			}
			NFA = {
				country_event = {
					id = sharedafrika.97
					days = 1
				}
			}
		}
	}
	title = cea.6.t
	desc = cea.6.d
	fire_only_once = yes
	is_triggered_only = yes
	picture = GFX_report_event_SAF_black_soldiers
	
	option = {
		name = cea.6.a
		ai_chance = {
			factor = 50
		}
	trigger = {
			country_exists = ADW
		}
		ADW = {
			country_event = ubangi.31
		}
		hidden_effect = {
			ADW = {
				load_oob = ADW_CEA
			}
			CMR = {
				country_event = {
					id = sharedafrika.97
					days = 1
				}
			}
		give_military_access = ADW
		ADW = {
			remove_state_claim = 971
			remove_state_core = 971
		}
		transfer_state = 971
		ADW = {
			remove_state_claim = 974
			remove_state_core = 974
		}
		transfer_state = 974
		}
		CEA = { declare_war_on = { target = CMR type = annex_everything } }
		hidden_effect = {
			set_country_flag = CEA_SIDED_FRENCH
		}
	}
	option = {
		name = cea.6.b
		ai_chance = {
			factor = 50
		}
	trigger = {
			country_exists = CMR
		}
		CMR = {
			country_event = ubangi.31
		}
		set_country_flag = CEA_state_claim
		hidden_effect = {
			ADW = {
				country_event = {
					id = sharedafrika.97
					days = 1
				}
			}
			CMR = {
				if = { 
					limit = { 
						NOT = { has_dlc = "No Step Back" }
					}
					load_oob = CMR_CEA
				}
				if = { 
					limit = { 
						has_dlc = "No Step Back"
					}
					load_oob = CMR_CEA_NSB
				}
			}
		}
		CEA = { declare_war_on = { target = ADW type = annex_everything } }
		hidden_effect = {
			set_country_flag = CEA_SIDED_GERM
		}
	}
}

country_event = {
	id = cea.7
	immediate = { 
		log = "[GetDateText]: [Root.GetName]: event cea.7" 
		hidden_effect = {
			CEA = {
				transfer_state = 971
				transfer_state = 974
			}
		}
	}
trigger = {
		has_country_flag = CEA_state_claim
		CMR = {
			owns_state = 971
			owns_state = 974
		}
	}
	hidden = yes
	fire_only_once = yes
}

country_event = { #Last war ends, fight the other Kamerun power?
	id = cea.8
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.8" }
	title = cea.8.t
	desc = cea.8.d
	fire_only_once = yes
	picture = GFX_report_event_SAF_black_soldiers
	
	is_triggered_only = yes
	
	trigger = {
		tag = CEA
		CEA_has_bokassa = yes
	}

	option = {
		name = cea.8.a
			if = {
				limit = {
					has_country_flag = CEA_SIDED_FRENCH
				}
				country_event = {
					id = cea.9
					days = 2
				}
				hidden_effect = {
					CMR = {
						declare_war_on = {
							target = CEA
							type = annex_everything
						}
					}
				}
				CEA = {
					declare_war_on = {
						target = CMR
						type = annex_everything
					}
				}
			}
			if = {
				limit = {
					has_country_flag = CEA_SIDED_FRENCH
					CEA = {
						is_ai = yes
					}
				}
				CMR = {
					load_oob = CMR_FURTHER
				}
			}
			if = {
				limit = {
					has_country_flag = CEA_SIDED_GERM
				}
				country_event = {
					id = cea.10
					days = 2
				}
				declare_war_on = {
					target = ADW
					type = annex_everything
				}
			}
			if = {
				limit = {
					has_country_flag = CEA_SIDED_GERM
					CEA = {
						is_ai = yes
					}
				}
				ADW = {
					load_oob = CMR_FURTHER
				}
			}
		}
	}

country_event = { #We Sided with the French so French Larp
	id = cea.9
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.9" }
	title = cea.9.t
	desc = cea.9.d
	picture = GFX_report_event_CEA_napoleon_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
trigger = {
		CEA_has_bokassa = yes
	}

	option = {
		name = cea.9.a
		set_country_flag = CEA_FRENCH_LARP
		add_war_support = 0.01
	}
}

country_event = { #We Sided with the Germs so Germs Larp
	id = cea.10
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.10" }
	title = cea.10.t
	desc = cea.10.d
	picture = GFX_report_event_CEA_fredrick_painting
	
	fire_only_once = yes
	is_triggered_only = yes
	
trigger = {
		CEA_has_bokassa = yes
	}

	option = {
		name = cea.10.a
		set_country_flag = CEA_GERMAN_LARP
		add_war_support = 0.01
	}
}

country_event = { # Things are getting Frosty
	id = cea.11
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.11" }
	title = cea.11.t
	desc = cea.11.d
	picture = GFX_report_event_SAF_black_soldiers
	
	fire_only_once = yes
	is_triggered_only = yes
	

	option = {
		name = cea.11.a
		if = {
			limit = {
				country_exists = CMR
			}
			add_opinion_modifier = {
				target = CMR
				modifier = KR_hostile 
			}
			CMR = {
				add_opinion_modifier = {
					target = CEA
					modifier = KR_hostile 
				}
			}
		}
		if = {
			limit = {
				country_exists = ADW
			}
			add_opinion_modifier = {
				target = ADW
				modifier = KR_hostile 
			}
			ADW = {
				add_opinion_modifier = {
					target = CEA
					modifier = KR_hostile 
				}
			}
		}
		set_country_flag = CEA_CAMEROON_HOSTILE
	}
}

country_event = { # Preperation 
	id = cea.12
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.12" }
	title = cea.12.t
	desc = cea.12.d
	picture = GFX_report_event_CEA_crown
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = cea.12.a
		add_political_power = -10
	}
}

country_event = { # Big ass Coronation Event
	id = cea.120
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.120" }
	title = cea.120.t
	desc = cea.120.d
	picture = GFX_report_event_CEA_coronation
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = cea.120.a
		custom_effect_tooltip = CEA_oath_tt
		custom_effect_tooltip = CEA_BOKASSA_CROWNED
		hidden_effect = {
			create_country_leader = {
				name = "Bokassa I"
				desc = "POLITICS_BOKASSA_EMPEROR_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Bokassa_I.png"
				expire = "1.1.1"
				ideology = authoritarian_democrat_subtype
			}
			create_country_leader = {
				name = "Bokassa I"
				desc = "POLITICS_BOKASSA_EMPEROR_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Bokassa_I.png"
				expire = "1.1.1"
				ideology = national_populist_subtype
			}
			if = {
				limit = { has_country_flag = CEA_FRENCH_LARP }
				create_country_leader = {
					name = "Bokassa I"
					desc = "POLITICS_BOKASSA_EMPEROR_DESC"
					picture = "gfx/leaders/CEA/Portrait_CEA_Bokassa_I.png"
					expire = "1.1.1"
					ideology = pataut_bonapartism_subtype 
				}
			}
			else = {
			create_country_leader = {
				name = "Bokassa I"
				desc = "POLITICS_BOKASSA_EMPEROR_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Bokassa_I.png"
				expire = "1.1.1"
				ideology = absolute_monarchy_subtype
			}
		    }
			set_party_name = {
				ideology = paternal_autocrat
				long_name = CEA_paternal_autocrat_party2_long
				name = CEA_paternal_autocrat_party2
			}
			country_event = {
				id = cea.2
				days = 35
			}
			country_event = {
				id = cea.1201
				days = 5
			}
			country_event = {
				id = cea_flavour.4
				days = 18
			}
		
			swap_ideas = {
				remove_idea = CEA_inferiority_complex
				add_idea = CEA_emperor_without_empire
			}
		}
		set_cosmetic_tag = CEA_AFRICAN_EMPIRE
	}
}

country_event = { # We Broke
	id = cea.1201
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.1201" }
	title = cea.1201.t
	desc = cea.1201.d
	picture = GFX_report_event_CEA_bokassa_smoking
	
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		name = cea.1201.a
		add_timed_idea = {
			idea = CEA_coronation_budget
			days = 200
		}
		hidden_effect = {
			country_event = {
				id = cea.17
				days = 65
			}
		}
		add_stability = -0.05
	}
}

country_event = { # Cannibalism?
	id = cea.14
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.14" }
	title = cea.14.t
	desc = cea.14.d
	picture = GFX_report_event_CEA_bokassa_cannibal
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Keep it
		name = cea.14.a
		set_country_flag = CEA_kept_cannibalism
		complete_national_focus = CEA_continue_cannibalism
	}
	
	option = { #No
		name = cea.14.b
		set_country_flag = CEA_no_cannibalism
		complete_national_focus = CEA_abandon_cannibalism
	}
}

country_event = { # More Cannibalism?
	id = cea.15
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.15" }
	title = cea.15.t
	desc = cea.15.d
	picture = GFX_report_event_CEA_cooking
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Perhaps Cannibalism isn't so Wrong...
		name = cea.15.a
		set_country_flag = CEA_embraced_cannibalism
	}
	
	option = { #No
		name = cea.15.b
		set_country_flag = CEA_the_secret
	}
}

country_event = { # A Great Revelation
	id = cea.16
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.16" }
	title = cea.16.t
	desc = cea.16.d
	picture = GFX_report_event_CEA_bokassa_worried
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Dear Lord
		name = cea.16.a
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = no
		}
		set_country_flag = CEA_bokassa_failure
		drop_cosmetic_tag = yes
		add_ideas = CEA_post_bokassa_chaos
		CEA_remove_bokassa = yes
	}
}

country_event = { # Fall of Bokassa
	id = cea.17
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.17" }
	title = cea.17.t
	desc = cea.17.d
	picture = GFX_report_event_CEA_bokassa_worried
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Boganda Wins
		name = cea.17.a
		country_event = {
			id = cea.170
			days = 2
		}
		separate_peace_all_wars = yes
	}
	
	option = { #Bokassa Wins
		name = cea.17.b
		# Add Stuff Here
	}
}

country_event = { # Fall of Bokassa
	id = cea.170
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.170" }
	title = cea.170.t
	desc = cea.170.d
	picture = GFX_report_event_CEA_bokassa_worried
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Boganda Wins
		name = cea.170.a
		ai_chance = {
			factor = 50
		}
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = no
		}
		drop_cosmetic_tag = yes
		CEA_remove_bokassa = yes
	}
	
	option = { #Socialists Wins
		name = cea.170.b
		ai_chance = {
			factor = 50
		}
		set_politics = {
			ruling_party = syndicalist
			elections_allowed = no
		}
		hidden_effect = {
			country_event = {
				id = cea_flavour.40
				days = 16
			}
			country_event = {
				id = cea_flavour.36
				days = 45
			}
		}
		add_ideas = CEA_new_to_socialism
		remove_ideas_with_trait = head_of_government
		add_ideas = CEA_Antoine_Darlan_hog_syn
		drop_cosmetic_tag = yes
		CEA_remove_bokassa = yes
	}
}

country_event = { # Bokassa Jumps to our Aid
	id = cea.18
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.18" }
	title = cea.18.t
	desc = cea.18.d
	picture = GFX_NFE_french_soldiers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #We Need All the Help we can get
		name = cea.18.a
		ai_chance = {
			factor = 99
		}
		set_country_flag = NFA_agreed_help
		army_experience = 100
		add_command_power = 100
		CEA = {
			country_event = {
				id = cea.19
				days = 4
			}
		}
	}
	
	option = { #Piss off
		name = cea.18.b
		ai_chance = {
			factor = 1
		}
		CEA = {
			country_event = {
				id = cea.20
				days = 4
			}
		}
	}
}

country_event = { # France Accepts Aid
	id = cea.19
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.19" }
	title = cea.19.t
	desc = cea.19.d
	picture = GFX_NFE_french_soldiers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Yay
		name = cea.19.a
		army_experience = 100
		add_command_power = 100
		set_country_flag = CEA_french_forces
	}
}

country_event = { # France Refuses Aid
	id = cea.20
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.20" }
	title = cea.20.t
	desc = cea.20.d
	picture = GFX_NFE_french_soldiers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Morons
		name = cea.20.a
		add_political_power = -10
	}
}

country_event = { # Bokassa takes over
	id = cea.21
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.21" }
	title = cea.21.t
	desc = cea.21.d
	picture = GFX_report_event_CEA_bokassa_french
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Bokassa Takes Over
		name = cea.21.a
		ai_chance = {
			factor = 99
		}
		CEA = {
			country_event = {
				id = cea.22
				days = 4
			}
		}
	}
	
	option = { #Things Go Wrong
		name = cea.21.b
		ai_chance = {
			factor = 1
		}
		CEA = {
			country_event = {
				id = cea.23
				days = 4
			}
		}
	}
}

country_event = { # Bokassa takes over NFA
	id = cea.22
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.22" }
	title = cea.22.t
	desc = cea.22.d
	picture = GFX_report_event_CEA_bokassa_french
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Long Live the New Emperor
		name = cea.22.a
		CEA = {
			annex_country = {
				target = NFA
				transfer_troops = yes
			}
			NFA = {
				every_unit_leader = {
					set_nationality = CEA
				}
			}
			every_state = {	
				limit = {	
					OR = {
						is_claimed_by = NFA
						is_core_of = NFA
					}
				}
				CEA = {	
					add_state_core = PREV
				}
			}
			set_cosmetic_tag = CEA_NATFRANCE
			set_country_flag = CEA_assumed_control_flag
			hidden_effect = {
				country_event = {
					id = cea.43
					days = 7
				}
			}
		}
	}
}

country_event = { # Bokassa fails to take over NFA
	id = cea.23
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.23" }
	title = cea.23.t
	desc = cea.23.d
	picture = GFX_report_event_CEA_bokassa_french
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Oopsy Daisy
		name = cea.23.a
		add_stability = -0.05
		NFA = {	
			annex_country = {
				target = CEA
				transfer_troops = yes
			}
			change_tag_from = ROOT
		}
	}
}

country_event = { # Bokassa in Paris
	id = cea.24
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.24" }
	title = cea.24.t
	desc = cea.24.d
	picture = GFX_report_event_CEA_bokassa_napoleon2
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Long Live the New Emperor
		name = cea.24.a
		add_stability = 0.05
		custom_effect_tooltip = CEA_BOKASSA_CROWNED_FROG
		set_cosmetic_tag = CEA_NATFRANCE_EMPIRE
		hidden_effect = {
			remove_all_ministers = yes
			add_ideas = {
				CEA_Jean-Bedel_Bokassa_hog_pau
				NFA_Charles_Huntzinger_for_pau
				NFA_Marie_Eugene_Debeney_eco_ade
				NFA_George_Lamirand_sec_pau
			}
			create_country_leader = {
				name = "Napoleon II"
				desc = "POLITICS_BOKASSA_NAPOLEON_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Napoleon_IV.png"
				expire = "1.1.1"
				ideology = pataut_bonapartism_subtype
			}
			create_country_leader = {
				name = "Napoleon II"
				desc = "POLITICS_BOKASSA_NAPOLEON_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Napoleon_IV.png"
				expire = "1.1.1"
				ideology = authdem_bonapartism_subtype
			}
			create_country_leader = {
				name = "Napoleon II"
				desc = "POLITICS_BOKASSA_NAPOLEON_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Napoleon_IV.png"
				expire = "1.1.1"
				ideology = natpop_bonapartism_subtype
			}
			country_event = {
				id = cea.38
				days = 67
			}
		}	
	}
}

country_event = { # We Did it - We Reclaimed MAF
	id = cea.25
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.25" }
	title = cea.25.t
	desc = cea.25.d
	picture = GFX_report_event_CEA_bokassa_happy
	
	mean_time_to_happen = {
		days = 90
	}
	
	fire_only_once = yes
	
trigger = {
		has_war = no 
		NOT = {
			country_exists = TZN
			country_exists = COG
			country_exists = ZAM
			country_exists = CIV
			country_exists = CMR
			country_exists = NGR
			country_exists = MSF
			country_exists = UMN
			country_exists = NMB
		}
		has_country_flag = CEA_to_reclaim_MAF
		tag = CEA
	}

	option = { #hoy shie
		name = cea.25.a
		save_global_event_target_as = Mittelafrika_Target
		add_political_power = 100
		add_ideas = CEA_germany_sus
		set_country_flag = CEA_RESTORED_MAF
		set_cosmetic_tag = COG_NEW_MAF
		if = {
			limit = {
				NOT = {
					has_country_flag = CEA_coverup_finished
				}
			}
			set_country_flag = CEA_coverup_finished
		}
		hidden_effect = {
			create_country_leader = {
				name = "John Bedel Bokassa"
				desc = "POLITICS_BOKASSA_LEADER_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Jean_Bedel_Bokassa_Germ.png"
				expire = "1.1.1"
				ideology = autocratic_colonial_govt_subtype
			}
			create_country_leader = {
				name = "John Bedel Bokassa"
				desc = "POLITICS_BOKASSA_LEADER_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Jean_Bedel_Bokassa_Germ.png"
				expire = "1.1.1"
				ideology = colonial_govt_subtype
			}
			create_country_leader = {
				name = "John Bedel Bokassa"
				desc = "POLITICS_BOKASSA_LEADER_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Jean_Bedel_Bokassa_Germ.png"
				expire = "1.1.1"
				ideology = national_populist_subtype
			}
		}
		
	}
}

country_event = { # Kaiser Goes to MAF
	id = cea.26
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.26" }
	title = cea.26.t
	desc = cea.26.d
	picture = GFX_report_event_MAF_african_kaiser
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #hoy shie
		name = cea.26.a
		
	}
}

country_event = { # The Kaiser is DEAD
	id = cea.27
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.27" }
	title = cea.27.t
	desc = cea.27.d
	picture = GFX_report_event_CEA_willy_iii_dead
	
	fire_only_once = yes
	is_triggered_only = yes
	
trigger = {
		tag = GEX
		NOT = {
			has_global_flag = Wilhelm_III_Dead
		}
		has_country_leader = {
			name = "John Bedel Bokassa"
			ruling_only = yes
		}
		has_completed_focus = CEA_host_the_kaiser
	}

	option = { #hoy shie
		name = cea.27.a
		set_global_flag = Wilhelm_III_Dead
		set_country_flag = CEA_Kaiser_Dead
		hidden_effect = {
			news_event = {
				id = cea.29
				days = 3
			}
		}
	}
}

country_event = { # Bokassa is now Regent
	id = cea.28
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.28" }
	title = cea.28.t
	desc = cea.28.d
	picture = GFX_report_event_CEA_bokassa_napoleon
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #hoy shie
		name = cea.28.a
		add_country_leader_trait = JAP_imperial_regent
		set_country_flag = CEA_Bokassa_Regent
		every_country = {
			limit = {
				is_in_faction_with = CEA
			}
			set_country_flag = CEA_Bokassa_Revenge_Target
		}
		if = {
			limit = {
				is_faction_leader = yes
			}
			dismantle_faction = yes
		}
		every_country = {
			limit = {
				is_subject_of = CEA
			}
			set_country_flag = CEA_Bokassa_Revenge_Target
			OVERLORD = {
				set_autonomy = {
					target = PREV
					autonomous_state = autonomy_free
				}
			}
		}
	}
}


news_event = { #Wilhelm II is Dead
	id = cea.29
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.29" }
	title = cea.29.t
	desc = cea.29.d
	picture = GFX_news_event_CEA_wilhelm_iii_dead

	major = yes

	is_triggered_only = yes

trigger = {
		wants_world_news = yes
	}
	
trigger = {
		CEA = {
			has_completed_focus = CEA_host_the_kaiser
		}
		has_global_flag = Wilhelm_II_Dead
	}

	show_major = {
		NOT = {
			tag = GER
		}
		OR = {
			regional_europe_news = yes
			regional_north_america_news = yes
			regional_south_america_news = yes
		}
	}

	option = {
		name = cea.29.a
	trigger = {
			NOT = {
				has_government = totalist
				has_government = syndicalist
				has_government = totalist
			}
		}
		hidden_effect = {
			if = {
				limit = {
					OR = {
						has_country_leader = {
							name = "Wilhelm III"
							ruling_only = yes
						}
						has_country_leader = {
							name = "Weilian"
							ruling_only = yes
						}
					}
				}
				create_country_leader = {
					name = "Regency Council"
					picture = "gfx/leaders/GER/Portrait_Germany_Vacant_Office.png"
					expire = "1.1.1"
					ideology = prussian_constitutionalism_subtype
				}
				create_country_leader = {
					name = "Regency Council"
					picture = "gfx/leaders/GER/Portrait_Germany_Vacant_Office.png"
					expire = "1.1.1"
					ideology = absolute_monarchy_subtype
				}
			}
			
		}
	}
	option = {
		name = cea.29.b
	trigger = {
			OR = {
				has_government = totalist
				has_government = syndicalist
				has_government = totalist
			}
		}
	}
}

country_event = { # Bokassa Germany
	id = cea.30
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.30" }
	title = cea.30.t
	desc = cea.30.d
	picture = GFX_report_event_CEA_bokassa_paris
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #hoy shie
		name = cea.30.a
		add_political_power = 50
		add_ideas = CEA_devestation
		add_ideas = CEA_opposition
		hidden_effect = {
			country_event = {
				id = cea.31
				days = 11
			}
		}
	}
}

country_event = { # Bokassa Crowned Kaiser
	id = cea.31
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.31" }
	title = cea.31.t
	desc = cea.31.d
	picture = GFX_report_event_CEA_bokassa_german_emperor
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #hoy shie
		name = cea.31.a
		complete_national_focus = CEA_accept_german_throne
		hidden_effect = {
			country_event = {
				id = cea.32
				days = 5
			}
		}
	}
}

country_event = { # Bokassa Crowned Kaiser
	id = cea.32
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.32" }
	title = cea.32.t
	desc = cea.32.d
	picture = GFX_report_event_CEA_coronation
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #hoy shie
		name = cea.32.a
		custom_effect_tooltip = CEA_BOKASSA_CROWNED_GERM
		hidden_effect = {	
			create_country_leader = {
				name = "Fredrick IV"
				desc = "POLITICS_BOKASSA_FREDRICK_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Fredrick_III.png"
				expire = "1.1.1"
				ideology = absolute_monarchy_subtype
			}
			create_country_leader = {
				name = "Fredrick IV"
				desc = "POLITICS_BOKASSA_FREDRICK_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Fredrick_III.png"
				expire = "1.1.1"
				ideology = authoritarian_democrat_subtype
			}
			create_country_leader = {
				name = "Fredrick IV"
				desc = "POLITICS_BOKASSA_FREDRICK_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Fredrick_III.png"
				expire = "1.1.1"
				ideology = national_populist_subtype
			}
			country_event = {
				id = cea.33
				days = 67
			}
		}
	}
}

country_event = { # Kaiser Bokassa
	id = cea.33
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.33" }
	title = cea.33.t
	desc = cea.33.d
	picture = GFX_report_event_CEA_bokassa_german
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.33.a
		add_stability = -0.06
	}
}

country_event = { # Kaiser Bokassa Image
	id = cea.34
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.34" }
	title = cea.34.t
	desc = cea.34.d
	picture = GFX_report_event_CEA_bokassa_wtf
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.34.a
		add_stability = 0.03
	}
}

country_event = { # Bokassa Loved
	id = cea.35
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.35" }
	title = cea.35.t
	desc = cea.35.d
	picture = GFX_report_event_CEA_bokassa_stamp 
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.35.a
		add_stability = 0.06
	}
}

country_event = { # MAF Merged
	id = cea.36
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.36" }
	title = cea.36.t
	desc = cea.36.d
	picture = GFX_report_event_CEA_bokassa_regent
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.36.a
		add_war_support = 0.05
	}
}


country_event = { # Frankish Empire?
	id = cea.37
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.37" }
	title = cea.37.t
	desc = cea.37.d
	picture = GFX_report_event_CEA_charlegmane
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.37.a
		add_war_support = 0.05
		add_stability = 0.05
	}
	
	option = { #
		name = cea.37.b
		set_cosmetic_tag = CEA_FRANKISH_EMPIRE
	}
	
	option = { #
		name = cea.37.c
		set_cosmetic_tag = CEA_FRANKISH_EMPIRE
		custom_effect_tooltip = CEA_BOKASSA_CROWNED_FRANK
		hidden_effect = {	
			create_country_leader = {
				name = "Charlemagne II"
				desc = "POLITICS_BOKASSA_CHARLEMAGNE_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Charlemagne_II.png"
				expire = "1.1.1"
				ideology = absolute_monarchy_subtype
			}
			create_country_leader = {
				name = "Charlemagne II"
				desc = "POLITICS_BOKASSA_CHARLEMAGNE_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Charlemagne_II.png"
				expire = "1.1.1"
				ideology = authoritarian_democrat_subtype
			}
			create_country_leader = {
				name = "Charlemagne II"
				desc = "POLITICS_BOKASSA_CHARLEMAGNE_DESC"
				picture = "gfx/leaders/CEA/Portrait_CEA_Charlemagne_II.png"
				expire = "1.1.1"
				ideology = national_populist_subtype
			}
		}
	}
}

country_event = { # Emperor Bokassa
	id = cea.38
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.38" }
	title = cea.38.t
	desc = cea.38.d
	picture = GFX_report_event_CEA_bokassa_french
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.38.a
		add_stability = -0.06
	}
}

country_event = { # Emperor Bokassa Image
	id = cea.39
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.39" }
	title = cea.39.t
	desc = cea.39.d
	picture = GFX_report_event_CEA_bokassa_wtf
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.39.a
		add_stability = 0.03
	}
}

country_event = { # Bokassa Loved
	id = cea.40
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.40" }
	title = cea.40.t
	desc = cea.40.d
	picture = GFX_report_event_CEA_bokassa_stamp
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.40.a
		add_stability = 0.06
	}
}

country_event = { # Africa Merged
	id = cea.41
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.41" }
	title = cea.41.t
	desc = cea.41.d
	picture = GFX_report_event_CEA_bokassa_regent
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea.41.a
		add_war_support = 0.05
	}
}

country_event = { # Flag
	id = cea.42
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.42" }
	title = cea.42.t
	desc = cea.42.d
	picture = GFX_report_event_CEA_bokassa_speech_cane
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Pan-African Flag
		name = cea.42.a
		set_cosmetic_tag = CEA_AFRICAN_EMPIRE
	}
	
	option = { #Negritude Flag
		name = cea.42.b
		set_cosmetic_tag = CEA_AFRICAN_EMPIRE2
	}
}

country_event = { # Army
	id = cea.43
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea.43" }
	title = cea.43.t
	desc = cea.43.d
	picture = GFX_report_event_CEA_bokassa1
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #Pan-African Flag
		name = cea.43.a
		effect_tooltip = { 
			every_unit_leader = {
				limit = { has_id = 6597 }
				remove_unit_leader = yes
			}
			every_unit_leader = {
				limit = { has_id = 6598 }
				remove_unit_leader = yes
			}
			every_unit_leader = {
				limit = { has_id = 6599 }
				remove_unit_leader = yes
			}
			every_unit_leader = {
				limit = { has_id = 6600 }
				remove_unit_leader = yes
			}
		}
		hidden_effect = {
			every_unit_leader = {
				limit = { has_unit_leader_flag = CEA_ARMY_LEADER }
				set_nationality = XXA
			}
		}
	}
}


#####################
### Flavour Stuff ###
#####################

add_namespace = cea_flavour

country_event = { # The Bomimi Massacre
	id = cea_flavour.1
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.1" }
	title = cea_flavour.1.t
	desc = cea_flavour.1.d
	picture = GFX_report_event_CEA_bokassa_uniform
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.1.a
		add_manpower = -200
	}
}

country_event = { # Bokassa converts to Islam
	id = cea_flavour.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.2" }
	title = cea_flavour.2.t
	desc = cea_flavour.2.d
	picture = GFX_report_event_CEA_bokassa_islam
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.2.a
		add_stability = -0.05
		add_political_power = -20
	}
}

country_event = { # Monarchist Pan-Africanism
	id = cea_flavour.3
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.3" }
	title = cea_flavour.3.t
	desc = cea_flavour.3.d
	picture = GFX_report_event_CEA_bokassa_speech_cane
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.3.a
		add_war_support = 0.02
		if = {
			limit = {
				has_government = paternal_autocrat
			}
			set_country_leader_ideology = pataut_right_panafricanism_subtype
		}
		hidden_effect = {
			country_event = {
				id = cea.42
				days = 5
			}
		}
	}
}

country_event = { # Coronation Mocked
	id = cea_flavour.4
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.4" }
	title = cea_flavour.4.t
	desc = cea_flavour.4.d
	picture = GFX_report_event_CEA_bokassa_wtf
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.4.a
		add_political_power = 50
	}
}

country_event = { # Nuclear Research
	id = cea_flavour.5
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.5" }
	title = cea_flavour.5.t
	desc = cea_flavour.5.d
	picture = GFX_report_event_CEA_bokassa_regent
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.5.a
		add_tech_bonus = {
			name = nuclear_bonus
			bonus = 1
			uses = 1
			category = nuclear
		}
	}
}

country_event = { # Germ Bokassa
	id = cea_flavour.6
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.6" }
	title = cea_flavour.6.t
	desc = cea_flavour.6.d
	picture = GFX_report_event_CEA_bokassa_german
	
	fire_only_once = yes
	is_triggered_only = yes

	trigger = {
		NOT = {
			OR = {
				has_war_with = CMR
				has_war_with = MAF
				has_war_with = GER
			}
		}
	}

	option = { #
		name = cea_flavour.6.a
		add_political_power = 30
	}
}

country_event = { # Frog Bokassa
	id = cea_flavour.7
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.7" }
	title = cea_flavour.7.t
	desc = cea_flavour.7.d
	picture = GFX_report_event_CEA_bokassa_french
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.7.a
		add_political_power = 30
	}
}

country_event = { # Economic Health Backfires
	id = cea_flavour.8
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.8" }
	title = cea_flavour.8.t
	desc = cea_flavour.8.d
	picture = GFX_report_event_CEA_guerillot
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.8.a
		add_political_power = -30
		hidden_effect = {
			country_event = {
				id = cea_flavour.16
				days = 34
			}
		}
	}
}

country_event = { # God, Nation, Brotherhood
	id = cea_flavour.9
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.9" }
	title = cea_flavour.9.t
	desc = cea_flavour.9.d
	picture = GFX_report_event_CEA_boganda_scarf
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.9.a
		add_stability = 0.02
	}
}

country_event = { # Latin African Brotherhood
	id = cea_flavour.10
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.10" }
	title = cea_flavour.10.t
	desc = cea_flavour.10.d
	picture = GFX_report_event_CEA_latin_africa
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.10.a
		add_stability = 0.02
	}
}

country_event = { # New Name
	id = cea_flavour.11
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.11" }
	title = cea_flavour.11.t
	desc = cea_flavour.11.d
	picture = GFX_report_event_CEA_flag
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.11.a
		set_cosmetic_tag = CEA_CENTRAL_AFRICAN_REPUBLIC
	}
}

country_event = { # Father and Child
	id = cea_flavour.12
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.12" }
	title = cea_flavour.12.t
	desc = cea_flavour.12.d
	picture = GFX_report_event_CEA_cucherousset
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.12.a
		add_stability = -0.02
	}
}

country_event = { # Coffee
	id = cea_flavour.13
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.13" }
	title = cea_flavour.13.t
	desc = cea_flavour.13.d
	picture = GFX_report_event_COS_coffee
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.13.a
		random_owned_state = {
			add_extra_state_shared_building_slots = 2
		}
	}
}

country_event = { # The Three Pillars
	id = cea_flavour.14
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.14" }
	title = cea_flavour.14.t
	desc = cea_flavour.14.d
	picture = GFX_report_event_CEA_boganda_preist
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.14.a
		add_popularity = {
			ideology = social_liberal
			popularity = 0.06
		}
	}
}

country_event = { # Middle Class
	id = cea_flavour.15
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.15" }
	title = cea_flavour.15.t
	desc = cea_flavour.15.d
	picture = GFX_report_event_CEA_boganda_smile
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.15.a
		add_popularity = {
			ideology = syndicalist
			popularity = -0.06
		}
		hidden_effect = {
			country_event = {
				id = cea_flavour.17
				days = 65
			}
		}
	}
}

country_event = { # Syndicalist Protest
	id = cea_flavour.16
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.16" }
	title = cea_flavour.16.t
	desc = cea_flavour.16.d
	picture = GFX_report_event_CEA_darlan
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.16.a
		add_popularity = {
			ideology = syndicalist
			popularity = 0.04
		}
		add_popularity = {
			ideology = social_liberal
			popularity = -0.04
		}
		add_political_power = -20
		hidden_effect = {
			country_event = {
				id = cea_flavour.15
				days = 44
			}
		}
	}
}

country_event = { # MESAN Auth
	id = cea_flavour.17
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.17" }
	title = cea_flavour.17.t
	desc = cea_flavour.17.d
	picture = GFX_report_event_CEA_MESAN
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.17.a
		add_popularity = {
			ideology = social_liberal
			popularity = 0.04
		}
		add_political_power = 20
	}
}


country_event = { ###Join Alliance###
	id = cea_flavour.18
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.18"}
	title = cea_flavour.18.t
	desc = cea_flavour.18.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.18.a
		CEA = {
			country_event = {
				id = cea_flavour.19
				days = 1
			}
		}
	}
	option = {
		name = cea_flavour.18.b
		CEA = {
			country_event = {
				id = cea_flavour.20
				days = 1
			}
		}
	}
}

country_event = { ###Latin Africa Alliance###
	id = cea_flavour.19
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.19"}
	title = cea_flavour.19.t
	desc = cea_flavour.19.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.19.a
		CEA = {
			add_to_faction = FROM
		}
		add_political_power = 10
	}
}

country_event = { ###Declines Alliance###
	id = cea_flavour.20
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.20"}
	title = cea_flavour.20.t
	desc = cea_flavour.20.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.20.a
		add_political_power = -10
		add_opinion_modifier = { target = FROM modifier = small_decrease }
	}
	
	option = {
		name = cea_flavour.20.b
		create_wargoal = {
			type = annex_everything 
			target = FROM
		}
	}
}

country_event = { ###Join CEA###
	id = cea_flavour.21
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.21"}
	title = cea_flavour.21.t
	desc = cea_flavour.21.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.21.a
		ai_chance = {
			factor = 90
		}
		CEA = {
			country_event = {
				id = cea_flavour.22
				days = 1
			}
		}
	}
	option = {
		name = cea_flavour.21.b
		ai_chance = {
			factor = 10
		}
		CEA = {
			country_event = {
				id = cea_flavour.23
				days = 1
			}
		}
	}
}

country_event = { ###Latin Africa Alliance###
	id = cea_flavour.22
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.22"}
	title = cea_flavour.22.t
	desc = cea_flavour.22.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.22.a
		CEA = {
			annex_country = {
				target = FROM
			}
		}
		add_political_power = 10
	}
}

country_event = { ###Declines Alliance###
	id = cea_flavour.23
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.23"}
	title = cea_flavour.23.t
	desc = cea_flavour.23.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.23.a
		add_political_power = -10
		add_opinion_modifier = { target = FROM modifier = small_decrease }
	}
	
	option = {
		name = cea_flavour.23.b
		FROM = {
			leave_faction = yes
		}
		create_wargoal = {
			type = annex_everything 
			target = FROM
		}
	}
}

country_event = { # Fate of the Sultanate
	id = cea_flavour.24
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.24" }
	title = cea_flavour.24.t
	desc = cea_flavour.24.d
	picture = GFX_report_event_CEA_dar_al_kuti
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.24.a
		add_political_power = 10
	}
}

country_event = { # God of Lam
	id = cea_flavour.25
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.25" }
	title = cea_flavour.25.t
	desc = cea_flavour.25.d
	picture = GFX_report_event_CEA_god_of_lam
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.25.a
		add_stability = 0.01
	}
}

country_event = { # RDA Formed
	id = cea_flavour.26
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.26" }
	title = cea_flavour.26.t
	desc = cea_flavour.26.d
	picture = GFX_report_event_CEA_darlan_brothers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.26.a
		add_political_power = -10
		add_popularity = {
			ideology = syndicalist
			popularity = 0.06
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.06
		}
	}
}

country_event = { # Bokassa Legacy
	id = cea_flavour.27
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.27" }
	title = cea_flavour.27.t
	desc = cea_flavour.27.d
	picture = GFX_report_event_CEA_bokassa_worried
	
	fire_only_once = yes
	is_triggered_only = yes
trigger = {
		NOT = {
			has_completed_focus = CEA_chad_overthrown
			}
		}
	option = { #
		name = cea_flavour.27.a
		add_stability = 0.01
	}
}

country_event = { # Kill Kamerun if they are still colonial
	id = cea_flavour.28
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.28" }
	title = cea_flavour.28.t
	desc = cea_flavour.28.d
	picture = GFX_report_event_CEA_bokassa_worried
	
trigger = {
		CMR = {	
			OR = {
				has_colonial_government = yes
				has_government = social_conservative
			}
		}
	}
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.28.a
		ai_chance = {
			factor = 0
		}
		declare_war_on = {
			target = CMR
			type = annex_everything
		}
	}
	option = { #
		name = cea_flavour.28.b
		ai_chance = {
			factor = 100
		}
	}
}

country_event = { # Pact with Kamerun
	id = cea_flavour.29
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.29" }
	title = cea_flavour.29.t
	desc = cea_flavour.29.d
	picture = GFX_report_event_CEA_bokassa_worried
	
trigger = {
		NOT = {
			is_in_faction = yes
		}
		ADW = {
			is_ai = yes
			OR = {
				has_government = totalist
				has_government = syndicalist
				has_government = radical_socialist
				has_government = social_democrat
				has_government = social_liberal
				has_government = market_liberal
			}
		}
	}
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.29.a
		ai_chance = {
			factor = 100
		}
		ADW = {
			create_faction = "Equatorial Africa Accord"
			add_to_faction = CEA
		}
	}
	option = { #
		name = cea_flavour.29.b
		ai_chance = {
			factor = 0
		}
	}
}


country_event = { ###Join Alliance###
	id = cea_flavour.30
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.30"}
	title = cea_flavour.30.t
	desc = cea_flavour.30.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.30.a
		CEA = {
			country_event = {
				id = cea_flavour.31
				days = 1
			}
		}
	}
	option = {
		name = cea_flavour.30.b
		CEA = {
			country_event = {
				id = cea_flavour.32
				days = 1
			}
		}
	}
}

country_event = { ###Equatorial Africa Alliance###
	id = cea_flavour.31
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.31"}
	title = cea_flavour.31.t
	desc = cea_flavour.31.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.31.a
		CEA = {
			add_to_faction = FROM
		}
		add_political_power = 10
	}
}

country_event = { ###Declines Alliance###
	id = cea_flavour.32
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.32"}
	title = cea_flavour.32.t
	desc = cea_flavour.32.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.32.a
		add_political_power = -10
		add_opinion_modifier = { target = FROM modifier = small_decrease }
	}
	
	option = {
		name = cea_flavour.32.b
		create_wargoal = {
			type = annex_everything 
			target = FROM
		}
	}
}

country_event = { ###Join CEA###
	id = cea_flavour.33
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.33"}
	title = cea_flavour.33.t
	desc = cea_flavour.33.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.33.a
		ai_chance = {
			factor = 90
		}
		CEA = {
			country_event = {
				id = cea_flavour.34
				days = 1
			}
		}
	}
	option = {
		name = cea_flavour.33.b
		ai_chance = {
			factor = 10
		}
		CEA = {
			country_event = {
				id = cea_flavour.35
				days = 1
			}
		}
	}
}

country_event = { ###Equatorial Africa Alliance###
	id = cea_flavour.34
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.34"}
	title = cea_flavour.34.t
	desc = cea_flavour.34.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.34.a
		CEA = {
			annex_country = {
				target = FROM
			}
		}
		add_political_power = 10
	}
}

country_event = { ###Declines Alliance###
	id = cea_flavour.35
	immediate = {log = "[GetDateText]: [Root.GetName]: event cea_flavour.35"}
	title = cea_flavour.35.t
	desc = cea_flavour.35.d
	picture = GFX_report_event_generic_diplomacy1

	is_triggered_only = yes

	option = {
		name = cea_flavour.35.a
		add_political_power = -10
		add_opinion_modifier = { target = FROM modifier = small_decrease }
	}
	
	option = {
		name = cea_flavour.35.b
		FROM = {
			leave_faction = yes
		}
		create_wargoal = {
			type = annex_everything 
			target = FROM
		}
	}
}

country_event = { # Leadership Conference
	id = cea_flavour.36
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.36" }
	title = cea_flavour.36.t
	desc = cea_flavour.36.d
	picture = GFX_report_event_CEA_darlan_brothers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # Jurgen
		name = cea_flavour.36.a
		set_politics = {
			ruling_party = social_democrat
			elections_allowed = no
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.06
		}
		hidden_effect = {
			country_event = {
				id = cea_flavour.42
				days = 33
			}
		}
		set_country_flag = CEA_jurgen_wins
	}
	
	option = { # Antonie
		name = cea_flavour.36.b
		remove_ideas_with_trait = head_of_government
		add_ideas = CEA_Jurgen_Darlan_hog_sde
		hidden_effect = {
			country_event = {
				id = cea_flavour.42
				days = 33
			}
		}
		set_country_flag = CEA_antonie_wins
	}
}

country_event = { # Castle Fate
	id = cea_flavour.37
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.37" }
	title = cea_flavour.37.t
	desc = cea_flavour.37.d
	picture = GFX_report_event_CEA_palace
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # Teardown
		name = cea_flavour.37.a
		add_political_power = 10
	}
	
	option = { # Homeless Shelter
		name = cea_flavour.37.b
		add_stability = 0.01
	}
}

country_event = { # French Relations
	id = cea_flavour.38
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.38" }
	title = cea_flavour.38.t
	desc = cea_flavour.38.d
	picture = GFX_report_event_CEA_french_relations
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.38.a
		add_equipment_to_stockpile = {
			type = infantry_equipment_1
			amount = 1200
			producer = FRA
		}
		create_corps_commander = {
			name = "Pierre Garbay"
			portrait_path = "gfx/leaders/CEA/Portrait_CEA_Pierre_Garbay.png"
			traits = {
				war_hero
				career_officer
			}
			id = 6601
			skill = 2
			attack_skill = 2
			defense_skill = 2
			planning_skill = 1
			logistics_skill = 2
		}
	}
}

country_event = { # Kuti Resistance
	id = cea_flavour.39
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.39" }
	title = cea_flavour.39.t
	desc = cea_flavour.39.d
	picture = GFX_report_event_CEA_dar_al_kuti
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.39.a
		add_stability = -0.05
		add_manpower = -500
	}
}

country_event = { # Anarchy
	id = cea_flavour.40
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.40" }
	title = cea_flavour.40.t
	desc = cea_flavour.40.d
	picture = GFX_report_event_CEA_countryside
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.40.a
		every_owned_state = {
			add_dynamic_modifier = {
				modifier = CEA_low_control_modifier
			}
		}
		activate_mission = CEA_secure_control_soc
		hidden_effect = {
			country_event = {
				id = cea_flavour.39
				days = 21
			}
		}
	}
}

country_event = { # Anti-Colonialism
	id = cea_flavour.41
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.41" }
	title = cea_flavour.41.t
	desc = cea_flavour.41.d
	picture = GFX_report_event_UKR_anticolonialism
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.41.a
		add_war_support = 0.05
	}
}

country_event = { # Bridging the Colour Gap
	id = cea_flavour.42
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.42" }
	title = cea_flavour.42.t
	desc = cea_flavour.42.d
	picture = GFX_report_event_LIB_racemixing
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.42.a
		add_stability = 0.02
	}
}

country_event = { # Red Generals
	id = cea_flavour.43
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.43" }
	title = cea_flavour.43.t
	desc = cea_flavour.43.d
	picture = GFX_report_event_CEA_darlan_brothers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.43.a
		army_experience = 20
	}
}

country_event = { # African Social Democracy
	id = cea_flavour.44
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.44" }
	title = cea_flavour.44.t
	desc = cea_flavour.44.d
	picture = report_event_CEA_georges
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.44.a
		add_popularity = {
			ideology = social_democrat
			popularity = 0.02
		}
	}
}

country_event = { # Family Divisions
	id = cea_flavour.45
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.45" }
	title = cea_flavour.45.t
	desc = cea_flavour.45.d
	picture = GFX_report_event_CEA_darlan_brothers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.45.a
		add_popularity = {
			ideology = syndicalist
			popularity = 0.02
		}
	}
}

country_event = { # Welfare
	id = cea_flavour.46
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.46" }
	title = cea_flavour.46.t
	desc = cea_flavour.46.d
	picture = GFX_report_event_CEA_workers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.46.a
		add_stability = 0.02
	}
}

country_event = { # Cooperatives Take Hold
	id = cea_flavour.47
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.47" }
	title = cea_flavour.47.t
	desc = cea_flavour.47.d
	picture = GFX_report_event_CEA_farmers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.47.a
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
		}
	}
}

country_event = { # Power to the Worker
	id = cea_flavour.48
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.48" }
	title = cea_flavour.48.t
	desc = cea_flavour.48.d
	picture = GFX_report_event_CEA_workers
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.48.a
		add_stability = 0.02
	}
}

country_event = { # French Influence
	id = cea_flavour.49
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.49" }
	title = cea_flavour.49.t
	desc = cea_flavour.49.d
	picture = GFX_report_event_CEA_french_relations
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.49.a
		add_political_power = -20
		add_popularity = {
			ideology = syndicalist
			popularity = 0.02
		}
	}
}

country_event = { # Boganda Friendship
	id = cea_flavour.50
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.50" }
	title = cea_flavour.50.t
	desc = cea_flavour.50.d
	picture = GFX_report_event_CEA_boganda_smile
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.50.a
		add_popularity = {
			ideology = syndicalist
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_liberal
			popularity = 0.02
		}
		add_political_power = 10
	}
}

country_event = { # Industrialists Expellled
	id = cea_flavour.51
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.51" }
	title = cea_flavour.51.t
	desc = cea_flavour.51.d
	picture = GFX_report_event_CEA_guerillot
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.51.a
		random_owned_state = {
			add_extra_state_shared_building_slots = 1
		}
		add_manpower = -120
		add_popularity = {
			ideology = syndicalist
			popularity = 0.02
		}
	}
}

country_event = { # Germ Culture
	id = cea_flavour.52
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.52" }
	title = cea_flavour.52.t
	desc = {
		text = cea_flavour.52.d
	trigger = {
			has_country_flag = CEA_germ_larp
		}
	}
	desc = {
		text = cea_flavour.52.d_2
	trigger = {
			has_country_flag = CEA_frog_larp
		}
	}
	desc = {
		text = cea_flavour.52.d_3
	trigger = {
		NOT = {
			OR = {
				has_country_flag = CEA_germ_larp
				has_country_flag = CEA_frog_larp
				}
			}
		}
	}
	picture = GFX_report_event_CEA_german_culture
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.52.a
	trigger = {
			has_country_flag = CEA_frog_larp
		}
		swap_ideas = {
			remove_idea = CEA_take_notes_from_the_SPD
			add_idea = CEA_take_notes_from_the_SPD2
		}
		add_timed_idea = {
			idea = CEA_frog_resistance
			days = 468
		}
	}
	
	option = { # 
		name = cea_flavour.52.a
	trigger = {
			has_country_flag = CEA_germ_larp
		}
		swap_ideas = {
			remove_idea = CEA_take_notes_from_the_SPD
			add_idea = CEA_take_notes_from_the_SPD2
		}
	}
	option = { # 
		name = cea_flavour.52.a
	trigger = {
		NOT = {
			OR = {
				has_country_flag = CEA_germ_larp
				has_country_flag = CEA_frog_larp
				}
			}
		}
		add_timed_idea = {
			idea = CEA_frog_resistance
			days = 468
		}
		swap_ideas = {
			remove_idea = CEA_take_notes_from_the_SPD
			add_idea = CEA_take_notes_from_the_SPD2
		}
	}
}

country_event = { # Frog Culture
	id = cea_flavour.53
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.53" }
	title = cea_flavour.53.t
	desc = {
		text = cea_flavour.53.d
	trigger = {
			has_country_flag = CEA_frog_larp
		}
	}
	desc = {
		text = cea_flavour.53.d_2
	trigger = {
			has_country_flag = CEA_germ_larp
		}
	}
	desc = {
		text = cea_flavour.53.d_3
	trigger = {
		NOT = {
			OR = {
				has_country_flag = CEA_germ_larp
				has_country_flag = CEA_frog_larp
				}
			}
		}
	}
	picture = GFX_report_event_CEA_french_culture
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.53.a
	trigger = {
			has_country_flag = CEA_germ_larp
		}
		swap_ideas = {
			remove_idea = CEA_communard_cultural_roots
			add_idea = CEA_communard_cultural_roots2
		}
		add_timed_idea = {
			idea = CEA_germ_resistance
			days = 468
		}
	}
	
	option = { # 
		name = cea_flavour.53.a
	trigger = {
			has_country_flag = CEA_frog_larp
		}
		swap_ideas = {
			remove_idea = CEA_communard_cultural_roots
			add_idea = CEA_communard_cultural_roots2
		}
	}
	option = { # 
		name = cea_flavour.53.a
	trigger = {
		NOT = {
			OR = {
				has_country_flag = CEA_germ_larp
				has_country_flag = CEA_frog_larp
				}
			}
		}
		add_timed_idea = {
			idea = CEA_germ_resistance
			days = 468
		}
		swap_ideas = {
			remove_idea = CEA_communard_cultural_roots
			add_idea = CEA_communard_cultural_roots2
		}
	}
}

country_event = { # Blood Diamonds
	id = cea_flavour.54
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.54" }
	title = cea_flavour.54.t
	desc = cea_flavour.54.d
	picture = GFX_report_event_CEA_diamonds
	
	fire_only_once = yes
	is_triggered_only = yes
	
trigger = {
		CEA_has_bokassa = yes
	}

	option = { # 
		name = cea_flavour.54.a
		add_ideas = CEA_diamonds_are_forever_idea
	}
}

country_event = { # Diamond Monopolies Broken
	id = cea_flavour.55
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.55" }
	title = cea_flavour.55.t
	desc = cea_flavour.55.d
	picture = GFX_report_event_CEA_diamonds
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.55.a
		if = {
			limit = {
				has_idea = CEA_diamonds_are_forever_idea
			}
			swap_ideas = {
				remove_idea = CEA_diamonds_are_forever_idea
				add_idea = CEA_diamond_monopolies_broken_idea
			}
		}
		else = {
			add_ideas = CEA_diamond_monopolies_broken_idea
		}
	}
}

country_event = { # Diamonds nationalized
	id = cea_flavour.56
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.56" }
	title = cea_flavour.56.t
	desc = cea_flavour.56.d
	picture = GFX_report_event_CEA_diamonds
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.56.a
		if = {
			limit = {
				has_idea = CEA_diamonds_are_forever_idea
			}
			swap_ideas = {
				remove_idea = CEA_diamonds_are_forever_idea
				add_idea = CEA_diamonds_nationalized_idea
			}
		}
		else = {
			add_ideas = CEA_diamonds_nationalized_idea
		}
	}
}

country_event = { # Diamonds nationalized
	id = cea_flavour.560
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.560" }
	title = cea_flavour.560.t
	desc = cea_flavour.560.d
	picture = GFX_report_event_CEA_diamonds
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.560.a
		if = {
			limit = {
				has_idea = CEA_diamonds_are_forever_idea
			}
			swap_ideas = {
				remove_idea = CEA_diamonds_are_forever_idea
				add_idea = CEA_diamonds_nationalized_idea
			}
		}
		else = {
			add_ideas = CEA_diamonds_nationalized_idea
		}
	}
}

country_event = { # Boganda Museum
	id = cea_flavour.57
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.57" }
	title = cea_flavour.57.t
	desc = cea_flavour.57.d
	picture = GFX_report_event_CEA_museum
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.57.a
		add_stability = 0.02
		add_political_power = 10
		add_popularity = {
			ideology = social_liberal
			popularity = 0.02
		}
	}
}

country_event = { # Boganda Plane Crash
	id = cea_flavour.58
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.58" }
	title = cea_flavour.58.t
	desc = cea_flavour.58.d
	picture = GFX_report_event_CEA_dacko
	
	fire_only_once = yes
	is_triggered_only = yes
trigger = {
		has_country_leader = {
			name = "Barthélemy Boganda"
			ruling_only = yes
		}
	}

	option = { # Lives
		name = cea_flavour.58.a
		add_political_power = 10
		hidden_effect = {
		country_event = {
				id = cea_flavour.74
				days = 21
			}
		}
	}

	option = { # Dies
		name = cea_flavour.58.b
		create_country_leader = {
			name = "David Dacko"
			desc = "POLITICS_DACKO_DESC"
			picture = "gfx/leaders/CEA/Portrait_CEA_David_Dacko.png"
			expire = "1.1.1"
			ideology = christian_democracy_subtype
		}

		create_country_leader = {
			name = "David Dacko"
			desc = "POLITICS_DACKO_DESC"
			picture = "gfx/leaders/CEA/Portrait_CEA_David_Dacko.png"
			expire = "1.1.1"
			ideology = market_liberal_subtype
		}

		create_country_leader = {
			name = "David Dacko"
			desc = "POLITICS_DACKO_DESC"
			picture = "gfx/leaders/CEA/Portrait_CEA_David_Dacko.png"
			expire = "1.1.1"
			ideology = soclib_christian_democracy_subtype
		}
	}
}

country_event = { # Sultan Coup
	id = cea_flavour.59
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.59" }
	title = cea_flavour.59.t
	desc = cea_flavour.59.d
	picture = GFX_report_event_CEA_dar_al_kuti
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # Lives
		name = cea_flavour.59.a
		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
		}
		add_ideas = CEA_statist_resistance
		hidden_effect = {
			remove_ideas = CEA_new_to_socialism
			remove_ideas = CEA_new_to_socialism2
			remove_ideas = CEA_new_to_socialism3
			remove_ideas = CEA_new_to_socialism4
			remove_ideas = CEA_new_to_socialism5
			remove_ideas = CEA_contact_the_commune_idea
			remove_ideas = CEA_crush_colonial_capitalism
			if = {
				limit = {
					is_faction_leader = yes
				}
                CEA = { dismantle_faction = yes }
			}
			else_if = {
				limit = {
					is_in_faction = yes 
				}
                CEA = { leave_faction = yes }
			}
		}
		remove_ideas_with_trait = head_of_government
		set_cosmetic_tag = CEA_SULTANATE
		every_unit_leader = {
			limit = { has_id = 6597 }
			remove_unit_leader = yes
		}
		every_unit_leader = {
			limit = { has_id = 6598 }
			remove_unit_leader = yes
		}
		if = {
			limit = {
				country_exists = NMB
			}
			every_unit_leader = {
				limit = { has_unit_leader_flag = MAF_former_german }
				set_nationality = NMB
			}
		}
		if = {
			limit = {
				NOT = {
					country_exists = NMB
				}
				country_exists = CMR
				CMR = {	
					has_colonial_government = yes
				}
			}
			every_unit_leader = {
				limit = { has_unit_leader_flag = MAF_former_german }
				set_nationality = NMB
			}
		}
		else = {
			effect_tooltip = {
				every_unit_leader = {
					limit = { has_unit_leader_flag = MAF_former_german }
					remove_unit_leader = yes
				}
			}
			hidden_effect = {
				every_unit_leader = {
					limit = { has_unit_leader_flag = MAF_former_german }
					set_nationality = XXA
				}
			}
		}
		hidden_effect = {
			country_event = {
				id = cea_flavour.60
				days = 22
			}
			country_event = {
				id = cea_flavour.61
				days = 33
			}
		}
	}
}

country_event = { # Centralization or Decentralization
	id = cea_flavour.60
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.60" }
	title = cea_flavour.60.t
	desc = cea_flavour.60.d
	picture = GFX_report_event_CEA_dar_al_kuti2
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # Anarchish
		name = cea_flavour.60.a
		set_country_flag = CEA_decentralized_sultanate
		create_country_leader = {
			name = "Kamoun Mohamed al-Senoussi"
			picture = "gfx/leaders/CEA/Portrait_CEA_Kamoun_Mohamed_Senoussi.png"
			expire = "1.1.1"
			ideology = tribal_chiefdom_subtype

		}
		set_party_name = {
			name = CEA_paternal_autocrat_party3
			long_name = CEA_paternal_autocrat_party3_long
			ideology = authoritarian_democrat
		}
		set_politics = {
			ruling_party = authoritarian_democrat
			elections_allowed = no
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.3
		}
		add_ideas = CEA_Council_of_Tribes_hog_rso
	}
	
	option = { # Islamic Centralization
		name = cea_flavour.60.b
		set_country_flag = CEA_centralized_sultanate
		add_ideas = CEA_Council_of_Sheiks_hog_npo
	}
}

country_event = { # Title
	id = cea_flavour.61
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.61" }
	title = cea_flavour.61.t
	desc = cea_flavour.61.d
	picture = GFX_report_event_CEA_sultanate_flag
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # Sultanate of Central Africa
		name = cea_flavour.61.a
		ai_chance = {
			factor = 20
		}		
		set_cosmetic_tag = CEA_SULTANATE2
	}
	
	option = { # Chari Emirate
		name = cea_flavour.61.b
		ai_chance = {
			factor = 100
		}		
		set_cosmetic_tag = CEA_SULTANATE3
	}
	
	option = { # Sheikdom of Ubangi-Shari
		name = cea_flavour.61.c
		ai_chance = {
			factor = 20
		}		
		set_cosmetic_tag = CEA_SULTANATE4
	}
	
	option = { # current name
		name = cea_flavour.61.e
		ai_chance = {
			factor = 100
		}		
	}
}

country_event = { # Lesser Sultans
	id = cea_flavour.62
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.62" }
	title = cea_flavour.62.t
	desc = cea_flavour.62.d
	picture = GFX_report_event_CEA_lesser_sultans
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.62.a
		add_stability = 0.02
		add_political_power = 10
		if = {
			limit = {
				NOT = {
					has_unit_leader = 6602
					}
				}
		create_corps_commander = {
			name = "Sultan Hetman of Rafai"
			portrait_path = "gfx/leaders/CEA/Portrait_CEA_Sultan_Hetman.png"
			traits = {
				war_hero
				politically_connected
			}
			id = 6602
			skill = 2
			attack_skill = 2
			defense_skill = 2
			planning_skill = 1
			logistics_skill = 2
			}
		}
		if = {
			limit = {
				NOT = {
					has_unit_leader = 6603
					}
				}
		create_corps_commander = {
			name = "Auguste Fatrane of Rafai"
			portrait_path = "gfx/leaders/CEA/Portrait_CEA_Auguste_Fatrane.png"
			traits = {
				war_hero
				politically_connected
			}
			id = 6603
			skill = 2
			attack_skill = 2
			defense_skill = 2
			planning_skill = 1
			logistics_skill = 2
			}
		}
		if = {
			limit = {
				NOT = {
					has_unit_leader = 6604
					}
				}
		create_corps_commander = {
			name = "Amiel Sayo of Bangassou"
			portrait_path = "gfx/leaders/CEA/Portrait_CEA_Amiel_Sayo.png" #Not actually him
			traits = {
				war_hero
				politically_connected
			}
			id = 6604
			skill = 2
			attack_skill = 2
			defense_skill = 2
			planning_skill = 1
			logistics_skill = 2
			}
		}
	}
}

country_event = { # Fake Askari Man
	id = cea_flavour.63
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.63" }
	title = cea_flavour.63.t
	desc = cea_flavour.63.d
	picture = GFX_report_event_CEA_fake_askari
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.63.a
		army_experience = 20
	}
}

country_event = { # Mansa Musa
	id = cea_flavour.64
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.64" }
	title = cea_flavour.64.t
	desc = cea_flavour.64.d
	picture = GFX_report_event_CEA_mansa_musa
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.64.a
		random_owned_state = {	
			add_extra_state_shared_building_slots = 2
		}
		add_stability = -0.04
	}
}

country_event = { # Other Religions
	id = cea_flavour.65
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.65" }
	title = cea_flavour.65.t
	desc = cea_flavour.65.d
	picture = GFX_report_event_CEA_faith
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # No
		name = cea_flavour.65.a
		add_stability = 0.05
		add_political_power = -50
	}
	
	option = { # Yes
		name = cea_flavour.65.b
		add_stability = -0.05
		add_political_power = 50
	}
}

country_event = { # Bangui
	id = cea_flavour.66
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.66" }
	title = cea_flavour.66.t
	desc = cea_flavour.66.d
	picture = GFX_report_event_CEA_bangui
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.66.a
		add_manpower = -600
		660 = {	
			damage_building = {
				type = infrastructure
				damage = 0.6
			}
		}
	}
}

country_event = { # False Emperor
	id = cea_flavour.67
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.67" }
	title = cea_flavour.67.t
	desc = cea_flavour.67.d
	picture = GFX_report_event_CEA_bokassa_worried
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.67.a
		add_political_power = 50
		increase_ruling_party_popularity_by_5 = yes
	}
}

country_event = { # Language
	id = cea_flavour.68
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.68" }
	title = cea_flavour.68.t
	desc = cea_flavour.68.d
	picture = GFX_report_event_CEA_language
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.68.a
		add_stability = 0.06
	}
}

country_event = { # Cairo
	id = cea_flavour.69
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.69" }
	title = cea_flavour.69.t
	desc = cea_flavour.69.d
	picture = GFX_report_event_EGY_egyptian_palace
	
	fire_only_once = yes
	is_triggered_only = yes
	
trigger = {
		CEA_has_dar_al_kuti = yes
	}

	option = { # 
		name = cea_flavour.69.a
		EGY = {
			add_to_faction = CEA
		}
	}
	
	option = { # 
		name = cea_flavour.69.b
		add_war_support = 0.05
	}
}

country_event = { # Otts
	id = cea_flavour.70
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.70" }
	title = cea_flavour.70.t
	desc = cea_flavour.70.d
	picture = GFX_OTT_Troops_Istanbul
	
	fire_only_once = yes
	is_triggered_only = yes
	
trigger = {
		CEA_has_dar_al_kuti = yes
	}

	option = { # 
		name = cea_flavour.70.a
		TUR = {
			add_to_faction = CEA
		}
	}
	
	option = { # 
		name = cea_flavour.70.b
		add_war_support = 0.05
	}
}

country_event = { # Natpop or PatAut
	id = cea_flavour.71
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.71" }
	title = cea_flavour.71.t
	desc = cea_flavour.71.d
	picture = GFX_report_event_CEA_sultan
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.71.a
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.02
		}
	}
	
	option = { # 
		name = cea_flavour.71.b
		set_variable = {
			current_pataut_pop = party_popularity@paternal_autocrat
		}
		set_variable = {
			current_natpop_pop = party_popularity@national_populist
		}
		add_popularity = {
			ideology = national_populist
			popularity = current_pataut_pop
		}
		set_politics = {
			ruling_party = national_populist
			elections_allowed = no
		}
		create_country_leader = {
			name = "Kamoun Mohamed al-Senoussi"
			picture = "gfx/leaders/CEA/Portrait_CEA_Kamoun_Mohamed_Senoussi.png"
			expire = "1.1.1"
			ideology = natpop_islamism_subtype

		}
		set_party_name = {
			name = CEA_paternal_autocrat_party3
			long_name = CEA_paternal_autocrat_party3_long
			ideology = national_populist
		}
	}
}

country_event = { # Authdem or Radsoc
	id = cea_flavour.72
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.72" }
	title = cea_flavour.72.t
	desc = cea_flavour.72.d
	picture = GFX_report_event_CEA_sultan
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.72.a
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.02
		}
	}
	
	option = { # 
		name = cea_flavour.72.b
		set_variable = {
			current_authdem_pop = party_popularity@authoritarian_democrat
		}
		set_variable = {
			current_radsoc_pop = party_popularity@radical_socialist
		}
		add_popularity = {
			ideology = radical_socialist
			popularity = current_authdem_pop
		}
		set_politics = {
			ruling_party = radical_socialist
			elections_allowed = no
		}
		create_country_leader = {
			name = "Kamoun Mohamed al-Senoussi"
			picture = "gfx/leaders/CEA/Portrait_CEA_Kamoun_Mohamed_Senoussi.png"
			expire = "1.1.1"
			ideology = radsoc_indigenous_communitarianism_subtype

		}
		set_party_name = {
			name = CEA_paternal_autocrat_party3
			long_name = CEA_paternal_autocrat_party3_long
			ideology = radical_socialist
		}
	}
}

country_event = { # Big Fuckoff Formable
	id = cea_flavour.73
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.73" }
	title = cea_flavour.73.t
	desc = cea_flavour.73.d
	picture = GFX_report_event_CEA_sultan
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { # 
		name = cea_flavour.73.a
		set_cosmetic_tag = CEA_SULTANATE5
	}
	option = { # 
		name = cea_flavour.73.c
	}
}

country_event = { # Boganda Picker
	id = cea_flavour.74
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_flavour.74" }
	title = cea_flavour.74.t
	desc = cea_flavour.74.d
	picture = GFX_report_event_CEA_boganda_smile
	
	fire_only_once = yes
	is_triggered_only = yes

	option = { #
		name = cea_flavour.74.a
	}
	option = { #
		name = cea_flavour.74.b
		set_country_leader_ideology = soclib_progressive_democracy_subtype
	}
	option = { #
		name = cea_flavour.74.c
		set_variable = {
			current_soclib_pop = party_popularity@social_liberal
		}
		set_variable = {
			current_marlib_pop = party_popularity@market_liberal
		}
		add_popularity = {
			ideology = market_liberal
			popularity = current_soclib_pop
		}
		set_politics = {
			ruling_party = market_liberal
			elections_allowed = no
		}
		set_country_leader_ideology = liberal_conservative_subtype
	}
	option = { #
		name = cea_flavour.74.e	
		set_variable = {
			current_soclib_pop = party_popularity@social_liberal
		}
		set_variable = {
			current_marlib_pop = party_popularity@market_liberal
		}
		add_popularity = {
			ideology = market_liberal
			popularity = current_soclib_pop
		}
		set_politics = {
			ruling_party = market_liberal
			elections_allowed = no
		}
		set_country_leader_ideology = progressive_democracy_subtype
	}
	option = { #
		name = cea_flavour.74.f
		set_variable = {
			current_soclib_pop = party_popularity@social_liberal
		}
		set_variable = {
			current_marlib_pop = party_popularity@market_liberal
		}
		add_popularity = {
			ideology = market_liberal
			popularity = current_soclib_pop
		}
		set_politics = {
			ruling_party = market_liberal
			elections_allowed = no
		}
		set_country_leader_ideology = marlib_centrist_subtype
	}
	option = { #
		name = cea_flavour.74.g
		set_variable = {
			current_soclib_pop = party_popularity@social_liberal
		}
		set_variable = {
			current_soccon_pop = party_popularity@social_conservative
		}
		add_popularity = {
			ideology = social_conservative
			popularity = current_soclib_pop
		}
		set_politics = {
			ruling_party = social_conservative
			elections_allowed = no
		}
		set_country_leader_ideology = christian_democracy_subtype
	}
	option = { #
		name = cea_flavour.74.h	
		set_variable = {
			current_soclib_pop = party_popularity@social_liberal
		}
		set_variable = {
			current_soccon_pop = party_popularity@social_conservative
		}
		add_popularity = {
			ideology = social_conservative
			popularity = current_soclib_pop
		}
		set_politics = {
			ruling_party = social_conservative
			elections_allowed = no
		}
		set_country_leader_ideology = progressive_conservatism_subtype
	}
}

##################################
### CANNIBALISM MECHANIC STUFF ###
###  YES YOU HEARD THAT RIGHT  ###
##################################

add_namespace = cea_feast

country_event = { #Goering Captured
	id = cea_feast.1
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.1" }
	title = cea_feast.1.t
	desc = cea_feast.1.d
	picture = GFX_report_event_CEA_goering_dead

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 965
		NOT = {
			country_exists = TZN
		}
	}

	option = {
		name = cea_feast.1.a
		set_country_flag = CEA_Goering_Captured
		custom_effect_tooltip = CEA_feast_goering_tt
	}
}

country_event = { #Obama Captured
	id = cea_feast.2
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.2" }
	title = cea_feast.2.t
	desc = cea_feast.2.d
	picture = GFX_report_event_CEA_obama_killed

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 925
		NOT = {
			country_exists = KIK
			has_global_flag = KIK_OBAMA_DEAD
		}
	}

	option = {
		name = cea_feast.2.a
		set_country_flag = CEA_Obama_Captured
		custom_effect_tooltip = CEA_feast_obama_tt
	}
}

country_event = { #Kenyatta Captured
	id = cea_feast.3
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.3" }
	title = cea_feast.3.t
	desc = cea_feast.3.d
	picture = GFX_report_event_CEA_kenyatta_killed

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 969
		NOT = {
			country_exists = KEN
		}
	}

	option = {
		name = cea_feast.3.a
		set_country_flag = CEA_Kenyatta_Captured
		custom_effect_tooltip = CEA_feast_kenyatta_tt
	}
}

country_event = { #Duala Bell Captured
	id = cea_feast.4
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.4" }
	title = cea_feast.4.t
	desc = cea_feast.4.d
	picture = GFX_report_event_CEA_bell_killed

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 927
		NOT = {
			country_exists = CMR
		}
	}

	option = {
		name = cea_feast.4.a
		set_country_flag = CEA_Bell_Captured
		custom_effect_tooltip = CEA_feast_bell_tt
	}
}

country_event = { #Pedro Captured
	id = cea_feast.5
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.5" }
	title = cea_feast.5.t
	desc = cea_feast.5.d
	picture = GFX_report_event_CEA_pedro_captured

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 928
		NOT = {
			country_exists = KOG
		}
	}

	option = {
		name = cea_feast.5.a
		set_country_flag = CEA_Pedro_Captured
		custom_effect_tooltip = CEA_feast_pedro_tt
	}
}

country_event = { #Jannsens Captured
	id = cea_feast.6
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.6" }
	title = cea_feast.6.t
	desc = cea_feast.6.d
	picture = GFX_report_event_CEA_jannsens_killed

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 881
		NOT = {
			country_exists = LPD
		}
	}

	option = {
		name = cea_feast.6.a
		set_country_flag = CEA_Jannsens_Captured
		custom_effect_tooltip = CEA_feast_jannsens_tt
	}
}

country_event = { #Ryckmans Captured
	id = cea_feast.7
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.7" }
	title = cea_feast.7.t
	desc = cea_feast.7.d
	picture = GFX_report_event_CEA_ryckmans_killed

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 976
		NOT = {
			country_exists = COG
		}
	}

	option = {
		name = cea_feast.7.a
		set_country_flag = CEA_Ryckmans_Captured
		custom_effect_tooltip = CEA_feast_ryckmans_tt
	}
}

country_event = { #Huttig Captured
	id = cea_feast.8
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.8" }
	title = cea_feast.8.t
	desc = cea_feast.8.d
	picture = GFX_report_event_CEA_huttig_dead

	fire_only_once = yes
	
	mean_time_to_happen = {
		days = 90
	}
	
trigger = {
		has_country_flag = CEA_feast_mechanic_active
		owns_state = 813
		NOT = {
			country_exists = ZAM
		}
	}

	option = {
		name = cea_feast.8.a
		set_country_flag = CEA_Huttig_Captured
		custom_effect_tooltip = CEA_feast_huttig_tt
	}
}

country_event = { #Way of Cooking
	id = cea_feast.100
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.100" }
	title = cea_feast.100.t
	desc = cea_feast.100.d
	picture = GFX_report_event_CEA_cooking
	
	is_triggered_only = yes

	option = {
		name = cea_feast.100.a
		set_country_flag = CEA_Roasted
	}
	
	option = {
		name = cea_feast.100.b
		set_country_flag = CEA_Fried
	}
	
	option = {
		name = cea_feast.100.c
		set_country_flag = CEA_Boiled
	}
	
	option = {
		name = cea_feast.100.e
		set_country_flag = CEA_Shredded
	}
}

country_event = { #Grand Feast Held
	id = cea_feast.101
	immediate = { log = "[GetDateText]: [Root.GetName]: event cea_feast.101" }
	title = cea_feast.101.t
	desc = cea_feast.101.d
	picture = GFX_report_event_CEA_dinner
	
	is_triggered_only = yes

	option = {
		name = cea_feast.101.a
		add_political_power = 50
		add_stability = 0.05
		add_popularity = {
			ideology = paternal_autocrat
			popularity = 0.01
		}
		clr_country_flag = CEA_subject_chosen
		clr_country_flag = CEA_Shredded
		clr_country_flag = CEA_Boiled
		clr_country_flag = CEA_Fried
		clr_country_flag = CEA_Roasted
		if = {
			limit = {
				has_country_flag = CEA_Huttig_Chosen
			}
			clr_country_flag = CEA_Huttig_Chosen
			add_dynamic_modifier = {
				modifier = CEA_warrior_spirit
				days = 40
			}
			add_dynamic_modifier = {
				modifier = CEA_administrator_spirit
				days = 40
			}
		}
		if = {
			limit = {
				has_country_flag = CEA_Ryckmans_Chosen
			}
			clr_country_flag = CEA_Ryckmans_Chosen
			add_dynamic_modifier = {
				modifier = CEA_administrator_spirit
				days = 80
			}
		}
		if = {
			limit = {
				has_country_flag = CEA_Jannsens_Chosen
			}
			clr_country_flag = CEA_Jannsens_Chosen
			add_dynamic_modifier = {
				modifier = CEA_warrior_spirit
				days = 80
			}
		}
		if = {
			limit = {
				has_country_flag = CEA_Pedro_Chosen
			}
			clr_country_flag = CEA_Pedro_Chosen
			add_dynamic_modifier = {
				modifier = CEA_administrator_spirit
				days = 80
			}
		}
		if = {
			limit = {
				has_country_flag = CEA_Bell_Chosen
			}
			clr_country_flag = CEA_Bell_Chosen
			add_dynamic_modifier = {
				modifier = CEA_warrior_spirit
				days = 40
			}
			add_dynamic_modifier = {
				modifier = CEA_administrator_spirit
				days = 40
			}
		}
		if = {
			limit = {
				has_country_flag = CEA_Kenyatta_Chosen
			}
			clr_country_flag = CEA_Kenyatta_Chosen
			add_dynamic_modifier = {
				modifier = CEA_administrator_spirit
				days = 80
			}
		}
		if = {
			limit = {
				has_country_flag = CEA_Obama_Chosen
			}
			clr_country_flag = CEA_Obama_Chosen
			add_dynamic_modifier = {
				modifier = CEA_warrior_spirit
				days = 40
			}
			add_dynamic_modifier = {
				modifier = CEA_administrator_spirit
				days = 40
			}
		}
		if = {
			limit = {
				has_country_flag = CEA_Goering_Chosen
			}
			clr_country_flag = CEA_Goering_Chosen
			add_dynamic_modifier = {
				modifier = CEA_warrior_spirit
				days = 40
			}
			add_dynamic_modifier = {
				modifier = CEA_administrator_spirit
				days = 40
			}
		}
	}
}
