CEA_devestation_decrease = {
	if = {
		limit = { has_idea = CEA_devestation }
		swap_ideas = {
			remove_idea = CEA_devestation
			add_idea = CEA_devestation2
		}
	}
	else_if = {
		limit = { has_idea = CEA_devestation2 }
		swap_ideas = {
			remove_idea = CEA_devestation2
			add_idea = CEA_devestation3
		}
	}
	else_if = {
		limit = { has_idea = CEA_devestation3 }
		swap_ideas = {
			remove_idea = CEA_devestation3
			add_idea = CEA_devestation4
		}
	}
	else_if = {
		limit = { has_idea = CEA_devestation4 }
		remove_ideas = CEA_devestation4
	}
}

CEA_remove_bokassa = {
	hidden_effect = {
		remove_ideas = {
			CEA_split_larp
			CEA_inferiority_complex
			CEA_emperor_without_empire
			CEA_emperor_without_empire2
			CEA_new_empire
			CEA_the_secret
			CEA_coronation_budget
			CEA_fresh_meat
			CEA_fresh_meat2
			CEA_phasing_out_cannibalism
			CEA_phasing_out_cannibalism2
			CEA_chicken
			CEA_beef
			CEA_a_german_leader
			CEA_army_with_state
			CEA_army_with_state2
			CEA_army_with_state3
			CEA_a_french_leader
			CEA_a_proper_empire
			CEA_a_proper_empire2
			CEA_a_proper_empire3
			CEA_bokassa_reform_plan
			CEA_intensify_border_patrols
			CEA_loyalty_to_algiers
		}
		add_ideas = CEA_post_bokassa_chaos
		set_country_flag = CEA_bokassa_gone
		every_unit_leader = {
			limit = { has_id = 6596 }
			remove_unit_leader = yes
		}
		drop_cosmetic_tag = yes
		country_event = {
			id = cea_flavour.27
			days = 65
		}
	}
}

CEA_soc_resistance_decrease = {
	if = {
		limit = { has_idea = CEA_new_to_socialism }
		swap_ideas = {
			remove_idea = CEA_new_to_socialism
			add_idea = CEA_new_to_socialism2
		}
	}
	else_if = {
		limit = { has_idea = CEA_new_to_socialism2 }
		swap_ideas = {
			remove_idea = CEA_new_to_socialism2
			add_idea = CEA_new_to_socialism3
		}
	}
	else_if = {
		limit = { has_idea = CEA_new_to_socialism3 }
		swap_ideas = {
			remove_idea = CEA_new_to_socialism3
			add_idea = CEA_new_to_socialism4
		}
	}
	else_if = {
		limit = { has_idea = CEA_new_to_socialism4 }
		swap_ideas = {
			remove_idea = CEA_new_to_socialism4
			add_idea = CEA_new_to_socialism5
		}
	}
	else_if = {
		limit = { has_idea = CEA_new_to_socialism5 }
		remove_ideas = CEA_new_to_socialism5
	}
}

CEA_statist_resistance_decrease = {
	if = {
		limit = { has_idea = CEA_statist_resistance }
		swap_ideas = {
			remove_idea = CEA_statist_resistance
			add_idea = CEA_statist_resistance2
		}
	}
	else_if = {
		limit = { has_idea = CEA_statist_resistance2 }
		swap_ideas = {
			remove_idea = CEA_statist_resistance2
			add_idea = CEA_statist_resistance3
		}
	}
	else_if = {
		limit = { has_idea = CEA_statist_resistance3 }
		swap_ideas = {
			remove_idea = CEA_statist_resistance3
			add_idea = CEA_statist_resistance4
		}
	}
	else_if = {
		limit = { has_idea = CEA_statist_resistance4 }
		swap_ideas = {
			remove_idea = CEA_statist_resistance4
			add_idea = CEA_statist_resistance5
		}
	}
	else_if = {
		limit = { has_idea = CEA_statist_resistance5 }
		remove_ideas = CEA_statist_resistance5
	}
}
	