###########################
# Mittelafrika Decisions
###########################

MAF_debt_actions = {

MAF_sell_crops = {
	icon = border_war
	available = {
		has_idea = MAF_Debt
		NOT = { 
			has_country_flag = MAF_is_dealing_with_debt 
		}
	}
	visible = {
		has_idea = MAF_Debt
		has_government = authoritarian_democrat	
	}
	cost = 0
	modifier = {
		min_export = -0.10
		authoritarian_democrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_is_dealing_with_debt
	}
	remove_effect = {
		add_political_power = 50
		clr_country_flag = MAF_is_dealing_with_debt
		add_timed_idea = {
			idea = MAF_disgruntled_farmers
			days = 30
		}
	}	
	days_remove = 45
	days_re_enable = 30
  
	ai_will_do = {
		factor = 100
	}
}

MAF_layoffs = {
	icon = generic_political_discourse
	available = {
		has_idea = MAF_Debt
		NOT = { 
			has_country_flag = MAF_is_dealing_with_debt 
		}
	}
	visible = {
		has_idea = MAF_Debt
		has_government = authoritarian_democrat
	}
	cost = 0
	modifier = {
		conscription_factor = 0.10
		authoritarian_democrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_is_dealing_with_debt
	}
	remove_effect = {
		add_timed_idea = {
			idea = MAF_power_vacuum
			days = 30
		}
		add_political_power = 60
		add_manpower = -2000
		clr_country_flag = MAF_is_dealing_with_debt
	}
	days_remove = 60
	days_re_enable = 30
  
	ai_will_do = {
		factor = 100
	}
}

MAF_export_weapons = {
	icon = generic_industry
	available = {
		has_idea = MAF_Debt
		NOT = { 
			has_country_flag = MAF_is_dealing_with_debt 
		}
	}
	visible = {
		has_idea = MAF_Debt
		has_government = authoritarian_democrat
	}
	cost = 0
	custom_cost_trigger = {
		has_equipment = { infantry_equipment > 1999 }
	}
	custom_cost_text = 2000_infantry_equipment_1
	complete_effect = {
		set_country_flag = MAF_is_dealing_with_debt
	}
	remove_effect = {
		add_timed_idea = {
			idea = MAF_profiteering
			days = 70
		}
		send_equipment = {
			target = GER
			type = infantry_equipment
			amount = 2000
		}
		add_political_power = 70
	}
	days_remove = 5
	days_re_enable = 70
	
	ai_will_do = {
		factor = 100
	}
}

MAF_press_natives = {
	icon = generic_ignite_civil_war
	available = {
		has_idea = MAF_Debt
		NOT = { 
			has_country_flag = MAF_is_dealing_with_debt 
		}
	}
	visible = {
		has_idea = MAF_Debt
		has_government = authoritarian_democrat
	}
	cost = 0
	modifier = {
		stability_factor = 0.10
		authoritarian_democrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_is_dealing_with_debt
	}
	remove_effect = {
		add_timed_idea = {
			idea = MAF_disgruntled_natives
			days = 60
		}
		add_political_power = 80
		clr_country_flag = MAF_is_dealing_with_debt
	}
	days_remove = 75
	days_re_enable = 60
	
	ai_will_do = {
		factor = 100
	}
}

MAF_sell_plantations = {
	icon = generic_scorched_earth
	available = {
		has_idea = MAF_Debt
		NOT = { 
			has_country_flag = MAF_is_dealing_with_debt 
		}
	}
	visible = {
		has_idea = MAF_Debt
		has_government = authoritarian_democrat
	}
	cost = 0
	modifier = {
		consumer_goods_factor = -0.10
		authoritarian_democrat_drift = -0.01
	}
	complete_effect = {
		set_country_flag = MAF_is_dealing_with_debt
	}
	remove_effect = {
		add_timed_idea = {
			idea = MAF_corporate_blues
			days = 50
		}
		add_political_power = 60
		clr_country_flag = MAF_is_dealing_with_debt
	}
	days_remove = 100
	days_re_enable = 50
	
	ai_will_do = {
		factor = 100
		}
	}
}

MAF_crime_actions = {
	MAF_grow_opium = {
	icon = generic_research
	available = {
		has_country_flag = MAF_can_do_crime
		NOT = { 
			has_country_flag = MAF_is_doing_crime 
		}
	}
	visible = {
		has_country_flag = MAF_can_do_crime
	}
	cost = 0
	modifier = {
		stability_factor = -0.15
		authoritarian_democrat_drift = -0.01
	}
	
	complete_effect = {
		set_country_flag = MAF_is_doing_crime
	}
	remove_effect = {
		clr_country_flag = MAF_is_doing_crime
			add_political_power = 125
			add_timed_idea = {
			idea = MAF_Opium_Epidemic
			days = 365
		}
	}
	days_remove = 75
	
	ai_will_do = {
		factor = 100
	}
}

MAF_human_trafficking = {
	icon = generic_independence
	available = {
		has_country_flag = MAF_can_do_crime
		NOT = { 
			has_country_flag = MAF_is_doing_crime 
		}
	}
	visible = {
		has_country_flag = MAF_can_do_crime
	}
	cost = 0
	modifier = {
		conscription_factor = 0.20
	}
	
	complete_effect = {
		set_country_flag = MAF_is_doing_crime
	}
	remove_effect = {
		clr_country_flag = MAF_is_doing_crime
		add_political_power = 100
		add_manpower = -40000
		add_timed_idea = {
			idea = MAF_Human_Trafficking
			days = 365
		}
	}
	days_remove = 100
	
	ai_will_do = {
		factor = 100
	}
}

MAF_blood_diamonds = {
	icon = tungsten
	available = {
		has_country_flag = MAF_can_do_crime
		NOT = { 
			has_country_flag = MAF_is_doing_crime 
		}
	}
	visible = {
		has_country_flag = MAF_can_do_crime
	}
	cost = 0
	modifier = {
		min_export = 0.20
		local_resources_factor = 0.20
	}
	
	complete_effect = {
		set_country_flag = MAF_is_doing_crime
	}
	remove_effect = {
		clr_country_flag = MAF_is_doing_crime
		add_political_power = 200
		add_timed_idea = {
			idea = MAF_Hands_Cutting
			days = 365
		}
	}
	days_remove = 150
	
	ai_will_do = {
		factor = 100
	}
}

MAF_embezzle_funds = {
	icon = generic_break_treaty
	available = {
		has_country_flag = MAF_can_do_crime
		NOT = { 
			has_country_flag = MAF_is_doing_crime 
		}
	}
	visible = {
		has_country_flag = MAF_can_do_crime
	}
	cost = 0
	modifier = {
		political_power_factor = 0.25
	}
	
	complete_effect = {
		set_country_flag = MAF_is_doing_crime
	}
	remove_effect = {
		clr_country_flag = MAF_is_doing_crime
		add_political_power = 200
		add_ideas = MAF_Missing_Funds
	}
	days_remove = 200
	
	ai_will_do = {
		factor = 100
	}
}

MAF_MEFO_bills = {
	icon = GFX_decision_ger_mefo_bills
	available = {
		has_country_flag = MAF_can_do_crime
		NOT = { 
			has_country_flag = MAF_is_doing_crime 
		}
	}
	visible = {
		has_country_flag = MAF_can_do_crime
	}
	cost = 0
	modifier = {
		consumer_goods_factor = -0.25
	}
	
	complete_effect = {
		set_country_flag = MAF_is_doing_crime
	}
	remove_effect = {
		add_political_power = 100
		add_ideas = MAF_MEFO
		clr_country_flag = MAF_is_doing_crime
	}
	days_remove = 100
	
	ai_will_do = {
		factor = 100
		}
	}
}

