###########################
# Kenya Decisions
###########################
political_actions = {
	KEN_claim_maf = {
		icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KEN }
		visible = {
			has_global_flag = MAF_collapse
			OR = {
			has_completed_focus =  KEN_newbureaucratictalent
			has_completed_focus = KEN_expandlegislativecouncil
			has_completed_focus = KEN_vigilance_coup
			}
		}
		available = {
			has_global_flag = MAF_collapse
			OR = {
			has_completed_focus =  KEN_newbureaucratictalent
			has_completed_focus = KEN_expandlegislativecouncil
			has_completed_focus = KEN_vigilance_coup
			}
			has_war = no
		}
		cost = 100
		ai_will_do = {
			factor = 0
		}
		remove_effect = {
		set_country_flag = KEN_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 MAG_claim_maf"
		}
	}
	KEN_form_maf = {
		icon = generic_form_nation
		fire_only_once = yes
		allowed = { tag = KEN }
		visible = {
			has_global_flag = MAF_collapse
			has_country_flag = KEN_claim_maf
			OR = {
			has_completed_focus =  KEN_newbureaucratictalent
			has_completed_focus = KEN_expandlegislativecouncil
			has_completed_focus = KEN_vigilance_coup
			}
		}
		available = {
			has_global_flag = MAF_collapse
			OR = {
			has_completed_focus =  KEN_newbureaucratictalent
			has_completed_focus = KEN_expandlegislativecouncil
			has_completed_focus = KEN_vigilance_coup
			}
			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 KEN_form_maf"
			custom_effect_tooltip = MAF_reform_mittelafrika_tt
			if = {
				limit = {
					has_completed_focus = KEN_newbureaucratictalent
				}
				every_state = {
					limit = { has_state_flag = MAF_claim }
					ROOT = {
						add_state_core = PREV
					}
				}
				set_cosmetic_tag = COG_NEW_MAF
			}
			if = {
				limit = {
				OR = {
					has_completed_focus = KEN_expandlegislativecouncil
					has_completed_focus = KEN_vigilance_coup
					}
				}
				every_state = {
					limit = { has_state_flag = MAF_claim }
					ROOT = {
						add_state_core = PREV
					}
				}
				set_cosmetic_tag = GBR_MITTEL
			}
		}
	}
}

KEN_maumau_actions = {
	KEN_maumau_1 = {
		icon = border_war
		available = {
			has_idea = KEN_Maumau2
			NOT = { 
				has_country_flag = KEN_is_dealing_with_maumau 
			}
		}
		visible = {
			has_idea = KEN_Maumau2
		}
		cost = 0
		modifier = {
			MONTHLY_POPULATION = -0.05
			authoritarian_democrat_drift = 0.05
			stability_weekly = 0.005
			political_power_cost = 0.1
			industrial_capacity_factory = -0.05
			industrial_capacity_dockyard = -0.05
		}
		complete_effect = {
			set_country_flag = KEN_is_dealing_with_maumau
		}
		remove_effect = {
			add_stability = 0.025
			clr_country_flag = KEN_is_dealing_with_maumau
		}
		days_remove = 30
		days_re_enable = 45
		
		ai_will_do = {
			factor = 60
		}
	}

	KEN_maumau_2 = {
		icon = border_war
		available = {
			has_idea = KEN_Maumau2
			NOT = { 
				has_country_flag = KEN_is_dealing_with_maumau 
			}
		}
		visible = {
			has_idea = KEN_Maumau2
		}
		cost = 0
		modifier = {
			MONTHLY_POPULATION = -0.05
			political_power_cost = 0.05
			consumer_goods_factor = 0.05
			social_conservative_drift = 0.05
		}
		complete_effect = {
			set_country_flag = KEN_is_dealing_with_maumau
		}
		remove_effect = {
			add_stability = 0.025
			clr_country_flag = KEN_is_dealing_with_maumau
		}
		days_remove = 30
		days_re_enable = 45
		
		ai_will_do = {
			factor = 60
		}
	}

	KEN_maumau_3 = {
		icon = border_war
		available = {
			has_idea = KEN_Maumau2
			NOT = { 
				has_country_flag = KEN_is_dealing_with_maumau 
			}
		}
		visible = {
			has_idea = KEN_Maumau2
		}
		cost = 0
		modifier = {
			MONTHLY_POPULATION = -0.05
			market_liberal_drift = 0.05
			civilian_factory_use = 5
		}
		complete_effect = {
			set_country_flag = KEN_is_dealing_with_maumau
		}
		remove_effect = {
			add_stability = 0.025
			clr_country_flag = KEN_is_dealing_with_maumau
		}
		days_remove = 30
		days_re_enable = 45
		
		ai_will_do = {
			factor = 60
		}
	}

	KEN_maumau_4 = {
		icon = border_war
		available = {
			has_idea = KEN_Maumau2
			NOT = { 
				has_country_flag = KEN_is_dealing_with_maumau 
			}
		}
		visible = {
			has_idea = KEN_Maumau2
		}
		cost = 0
		fire_only_once = no
		modifier = {
			MONTHLY_POPULATION = -0.05
			industrial_capacity_factory = -0.05
			industrial_capacity_dockyard = -0.05
			social_democrat_drift = 0.05
		}
		complete_effect = {
			set_country_flag = KEN_is_dealing_with_maumau
		}
		remove_effect = {
			add_stability = 0.025
			clr_country_flag = KEN_is_dealing_with_maumau
		}
		days_remove = 30
		days_re_enable = 45
		
		ai_will_do = {
			factor = 60
		}
	}

	KEN_maumau_5 = {
		icon = border_war
		available = {
			has_idea = KEN_Maumau2
			NOT = { 
				has_country_flag = KEN_is_dealing_with_maumau 
			}
		}
		visible = {
			has_idea = KEN_Maumau2
		}
		cost = 0
		modifier = {
			MONTHLY_POPULATION = -0.05
			national_populist_drift = 0.05
		}
		targeted_modifier = { 
			tag = KIK 
			weekly_manpower = -500 
		}
		complete_effect = {
			set_country_flag = KEN_is_dealing_with_maumau
		}
		remove_effect = {
			add_stability = 0.025
			clr_country_flag = KEN_is_dealing_with_maumau
		}
		days_remove = 30
		days_re_enable = 45
		
		ai_will_do = {
			factor = 60
		}
	}
}