focus_tree = {
	id = MAF-RFG
	country = {
		factor = 0
	}
	
	shared_focus = MAF_Military_Reforms
	shared_focus = MAF_blackmondayadjustment
	shared_focus = GEX_war_in_the_east
	shared_focus = GEX_darkest_hour
	

	continuous_focus_position = { x = 900 y = 2000 }
	#Focus for The End of Heydrich
	focus = {
		id = MAF_RFG_theendofheydrich
		icon = GFX_MAF_the_end_of_heydrich
		x = 8
		y = 8
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_themadagaskarautonomiesplan }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_theendofheydrich"
			custom_effect_tooltip = MAF_deal_with_heydrich
			add_political_power = 100
		}
	}

	#Focus for Hauptsicherheitsbüro
	focus = {
		id = MAF_hauptsicherheitsbro
		icon = GFX_MAF_supplement_schutztruppen
		x = 20
		y = 16
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_staatsekretariatfrvolksbildung }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_hauptsicherheitsbro"
			add_war_support = 0.1
			add_political_power = 100
			add_stability = 0.1
			add_popularity = {
				ideology = social_conservative
				popularity = 0.02
			}
			add_popularity = {
				ideology = market_liberal
				popularity = 0.02
			}
		}
	}

	#Focus for Afrikanische Grundgesetz
	focus = {
		id = MAF_afrikanischegrundgesetz
		icon = GFX_goal_MAF_rule_of_law
		x = 2
		y = 15
		cost = 8
		available_if_capitulated = no
		prerequisite = { focus = MAF_renderuntokaiser }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_afrikanischegrundgesetz"
			hidden_effect = {
				MAF = {
					set_rule = {
						can_decline_call_to_war = yes
						can_not_declare_war = no
					}
				}
			}
			remove_ideas = MAF_Colonial_Nation
		}
	}

	#Focus for Mittelafrika Dient Treu
	focus = {
		id = MAF_mittelafrikadienttreu
		icon = GFX_goal_MAF_stands_true
		x = 2
		y = 16
		cost = 9
		available_if_capitulated = no
		prerequisite = { focus = MAF_afrikanischegrundgesetz }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_mittelafrikadienttreu"
			add_political_power = 150
			add_stability = 0.1
			hidden_effect = {
				country_event = {
					id = maf.election.1
					days = 43
				}
			}
		}
	}

	#Focus for African Disease Center
	focus = {
		id = MAF_africandiseasecenter
		icon = GFX_BBR_healthcare
		x = 24
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_statthalterkenyatta 
			focus = MAF_statthalterbell 
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_africandiseasecenter"
			add_ideas = MAF_africandiseasecenter
		}
	}

	#Focus for Afrika-Bahnen
	focus = {
		id = MAF_afrikabahnen
		icon = GFX_CSA_red_roads
		x = 24
		y = 16
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_africandiseasecenter }
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_afrikabahnen"
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
	}

	#Focus for An End to their Parties
	focus = {
		id = MAF_anendtotheirparties
		icon = GFX_CAL_white_house_socials
		x = 20
		y = 6
		cost = 5
		available_if_capitulated = no
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		prerequisite = { focus = MAF_implementaprogressivelandtax }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_anendtotheirparties"
			add_political_power = 100
			increase_ruling_party_popularity_by_5 = yes
			custom_effect_tooltip = MAF_end_Parties
		}
	}

	#Focus for The Trouble in Ostafrika
	focus = {
		id = MAF_thetroubleinostafrika
		icon = GFX_MAF_rupee
		available = {
				NOT = { has_idea = MAF_Debt }
		}
		x = 16
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_leftreformgruppeincharge 
			focus = MAF_thereturnofthelion 
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thetroubleinostafrika"
			custom_effect_tooltip = MAF_deal_with_kenya_uganda
		}
	}

	#Focus for Zentralafrika’s Wildness
	focus = {
		id = MAF_zentralafrikaswildness
		icon = GFX_MAF_bingo_bango_bongo
		available = {
			NOT = { has_idea = MAF_Debt }
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		x = 18
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_thereturnofthelion 
			focus = MAF_leftreformgruppeincharge 
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_zentralafrikaswildness"
			COG = {
				add_stability = 0.1
				add_political_power = 100
				increase_ruling_party_popularity_by_5 = yes
			}
			custom_effect_tooltip = MAF_collaborate_with_cheifs
		}
	}

	#Focus for Konföderation Afrikanische Unternehmen
	focus = {
		id = MAF_konfderationafrikanischeunternehmen
		icon = GFX_goal_MAF_buisness_community
		x = 1
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_bertragung }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_konfderationafrikanischeunternehmen"
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for The Reformgruppe Divide
	focus = {
		id = MAF_thereformgruppedivide
		icon = GFX_goal_MAF_RFG_Divide
		x = 13
		y = 1
		cost = 5
		available_if_capitulated = no
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thereformgruppedivide"
			country_event = { id = mittel.112 days = 1 }
			add_stability = 0.05
		}
		ai_will_do = {
			factor = 1000
		}
	}

	#Focus for Render unto Kaiser
	focus = {
		id = MAF_renderuntokaiser
		icon = GFX_MAF_meet_with_the_kaiser
		x = 2
		y = 14
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_recognizerightsofassociation 
		}
		prerequisite = { 
			focus = MAF_konfderationafrikanischeunternehmen 
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_renderuntokaiser"
			custom_effect_tooltip = MAF_meet_with_kaiser
			GER = {
				country_event = mittel.190
			}
		}
	}

	#Another Focus for Afrikanische Landtag????
	#focus = {
	#	id = MAF_RFG_afrikanischelandtag2
	#	icon = GFX_MAF_african_landtag
	#	x = 2
	#	y = 15
	#	cost = 7
	#	available_if_capitulated = no
	#	prerequisite = { focus = MAF_renderuntokaiser }
	#	ai_will_do = {
	#		factor = 60
	#	}
	#	completion_reward = {
	#		log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_afrikanischelandtag2"
	#		add_ideas = MAF_afrikanischelandtag
	#	}
	#}

	#Focus for The First Election
	focus = {
		id = MAF_thefirstelection
		icon = GFX_goal_MAF_election
		x = 24
		y = 13
		cost = 13
		available_if_capitulated = no
		available = {
			has_country_flag = MAF_full_reform
		}
		prerequisite = { 
			focus = MAF_RFG_afrikanischelandtag
		}
		prerequisite = { 
			focus = MAF_anelectedstatthalter 
		}
		prerequisite = { 
			focus = MAF_anafricanconstitution 
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thefirstelection"
			country_event = {
				id = maf.election.2
				days = 5
			}
		}
	}

	#Focus for An African Constitution?
	focus = {
		id = MAF_anafricanconstitution
		icon = GFX_goal_MAF_African_Constitution
		x = 26
		y = 12
		cost = 7
		available_if_capitulated = no
		prerequisite = { focus = MAF_thefinalstretch }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_anafricanconstitution"
			add_political_power = 50
			add_stability = 0.05
			custom_effect_tooltip = MAF_constitution_draft
			country_event = {
				id = mafrfg.1
				days = 1
			}
			subtract_from_variable = { MAF_collapse_var = 1 }
			subtract_from_variable = { MAF_collapse_actions_taken = 1 }
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
	}

	#Focus for Address the Reichstag
	focus = {
		id = MAF_addressthereichstag
		icon = GFX_goal_Reichstag
		x = 24
		y = 10
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_aneveningatsanssouci }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_addressthereichstag"
			custom_effect_tooltip = MAF_reforms_will_begin
			custom_effect_tooltip = MAF_Autonomy
			add_stability = -0.15
			hidden_effect = {
				MAF = {
					set_rule = {
						can_decline_call_to_war = yes
					}
				}
			}
		}
	}

	#Focus for The Final Stretch
	focus = {
		id = MAF_thefinalstretch
		icon = GFX_goal_MAF_lets_fix_this_fucking_mess
		x = 24
		y = 11
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_addressthereichstag }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thefinalstretch"
			add_timed_idea = {
				idea = MAF_thefinalstretch
				days = 180
			}
		}
	}

	#Focus for The Franco-German Axis
	focus = {
		id = MAF_thefrancogermanaxis
		icon = GFX_MAF_anti_french_pact
		x = 8
		y = 5
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_denounceheydrichtothenavy }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thefrancogermanaxis"
			MAG = {
				add_political_power = 100
				add_stability = 0.1
			}
			custom_effect_tooltip = MAF_deal_with_french_in_madagaskar
		}
	}

	#Focus for A Deal with the Rebels
	focus = {
		id = MAF_adealwiththerebels
		icon = GFX_goal_generic_intelligence_exchange
		x = 8
		y = 6
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_thefrancogermanaxis }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_adealwiththerebels"
			MAG = {
				add_command_power = 100
				army_experience = 100
			}
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			custom_effect_tooltip = MAF_deal_with_rebels_in_madagaskar
		}
	}

	#Focus for The Madagaskar Autonomies Plan
	focus = {
		id = MAF_themadagaskarautonomiesplan
		icon = GFX_MAF_madagascar_fatherland_plan
		x = 8
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_adealwiththerebels }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_themadagaskarautonomiesplan"
			MAG = {
				every_owned_state = {
					add_manpower = 1000
				}
				increase_ruling_party_popularity_by_5 = yes
			}
			custom_effect_tooltip = MAF_expand_settlments_in_madagaskar
		}
	}

	#Focus for Public Works
	focus = {
		id = MAF_publicworks
		icon = GFX_NEE_public_kickbacks
		x = 24
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_elektrizittsundinfrastrukturbehrde 
		}
		prerequisite = { 
			focus = MAF_universalworkplaceregulations 
		}
		prerequisite = { 
			focus = MAF_afrikanischeentwicklungsbank 
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_publicworks"
			546 = { 
				add_extra_state_shared_building_slots = 2
				add_building_construction = { 
					type = infrastructure level = 2 
					instant_build = yes
				}
			}
			965 = { 
				add_extra_state_shared_building_slots = 2
				add_building_construction = { 
					type = infrastructure level = 2 
					instant_build = yes
				}
			}
		}
	}

	#Focus for African Free Workers’ Union
	focus = {
		id = MAF_africanfreeworkersunion
		icon = GFX_goal_MAF_African_Workers_Union
		x = 22
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_universalworkplaceregulations }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_africanfreeworkersunion"
			swap_ideas = {
				add_idea = MAF_africanfreeworkersunion
				remove_idea = MAF_universalworkplaceregulations
			}
		}
	}

	#Focus for The First Hundred Million
	focus = {
		id = MAF_thefirsthundredmillion
		icon = GFX_ITA_no_money
		x = 26
		y = 6
		cost = 2
		available_if_capitulated = no
		prerequisite = { focus = MAF_afrikanischeentwicklungsbank }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thefirsthundredmillion"
			custom_effect_tooltip = MAF_gain_cash_tt
			hidden_effect = {
				965 = { 
					add_extra_state_shared_building_slots = 3
					add_building_construction = { 
						type = infrastructure level = 1
						instant_build = yes
					}
					add_building_construction = { 
						type = industrial_complex level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Focus for Weekend at the Reichsbank
	focus = {
		id = MAF_weekendatthereichsbank
		icon = GFX_goal_TEX_banks_for_america
		x = 24
		y = 8
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_modelvillages
		}
		prerequisite = { 
			focus = MAF_theminimumwage 
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_weekendatthereichsbank"
			custom_effect_tooltip = MAF_gain_cash_tt
			hidden_effect = {
				965 = { 
					add_extra_state_shared_building_slots = 3
					add_building_construction = { 
						type = infrastructure level = 1
						instant_build = yes
					}
					add_building_construction = { 
						type = industrial_complex level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	#Focus for The Dirty State of Madagaskar
	focus = {
		id = MAF_thedirtystateofmadagaskar
		icon = GFX_MAF_wir_lagen_vor_madagaskar
		available = {
				NOT = { has_idea = MAF_Debt }
		}
		x = 8
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_thereturnofthelion 
			focus = MAF_leftreformgruppeincharge 
		}
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thedirtystateofmadagaskar"
			custom_effect_tooltip = MAF_deal_with_madagaskar
		}
	}

	#Focus for Denounce Heydrich to the Navy
	focus = {
		id = MAF_denounceheydrichtothenavy
		icon = GFX_MAF_assist_heydrich
		x = 8
		y = 4
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_thedirtystateofmadagaskar }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_denounceheydrichtothenavy"
			MAG = {
				random_owned_controlled_state = {
					add_building_construction = {
						type = naval_base
						level = 2
						province = 2196
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_improve_navy_in_madagaskar
		}
	}

	#Focus for Regulatory Overhaul
	focus = {
		id = MAF_regulatoryoverhaul
		icon = GFX_goal_generic_paperwork
		x = 20
		y = 8
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_thewestafrikaculturalandnaturalreserve }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_regulatoryoverhaul"
			add_stability = 0.08
			CIV = {
				add_stability = 0.05
			}
			custom_effect_tooltip = MAF_overhaul_regulation_tt
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
		}
	}

	#Focus for The Rule of Law
	focus = {
		id = MAF_theruleoflaw
		icon = GFX_goal_COR_Black_Laws
		x = 20
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_westafrikassquanderedwealth }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_theruleoflaw"
			CIV = {
				random_owned_controlled_state = {
					add_building_construction = {
						type = infrastructure
						level = -1
						instant_build = yes
					}
				}
				add_political_power = 100
			}
			MAF = {
				random_owned_controlled_state = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_expand_law_in_westafrika
		}
	}

	#Focus for Martial Law in Nord-Rhodesien
	focus = {
		id = MAF_martiallawinnordrhodesien
		icon = GFX_MAF_german_law_in_nordrhodesien
		x = 14
		y = 4
		available = {
			ZAM = {
				is_subject_of = MAF
			}
		}
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_sdafrikascorruption }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_martiallawinnordrhodesien"
			ZAM = {
				add_stability = 0.1
			}
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
			custom_effect_tooltip = MAF_law_in_nordrhodesia
		}
	}

	#Focus for Universal Workplace Regulations
	focus = {
		id = MAF_universalworkplaceregulations
		icon = GFX_MAF_workplace_regulations
		x = 22
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_lettherebemarks }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_universalworkplaceregulations"
			add_ideas = MAF_universalworkplaceregulations
			increase_ruling_party_popularity_by_5 = yes
		}
	}

	#Focus for Break the Households
	focus = {
		id = MAF_breakthehouseholds
		icon = GFX_MAF_use_the_households
		x = 14
		y = 6
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_theonlysanemen }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_breakthehouseholds"
			ZAM = {
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			BSC = {
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_break_settlers_in_nordrhodesia
		}
	}

	#Focus for Congo Basin Electrical Authority
	focus = {
		id = MAF_congobasinelectricalauthority
		icon = GFX_goal_generic_position_armies
		x = 18
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_zentralafrikaswildness }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_congobasinelectricalauthority"
			COG = {
				add_fuel = 10000
				add_resource = { 
					type = oil 
					amount = 16 
					state = 879 
				}
			}
			add_fuel = 15000
			add_to_variable = { MAF_congo_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
			custom_effect_tooltip = MAF_power_in_congo
		}
	}

	#Focus for Elektrizitäts- und Infrastrukturbehörde
	focus = {
		id = MAF_elektrizittsundinfrastrukturbehrde
		icon = GFX_MAF_electronic_intel_project
		x = 24
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_lettherebemarks }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_elektrizittsundinfrastrukturbehrde"
			add_tech_bonus = {
				name = MAF_elektrizittsundinfrastrukturbehrde
				bonus = 1
				uses = 2
				category = electronics
			}
		COG = {
			add_tech_bonus = {
				name = MAF_elektrizittsundinfrastrukturbehrde
				bonus = 1
				uses = 2
				category = electronics
			}
		}
			custom_effect_tooltip = MAF_expand_civ_factories_in_congo
		}
	}

	#Focus for Support Free State Progressives
	focus = {
		id = MAF_supportfreestateprogressives
		icon = GFX_MAF_support_free_state_collaborationists
		x = 16
		y = 6
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_investinnativeeducation }
		ai_will_do = {
			factor = 30
		}
		available = {
			OR = {
				548 = {
					is_controlled_by_ROOT_or_ally = yes
				}
				547 = {
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_supportfreestateprogressives"
			if = {
				limit = {
					KEN = {
						is_subject = yes
						}
					}
				KEN = {
					add_stability = 0.05
					add_political_power = 50
				}
			}
			if = {
				limit = {
					UGA = {
						is_subject = yes
						}
					}
				UGA = {
					add_stability = 0.05
					add_political_power = 50
				}
			}
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
			custom_effect_tooltip = MAF_support_prog_in_kenya
		}
	}

	#Focus for The Minimum Wage
	focus = {
		id = MAF_theminimumwage
		icon = GFX_NEE_raise_minimum_wage
		x = 25
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_africanfreeworkersunion focus = MAF_thefirsthundredmillion }
		prerequisite = { focus = MAF_publicworks }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_theminimumwage"
			add_ideas = MAF_theminimumwage
		}
	}

	#Focus for Invest in Native Education
	focus = {
		id = MAF_investinnativeeducation
		icon = GFX_MAF_divest_native_education
		x = 16
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_committeeonadministrativeboundaries }
		ai_will_do = {
			factor = 30
		}
		available = {
			OR = {
				548 = {
					is_controlled_by_ROOT_or_ally = yes
				}
				547 = {
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_investinnativeeducation"
			if = {
				limit = {
					KEN = {
						is_subject = yes
						}
					}
				KEN = {
					add_timed_idea = {
						idea = MAF_education_expansion
						days = 365
					}
				}
			}
			if = {
				limit = {
					UGA = {
						is_subject = yes
						}
					}
				UGA = {
					add_timed_idea = {
						idea = MAF_education_expansion
						days = 365
					}
				}
			}
			custom_effect_tooltip = MAF_expand_education_in_kenya
		}
	}

	#Focus for An Elected Statthalter?
	focus = {
		id = MAF_anelectedstatthalter
		icon = GFX_goal_MAF_elected_governor
		x = 22
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_thefinalstretch }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_anelectedstatthalter"
			add_popularity = {
				ideology = social_democrat
				popularity = 0.1
			}
			add_popularity = {
				ideology = social_liberal
				popularity = 0.1
			}
			add_popularity = {
				ideology = market_liberal
				popularity = 0.1
			}
			custom_effect_tooltip = MAF_elections_draft
			country_event = {
				id = mafrfg.2
				days = 1
			}
		}
	}

	#Focus for An Evening at Sanssouci
	focus = {
		id = MAF_aneveningatsanssouci
		icon = GFX_MAF_meet_with_the_kaiser
		x = 24
		y = 9
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_weekendatthereichsbank }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_aneveningatsanssouci"
			add_political_power = 100
			add_stability = 0.1
			custom_effect_tooltip = MAF_Meet_the_Kaiser_tt
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			add_to_variable = { MAF_congo_centralized_var = 1 }
			add_to_variable = { MAF_nordafrikasecured = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
	}

	#Focus for Inga Dammenaggregat
	focus = {
		id = MAF_ingadammenaggregat
		icon = GFX_MAF_luluaburg
		x = 18
		y = 7
		cost = 7
		available_if_capitulated = no
		prerequisite = { focus = MAF_kongowasserkraftwerkag }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_ingadammenaggregat"
			COG = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_expand_civ_factories_in_congo
		}
	}

	#Focus for The Only Sane Men
	focus = {
		id = MAF_theonlysanemen
		icon = GFX_MAF_a_few_good_men
		x = 14
		y = 5
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_martiallawinnordrhodesien }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_theonlysanemen"
			ZAM = {
				add_manpower = 1000
				add_war_support = 0.1
			}
			BSC = {
				add_manpower = 1000
				add_war_support = 0.1
			}
			custom_effect_tooltip = MAF_loyalists_in_nordrhodesia
		}
	}

	#Focus for Committee on Administrative Boundaries
	focus = {
		id = MAF_committeeonadministrativeboundaries
		icon = GFX_MAF_german_settlement_committee
		x = 16
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_thetroubleinostafrika }
		ai_will_do = {
			factor = 30
		}
		available = {
			548 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			547 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}		
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_committeeonadministrativeboundaries"
			KEN = {
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_manpower = 1000
				}
			}
			custom_effect_tooltip = MAF_bounds_in_kenya
		}
	}

	#Focus for Afrikanische Entwicklungsbank
	focus = {
		id = MAF_afrikanischeentwicklungsbank
		icon = GFX_goal_MAF_Bank
		x = 26
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_lettherebemarks }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_afrikanischeentwicklungsbank"
			random_owned_state = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Sowing the Seeds of Growth
	focus = {
		id = MAF_RFG_sowingtheseedsofgrowth
		icon = GFX_MAF_sowing_seeds_of_growth
		x = 16
		y = 8
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_ostafrikanischewaffenkombinat }
		ai_will_do = {
			factor = 30
		}
		available = {
			548 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			547 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}	
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_sowingtheseedsofgrowth"
			KEN = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			UGA = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_expand_economy_in_kenya
		}
	}

	#Focus for Ostafrikanische Waffenkombinat
	focus = {
		id = MAF_ostafrikanischewaffenkombinat
		icon = GFX_MAF_ostafrikanischer_kaisersfabrikkomplex
		x = 16
		y = 7
		cost = 7
		available_if_capitulated = no
		prerequisite = { focus = MAF_supportfreestateprogressives }
		ai_will_do = {
			factor = 30
		}
		available = {
			548 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			547 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}		
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_ostafrikanischewaffenkombinat"
			KEN = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_expand_mil_factories_in_kenya
		}
	}

	#Focus for Private Banking Support
	focus = {
		id = MAF_privatebankingsupport
		icon = GFX_goal_MAF_banking_support
		x = 3
		y = 4
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_reexaminethe1934financeandeconomyreports }
		mutually_exclusive = { focus = MAF_afrikanischenotenbanken }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_privatebankingsupport"
			custom_effect_tooltip = MAF_gain_cash_tt
			random_owned_state = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for The Charter of Labor
	focus = {
		id = MAF_thecharteroflabor
		icon = GFX_MAF_labor_charter
		x = 3
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_dismantlelargeestates }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thecharteroflabor"
			add_ideas = MAF_thecharteroflabor
		}
	}

	#Focus for Westafrika’s Squandered Wealth
	focus = {
		id = MAF_westafrikassquanderedwealth
		icon = GFX_MAF_im_dunkel_herz_westafrikas
		available = {
				NOT = { has_idea = MAF_Debt }
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		x = 20
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_thereturnofthelion 
			focus = MAF_leftreformgruppeincharge 
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_westafrikassquanderedwealth"
			custom_effect_tooltip = MAF_deal_with_westafrika
		}
	}

	#Focus for Vereinigte Stahlwerke AG
	focus = {
		id = MAF_vereinigtestahlwerkeag
		icon = GFX_MAF_steelworks
		x = 5
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_adealwiththetitans }
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_vereinigtestahlwerkeag"
			add_resource = { type = steel amount = 9 state = 1025 }
			add_resource = { type = tungsten amount = 5 state = 1032 }
			add_resource = { type = oil amount = 5 state = 975 }
			add_resource = { type = rubber amount = 9 state = 1183 }
		}
	}

	#Focus for Keynesianism in One Continent
	focus = {
		id = MAF_keynesianisminonecontinent
		icon = GFX_goal_MAF_keys
		x = 24
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_leftreformgruppeincharge }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_keynesianisminonecontinent"
			add_ideas = MAF_keynesianisminonecontinent
		}
	}

	#Focus for Übertragung
	focus = {
		id = MAF_bertragung
		icon = GFX_goal_MAF_End_Protectorates
		x = 1
		y = 12
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_completeintegration }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_bertragung"
			add_ideas = MAF_bertragung
		}
	}

	#Focus for Umstrukturierung
	focus = {
		id = MAF_umstrukturierung
		icon = GFX_goal_MAF_RFG_Army
		x = 2
		y = 9
		cost = 8
		available_if_capitulated = no
		prerequisite = { focus = MAF_attackthenkr }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_umstrukturierung"
			add_ideas = MAF_umstrukturierung
			add_to_variable = { MAF_nigeria_centralized_var = 3 }
			add_to_variable = { MAF_kenya_uganda_centralized_var = 3 }
			add_to_variable = { MAF_westafrika_centralized_var = 3 }
			add_to_variable = { MAF_madagascar_centralized_var = 3 }
			add_to_variable = { MAF_congo_centralized_var = 3 }
			add_to_variable = { MAF_nordafrikasecured = 3 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_3
			custom_effect_tooltip = MAF_increase_MAG_centralization_3
			custom_effect_tooltip = MAF_increase_ZAM_centralization_3
			custom_effect_tooltip = MAF_increase_NGR_centralization_3
			custom_effect_tooltip = MAF_increase_KEN_centralization_3
			custom_effect_tooltip = MAF_increase_COG_centralization_3
		}
	}

	#Focus for The African Reformation
	focus = {
		id = MAF_theafricanreformation
		icon = GFX_goal_African_reformation
		x = 2
		y = 10
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_umstrukturierung }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_theafricanreformation"
			custom_effect_tooltip = MAF_Autonomy
			add_stability = -0.15
			hidden_effect = {
				MAF = {
					set_rule = {
						can_decline_call_to_war = yes
					}
				}
			}
		}
	}

	#Focus for Attack the NKR
	focus = {
		id = MAF_attackthenkr
		icon = GFX_goal_MAF_attack_NKR
		x = 2
		y = 8
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_lobbyinginberlin }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_attackthenkr"
			custom_effect_tooltip = MAF_stamp_out_nkr
			add_popularity = {
				ideology = national_populist
				popularity = -1
			}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -1
			}
			random_unit_leader = {
					limit = { has_id = 36864 }			
					remove_unit_leader = yes
				}
		}
	}

	#Focus for A Contract with Africa
	focus = {
		id = MAF_acontractwithafrica
		icon = GFX_goal_MAF_african_contract
		x = 4
		y = 6
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_thewirtschaftskommission }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_acontractwithafrica"
			every_owned_state = {
				add_extra_state_shared_building_slots = 1
			}
		}
	}

	#Focus for Lobbying in Berlin
	focus = {
		id = MAF_lobbyinginberlin
		icon = GFX_MAF_lobbying_in_berlin
		x = 2
		y = 7
		cost = 7
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_acontractwithafrica 
		}
		prerequisite = { 
			focus = MAF_preparethelegaloffensive 
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_lobbyinginberlin"
			custom_effect_tooltip = MAF_lobbying_begin
			GER = {
				country_event = mittel.189
			}
		}
	}

	#Focus for Re-examine the 1934 Finance and Economy Reports
	focus = {
		id = MAF_reexaminethe1934financeandeconomyreports
		icon = GFX_goal_MAF_reexamine_1934
		x = 4
		y = 3
		cost = 2
		available_if_capitulated = no
		prerequisite = { focus = MAF_thereturnofthelion }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_reexaminethe1934financeandeconomyreports"
			custom_effect_tooltip = MAF_reexamine_reports
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Dealing with Dissent
	focus = {
		id = MAF_dealingwithdissent
		icon = GFX_MAF_deal_with_dissent
		x = 0
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_seizethearchives }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_dealingwithdissent"
			add_popularity = {
				ideology = national_populist 
				popularity = -0.9
			}
			add_popularity = {
				ideology = paternal_autocrat 
				popularity = -0.3
			}
			add_popularity = {
				ideology = social_conservative 
				popularity = 0.15
			}
			add_popularity = {
				ideology = authoritarian_democrat 
				popularity = 0.1
			}
			random_unit_leader = {
					limit = { has_id = 198 }			
					remove_unit_leader = yes
				}
			subtract_from_variable = { MAF_collapse_var = 1 }
			subtract_from_variable = { MAF_collapse_actions_taken = 1 }
			custom_effect_tooltip = MAF_decrease_collapse_1_tt
		}
	}

	#Focus for The Return of the Lion
	focus = {
		id = MAF_thereturnofthelion
		icon = GFX_MAF_return_of_the_lion
		x = 3
		y = 2
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			has_country_flag = MAF_election_over
			has_government = social_conservative
		}
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_thereformgruppedivide }
		mutually_exclusive = { focus = MAF_leftreformgruppeincharge }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thereturnofthelion"
			custom_effect_tooltip = unlock_focuses
		}
	}

	#Focus for Afrikanische Notenbanken
	focus = {
		id = MAF_afrikanischenotenbanken
		icon = GFX_goal_MAF_african_bank
		x = 5
		y = 4
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_reexaminethe1934financeandeconomyreports }
		mutually_exclusive = { focus = MAF_privatebankingsupport }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_afrikanischenotenbanken"
		custom_effect_tooltip = MAF_gain_cash_tt
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Seize the Archives
	focus = {
		id = MAF_seizethearchives
		icon = GFX_MAF_size_the_archives
		x = 0
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_theinternalinvestigationgroup }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_seizethearchives"
			add_political_power = 100
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.3
			}
			add_popularity = {
				ideology = national_populist
				popularity = -0.3
			}
		}
	}

	#Focus for Left Reformgruppe in charge
	focus = {
		id = MAF_leftreformgruppeincharge
		icon = GFX_goal_MAF_Left_RFG
		x = 25
		y = 2
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			NOT = {
				has_government = social_conservative
			}
		}
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_thereformgruppedivide }
		mutually_exclusive = { focus = MAF_thereturnofthelion }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_leftreformgruppeincharge"
			custom_effect_tooltip = unlock_focuses
		}
	}

	#Focus for The Internal Investigation Group
	focus = {
		id = MAF_theinternalinvestigationgroup
		icon = GFX_goal_MAF_fuck_up_corrupt_officials
		x = 0
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_thereturnofthelion }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_theinternalinvestigationgroup"
			add_ideas = MAF_theinternalinvestigationgroup
			if = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = no
				}
				create_intelligence_agency = yes
			}
			else_if = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = yes
					NOT = { has_done_agency_upgrade = upgrade_crypto_strength }
				}
				upgrade_intelligence_agency = upgrade_crypto_strength
			}
		}
	}

	#Focus for Prepare the Legal Offensive
	focus = {
		id = MAF_preparethelegaloffensive
		icon = GFX_MAF_legal_offensive
		x = 0
		y = 6
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_dealingwithdissent }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_preparethelegaloffensive"
			add_stability = 0.1
			add_war_support = 0.1
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			add_to_variable = { MAF_congo_centralized_var = 1 }
			add_to_variable = { MAF_nordafrikasecured = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
	}

	#Focus for The Wirtschaftskommission
	focus = {
		id = MAF_thewirtschaftskommission
		icon = GFX_goal_MAF_economy_commission
		x = 4
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_privatebankingsupport 
			focus = MAF_afrikanischenotenbanken 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thewirtschaftskommission"
			add_research_slot_until_five = yes
		}
	}

	#Focus for Complete Integration
	focus = {
		id = MAF_completeintegration
		icon = GFX_goal_MAD_decentralize
		x = 1
		y = 11
		cost = 5
		select_effect = {
			if = {
				limit = { 
					KEN = { is_ai = no } 
					is_subject_of = MAF
				}
				KEN = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}			
			if = {
				limit = { 
					UGA = { is_ai = no } 
					is_subject_of = MAF
				}
				UGA = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					NGR = { is_ai = no } 
					is_subject_of = MAF
				}
				NGR = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					GHA = { is_ai = no } 
					is_subject_of = MAF
				}
				GHA = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					BSC = { is_ai = no } 
					is_subject_of = MAF
				}
				BSC = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					MLW = { is_ai = no } 
					is_subject_of = MAF
				}
				MLW = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					ZZB = { is_ai = no } 
					is_subject_of = MAF
				}
				ZZB = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}	
			if = {
				limit = { CIV = { is_ai = no } }
				CIV = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { IVO = { is_ai = no } }
				IVO = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			
			if = {
				limit = { MAG = { is_ai = no } }
				MAG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			
			if = {
				limit = { CMR = { is_ai = no } }
				CMR = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			
			if = {
				limit = { KOG = { is_ai = no } }
				KOG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			
			if = {
				limit = { CEA = { is_ai = no } }
				CEA = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			
			if = {
				limit = { KTG = { is_ai = no } }
				KTG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { 
					ZAM = { is_ai = no } 
					is_subject_of = MAF
				}
				ZAM = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { 
					NMB = { is_ai = no } 
					is_subject_of = MAF
				}
				NMB = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
		}
		available_if_capitulated = no
		prerequisite = { focus = MAF_theafricanreformation }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_completeintegration"
			custom_effect_tooltip = MAF_annex_puppets
			every_state = {
				limit = { 
					OR = {
						is_owned_by = NGR
						is_owned_by = GHA
						is_owned_by = UGA
						is_owned_by = IVO
						is_owned_by = CIV
						is_owned_by = KEN
						is_owned_by = ZAM
						is_owned_by = BSC
						is_owned_by = MLW
						is_owned_by = COG
						is_owned_by = KTG
						is_owned_by = KOG
						is_owned_by = CEA
						is_owned_by = CMR
						is_owned_by = NMB
						is_owned_by = MAG
						is_owned_by = HAU
						is_owned_by = KBR
						is_owned_by = ADW
						is_owned_by = NBL
						is_owned_by = GAB
					}
				}
				MAF = {
					add_state_core = PREV
				}
			}
			every_country = {
				limit = { is_subject_of = MAF }
				MAF = {
					annex_country = {
						target = PREV
						transfer_troops = yes
					}
				}
			}
			add_timed_idea = {
				idea = MAF_integration_efforts_idea
				days = 720
			}
			hidden_effect = {
				delete_units = {
					division_template = "Afrikanische Stammesmiliz"
					disband = no
				}
				delete_units = {
					division_template = "Division de Milice"
					disband = no
				}		
				delete_units = {
					division_template = "Force Publique"
					disband = no
				}					
				delete_units = {
					division_template = "Infanterie Divisie"
					disband = no
				}
			}
		}
	}

	#Focus for Dismantle large estates
	focus = {
		id = MAF_dismantlelargeestates
		icon = GFX_goal_MAF_dismantle_estates
		x = 3
		y = 11
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_theafricanreformation }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
				log = "[GetDateText]: [Root.GetName]: Focus MAF_dismantlelargeestates"
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				random_owned_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			
		}
	}

	#Focus for Recognize Rights of Association
	focus = {
		id = MAF_recognizerightsofassociation
		icon = GFX_MAF_rights_of_ascociation
		x = 3
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_thecharteroflabor }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_recognizerightsofassociation"
			swap_ideas = {
				remove_idea = MAF_thecharteroflabor
				add_idea = MAF_thecharteroflabor2
			}
		}
	}

	#Focus for A Deal with the Titans
	focus = {
		id = MAF_adealwiththetitans
		icon = GFX_goal_MAF_allign_industrialists
		x = 5
		y = 11
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_theafricanreformation }
		ai_will_do = {
			factor = 40
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_adealwiththetitans"
			random_owned_state = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Panafrikanische Eisenbahn
	focus = {
		id = MAF_panafrikanischeeisenbahn
		icon = GFX_CSA_red_roads
		x = 5
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_vereinigtestahlwerkeag }
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_panafrikanischeeisenbahn"
			every_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Let there be Marks!
	focus = {
		id = MAF_lettherebemarks
		icon = GFX_focus_mex_privatisation
		x = 24
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_keynesianisminonecontinent }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_lettherebemarks"
			random_owned_state = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			increase_ruling_party_popularity_by_5 = yes
		}
	}

	#Focus for Status of the Hauptstadtterritorium
	focus = {
		id = MAF_statusofthehauptstadtterritorium
		icon = GFX_goal_generic_fortify_city
		available = {
			NOT = { has_idea = MAF_Debt }
		}
		x = 12
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_leftreformgruppeincharge 
			focus = MAF_thereturnofthelion 
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_statusofthehauptstadtterritorium"
			custom_effect_tooltip = MAF_deal_with_ostafrika
		}
	}

	#Focus for Review the Schutztruppen
	focus = {
		id = MAF_reviewtheschutztruppen
		icon = GFX_MAF_supplement_schutztruppen
		x = 10
		y = 4
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_nordafrikaslawlesswaste }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_reviewtheschutztruppen"
			army_experience = 25
			add_command_power = 25
			custom_effect_tooltip = MAF_improve_schutztruppen_in_nordafrika
		}
	}

	#Focus for The Kaiserreich’s Staging Ground
	focus = {
		id = MAF_RFG_thekaiserreichsstagingground
		icon = GFX_MAF_kaiserreichs_staging_ground
		x = 12
		y = 8
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_stadtterneuerungsplan }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_thekaiserreichsstagingground"
			custom_effect_tooltip = MAF_improve_navy_in_ostafrika2
			965 = {
				add_building_construction = {
					type = naval_base
					level = 2
					province = 2196
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					province = 2196
					instant_build = yes
				}
			}
		}
	}

	#Focus for Ask for Reinforcements
	focus = {
		id = MAF_askforreinforcements
		icon = GFX_MAF_mercenary_auxiliaries
		x = 10
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_reviewtheschutztruppen }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_askforreinforcements"
			army_experience = 20
			952 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			custom_effect_tooltip = MAF_improve_troops_in_nordafrika
		}
	}

	#Focus for Grenzschutzgeschwader
	focus = {
		id = MAF_grenzschutzgeschwader
		icon = GFX_MAF_neue_afrikaschiffe
		x = 10
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_askforreinforcements }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_grenzschutzgeschwader"
			952 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			952 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
			custom_effect_tooltip = MAF_improve_navy_in_nordafrika
		}
	}

	#Focus for Ordnungspolizei Nordafrika
	focus = {
		id = MAF_ordnungspolizeinordafrika
		icon = GFX_MAF_westafrikanische_polizeitruppen
		x = 10
		y = 7
		cost = 7
		available_if_capitulated = no
		prerequisite = { focus = MAF_grenzschutzgeschwader }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_ordnungspolizeinordafrika"
			952 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			add_stability = 0.02
			custom_effect_tooltip = MAF_improve_police_in_nordafrika
		}
	}

	#Focus for Nordafrika Secured
	focus = {
		id = MAF_RFG_nordafrikasecured
		icon = GFX_MAF_westafrika_secured
		x = 10
		y = 8
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_ordnungspolizeinordafrika }
		ai_will_do = {
			factor = 30
		}
		available = {
			927 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_nordafrikasecured"
			add_stability = 0.05
			add_political_power = 50
			custom_effect_tooltip = MAF_improve_situation_in_nordafrika
		}
	}

	#Focus for “Vorbeckshafen”
	focus = {
		id = MAF_vorbeckshafen
		icon = GFX_goal_generic_navy_battleship
		x = 12
		y = 4
		cost = 8
		available_if_capitulated = no
		prerequisite = { focus = MAF_statusofthehauptstadtterritorium }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_vorbeckshafen"
			custom_effect_tooltip = MAF_improve_navy_in_ostafrika
			965 = {
				add_building_construction = {
					type = naval_base
					level = 2
					province = 2196
					instant_build = yes
				}
			}
		}
	}

	#Focus for The Hub
	focus = {
		id = MAF_thehub
		icon = GFX_goal_generic_navy_cruiser
		x = 12
		y = 5
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_vorbeckshafen }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thehub"
			custom_effect_tooltip = MAF_improve_air_in_ostafrika
			1032 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_war_support = 0.05
		}
	}

	#Focus for Zeppelinfeld
	focus = {
		id = MAF_zeppelinfeld
		icon = GFX_MAF_the_base
		x = 12
		y = 6
		cost = 8
		available_if_capitulated = no
		prerequisite = { focus = MAF_thehub }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_zeppelinfeld"
			custom_effect_tooltip = MAF_improve_infra_in_ostafrika
			1032 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			945 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			899 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Stadtterneuerungsplan
	focus = {
		id = MAF_stadtterneuerungsplan
		icon = GFX_goal_generic_construct_civ_factory
		x = 12
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_zeppelinfeld }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_stadtterneuerungsplan"
			custom_effect_tooltip = MAF_civ_in_ostafrika
			1032 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}

	#Focus for Südafrika’s Corruption
	focus = {
		id = MAF_sdafrikascorruption
		icon = GFX_MAF_rhodesier_sterben_nie
		available = {
		NOT = { has_idea = MAF_Debt }
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		x = 14
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_leftreformgruppeincharge 
			focus = MAF_thereturnofthelion 
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_sdafrikascorruption"
			custom_effect_tooltip = MAF_deal_with_nordrhodesia
		}
	}

	#Focus for Nordafrika’s Lawless Waste
	focus = {
		id = MAF_nordafrikaslawlesswaste
		icon = GFX_MAF_urlaub_im_kamerun
		available = {
			NOT = { has_idea = MAF_Debt }
			927 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		x = 10
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_thereturnofthelion 
			focus = MAF_leftreformgruppeincharge 
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_nordafrikaslawlesswaste"
			custom_effect_tooltip = MAF_deal_with_nordafrika
		}
	}

	#Focus for Meet the New Boss
	focus = {
		id = MAF_RFG_meetthenewboss
		icon = GFX_MAF_meet_the_new_boss
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		x = 14
		y = 8
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_dissolvenorthrhodesia }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_meetthenewboss"
			add_political_power = 50
			add_stability = 0.1
			custom_effect_tooltip = MAF_improve_situation_in_nordrhodesia
		}
	}

	#Focus for Dissolve North Rhodesia
	focus = {
		id = MAF_dissolvenorthrhodesia
		icon = GFX_MAF_reinforce_north_rhodesia
		x = 14
		y = 7
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
			custom_trigger_tooltip = {
				check_variable = { MAF_nordrhodesia_centralized_var > 20 }
				tooltip = MAF_can_annex_zam
			}
		}
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_breakthehouseholds }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_dissolvenorthrhodesia"
			if = {
				limit = { 
					ZAM = { is_ai = no } 
					is_subject_of = MAF
				}
				annex_country = {
					target = ZAM
					transfer_troops = yes
				}
			}
			if = {
				limit = { 
					BSC = { is_ai = no } 
					is_subject_of = MAF
				}
				annex_country = {
					target = BSC
					transfer_troops = yes
				}
			}
			custom_effect_tooltip = MAF_annex_ZAM_tt
		}
	}

	#Focus for Kongo Wasserkraftwerk A.G.
	focus = {
		id = MAF_kongowasserkraftwerkag
		icon = GFX_MAF_vereinigte_stahlwerke_ag_congo
		x = 18
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_regionalbrofrinfrastruktur }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_kongowasserkraftwerkag"
			COG = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_expand_industry_in_congo
		}
	}

	#Focus for Regionalbüro für Infrastruktur
	focus = {
		id = MAF_regionalbrofrinfrastruktur
		icon = GFX_MAF_regionalburo_fur_arbeitskrafte
		x = 18
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_congobasinelectricalauthority }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_regionalbrofrinfrastruktur"
			COG = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_expand_civ_factories_in_congo
		}
	}

	#Focus for The Beating Heart of Afrika
	focus = {
		id = MAF_RFG_thebeatingheartofafrika
		icon = GFX_MAF_beating_heart_of_africa
		x = 18
		y = 8
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_ingadammenaggregat }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_thebeatingheartofafrika"
			COG = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_expand_economy_in_congo
		}
	}

	#Focus for Amt VIIb
	focus = {
		id = MAF_amtviib
		icon = GFX_goal_MAF_7_11_b
		x = 28
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_leftreformgruppeincharge }
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus GFX_goal_MAF_7_11_b"
			add_ideas = MAF_african_intelligence_agency
		}
	}

	#Focus for Implement a Progressive Land Tax
	focus = {
		id = MAF_implementaprogressivelandtax
		icon = GFX_CAL_radical_taxation
		x = 20
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_theruleoflaw }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_implementaprogressivelandtax"
			CIV = {
				add_timed_idea = {
					idea = MAF_land_tax
					days = 180
				}
			}
			if = {
				limit = {
					IVO = {
						is_subject_of = MAF
						}
					}
				IVO = {
					add_timed_idea = {
						idea = MAF_land_tax
						days = 180
					}
				}
			}
			if = {
				limit = {
					GHA = {
						is_subject_of = MAF
						}
					}
				GHA = {
					add_timed_idea = {
						idea = MAF_land_tax
						days = 180
					}
				}
			}
			custom_effect_tooltip = MAF_land_tax_tt
		}
	}

	#Focus for Westafrika Pacified
	focus = {
		id = MAF_RFG_westafrikapacified
		icon = GFX_MAF_westafrika_pacified
		x = 20
		y = 10
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_oberwest }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_westafrikapacified"
			CIV = {
				add_command_power = 20
				army_experience = 20
			}
			custom_effect_tooltip = MAF_improve_situation_in_westafrika
		}
	}

	#Focus for The Westafrika Cultural and Natural Reserve
	focus = {
		id = MAF_thewestafrikaculturalandnaturalreserve
		icon = GFX_BBR_land_preservation
		x = 20
		y = 7
		cost = 6
		available_if_capitulated = no
		prerequisite = { focus = MAF_anendtotheirparties }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_thewestafrikaculturalandnaturalreserve"
			CIV = {
				every_owned_state = { 
					add_extra_state_shared_building_slots = 1
				}
			}
			if = {
				limit = {
					IVO = {
						is_subject_of = MAF
						}
					}
				IVO = {
					every_owned_state = { 
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			if = {
				limit = {
					GHA = {
						is_subject_of = MAF
						}
					}
				GHA = {
					every_owned_state = { 
						add_extra_state_shared_building_slots = 1
					}
				}
			}
			custom_effect_tooltip = MAF_reserves_tt
		}
	}

	#Focus for Ober West
	focus = {
		id = MAF_oberwest
		icon = GFX_unitetheschutztruppen
		x = 20
		y = 9
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_regulatoryoverhaul }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_oberwest"
				add_command_power = 20
				army_experience = 20
			CIV = {
				add_command_power = 40
				army_experience = 40
			}
			if = {
				limit = {
					IVO = {
						is_subject_of = MAF
						}
					}
				IVO = {
					add_command_power = 40
					army_experience = 40
				}
			}
			if = {
				limit = {
					GHA = {
						is_subject_of = MAF
						}
					}
				GHA = {
					add_command_power = 40
					army_experience = 40
				}
			}
			custom_effect_tooltip = MAF_ober_west_tt
		}
	}

	#Focus for Model Villages
	focus = {
		id = MAF_modelvillages
		icon = GFX_goal_model_cities
		x = 23
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_africanfreeworkersunion focus = MAF_thefirsthundredmillion }
		prerequisite = { focus = MAF_publicworks }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_modelvillages"
			every_owned_state = { 
				add_extra_state_shared_building_slots = 2
			
			}
			add_political_power = 100
			add_stability = 0.1
			add_to_variable = { MAF_nigeria_centralized_var = 1 }
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			add_to_variable = { MAF_congo_centralized_var = 1 }
			add_to_variable = { MAF_nordafrikasecured = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
			custom_effect_tooltip = MAF_increase_NGR_centralization_1
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
	}

	#Focus for Amt IX
	focus = {
		id = MAF_amtix
		icon = GFX_goal_MAF_office_9
		x = 28
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_amtviib }
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_amtix"
			swap_ideas = {
				remove_idea = MAF_african_intelligence_agency
				add_idea = MAF_african_intelligence_agency2
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = no
				}
				create_intelligence_agency = yes
			}
			else_if = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = yes
					NOT = { has_done_agency_upgrade = upgrade_crypto_strength }
				}
				upgrade_intelligence_agency = upgrade_crypto_strength
			}
		}
	}

	#Focus for Afrikanische Landtag
	focus = {
		id = MAF_RFG_afrikanischelandtag
		icon = GFX_MAF_african_landtag
		x = 24
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_thefinalstretch }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_RFG_afrikanischelandtag"
			#The Authoritarian Democrat Party will be known as the Aristocratic/Traditionalist Bloc
			#The Social Conservative Party will be known as the Traditionalist Bloc
			#The Market Liberal Party will be known as the Autonomist Centre - Right Wing
			#The Social Liberal Party will be known as the Autonomist Centre
			#The Social Democrat Party will be known as the Left Progressive/Pan-Afrika Bloc
			set_party_name = {
				ideology = authoritarian_democrat
				long_name = "Aristocratic/Traditionalist Bloc"
				name = "Aristocratic/Traditionalist Bloc"
			}
			set_party_name = {
				ideology = social_conservative
				long_name = "Traditionalist Bloc"
				name = "Traditionalist Bloc"
			}
			set_party_name = {
				ideology = market_liberal
				long_name = "Autonomist Centre - Right Wing"
				name = "Autonomist Centre - Right Wing"
			}
			set_party_name = {
				ideology = social_liberal
				long_name = "Autonomist Centre"
				name = "Autonomist Centre"
			}
			set_party_name = {
				ideology = social_democrat
				long_name = "Left Progressive/Pan-Afrika Bloc"
				name = "Left Progressive/Pan-Afrika Bloc"
			}
			add_ideas = MAF_afrikanischelandtag
			add_stability = 0.05
		}
	}

	#Focus for A Deal with GFR
	focus = {
		id = MAF_adealwithgfr
		icon = GFX_goal_MAF_GFR
		x = 30
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_leftreformgruppeincharge 
		}
		ai_will_do = {
			factor = 25
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_adealwithgfr"
			add_tech_bonus = {
				name = MAF_adealwithgfr
				bonus = 1
				uses = 1
				category = rocketry
			}
		}
	}

	#Focus for To Boldly Go...
	focus = {
		id = MAF_toboldlygo
		icon = GFX_goal_MAF_boldly_go
		x = 27
		y = 17
		cost = 7
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_underwritethelomprogram 
		}
		prerequisite = { 
			focus = MAF_africanartsfund 
		}
				select_effect = {
			if = {
				limit = { 
					KEN = { is_ai = no } 
					is_subject_of = MAF
				}
				KEN = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 
					UGA = { is_ai = no } 
					is_subject_of = MAF
				}
				UGA = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					NGR = { is_ai = no } 
					is_subject_of = MAF
				}
				NGR = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					MLW = { is_ai = no } 
					is_subject_of = MAF
				}
				MLW = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					BSC = { is_ai = no } 
					is_subject_of = MAF
				}
				BSC = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					GHA = { is_ai = no } 
					is_subject_of = MAF
				}
				GHA = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}		
			if = {
				limit = { 	
					ZZB = { is_ai = no } 
					is_subject_of = MAF
				}
				ZZB = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			
			if = {
				limit = { CIV = { is_ai = no } }
				CIV = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { IVO = { is_ai = no } }
				IVO = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { KOG = { is_ai = no } }
				KOG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { KTG = { is_ai = no } }
				KTG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { COG = { is_ai = no } }
				COG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			
			if = {
				limit = { MAG = { is_ai = no } }
				MAG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}

			if = {
				limit = { CEA = { is_ai = no } }
				CEA = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}

			if = {
				limit = { CMR = { is_ai = no } }
				CMR = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}

			if = {
				limit = { NMB = { is_ai = no } }
				NMB = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			
			if = {
				limit = { 
					ZAM = { is_ai = no } 
					is_subject_of = MAF
				}
				ZAM = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_toboldlygo"
			custom_effect_tooltip = MAF_fed_tt
			custom_effect_tooltip = MAF_annex_puppets
			set_country_flag = MAF_no_collapse
			every_state = {
				limit = { 
					OR = {
						is_owned_by = NGR
						is_owned_by = CIV
						is_owned_by = KEN
						is_owned_by = ZAM
						is_owned_by = COG
						is_owned_by = MAG
						is_owned_by = CMR
						is_owned_by = GHA
						is_owned_by = UGA
						is_owned_by = NMB
						is_owned_by = IVO
						is_owned_by = CEA
						is_owned_by = ZZB
					}
				}
				MAF = {
					add_state_core = PREV
				}
			}
			every_country = {
				limit = { is_subject_of = MAF }
				MAF = {
					annex_country = {
						target = PREV
						transfer_troops = yes
					}
				}
			}
			effect_tooltip = {
				GER = {
					end_puppet = MAF
				}
			}
			hidden_effect = {
				MAF = {
					set_rule = {
						can_decline_call_to_war = yes
						can_not_declare_war = no
					}
				}
			}
			remove_ideas = MAF_Colonial_Nation
			country_event = {
				id = mafrfg.9
				days = 5
			}
		}
	}

	#Focus for African Arts Fund
	focus = {
		id = MAF_africanartsfund
		icon = GFX_BBR_art_centers
		x = 28
		y = 16
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_afrikabroadcastingcorporation }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_africanartsfund"
			add_stability = 0.1
			add_war_support = 0.1
		}
	}

	#Focus for Afrika Broadcasting Corporation
	focus = {
		id = MAF_afrikabroadcastingcorporation
		icon = GFX_MAF_electronic_intel_project
		x = 28
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_statthalterkenyatta }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_afrikabroadcastingcorporation"
			add_tech_bonus = {
				name = MAF_afrikabroadcastingcorporation
				bonus = 1
				uses = 2
				category = electronics
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Imperial African Peerage
	focus = {
		id = MAF_imperialafricanpeerage
		icon = GFX_goal_Deutsches_Heer
		x = 22
		y = 15
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_statthalterbell }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_imperialafricanpeerage"
			add_ideas = MAF_imperialafricanpeerage
		}
	}

	#Focus for Statthalter Bell
	focus = {
		id = MAF_statthalterbell
		icon = GFX_goal_MAF_bell
		x = 22
		y = 14
		cost = 1
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			has_country_leader = {
				name = "Alexander Douala Manga Bell"
				ruling_only = yes
			}
		}
		available_if_capitulated = no
		prerequisite = { focus = MAF_thefirstelection }
		mutually_exclusive = { focus = MAF_statthalterkenyatta }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_statthalterbell"
			custom_effect_tooltip = MAF_bell_tt
		}
	}

	#Focus for Statthalter Kenyatta
	focus = {
		id = MAF_statthalterkenyatta
		icon = GFX_goal_MAF_Kenyatta
		x = 26
		y = 14
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			has_country_leader = {
				name = "Jomo Kenyatta"
				ruling_only = yes
			}
		}
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_thefirstelection }
		mutually_exclusive = { focus = MAF_statthalterbell }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_statthalterkenyatta"
			custom_effect_tooltip = MAF_Kenyatta_tt
		}
	}

	#Focus for Sylvester-Williams Pan-African University
	focus = {
		id = MAF_sylvesterwilliamspanafricanuniversity
		icon = GFX_NEE_education_spending
		x = 26
		y = 15
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_statthalterkenyatta }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_sylvesterwilliamspanafricanuniversity"
			add_research_slot_until_five = yes
		}
	}

	#Focus for Underwrite the Lomé Program
	focus = {
		id = MAF_underwritethelomprogram
		icon = GFX_HUN_nationalities_law
		x = 26
		y = 16
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_sylvesterwilliamspanafricanuniversity }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_underwritethelomprogram"
			add_popularity = {	
				ideology = social_democrat
				popularity = 0.15
			}
			add_popularity = {	
				ideology = radical_socialist
				popularity = 0.1
			}
			add_popularity = {	
				ideology = social_conservative
				popularity = 0.1
			}
			add_political_power = 50
		}
	}

	#Focus for Staatsekretariat für Volksbildung
	focus = {
		id = MAF_staatsekretariatfrvolksbildung
		icon = GFX_fund_black_education
		x = 20
		y = 15
		cost = 3
		available_if_capitulated = no
		prerequisite = { focus = MAF_statthalterbell }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_staatsekretariatfrvolksbildung"
			add_research_slot_until_five = yes
		}
	}

	#Focus for Herrenhaus Primacy
	focus = {
		id = MAF_herrenhausprimacy
		icon = GFX_goal_NFA_end_parliamentarism
		x = 22
		y = 16
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_imperialafricanpeerage }
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_herrenhausprimacy"
			add_ideas = MAF_herrenhausprimacy
		}
	}

	#Focus for Afrikanisches Kaiserreich
	focus = {
		id = MAF_afrikanischeskaiserreich
		icon = GFX_goal_MAF_african_kaiserreich
		x = 21
		y = 17
		cost = 7
		available_if_capitulated = no
		prerequisite = { 
			focus = MAF_hauptsicherheitsbro 
		}
		available = {
			GER = {	
				is_subject = no
			}
		}
				select_effect = {
			if = {
				limit = { 
					KEN = { is_ai = no } 
					is_subject_of = MAF
				}
				KEN = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					NGR = { is_ai = no } 
					is_subject_of = MAF
				}
				NGR = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					GHA = { is_ai = no } 
					is_subject_of = MAF
				}
				GHA = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					UGA = { is_ai = no } 
					is_subject_of = MAF
				}
				UGA = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					MLW = { is_ai = no } 
					is_subject_of = MAF
				}
				MLW = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					BSC = { is_ai = no } 
					is_subject_of = MAF
				}
				BSC = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { 	
					ZZB = { is_ai = no } 
					is_subject_of = MAF
				}
				ZZB = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			if = {
				limit = { CIV = { is_ai = no } }
				CIV = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { KTG = { is_ai = no } }
				KTG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { COG = { is_ai = no } }
				COG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { IVO = { is_ai = no } }
				IVO = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { MAG = { is_ai = no } }
				MAG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { CEA = { is_ai = no } }
				CEA = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { CMR = { is_ai = no } }
				CMR = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
			if = {
				limit = { KOG = { is_ai = no } }
				KOG = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}	
			if = {
				limit = { NMB = { is_ai = no } }
				NMB = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}			
			if = {
				limit = { 
					ZAM = { is_ai = no } 
					is_subject_of = MAF
				}
				ZAM = {
					country_event = {
						id = mittelpolitic.9
						days = 3
					}
				}
			}
		}
		prerequisite = { 
			focus = MAF_herrenhausprimacy 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_afrikanischeskaiserreich"
			custom_effect_tooltip = MAF_annex_puppets
			set_country_flag = MAF_no_collapse
			every_state = {
				limit = { 
					OR = {
						is_owned_by = NGR
						is_owned_by = UGA
						is_owned_by = GHA
						is_owned_by = IVO
						is_owned_by = CMR
						is_owned_by = CEA
						is_owned_by = KOG
						is_owned_by = NMB
						is_owned_by = MLW
						is_owned_by = BSC
						is_owned_by = CIV
						is_owned_by = KEN
						is_owned_by = ZAM
						is_owned_by = COG
						is_owned_by = KTG
						is_owned_by = ZZB
						is_owned_by = MAG
					}
				}
				MAF = {
					add_state_core = PREV
				}
			}
			every_country = {
				limit = { is_subject_of = MAF }
				MAF = {
					annex_country = {
						target = PREV
						transfer_troops = yes
					}
				}
			}
			effect_tooltip = {
				GER = {
					end_puppet = MAF
				}
			}
			hidden_effect = {
				MAF = {
					set_rule = {
						can_decline_call_to_war = yes
						can_not_declare_war = no
					}
				}
			}
			remove_ideas = MAF_Colonial_Nation
			custom_effect_tooltip = MAF_Kaiser_tt
			hidden_effect = {
			if = {
				limit = {
					NOT = { has_global_flag = wilhelmiided }
				}
				set_country_flag = MAF_kasier_willyII_gang	
				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_MAF_Wilhelm_II.png"
					expire = "1.1.1"
					ideology = soccon_colonial_govt_subtype
				}

				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_MAF_Wilhelm_II.png"
					expire = "1.1.1"
					ideology = marlib_colonial_govt_subtype
				}

				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_MAF_Wilhelm_II.png"
					expire = "1.1.1"
					ideology = soclib_colonial_govt_subtype
				}

				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_MAF_Wilhelm_II.png"
					expire = "1.1.1"
					ideology = socdem_colonial_govt_subtype
				}

				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_MAF_Wilhelm_II.png"
					expire = "1.1.1"
					ideology = colonial_govt_subtype
				}

				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_MAF_Wilhelm_II.png"
					expire = "1.1.1"
					ideology = autocratic_colonial_govt_subtype
				}
			}
			if = {	
				limit = {
					has_global_flag = wilhelmiided 
				}
				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_Germany_Wilhelm_III.png"
					expire = "1.1.1"
					ideology = socdem_colonial_govt_subtype
				}
				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_Germany_Wilhelm_III.png"
					expire = "1.1.1"
					ideology = soclib_colonial_govt_subtype
				}
				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_Germany_Wilhelm_III.png"
					expire = "1.1.1"
					ideology = marlib_colonial_govt_subtype
				}
				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_Germany_Wilhelm_III.png"
					expire = "1.1.1"
					ideology = soccon_colonial_govt_subtype
				}
				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_Germany_Wilhelm_III.png"
					expire = "1.1.1"
					ideology = colonial_govt_subtype
				}
				create_country_leader = {
					name = "Wilhelm I"
					desc = "POLITICS_WILHELM_II_AFRIKA_DESC"
					picture = "gfx/leaders/MAF/Portrait_Germany_Wilhelm_III.png"
					expire = "1.1.1"
					ideology = autocratic_colonial_govt_subtype
				}
			}
			country_event = {
				id = mafrfg.8
				days = 5
			}
		}
	}

#End of focuses 
	}
 }