MAF_NKR_actions = {
	MAF_mining_campaigns = {
	icon = eng_blackshirt_march
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_fouryearplan
	}
	cost = 0
	modifier = {
		local_resources_factor = 0.10
		MONTHLY_POPULATION = -0.10
		stability_factor = -0.05
		paternal_autocrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 75
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 50
	days_re_enable = 30
	
	ai_will_do = {
		factor = 60
	}
}

maf_skull_roads = {
	icon = construction
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_fouryearplan
	}
	cost = 0
	modifier = {
		production_speed_infrastructure_factor = 0.10
		MONTHLY_POPULATION = -0.10
		stability_factor = -0.05
		paternal_autocrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 100
		random_owned_state = {
			limit = { 
				is_core_of = MAF 
				is_controlled_by = ROOT
			}
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		random_owned_state = {
			limit = { 
				is_core_of = MAF 
				is_controlled_by = ROOT
			}
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 100
	days_re_enable = 30
	
	ai_will_do = {
		factor = 60
	}
}

MAF_logging_campaigns = {
	icon = eng_propaganda_campaigns
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_fouryearplan
	}
	cost = 0
	modifier = {
		attrition = -0.10
		MONTHLY_POPULATION = -0.10
		stability_factor = -0.05
		paternal_autocrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 100
		random_owned_state = {
			limit = { 
				is_core_of = MAF 
				is_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 120
	days_re_enable = 30
	
	ai_will_do = {
		factor = 60
	}
}

MAF_kaiser_factories = {
	icon = eng_install_government
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_fouryearplan
	}
	cost = 0
	modifier = {
		production_factory_max_efficiency_factor = 0.10
		MONTHLY_POPULATION = -0.10
		stability_factor = -0.05
		paternal_autocrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 50
		random_owned_state = {
			limit = { 
				is_core_of = MAF 
				is_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 120
	days_re_enable = 30
	
	ai_will_do = {
		factor = 60
	}
}

MAF_settlement_cities = {
	icon = eng_blackshirt_speech
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_fouryearplan
	}
	cost = 0
	fire_only_once = no
	modifier = {
		weekly_manpower = 1000
		MONTHLY_POPULATION = 0.15
		stability_factor = -0.10
		political_power_factor = -0.05
		paternal_autocrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 70
		random_owned_state = {
			limit = { 
				is_core_of = MAF 
				is_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
			add_manpower = 20000
		}
		random_owned_state = {
			limit = { 
				is_core_of = MAF 
				is_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
			add_manpower = 20000
		}
		random_owned_state = {
			limit = { 
				is_core_of = MAF 
				is_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
			add_manpower = 20000
		}
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 60
	days_re_enable = 30
	
	ai_will_do = {
		factor = 60
		}
	}
}

MAF_Settler_actions = {
	MAF_the_french = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = authoritarian_democrat
			has_government = social_conservative
			has_government = market_liberal
			has_government = social_liberal
			has_government = social_democrat
		}
	}
	cost = 50
	
	modifier = {
		market_liberal_drift = -0.05
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.1
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
	
	ai_will_do = {
		factor = 80
	}
}

MAF_the_belgians = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = authoritarian_democrat
			has_government = social_conservative
			has_government = market_liberal
			has_government = social_liberal
			has_government = social_democrat
		}
	}
	cost = 50
	
	modifier = {
		social_liberal_drift = -0.05
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.2
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
	
	ai_will_do = {
		factor = 80
	}
}

MAF_the_british = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = authoritarian_democrat
			has_government = social_conservative
			has_government = market_liberal
			has_government = social_liberal
			has_government = social_democrat
		}
	}
	cost = 50
	
	modifier = {
		social_conservative_drift = -0.05
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.3
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
		
	ai_will_do = {
		factor = 80
	}
}

MAF_the_mercs = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = authoritarian_democrat
			has_government = social_conservative
			has_government = market_liberal
			has_government = social_liberal
			has_government = social_democrat
		}
	}
	cost = 50
	
	modifier = {
		weekly_manpower = -500
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.12
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
		
	ai_will_do = {
		factor = 80
		}
	}
}

MAF_NKRSettler_actions = {
	MAF_the_frenchNKR = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = paternal_autocrat
			has_government = national_populist
		}		
	}
	cost = 50
	
	modifier = {
		market_liberal_drift = -0.05
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.8
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
		
	ai_will_do = {
		factor = 80
	}
}

MAF_the_belgiansNKR = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = paternal_autocrat
			has_government = national_populist
		}		
	}
	cost = 50
	
	modifier = {
		social_liberal_drift = -0.05
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.9
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
		
	ai_will_do = {
		factor = 80
	}
}

MAF_the_britishNKR = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = paternal_autocrat
			has_government = national_populist
		}		
	}
	cost = 50
	
	modifier = {
		social_conservative_drift = -0.05
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.10
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
		
	ai_will_do = {
		factor = 80
	}
}

MAF_the_mercsNKR = {
	icon = eng_blackshirt_speech
	available = {
		NOT = {
			has_country_flag = MAF_settler_action
		}
	}
	visible = {
		has_completed_focus = MAF_theschutzgebietebeckon
		OR = {
			has_government = paternal_autocrat
			has_government = national_populist
		}		
	}
	cost = 50
	
	modifier = {
		weekly_manpower = -500
	}
	complete_effect = {
		set_country_flag = MAF_settler_action
	}
	remove_effect = {
		MAF = {
			country_event = mafsettlers.11
		}
		clr_country_flag = MAF_settler_action
	}
	days_remove = 75
		
	ai_will_do = {
		factor = 80
		}
	}
}

