###########################
# Ivory Coast Decisions
###########################
political_actions = {
	IVO_claim_maf = {
		icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = IVO }
		visible = {
			has_global_flag = MAF_collapse
		}
		available = {
			has_global_flag = MAF_collapse
			has_war = no
		}
		cost = 100
		ai_will_do = {
			factor = 0
		}
		remove_effect = {
		set_country_flag = IVO_claim_maf
		custom_effect_tooltip = KIK_gain_wargoals_tt
		every_country = {
			limit = { is_in_array = { global.MAF_collapse_tags = THIS } }
			ROOT = {
				create_wargoal = {
					type = annex_everything target = PREV
				}
			}
		}
		every_state = {
			limit = { has_state_flag = MAF_claim }
			ROOT = {
				add_state_claim = PREV
			}
		}
		every_country = {
			limit = { is_subject_of = ROOT }
			ROOT = {
				annex_country = {
					target = PREV
					transfer_troops = yes
				}
			}
		}
		unlock_decision_tooltip = AFR_form_maf
		log = "[GetDateText]: [Root.GetName]: Decision IVO_claim_maf"
		}
	}
	IVO_form_maf = {
		icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = IVO }
		visible = {
			has_global_flag = MAF_collapse
			has_country_flag = IVO_claim_maf
		}
		available = {
			has_global_flag = MAF_collapse
			owns_state = 539
			owns_state = 1183
			owns_state = 965
			owns_state = 925
			owns_state = 660
			owns_state = 927
			owns_state = 558
			owns_state = 881
			has_war = no
		}
		days_remove = 10
		cost = 0
		ai_will_do = {
			factor = 0
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision IVO_form_maf"
			custom_effect_tooltip = MAF_reform_mittelafrika_tt
				every_state = {
					limit = { has_state_flag = MAF_claim }
					ROOT = {
						add_state_core = PREV
				}
			}
		set_cosmetic_tag = NFA_MITTEL
	}
}
}