MAF_RFG_actions = {
	MAF_fight_NKR = {
	icon = eng_blackshirt_speech
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_thereformgruppedivide
	}
	cost = 0
	modifier = {
		paternal_autocrat_drift = -0.01
		social_conservative_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 75
		add_stability = 0.05
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 75
	days_re_enable = 25
	
	ai_will_do = {
		factor = 80
	}
}

MAF_encourage_investment = {
	icon = eng_blackshirt_speech
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_thereformgruppedivide
	}
	cost = 0
	modifier = {
		min_export = 0.05
		market_liberal_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 50
		add_stability = 0.025
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 30
	days_re_enable = 20
		
	ai_will_do = {
		factor = 80
	}
}

MAF_catholic_missions = {
	icon = eng_blackshirt_speech
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_thereformgruppedivide
	}
	cost = 0
	modifier = {
		consumer_goods_factor = -0.05
		social_liberal_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 75
		add_stability = 0.025
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 50
	days_re_enable = 25
		
	ai_will_do = {
		factor = 80
	}	
}

MAF_worker_conditions = {
	icon = eng_blackshirt_speech
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_thereformgruppedivide
	}
	cost = 0
	modifier = {
		production_factory_max_efficiency_factor = 0.05
		social_democrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 50
		add_stability = 0.025
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 30
	days_re_enable = 20
		
	ai_will_do = {
		factor = 80
	}
}

MAF_do_journalism = {
	icon = eng_blackshirt_speech
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_thereformgruppedivide
	}
	cost = 0
	modifier = {
		trade_opinion_factor = 0.10
		social_liberal_drift = 0.01
		social_democrat_drift = 0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 30
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 25
	days_re_enable = 5
		
	ai_will_do = {
		factor = 80
	}
}

MAF_convince_DKG = {
	icon = eng_blackshirt_speech
	available = {
		NOT = { 
			has_country_flag = MAF_four_year_plan_action 
		}
	}
	visible = {
		has_completed_focus = MAF_thereformgruppedivide
	}
	cost = 0
	modifier = {
		social_conservative_drift = 0.01
		authoritarian_democrat_drift = -0.01
	}
	complete_effect = {
		set_country_flag = MAF_four_year_plan_action
	}
	remove_effect = {
		add_political_power = 100
		clr_country_flag = MAF_four_year_plan_action
	}
	days_remove = 75
	days_re_enable = 25
		
	ai_will_do = {
		factor = 80
		}
	}
}
MAF_collapse_actions = {
	pay_debts_ai = {
		icon = GFX_decision_eng_trade_unions_support
		allowed = {
			tag = MAF
		}
		visible = {
			AND = {
				tag = MAF
				MAF = {
					is_ai = yes
				}
			}
		}
		available = {
			has_idea = MAF_debt
			date > 1937.1.1	
		}
		fire_only_once = yes
		
		days_remove = 5

		#days_re_enable = 720

		cost = 5
		ai_will_do = {
			base = 100
			modifier = {
				add = 100
				has_idea = MAF_debt
			}
		}
		modifier = {
			
		}

		complete_effect = {	
		}

		remove_effect = {
			country_event = mafdebt.2
			increase_ruling_party_popularity_by_3 = yes
		}

	}
MAF_deal_with_divide_DKG_RFG = {
		icon = border_war
		available = {
			date > 1938.1.1
			has_completed_focus = MAF_Military_Reforms
		}
		allowed = {
			tag = MAF
		}
		ai_will_do = {
			factor = 500
		}
		visible = {
			NOT = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		cost = 20
		modifier = {
			min_export = -0.10
			authoritarian_democrat_drift = 0.01
		}
		remove_effect = {
			swap_ideas = {
				remove_idea = MAF_old_new_guard_divide
				add_idea = MAF_old_new_guard_divide2
			}
			effect_tooltip = {
				random_unit_leader = {
					limit = { has_id = 87943 }			
					remove_unit_leader = yes
				}
				random_unit_leader = {
					limit = { has_id = 87944 }			
					remove_unit_leader = yes
				}
				random_unit_leader = {
					limit = { has_id = 87945 }			
					remove_unit_leader = yes
				}
				random_unit_leader = {
					limit = { has_id = 87946 }			
					remove_unit_leader = yes
				}
			}
			custom_effect_tooltip = MAF_remove_new_guard_tt
			hidden_effect = {
				every_unit_leader = {
					limit = { has_unit_leader_flag = TZN_leader_flag }
					set_nationality = TZN
				}
			}
		}	
		days_remove = 45
	}
	
	MAF_deal_with_divide_DKG_RFG_2 = {
		icon = border_war
		available = {
			date > 1938.1.1
			has_completed_focus = MAF_Military_Reforms
		}
		allowed = {
			tag = MAF
		}
		ai_will_do = {
			factor = 500
		}
		visible = {
			NOT = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
			has_idea = MAF_old_new_guard_divide2
		}
		cost = 20
		modifier = {
			min_export = -0.10
			authoritarian_democrat_drift = 0.01
		}
		remove_effect = {
			remove_ideas = MAF_old_new_guard_divide2
		}	
		days_remove = 45
	}
	
	MAF_deal_with_divide_NKR = {
		icon = border_war
		available = {
			date > 1938.1.1
			has_completed_focus = MAF_Military_Reforms
		}
		allowed = {
			tag = MAF
		}
		ai_will_do = {
			factor = 500
		}
		visible = {
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		cost = 20
		modifier = {
			min_export = -0.10
			authoritarian_democrat_drift = 0.01
		}
		remove_effect = {
			swap_ideas = {
				remove_idea = MAF_old_new_guard_divide
				add_idea = MAF_old_new_guard_divide2_goering
			}
		}	
		days_remove = 45
	}
	
	MAF_deal_with_divide_NKR_2 = {
		icon = border_war
		available = {
			date > 1938.1.1
			has_completed_focus = MAF_Military_Reforms
		}		
		allowed = {
			tag = MAF
		}
		ai_will_do = {
			factor = 500
		}
		visible = {
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
			has_idea = MAF_old_new_guard_divide2
		}
		cost = 20
		modifier = {
			min_export = -0.10
			authoritarian_democrat_drift = 0.01
		}
		remove_effect = {
			swap_ideas = {
				remove_idea = MAF_old_new_guard_divide2_goering
				add_idea = MAF_new_army
			}
			effect_tooltip = {
				every_unit_leader = {
					limit = { has_unit_leader_flag = NMB_leader_flag }
					retire = yes
				}
			}
			custom_effect_tooltip = MAF_remove_old_guard_tt
			hidden_effect = {
				MAF = {
					every_unit_leader = {
						limit = { has_unit_leader_flag = NMB_leader_flag }
						set_nationality = NMB
					}
				}
			}
			if = {
				limit = {
					COG = {
						NOT = {
							has_government = paternal_autocrat
						}
					}
				}
				create_corps_commander = { 
					name = "Hermann Fegelein"
					portrait_path = "gfx/leaders/COG/Portrait_COG_Hermann_Fegelein.png"
					traits = {
						politically_connected	
					}
					skill = 1
					attack_skill = 1
					defense_skill = 0
					planning_skill = 1
					logistics_skill = 0
					id = 79992
				}
				create_corps_commander = { 
					name = "Wilhelm Mohnke"
					portrait_path = "gfx/leaders/COG/Portrait_COG_Wilhelm_Mohnke.png"
					traits = {
						politically_connected	
						harsh_leader
					}
					skill = 1
					attack_skill = 1
					defense_skill = 0
					planning_skill = 1
					logistics_skill = 0
					id = 79993
				}
				
				random_unit_leader = {
					limit = { has_id = 79993 }
					set_unit_leader_flag = TZN_leader_flag
				}
				
				random_unit_leader = {
					limit = { has_id = 79992 }
					set_unit_leader_flag = TZN_leader_flag
				}
			}
			MAG = {
				every_unit_leader = {
					limit = {
						has_id = 69421
					}
					set_nationality = MAF
				}
			}
			MAG = {
				every_unit_leader = {
					limit = {
						has_id = 69422
					}
					set_nationality = MAF
				}
			}
			MAF = {
				random_unit_leader = {
					limit = { has_id = 69421 }
					set_unit_leader_flag = TZN_leader_flag
				}
				random_unit_leader = {
					limit = { has_id = 69422 }
					set_unit_leader_flag = TZN_leader_flag
				}
			}
		}	
		days_remove = 45
	}
	budget_1937 = {
		icon = GFX_decision_generic_fundraising
		allowed = {
			tag = MAF
		}
		available = {
			date > 1936.12.1
			has_idea = MAF_Black_Monday_MoreImproved		
		}
		fire_only_once = yes
		
		days_remove = 7

		#days_re_enable = 720

		cost = 10
		ai_will_do = {
			factor = 500
		}
		modifier = {
			stability_factor = -0.05
		}

		remove_effect = {
			country_event = mittel.176
			add_political_power = 20
		}

	}
	
	budget_1938 = {
		icon = GFX_decision_generic_fundraising
		allowed = {
			tag = MAF
		}
		available = {
			date > 1937.12.1
		}
		fire_only_once = yes
		
		days_remove = 7

		#days_re_enable = 720

		cost = 20
		ai_will_do = {
			factor = 500
		}
		modifier = {
			stability_factor = -0.05
		}

		remove_effect = {
			country_event = mittel.178
			add_stability = 0.02
		}

	}
	
	budget_1939 = {
		icon = GFX_decision_generic_fundraising
		allowed = {
			tag = MAF
		}
		available = {
			date > 1938.12.1
		}
		fire_only_once = yes
		
		days_remove = 7

		#days_re_enable = 720

		cost = 40
		ai_will_do = {
			factor = 500
		}
		modifier = {
			stability_factor = -0.05
		}
		remove_effect = {
			country_event = mittel.179
			add_war_support = 0.02
		}

	}
	
	budget_1940 = {
		icon = GFX_decision_generic_fundraising
		allowed = {
			tag = MAF
		}
		available = {
			date > 1939.12.1
		}
		fire_only_once = yes
		
		days_remove = 7

		#days_re_enable = 720

		cost = 60
		ai_will_do = {
			factor = 500
		}
		modifier = {
			stability_factor = -0.05
		}

		remove_effect = {
			country_event = mittel.180
			increase_ruling_party_popularity_by_3 = yes
		}

	}
	MAF_paramount_chief_action = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_internal_protectorates_action = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Enfranchise_Africans_in_Local_Elections = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		visible = {
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Status_of_African_Citizenship = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Allow_Local_Elections = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		visible = {
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Create_Colonial_Subdivisions = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		visible = {
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_An_African_Lower_House = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		visible = {
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Establish_Economic_Parity = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		visible = {
			NOT = {
				OR = {
					has_government = paternal_autocrat
					has_government = national_populist
				}
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_segregate_cities = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		visible = {
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Create_Colonial_Subdivisions_NKR = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		visible = {
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_African_Lower_House_NKR = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		visible = {
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Economic_Consessions = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		visible = {
			OR = {
				has_government = paternal_autocrat
				has_government = national_populist
			}
		}
		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 1
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Collapse_Averted = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = {
						var = MAF_collapse_actions_taken
						value = 2
						compare = greater_than_or_equals
					}
					tooltip = MAF_can_only_take_2
				}
			}
			custom_trigger_tooltip = {
				check_variable = {
					var = MAF_collapse_var
					value = 1
					compare = less_than
				}
				tooltip = MAF_collapse_progress_0
			}
			date > 1937.2.2
		}

		cost = 30
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
		}
		remove_effect = {
			subtract_from_variable = {
				var = MAF_collapse_var
				value = 100
			}
			subtract_from_variable = {
				var = MAF_collapse_actions_taken
				value = 1
			}
			custom_effect_tooltip = MAF_avoid_collapse_tt
			set_country_flag = MAF_no_collapse
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Emergency_Actions = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_collapse_var < 10 }
					tooltip = MAF_high_collapse
				}
			}
		}
		visible = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_collapse_var < 10 }
					tooltip = MAF_high_collapse
				}
			}
		}
		cost = 0
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_political_power = -90
		}
		remove_effect = {
			subtract_from_variable = { MAF_collapse_actions_taken = 2 }
			custom_effect_tooltip = MAF_more_stuff_tt
		}
		days_remove = 4
		days_re_enable = 30

		ai_will_do = {
			factor = 80
		}
	}
}
MAF_westafrika_centralization_actions = {

	MAF_crush_socialists = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_CIV_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_CIV_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			subtract_from_variable = { MAF_CIV_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_anti_panafrican_propaganda = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_CIV_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_CIV_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			subtract_from_variable = { MAF_CIV_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_crush_monarchists = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_CIV_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_CIV_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			subtract_from_variable = { MAF_CIV_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_deal_with_the_duke = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_CIV_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_CIV_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			subtract_from_variable = { MAF_CIV_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_olympio_or_northerners = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_CIV_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_CIV_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			subtract_from_variable = { MAF_CIV_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
			country_event = {
				id = mafinternal.1
				days = 2
			}
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_balance_regime = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_CIV_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_CIV_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			subtract_from_variable = { MAF_CIV_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
			country_event = {
				id = mafinternal.2
				days = 2
			}
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_annex_westafrika = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_westafrika_centralized_var < 20 }
					tooltip = MAF_can_annex_civ
				}
			}
		}
		visible = {
			is_ai = no
			NOT = {
				has_government = national_populist
			}
		}
		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		remove_effect = {
			CIV = {
				every_unit_leader = { set_nationality = MAF }
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			if = {
				limit = {
					GHA = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = GHA
				}
				GHA = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					IVO = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = IVO
				}
				IVO = { every_unit_leader = { set_nationality = MAF } }
			}
			annex_country = {
				target = CIV
				transfer_troops = yes
			}
			add_to_variable = { MAF_collapse_var = 2 }
			custom_effect_tooltip = MAF_increase_collapse_2_tt
			set_country_flag = MAF_CIV_annexed
		}
		days_remove = 15
		ai_will_do = {
			factor = 80
		}
	}
}

MAF_madagascar_centralization_actions = {

	MAF_deal_with_settlers = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_MAG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_MAG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			subtract_from_variable = { MAF_MAG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			country_event = {
				id = mafinternal.3
			}
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_deal_with_malagasy = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_MAG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_MAG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			subtract_from_variable = { MAF_MAG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			country_event = {
				id = mafinternal.4
			}
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_crush_socialists_mag = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_MAG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_MAG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			subtract_from_variable = { MAF_MAG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_reign_in_heydrich = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_MAG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}
		visible = {
			MAG = {
				has_country_leader = {
					name = "Reinhard Heydrich"
				}
			}
		}
		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_MAG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			subtract_from_variable = { MAF_MAG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			MAG = {
				add_political_power = -100
			}
			add_political_power = -100
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_cover_up_epic_gamer_moments = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_MAG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}
		visible = {
			MAG = {
				has_country_leader = {
					name = "Reinhard Heydrich"
				}
			}
		}
		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_MAG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			subtract_from_variable = { MAF_MAG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			MAG = {
				add_stability = -0.02
			}
			add_stability = -0.02
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_annex_madagascar = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_madagascar_centralized_var < 20 }
					tooltip = MAF_can_annex_mag
				}
			}
		}
		visible = {
			is_ai = no
			NOT = {
				has_government = national_populist
			}
		}
		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		remove_effect = {
			MAG = {
				every_unit_leader = { set_nationality = MAF }
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			annex_country = {
				target = MAG
				transfer_troops = yes
			}
			add_to_variable = { MAF_collapse_var = 2 }
			custom_effect_tooltip = MAF_increase_collapse_2_tt
			set_country_flag = MAF_MAG_annexed
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
}

MAF_kenya_uganda_centralization_actions = {

	MAF_deal_with_buganda = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
			country_event = {
				id = mafinternal.5
			}
		}
		days_remove = 25
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_quash_ugandan_militarism = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_appease_anglos = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_solve_Pastoralists_Agriculturalists_issue = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
		days_remove = 25
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Solve_the_White_Highlands_Issue = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
		days_remove = 25
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_find_solutions_to_ethnic_tensions = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_deal_with_maumau = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
			KEN = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 300
					producer = MAF
				}
			}
			UGA = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = 300
					producer = MAF
				}
			}
			MAF = {
				add_equipment_to_stockpile = {
					type = infantry_equipment_1
					amount = -600
					producer = MAF
				}
			}
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_reign_in_leakeys = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Expand_German_Settlement_KEN = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_KEN_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_KEN_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			subtract_from_variable = { MAF_KEN_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_revoke_protectorate_status_ken = {
		icon = generic_belgian_colonial_helmet
		available = {
			custom_trigger_tooltip = {
				check_variable = { MAF_kenya_uganda_centralized_var > 10 }
				tooltip = MAF_can_revoke_status
			}
		}
		visible = {
			NOT = {
				has_government = national_populist
			}
		}
		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		remove_effect = {
			UGA = {
				set_country_flag = MAF_its_just_been_revoked
			}
			UGA = { get_current_government_type = yes }
			MAF = {
				set_autonomy = {
					target = UGA
					autonomous_state = kx_brit_mil_protectorate
				}
			}
			UGA = {
				restore_previous_government_type = yes
			}
			UGA = {
				set_country_flag = MAF_its_just_been_revoked
			}
			UGA = { get_current_government_type = yes }
			MAF = {
				set_autonomy = {
					target = UGA
					autonomous_state = kx_brit_mil_protectorate
				}
			}
			UGA = {
				restore_previous_government_type = yes
			}
		}
		days_remove = 25
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_annex_kenya_uganda = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_kenya_uganda_centralized_var < 20 }
					tooltip = MAF_can_annex_ken
				}
			}
			UGA = {
				has_country_flag = MAF_its_just_been_revoked
			}
		}
		visible = {
			is_ai = no
			NOT = {
				has_government = national_populist
			}
		}
		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		remove_effect = {
			UGA = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			if = {
				limit = {
					UGA = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = UGA
				}
				UGA = { every_unit_leader = { set_nationality = MAF } }
			}
			add_to_variable = { MAF_collapse_var = 2 }
			custom_effect_tooltip = MAF_increase_collapse_2_tt
			set_country_flag = MAF_KEN_annexed
			KEN = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			if = {
				limit = {
					UGA = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = KEN
				}
				KEN = { every_unit_leader = { set_nationality = MAF } }
			}
			add_to_variable = { MAF_collapse_var = 2 }
			custom_effect_tooltip = MAF_increase_collapse_2_tt
		}
		days_remove = 25
		

		ai_will_do = {
			factor = 80
		}
	}
}

MAF_nigeria_centralization_actions = {

	MAF_Dealing_with_Muslims_in_Hausaland = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_NGR_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_NGR_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			subtract_from_variable = { MAF_NGR_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Dealing_with_Anglos = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_NGR_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_NGR_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			subtract_from_variable = { MAF_NGR_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Dealing_with_Zik = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_NGR_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_NGR_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			subtract_from_variable = { MAF_NGR_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}

	MAF_Spread_Regionalism = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_NGR_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_NGR_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			subtract_from_variable = { MAF_NGR_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_education_reform = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_NGR_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_NGR_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			subtract_from_variable = { MAF_NGR_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_slowly_replace_anglo_governors = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_NGR_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_NGR_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			subtract_from_variable = { MAF_NGR_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_Expand_German_Settlement_NGR = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_NGR_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		complete_effect = {
			add_to_variable = { MAF_NGR_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			subtract_from_variable = { MAF_NGR_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
		}
		days_remove = 25
		days_re_enable = 35

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_revoke_protectorate_status_ngr = {
		icon = generic_belgian_colonial_helmet
		available = {
			custom_trigger_tooltip = {
				check_variable = { MAF_nigeria_centralized_var > 10 }
				tooltip = MAF_can_revoke_status
				
			}
		}
		visible = {
			NOT = {
				has_government = national_populist
			}
		}
		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		remove_effect = {
			NGR = {
				set_country_flag = MAF_its_just_been_revoked
			}
			NGR = { get_current_government_type = yes }
			MAF = {
				set_autonomy = {
					target = NGR
					autonomous_state = kx_brit_mil_protectorate
				}
			}
			NGR = {
				restore_previous_government_type = yes
			}
		}
		days_remove = 25
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_annex_nigeria = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_nigeria_centralized_var < 20 }
					tooltip = MAF_can_annex_ken
				}
			}
			NGR = {
				has_country_flag = MAF_its_just_been_revoked
			}
		}
		visible = {
			is_ai = no
			NOT = {
				has_government = national_populist
			}
		}
		cost = 60
		modifier = {
			political_power_gain = -0.04
			stability_factor = -0.04
		}
		remove_effect = {
			NGR = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			if = {
				limit = {
					NGR = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = NGR
				}
				NGR = { every_unit_leader = { set_nationality = MAF } }
			}
			add_to_variable = { MAF_collapse_var = 2 }
			custom_effect_tooltip = MAF_increase_collapse_2_tt
			set_country_flag = MAF_NGR_annexed
		}
		days_remove = 25
		

		ai_will_do = {
			factor = 80
		}
	}
}

MAF_congo_centralization_actions = {

	MAF_fate_of_belgians = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_COG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_COG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_congo_centralized_var = 1 }
			subtract_from_variable = { MAF_COG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
			country_event = {
				id = mafinternal.6
			}
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_deal_with_evoles = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_COG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_COG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_congo_centralized_var = 1 }
			subtract_from_variable = { MAF_COG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
			country_event = {
				id = mafinternal.7
			}
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_crush_nationalists = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_COG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_COG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_congo_centralized_var = 1 }
			subtract_from_variable = { MAF_COG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_crush_frogs = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_COG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_COG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_congo_centralized_var = 1 }
			subtract_from_variable = { MAF_COG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_german_settlers = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_COG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_COG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_congo_centralized_var = 1 }
			subtract_from_variable = { MAF_COG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_influence_the_umhk = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_COG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_COG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_congo_centralized_var = 1 }
			subtract_from_variable = { MAF_COG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_spread_regionslism_crush_panafricanism = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_COG_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_COG_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_congo_centralized_var = 1 }
			subtract_from_variable = { MAF_COG_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_annex_congo = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_congo_centralized_var < 20 }
					tooltip = MAF_can_annex_cog
				}
			}
		}
		visible = {
			is_ai = no
			NOT = {
				has_government = national_populist
			}
		}
		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		remove_effect = {
			COG = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			KTG = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			KOG = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			CMR = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			CEA = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			if = {
				limit = {
					COG = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = COG
				}
				COG = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					KTG = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = KTG
				}
				KTG = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					KOG = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = KOG
				}
				KOG = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					CMR = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = CMR
				}
				CMR = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					CEA = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = CEA
				}
				CEA = { every_unit_leader = { set_nationality = MAF } }
			}
			add_to_variable = { MAF_collapse_var = 2 }
			custom_effect_tooltip = MAF_increase_collapse_2_tt
			set_country_flag = MAF_COG_annexed
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
}

MAF_nordrhodesia_actions = {

	MAF_crush_malawi_tribes = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_ZAM_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_ZAM_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			subtract_from_variable = { MAF_ZAM_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_crush_anglo_rebels = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_ZAM_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_ZAM_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			subtract_from_variable = { MAF_ZAM_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_expand_zambezi_ports = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_ZAM_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_ZAM_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			subtract_from_variable = { MAF_ZAM_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_fortify_north_rhodesia = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_ZAM_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_ZAM_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			subtract_from_variable = { MAF_ZAM_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_strenghthen_german_rule = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_ZAM_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_ZAM_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			subtract_from_variable = { MAF_ZAM_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_replace_anglos = {
		icon = generic_belgian_colonial_helmet
		available = {
			NOT = {
				custom_trigger_tooltip = {
					check_variable = { MAF_ZAM_actions_taken > 2 }
					tooltip = MAF_can_only_take_2
				}
			}
		}

		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		complete_effect = {
			add_to_variable = { MAF_ZAM_actions_taken = 1 }
		}
		remove_effect = {
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			subtract_from_variable = { MAF_ZAM_actions_taken = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
		}
		days_remove = 15
		days_re_enable = 25

		ai_will_do = {
			factor = 80
		}
	}
	
	MAF_annex_nordrhodesia = {
		icon = generic_belgian_colonial_helmet
		available = {
			custom_trigger_tooltip = {
				check_variable = { MAF_nordrhodesia_centralized_var > 20 }
				tooltip = MAF_can_annex_zam
			}
		}
		visible = {
			is_ai = no
			NOT = {
				has_government = national_populist
			}
		}
		cost = 25
		modifier = {
			political_power_gain = -0.02
			stability_factor = -0.02
		}
		remove_effect = {
			NMB = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			ZAM = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			BSC = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			BRT = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			MLW = {
				every_owned_state = {
					MAF = { add_state_core = PREV }
				}
			}
			if = {
				limit = {
					ZAM = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = ZAM
				}
				ZAM = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					BSC = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = BSC
				}
				BSC = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					MLW = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = MLW
				}
				MLW = { every_unit_leader = { set_nationality = MAF } }
			}
			if = {
				limit = {
					NMB = {
						is_subject_of = MAF
					}
				}
				annex_country = {
					target = NMB
				}
				NMB = { every_unit_leader = { set_nationality = MAF } }
			}
			add_to_variable = { MAF_collapse_var = 2 }
			custom_effect_tooltip = MAF_increase_collapse_2_tt
			set_country_flag = MAF_ZAM_annexed
		}
		days_remove = 15
		

		ai_will_do = {
			factor = 80
		}
	}
}

Colonial_economy_actions = {
	pay_debts = {
		icon = GFX_decision_eng_trade_unions_support
		allowed = {
			tag = MAF
		}
		visible = {
			AND = {
				tag = MAF
				MAF = {
					is_ai = no
				}
			}
		}
		available = {
			has_idea = MAF_debt
			date > 1937.1.1		
		}
		fire_only_once = yes
		
		days_remove = 5

		#days_re_enable = 720

		cost = 5
		modifier = {
			
		}



		remove_effect = {
			country_event = mafdebt.2
			increase_ruling_party_popularity_by_3 = yes
			add_political_power = 20
		}

	}
	
	hospital_work = {
		icon = GFX_decision_generic_healthcare
		
		allowed = {
			tag = MAF
		}
		fire_only_once = yes
		
		days_remove = 240

		#days_re_enable = 720

		cost = 30

		modifier = {
			
		}



		remove_effect = {
			country_event = sharedafrika.82
			hidden_effect = {
				GER = {
					country_event = sharedafrika.82
				}
			}
		}

	}
	
	investments_into_civ_factory = {
		icon = GFX_decision_generic_agriculture
		
		visible = {
			any_owned_state = {
				is_core_of = ROOT
				NOT = {
					has_state_flag = {
						flag = invested_into_industry_in_state_flag
					}	
				}
			}
		}

		days_remove = 70

		days_re_enable = 720

		cost = 60

		modifier = {
			consumer_goods_factor = 0.1
			political_power_factor = -0.1
		}

		complete_effect = {
			add_stability = -0.02
		}

		remove_effect = {
			
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					is_fully_controlled_by = ROOT
					is_owned_by = ROOT
					NOT = {
						has_state_flag = {
							flag = invested_into_industry_in_state_flag
						}	
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = invested_into_industry_in_state_flag
			}
		}

	}
	investments_into_villages = {
		icon = GFX_decision_generic_agreement

		days_remove = 50
		cost = 25
		
		days_re_enable = 720

		modifier = {
			consumer_goods_factor = 0.1
		}
		remove_effect = {
			add_timed_idea = {
				idea = AFR_DEM_Overseas_Trade
				days = 365
			}
			increase_ruling_party_popularity_by_2 = yes
		}
	}

	military_goods_imports = {
		icon = GFX_decision_factories
		days_remove = 50
		cost = 50
		days_re_enable = 720

		modifier = {
			consumer_goods_factor = 0.1
			conversion_cost_civ_to_mil_factor = -0.2
			industrial_capacity_factory = 0.1
		}

		remove_effect = {
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}
	
	naval_development = {
		icon = GFX_decision_oasis
		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		days_remove = 30
		cost = 40
		
		days_re_enable = 365

		modifier = {
			consumer_goods_factor = 0.05
			industrial_capacity_dockyard = 0.1
		}
		remove_effect = {
			add_offsite_building = { type = dockyard level = 1 }
			add_offsite_building = { type = dockyard level = 1 }
		}

	}
	
	extended_military_production = {
		icon = GFX_decision_give_cash

		days_remove = 30
		cost = 20
		
		days_re_enable = 365

		modifier = {
			military_factory_donations = 1
			industrial_capacity_factory = 0.2
			industrial_factory_donations = -1
		}

		complete_effect = {
			add_political_power = 20
		}

		remove_effect = {
			add_stability = -0.01
			add_political_power = -20
		}
	}

	upgrade_the_light_gauge_railways = {
		icon = GFX_decision_railroad
		days_remove = 120
		cost = 50
		
		days_re_enable = 365

		modifier = {
			consumer_goods_factor = 0.05
		}

		complete_effect = {
			add_war_support = -0.02
		}

		remove_effect = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	import_key_materials = {
		icon = GFX_decision_steel
		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		days_remove = 120
		cost = 50
		
		days_re_enable = 720

		modifier = {
			consumer_goods_factor = 0.05
		}

		complete_effect = {
			add_war_support = -0.01
		}

		remove_effect = {
			add_fuel = 15000
			random_owned_state = {
			limit = {
				is_coastal = yes
				}
				add_resource = {
					type = steel
					amount = 7
				}
				add_resource = {
					type = oil
					amount = 9
				}
			}
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = industry
			}
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = excavation_tech
			}
		}
	}
	
}
Colonial_governor_tours = {
	governor_visit = {
		icon = GFX_decision_generic_political_discourse

		available = {
			num_subjects > 0
			if = {
				limit = { has_war = yes }
				ROOT = { controls_all_owned_states = yes }
				FROM = { controls_all_owned_states = yes }
			}
		}

		visible = {
			num_subjects > 0
			is_subject = no
			FROM = {
				exists = yes
				NOT = { tag = ROOT }
				is_subject_of = ROOT
			}
		}

		cost = 30
		days_remove = 14
		days_re_enable = 365
		fire_only_once = no

		target_array = subjects

		target_trigger = {
			FROM = {
				NOT = { tag = ROOT }
				is_subject_of = ROOT
				controls_all_owned_states = yes
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision governor_visit target: [From.GetName]"
			FROM = {
				add_stability = 0.05
				add_war_support = 0.05
				add_political_power = 30
				hidden_effect = {
					set_country_flag = visit
				}
			}
			custom_effect_tooltip = tourevent
			hidden_effect = {
				ROOT = {
				country_event = sharedafrika.75
				}
			}
		}
	}
	
	invest_into_subject = {
		icon = GFX_decision_generic_construction
		available = {
			num_subjects > 0
			if = {
				limit = { has_war = yes }
				ROOT = { controls_all_owned_states = yes }
				FROM = { controls_all_owned_states = yes }
			}
		}

		visible = {
			num_subjects > 0
			is_subject = no
			FROM = {
				exists = yes
				NOT = { tag = ROOT }
				is_subject_of = ROOT
			}
		}
		cost = 30
		days_remove = 14
		days_re_enable = 365
		fire_only_once = no

		target_array = subjects

		target_trigger = {
			FROM = {
				NOT = { tag = ROOT }
				is_subject_of = ROOT
				controls_all_owned_states = yes
				has_country_flag = visit
			}
		}

		remove_effect = {
			add_political_power = 50
			FROM = {
				random_owned_controlled_state = {
					limit = {
						is_core_of = FROM
						is_fully_controlled_by = FROM
						is_owned_by = FROM
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}
}
Colonial_political_actions = {
	hut_tax_drive = {
		icon = GFX_decision_oppression
		available = {
			has_political_power < 20
			#ROOT = { is_in_africa = yes }
		}
		cost = 0
		days_re_enable = 180
		
		days_remove = 14

		modifier = {
			political_power_gain = 0.02
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision hut_tax_drive"
			add_political_power = 60
			add_stability = -0.01
			add_war_support = -0.02
			decrease_ruling_party_popularity_by_2 = yes
		}
	}
	
	tolerate_native_customs = {
		icon = GFX_decision_CHL_mapuche_liberate_isthmo_amerindia
		available = {
			has_stability < 0.3
			#ROOT = { is_in_africa = yes }
		}
		cost = 25
		days_re_enable = 365
		
		days_remove = 30
		
		modifier = {
			war_support_factor = 0.05
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision hut_tax_drive"
			add_stability = 0.03
		}
	}
	
	appoint_new_chiefs = {
		icon = GFX_decision_generic_break_treaty
		available = {
			has_stability < 0.2
			#ROOT = { is_in_africa = yes }
		}
		cost = 30
		days_re_enable = 720
		
		days_remove = 30
		
		modifier = {
			war_stability_factor = -0.05
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision hut_tax_drive"
			add_stability = 0.05
			add_war_support = -0.01
			decrease_ruling_party_popularity_by_5 = yes
		}
	}
	
	promote_native_associations = {
		icon = GFX_decision_peace_dove
		available = {
			#ROOT = { is_in_africa = yes }
			NOT = {
				OR = {
					has_government = national_populist
					has_government = paternal_autocrat
					}
				}
			custom_trigger_tooltip = {
				tooltip = KR_party_pop_less_than_50
				check_variable = { ROOT.party_popularity@ruling_party < 0.5 }
			}
		}
		cost = 15
		days_re_enable = 365
		
		days_remove = 30
		
		modifier = {
			stability_factor = 0.1
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision hut_tax_drive"
			increase_ruling_party_popularity_by_5 = yes
			add_stability = -0.01
		}
	}
	
	compel_signups = {
		icon = GFX_decision_generic_scorched_earth
		available = {
			has_manpower < 20000
		}
		cost = 30
		days_re_enable = 180
		
		days_remove = 30
		
		modifier = {
			mobilization_speed = 0.2
		}
		
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision hut_tax_drive"
			add_manpower = 5000
			add_war_support = -0.01
		}
	}
	
	direct_research_efforts = {
		icon = GFX_decision_generic_research
		available = {
			amount_research_slots < 4
		}
		cost = 50
		days_re_enable = 365
		
		days_remove = 60
		
		modifier = {
			research_speed_factor = 0.1
		}
		
		complete_effect = {
			add_research_slot = 1
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision hut_tax_drive"
			add_research_slot = -1
		}
	}
	
	attack_leftist_sentiments = {
		icon = GFX_decision_investigation
		available = {
			NOT = {
				OR = {
					has_socialist_government = yes
					has_government = social_democrat
					has_government = social_liberal
				}
			}
		}
		cost = 20
		days_re_enable = 365
		
		days_remove = 30
		
		modifier = {
			political_power_cost = 0.1
		}
		remove_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision hut_tax_drive"
			add_stability = 0.02
			add_popularity = {
				popularity = -0.02
				ideology = radical_socialist
			}
			add_popularity = {
				popularity = -0.02
				ideology = syndicalist
			}
			add_popularity = {
				popularity = -0.02
				ideology = totalist
			}
		}
	}

	governor_visit_subject = {
		icon = GFX_decision_generic_political_discourse

		available = {
			is_subject = yes
			if = {
				limit = { has_war = yes }
				ROOT = { controls_all_owned_states = yes }
				FROM = { controls_all_owned_states = yes }
			}
		}

		visible = {
			is_subject = yes
			FROM = {
				exists = yes
				NOT = { tag = ROOT }
				has_subject = ROOT
			}
		}

		cost = 100
		days_remove = 90
		days_re_enable = 720
		fire_only_once = no



		target_array = overlord

		target_trigger = {
			FROM = {
				NOT = { tag = ROOT }
				is_subject_of = ROOT
				controls_all_owned_states = yes
			}
		}

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision governor_visit_subject target: [From.GetName]"
			ROOT = {
				add_stability = 0.05
				add_war_support = 0.05
				add_political_power = 30
			}
			custom_effect_tooltip = tourevent
			hidden_effect = {
				ROOT = { 
					country_event = sharedafrika.75
				}
			}
		}
	}
}

Colonial_buying_actions = {
	colonial_exercises = {
		icon = GFX_decision_generic_operation

		targets = { overlord }
		target_trigger = {
			is_subject_of = FROM
		}
		
		cost = 50
		days_re_enable = 365

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision colonial_steal_manpower"
			army_experience = 10
			add_command_power = 10
		}
	}
	colonial_steal_manpower = {
		icon = GFX_decision_generic_military
		available = {
			NOT = {
				OR = {
					tag = GEA
				}
			}
			FROM = {
				has_manpower > 15000
			}
		}

		targets = { overlord }
		target_trigger = {
			is_subject_of = FROM
		}
		
		cost = 80
		days_re_enable = 365

		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision colonial_steal_manpower"
			add_manpower = 15000
			hidden_effect = {
			FROM = {
				add_manpower = -15000
				}
			}
		}
	}

	colonial_steal_guns = {
		icon = GFX_decision_generic_industry
		available = {
			NOT = {
				OR = {
					tag = GEA
				}
			}
			stockpile_ratio = {
				archetype = infantry_equipment
				ratio < 0.05
			}
		}
		targets = { overlord }
		target_trigger = {
			is_subject_of = FROM
		}
		cost = 60
		days_re_enable = 365
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision colonial_steal_guns"
			add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 1500 producer = overlord }
			hidden_effect = {
			FROM = {
				add_equipment_to_stockpile = { type = infantry_equipment_0 amount = -1500 }
				}
			}
		}
	}
	colonial_buy_support = {
		icon = GFX_decision_support_equipment
		available = {

			FROM = {
				has_equipment = { support_equipment > 80 }
			}
		}
		targets = { overlord }
		target_trigger = {
			is_subject_of = FROM
		}
		cost = 50
		days_re_enable = 365
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision colonial_buy_support"
			add_equipment_to_stockpile = { type = support_equipment amount = 80 producer = overlord }
			hidden_effect = {
			FROM = {
				add_equipment_to_stockpile = { type = support_equipment amount = -80 }
				}
			}
		}
	}
	colonial_buy_artillery = {
		icon = GFX_decision_ger_military_buildup
		available = {
			FROM = {
				has_equipment = { artillery_equipment_1 > 100 }
			}
		}
		targets = { overlord }
		target_trigger = {
			is_subject_of = FROM
		}
		cost = 50
		days_re_enable = 365
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision colonial_buy_artillery"
			add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 100 producer = overlord }
			hidden_effect = {
			FROM = {
				add_equipment_to_stockpile = { type = artillery_equipment_1 amount = -100 }
				}
			}
		}
	}
	colonial_buy_aircraft = {
		icon = GFX_decision_generic_air
		available = {
		}
		targets = { overlord }
		target_trigger = {
			is_subject_of = FROM
		}
		cost = 40
		days_re_enable = 365
		complete_effect = {
			log = "[GetDateText]: [Root.GetName]: Decision colonial_buy_aircraft"
		add_equipment_to_stockpile = {
			type = fighter_equipment_0
			amount = 8
			producer = overlord
		}
			hidden_effect = {
			FROM = {
				add_equipment_to_stockpile = { type = fighter_equipment_0 amount = -8 }
				}
			}
		}
	}
	colonial_buy_convoys = {
		icon = GFX_decision_generic_naval_base

		targets = { overlord }
		target_trigger = {
			is_subject_of = FROM
		}
		cost = 30
		days_re_enable = 365
		complete_effect = {
		log = "[GetDateText]: [Root.GetName]: Decision colonial_buy_convoys"
		add_equipment_to_stockpile = {
			type = convoy
			amount = 15
			}
		}
	}
}

