###########################################
#	Foppe's Mittelafrikan focus tree	#
#	Finna yeet on the Kaiserdevs	#
###########################################
focus_tree = {
	id = mittleafrikan_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = MAF
		}
	}
	default = no
	initial_show_position = {
		focus = MAF_Military_Reforms
	}
	
	shared_focus = MAF_Military_Reforms
	shared_focus = MAF_blackmondayadjustment
	shared_focus = GEX_war_in_the_east
	shared_focus = GEX_darkest_hour
	
	focus = {
		id = MAF_Sovereign_State
		icon = GFX_goal_MAF_Sovereign_State
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		allow_branch = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_annualfinancialstatement
		}
		x = 30
		y = 2
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Sovereign_State"
			custom_effect_tooltip = MAF_SovState
			country_event = { id = mittel.136 days = 0 }
		}
	}
	focus = {
		id = MAF_Establish_Lion_Society
		icon = GFX_goal_MAF_Lion_Society
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_Sovereign_State
		}
		x = -2
		y = 1
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Establish_Lion_Society"
			country_event = { id = mittel.68 days = 30 }
			hidden_effect = { country_event = { id = mittel.73 days = 300 } }
		}
	}
	
	focus = {
		id = MAF_revenge
		icon = GFX_goal_generic_execution
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_Establish_Lion_Society
		}
		x = -3
		y = 2
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_revenge"
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = -0.15
			}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.05
			}
			hidden_effect = {
				country_event = {
					id = goering.14
					days = 40
				}
			}
		}
	}
	
	focus = {
		id = MAF_tap_into_black_market
		icon = GFX_goal_CSA_underground_economy
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_revenge
		}
		x = -3
		y = 4
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_tap_into_black_market"
			add_ideas = MAF_black_market_influence
			hidden_effect = {	
				country_event = {
					id = goering.15
					days = 64
				}
			}
		}
	}
	
	focus = {
		id = MAF_rule_of_fear
		icon = GFX_goal_CSA_collectivist_military
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_tap_into_black_market
		}
		x = -2
		y = 5
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_rule_of_fear"
			add_ideas = MAF_rule_of_fear
		}
	}
	
	focus = {
		id = MAF_mittelafrikan_reich
		icon = GFX_MAF_Reich
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
			has_completed_focus = MAF_Vizekonig
		}
		prerequisite = {
			focus = MAF_Sovereign_State
		}
		x = 2
		y = 1
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_mittelafrikan_reich"
			custom_effect_tooltip = MAF_mittelafrikan_reich_tt
			add_timed_idea = {
				idea = MAF_integration_efforts_idea
				days = 720
			}
			hidden_effect = {
			set_cosmetic_tag = MAFR
			every_state = {
			limit = {
			OR = {
			is_core_of = COG
			is_core_of = KTG
			is_core_of = CIV
			is_core_of = NGR
			is_core_of = ZAM
			is_core_of = IVO
			is_core_of = MAG
			is_core_of = KOG
			is_core_of = CMR
			is_core_of = GAB
			is_core_of = NMB
			is_core_of = CMR
			is_core_of = CEA
				}
			}
			add_core_of = MAF
			}
			add_state_core = 268
			add_state_core = 1297
			add_state_core = 709
			add_state_core = 704
			}
		}
	}
	
	focus = {
		id = MAF_stand_as_one
		icon = GFX_goal_generic_republic
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_mittelafrikan_reich
		}
		x = 3
		y = 2
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_stand_as_one"
			add_war_support = 0.2
			add_manpower = 5000
			add_command_power = 100
		}
	}
	focus = {
		id = MAF_equals_with_the_kaiser
		icon = GFX_goal_MAF_Equal_With_Kaiser
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_stand_as_one
		}
		x = 3
		y = 4
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_equals_with_the_kaiser"
			remove_ideas = MAF_Colonial_Nation
			hidden_effect = {
				MAF = {
					set_rule = {
						can_decline_call_to_war = yes
						can_not_declare_war = no
					}
				}
			}
		}
	}
	focus = {
		id = maf_goerings_greater_afrika
		icon = GFX_goal_our_continent
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_equals_with_the_kaiser
		}
		x = 2
		y = 5
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.1
				has_war = yes
			}
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus maf_goerings_greater_afrika"
			custom_effect_tooltip = maf_goerings_greater_afrika_tt
			hidden_effect = {
			every_state = {
					limit = {
						is_on_continent = africa
					}
					MAF = { 
						add_state_core = PREV 
					}
				}
			}
			every_country = {
				limit = {
					is_in_africa = yes
				}
				MAF = {
					create_wargoal = {
						target = PREV
						type = annex_everything
					}
				}
			}
		}
	}
	focus = {
		id = MAF_End_Protectorates
		icon = GFX_goal_MAF_End_Protectorates
		prerequisite = {
			focus = MAF_Sovereign_State
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
			has_war = no
		}
		x = 0
		y = 1
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_End_Protectorates"
			custom_effect_tooltip = MAF_EndProc
			country_event = { id = mittel.181 days = 0 }
			add_stability = -0.25
			869 = { add_extra_state_shared_building_slots = 1 }
			870 = { add_extra_state_shared_building_slots = 1 }
			548 = { add_extra_state_shared_building_slots = 1 }
			905 = { add_extra_state_shared_building_slots = 1 }
			913 = { add_extra_state_shared_building_slots = 1 }
			878 = { add_extra_state_shared_building_slots = 1 }
			879 = { add_extra_state_shared_building_slots = 1 }
			538 = { add_extra_state_shared_building_slots = 1 }
			876 = { add_extra_state_shared_building_slots = 1 }
			953 = { add_extra_state_shared_building_slots = 1 }
			274 = { add_extra_state_shared_building_slots = 1 }
			1321 = { add_extra_state_shared_building_slots = 1 }
			1322 = { add_extra_state_shared_building_slots = 1 }
			1323 = { add_extra_state_shared_building_slots = 1 }
			952 = { add_extra_state_shared_building_slots = 1 }
		}
	}
	
	focus = {
		id = MAF_end_self_govenance
		icon = GFX_goal_MAF_abilosh_self_governance
		prerequisite = {
			focus = MAF_End_Protectorates
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
			has_war = no
		}
		x = 1
		y = 2
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_end_self_govenance"
			add_political_power = 200
			add_stability = -0.15
			add_war_support = 0.15
			custom_effect_tooltip = MAF_self_governance_end
			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 = {
		id = MAF_unlimited_power
		icon = GFX_MAF_Unlimited_Power
		prerequisite = {
			focus = MAF_End_Protectorates
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
			has_war = no
		}
		x = 0
		y = 3
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_unlimited_power"
			add_ideas = MAF_unlimited_power
			custom_effect_tooltip = MAF_greatly_expand_goering_domestic_power
			hidden_effect = {
				country_event = {
					id = goering.19
					days = 40
				}
			}
		}
	}
	focus = {
		id = MAF_centralize_administration
		icon = GFX_MAF_direct_rule
		prerequisite = {
			focus = MAF_End_Protectorates
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
			has_war = no
			has_country_flag = MAF_sucsesfully_avoided_collapse
		}
		select_effect = {
			if = {
				limit = {
					KEN = { is_ai = no }
					is_subject_of = MAF
				}
				KEN = {
					country_event = {
						id = mittelpolitic.8
						days = 3
					}
				}
			}
			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
					}
				}
			}
		}
		x = -1
		y = 2
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_centralize_administration"
			custom_effect_tooltip = MAF_annex_puppets
			set_country_flag = MAF_no_collapse
			every_country = {
				limit = { is_subject_of = MAF }
				MAF = {
					annex_country = {
						target = PREV
						transfer_troops = yes
					}
				}
			}
			hidden_effect = {
				delete_units = {
					division_template = "Afrikanische Stammesmiliz"
					disband = no
				}
				delete_units = {
					division_template = "Division d'Infanterie"
					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 = {
		id = MAF_Annex_British_Colonies
		icon = GFX_goal_MAF_Stomp_Anglos
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_end_self_govenance
		}
		x = 2
		y = 3
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Annex_British_Colonies"
			add_stability = -0.15
			add_state_claim = 548
			add_state_claim = 547
			add_state_claim = 925
			add_state_claim = 892
			add_state_claim = 957
			add_state_claim = 958
			add_state_claim = 956
			add_state_claim = 813
			add_state_claim = 955
			add_state_claim = 871
			add_state_claim = 662
			add_state_claim = 558
			add_state_claim = 973
			add_state_claim = 913
			add_state_claim = 878
			add_state_claim = 274
			add_state_claim = 1321
			add_state_claim = 1322
			add_state_claim = 1323
			add_state_claim = 970
			add_state_claim = 969
			KEN = {
				remove_ideas = GBR_Colonial_Government
				country_event = {
					id = mittelpolitic.14
					days = 1 random_days = 4
				}
				set_country_flag = MAF_its_just_been_revoked
			}
			UGA = {
				remove_ideas = GBR_Colonial_Government
				country_event = {
					id = mittelpolitic.14
					days = 1 random_days = 4
				}
				set_country_flag = MAF_its_just_been_revoked
			}
			NGR = {
				remove_ideas = GBR_Colonial_Government
				country_event = {
					id = mittelpolitic.14
					days = 1 random_days = 4
				}
				set_country_flag = MAF_its_just_been_revoked
			}
			GHA = {
				remove_ideas = GBR_Colonial_Government
				country_event = {
					id = mittelpolitic.14
					days = 1 random_days = 4
				}
				set_country_flag = MAF_its_just_been_revoked
			}
			BSC = {
				remove_ideas = GBR_Colonial_Government
				country_event = {
					id = mittelpolitic.14
					days = 1 random_days = 4
				}
				set_country_flag = MAF_its_just_been_revoked
			}
			MLW = {
				remove_ideas = GBR_Colonial_Government
				country_event = {
					id = mittelpolitic.14
					days = 1 random_days = 4
				}
				set_country_flag = MAF_its_just_been_revoked
			}
			ZZB = {
				remove_ideas = GBR_Colonial_Government
				country_event = {
					id = mittelpolitic.14
					days = 1 random_days = 4
				}
				set_country_flag = MAF_its_just_been_revoked
			}
			add_to_variable = { MAF_nigeria_centralized_var = 3 }
			add_to_variable = { MAF_kenya_uganda_centralized_var = 3 }
			custom_effect_tooltip = MAF_increase_NGR_centralization_3
			custom_effect_tooltip = MAF_increase_KEN_centralization_3
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_STABILITY }
	}
	
	focus = {
		id = MAF_secure_loyalty_by_force
		icon = GFX_goal_generic_death
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_centralize_administration
		}
		x = -2
		y = 3
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Annex_British_Colonies"
			add_stability = 0.15
			increase_ruling_party_popularity_by_5 = yes
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = MAF_cult_of_the_stalhatter
		icon = GFX_goal_MAF_Cult_of_Personality
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_secure_loyalty_by_force
		}
		prerequisite = {
			focus = MAF_unlimited_power
		}
		x = -1
		y = 4
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_cult_of_the_stalhatter"
			add_political_power = 200
			add_ideas = MAF_cult_of_the_stalhatter
		}
	}
	
	focus = {
		id = MAF_brace_for_the_worsr
		icon = GFX_goal_generic_non_voilence
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = MAF_Annex_British_Colonies
		}
		prerequisite = {
			focus = MAF_unlimited_power
		}
		x = 1
		y = 4
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_brace_for_the_worsr"
			custom_effect_tooltip = MAF_oh_god_of_fuck
			custom_effect_tooltip = MAF_no_turning_back
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 7500
				producer = MAF
			}
			hidden_effect = {
				country_event = { id = mittel.182 days = 15 }
				country_event = { id = mittel.140 days = 30 }
				country_event = { id = mittel.141 days = 31 }
				country_event = { id = mittel.142 days = 32 }
				country_event = { id = mittel.143 days = 35 }
				country_event = { id = mittel.144 days = 36 }
				country_event = { id = mittel.145 days = 48 }
				country_event = { id = mittel.146 days = 38 }
				country_event = { id = mittel.147 days = 36 }
				country_event = { id = mittel.148 days = 50 }
				country_event = { id = mittel.149 days = 43 }
				country_event = { id = mittel.150 days = 46 }
				country_event = { id = mittel.151 days = 39 }
				country_event = { id = mittel.183 days = 35 }
			}
		}
	}
	focus = {
		id = MAF_Vizekonig
		icon = GFX_goal_MAF_Vizekonig_Goering
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
			country_exists = GER
		}
		prerequisite = {
			focus = MAF_brace_for_the_worsr
		}
		prerequisite = {
			focus = MAF_cult_of_the_stalhatter
		}
		x = 0
		y = 5
		relative_position_id = MAF_Sovereign_State
		ai_will_do = {
			factor = 60
		}
		cost = 5
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Vizekonig"
			custom_effect_tooltip = MAF_Autonomy
			add_stability = -0.15
			hidden_effect = {
				MAF = {
					set_rule = {
						can_decline_call_to_war = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_STABILITY }
	}
	

	#Focus for Regulatory Blindspot
	focus = {
		id = MAF_regulatoryblindspot
		icon = GFX_MAF_regulatory_blindspot
		x = 23
		y = 7
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_breakbreadwiththeduke }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			CIV = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					GHA = {
						is_subject_of = MAF
						}
					}
				GHA = {
					random_owned_controlled_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = {
					IVO = {
						is_subject_of = MAF
						}
					}
				IVO = {
					random_owned_controlled_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}
			MAF = {
				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_look_away_tt
		}
	}

	#Focus for The Rule of Money
	focus = {
		id = MAF_theruleofmoney
		icon = GFX_focus_mex_privatisation
		x = 23
		y = 4
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_imdunkelherzwestafrikas }
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			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
					}
				}
				add_stability = 0.02
			}
			custom_effect_tooltip = MAF_expand_taxes_in_westafrika
		}
	}

	#Focus for Einen Rupie für deine Gedanken
	focus = {
		id = MAF_einenrupiefrdeinegedanken
		icon = GFX_MAF_rupee
		x = 19
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_theschutzgebietebeckon }
		ai_will_do = {
			factor = 30
		}
		available = {
			controls_all_owned_states = yes
		}
		completion_reward = {
			if = {
				limit = {
					KEN = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = KEN
				}
			}
			if = {
				limit = {
					UGA = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = UGA
				}
			}
			custom_effect_tooltip = MAF_deal_with_kenya_uganda
		}
	}

	#Focus for Bingo Bango Bongo
	focus = {
		id = MAF_bingobangobongo
		icon = GFX_MAF_bingo_bango_bongo
		x = 21
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_theschutzgebietebeckon }
		ai_will_do = {
			factor = 30
		}
		available = {
			controls_all_owned_states = yes
		}
		completion_reward = {
			if = {
				limit = {
					KAS = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = KAS
				}
			}
			if = {
				limit = {
					UMN = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = UMN
				}
			}
			if = {
				limit = {
					ORT = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = ORT
				}
			}
			custom_effect_tooltip = MAF_deal_with_congo
		}
	}

	#Focus for Wir Lagen Vor Madagaskar
	focus = {
		id = MAF_wirlagenvormadagaskar
		icon = GFX_MAF_wir_lagen_vor_madagaskar
		x = 11
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_theschutzgebietebeckon }
		ai_will_do = {
			factor = 30
		}
		available = {
			controls_all_owned_states = yes
			OR = {
				MAG = {
					has_completed_focus = MAG_the_coup
					has_completed_focus = MAG_thegeneralgouverneurdeparts
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					MAG = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = MAG
				}
			}
			custom_effect_tooltip = MAF_deal_with_madagaskar
		}
	}

	#Focus for Urlaub in Kamerun
	focus = {
		id = MAF_urlaubinkamerun
		icon = GFX_MAF_urlaub_im_kamerun
		x = 13
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_theschutzgebietebeckon }
		ai_will_do = {
			factor = 30
		}
		available = {
			controls_all_owned_states = yes
		}
		completion_reward = {
			if = {
				limit = {
					ADW = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = ADW
				}
			}
			if = {
				limit = {
					CEA = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = CEA
				}
			}
			if = {
				limit = {
					KOG = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = KOG
				}
			}
			if = {
				limit = {
					GAB = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = GAB
				}
			}
			if = {
				limit = {
					TKE = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = TKE
				}
			}
			custom_effect_tooltip = MAF_deal_with_nordafrika
		}
	}

	#Focus for Mzizima, Haus des Friedens
	focus = {
		id = MAF_mzizimahausdesfriedens
		icon = GFX_MAF_kaiserreichs_staging_ground
		x = 15
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_theschutzgebietebeckon }
		ai_will_do = {
			factor = 30
		}
		available = {
			controls_all_owned_states = yes
		}
		completion_reward = {
			if = {
				limit = {
					RWA = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = RWA
				}
			}
			custom_effect_tooltip = MAF_deal_with_ostafrika
		}
	}

	#Focus for Break Bread with the Duke
	focus = {
		id = MAF_breakbreadwiththeduke
		icon = GFX_MAF_break_bread_with_duke
		x = 23
		y = 6
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_implementacoffeetax }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			CIV = {
				add_stability = 0.05
				add_political_power = 30
				increase_ruling_party_popularity_by_5 = yes
			}
			if = {
				limit = {
					GHA = {
						is_subject_of = MAF
						}
					}
				GHA = {
					add_stability = 0.05
					add_political_power = 30
					increase_ruling_party_popularity_by_5 = yes
				}
			}
			if = {
				limit = {
					IVO = {
						is_subject_of = MAF
						}
					}
				IVO = {
					add_stability = 0.05
					add_political_power = 30
					increase_ruling_party_popularity_by_5 = yes
				}
			}
			custom_effect_tooltip = MAF_break_bread_tt
		}
	}

	#Focus for Rhodesier Sterben Nie
	focus = {
		id = MAF_rhodesiersterbennie
		icon = GFX_MAF_rhodesier_sterben_nie
		x = 17
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_theschutzgebietebeckon }
		ai_will_do = {
			factor = 30
		}
		available = {
			controls_all_owned_states = yes
		}
		completion_reward = {
			if = {
				limit = {
					BSC = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = BSC
				}
			}
			if = {
				limit = {
					BRT = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = BRT
				}
			}
			if = {
				limit = {
					ZAM = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = ZAM
				}
			}
			custom_effect_tooltip = MAF_deal_with_nordrhodesia
		}
	}

	#Focus for Divest Our Native Education
	focus = {
		id = MAF_divestournativeeducation
		icon = GFX_MAF_divest_native_education
		x = 19
		y = 5
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_committeeforgermansettlement }
		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 = {
			UGA = {
				add_timed_idea = {
					idea = MAF_education_cuts
					days = 180
				}
			}
			KEN = {
				add_timed_idea = {
					idea = MAF_education_cuts
					days = 180
				}
			}
			custom_effect_tooltip = MAF_cut_education_in_kenya
		}
	}

	#Focus for Support Free State Collaborationists
	focus = {
		id = MAF_supportfreestatecollaborationists
		icon = GFX_MAF_support_free_state_collaborationists
		x = 19
		y = 6
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_divestournativeeducation }
		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 = {
			UGA = {
				add_stability = 0.05
				add_political_power = 40
			}
			KEN = {
				add_stability = 0.05
				add_political_power = 40
			}
			custom_effect_tooltip = MAF_support_govt_in_kenya
			add_to_variable = { MAF_kenya_uganda_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_KEN_centralization_1
		}
	}

	#Focus for Ostafrikanischer Kaiserfabrikkomplex
	focus = {
		id = MAF_ostafrikanischerkaiserfabrikkomplex
		icon = GFX_MAF_ostafrikanischer_kaisersfabrikkomplex
		x = 19
		y = 7
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_supportfreestatecollaborationists }
		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 = {
			KEN = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			UGA = {
				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_civ_factories_in_kenya
		}
	}

	#Focus for Sowing the Seeds of Growth?
	focus = {
		id = MAF_sowingtheseedsofgrowth
		icon = GFX_MAF_sowing_seeds_of_growth
		x = 19
		y = 8
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_ostafrikanischerkaiserfabrikkomplex }
		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 = {
			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 "Goeringshafen"
	focus = {
		id = maf_goeringshafen
		icon = GFX_MAF_goeringshafen
		x = 15
		y = 4
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_mzizimahausdesfriedens }
		ai_will_do = {
			factor = 30
		}
		available = {
			965 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			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 Base
	focus = {
		id = MAF_thebase
		icon = GFX_MAF_the_base
		x = 15
		y = 5
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = maf_goeringshafen }
		ai_will_do = {
			factor = 30
		}
		available = {
			965 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = MAF_improve_air_in_ostafrika
			1032 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}
	}

	#Focus for Sonderfahrtsnabe
	focus = {
		id = MAF_sonderfahrtsnabe
		icon = GFX_goal_generic_construct_infrastructure
		x = 15
		y = 6
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_thebase }
		ai_will_do = {
			factor = 30
		}
		available = {
			965 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = MAF_improve_infra_in_ostafrika
			1032 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			965 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			899 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for The Schutzgebiete Beckon!
	focus = {
		id = MAF_theschutzgebietebeckon
		icon = GFX_focus_GER_mittelafrika
		prerequisite = {
			focus = MAF_annualfinancialstatement 
		}
		available = {
			NOT = {
				has_idea = MAF_Debt
			}
			date > 1937.1.1
		}
		ai_will_do = {
			factor = 100
		}
		x = 17
		y = 2
		cost = 3
		available_if_capitulated = no
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_theschutzgebietebeckon"
			if = {
				limit = {
					NBL = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = NBL
				}
			}
			country_event = {
				id = mafNKR.1
			}
			custom_effect_tooltip = MAF_settler_tp
		}
	}

	#Focus for Im Dunkel Herz Westafrikas
	focus = {
		id = MAF_imdunkelherzwestafrikas
		icon = GFX_MAF_im_dunkel_herz_westafrikas
		x = 23
		y = 3
		cost = 1
		available_if_capitulated = no
		prerequisite = { focus = MAF_theschutzgebietebeckon }
		ai_will_do = {
			factor = 30
		}
		available = {
			controls_all_owned_states = yes
		}
		completion_reward = {
			if = {
				limit = {
					NGR = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = NGR
				}
			}
			if = {
				limit = {
					DAH = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = DAH
				}
			}
			if = {
				limit = {
					CIV = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = CIV
				}
			}
			if = {
				limit = {
					GHA = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = GHA
				}
			}
			if = {
				limit = {
					IVO = {
						is_subject = no
						is_in_faction = no
					}
				}
				declare_war_on = {
					type = annex_everything
					target = IVO
				}
			}
			custom_effect_tooltip = MAF_deal_with_westafrika
		}
	}

	#Focus for German Law in Nordrhodesien
	focus = {
		id = MAF_germanlawinnordrhodesien
		icon = GFX_MAF_german_law_in_nordrhodesien
		x = 17
		y = 4
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_rhodesiersterbennie }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			ZAM = {
				add_stability = 0.05
			}
			BSC = {
				add_stability = 0.05
			}
			custom_effect_tooltip = MAF_law_in_nordrhodesia
			add_to_variable = { MAF_nordrhodesia_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_ZAM_centralization_1
		}
	}

	#Focus for A Few Good Men
	focus = {
		id = MAF_afewgoodmen
		icon = GFX_MAF_a_few_good_men
		x = 17
		y = 5
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_germanlawinnordrhodesien }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			ZAM = {
				add_manpower = 5000
				add_war_support = 0.05
			}
			BSC = {
				add_manpower = 5000
				add_war_support = 0.05
			}
			custom_effect_tooltip = MAF_loyalists_in_nordrhodesia
		}
	}

	#Focus for Use The Households
	focus = {
		id = MAF_usethehouseholds
		icon = GFX_MAF_use_the_households
		x = 17
		y = 6
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_afewgoodmen }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			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_settlers_in_nordrhodesia
		}
	}

	#Focus for Reinforce North Rhodesia
	focus = {
		id = MAF_reinforcenorthrhodesia
		icon = GFX_MAF_reinforce_north_rhodesia
		x = 17
		y = 7
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_usethehouseholds }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			ZAM = {
				random_owned_state = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
					}
				}
			}
			BSC = {
				random_owned_state = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = MAF_fortification_in_nordrhodesia
		}
	}

	#Focus for Supplement the Schutztruppen
	focus = {
		id = MAF_supplementtheschutztruppen
		icon = GFX_MAF_supplement_schutztruppen
		x = 13
		y = 4
		cost = 4
		available = {
			952 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		available_if_capitulated = no
		prerequisite = { focus = MAF_urlaubinkamerun }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			army_experience = 20
			add_command_power = 20
			CMR = {
				army_experience = 20
				add_command_power = 20			
			}
			custom_effect_tooltip = MAF_improve_schutztruppen_in_nordafrika
		}
	}

	#Focus for Mercenary Auxillaries
	focus = {
		id = MAF_mercenaryauxillaries
		icon = GFX_MAF_mercenary_auxiliaries
		x = 13
		y = 5
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_supplementtheschutztruppen }
		ai_will_do = {
			factor = 30
		}
		available = {
			952 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			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_mercanaries_in_nordafrika
		}
	}

	#Focus for Neue Afrikaschiffe
	focus = {
		id = MAF_neueafrikaschiffe
		icon = GFX_MAF_neue_afrikaschiffe
		x = 13
		y = 6
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_mercenaryauxillaries }
		ai_will_do = {
			factor = 30
		}
		available = {
			952 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			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 Nordafrikanischer Polizeitruppen
	focus = {
		id = MAF_nordafrikanischerpolizeitruppen
		icon = GFX_MAF_westafrikanische_polizeitruppen
		x = 13
		y = 7
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_neueafrikaschiffe }
		ai_will_do = {
			factor = 30
		}
		available = {
			952 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			952 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			add_stability = 0.02
			CMR = {
				add_stability = 0.02
			}
			custom_effect_tooltip = MAF_improve_police_in_nordafrika
		}
	}

	#Focus for Nordafrika Secured?
	focus = {
		id = MAF_nordafrikasecured
		icon = GFX_MAF_westafrika_secured
		x = 13
		y = 8
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_nordafrikanischerpolizeitruppen }
		ai_will_do = {
			factor = 30
		}
		available = {
			952 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			add_stability = 0.05
			if = {
				limit = {
					CMR = {
						is_subject_of = MAF
						}
					}
				annex_country = {
					target = CMR
					transfer_troops = yes
				}
			}
			if = {
				limit = {
					CEA = {
						is_subject_of = MAF
						}
					}
				annex_country = {
					target = CEA
					transfer_troops = yes
				}
			}
			if = {
				limit = {
					KOG = {
						is_subject_of = MAF
						}
					}
				annex_country = {
					target = KOG
					transfer_troops = yes
				}
			}			
			custom_effect_tooltip = MAF_improve_situation_in_nordafrika
		}
	}

	#Focus for Assist Heydrich with the Navy
	focus = {
		id = MAF_assistheydrichwiththenavy
		icon = GFX_MAF_assist_heydrich
		x = 11
		y = 4
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_wirlagenvormadagaskar }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			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 The Anti-French Pact
	focus = {
		id = MAF_theantifrenchpact
		icon = GFX_MAF_anti_french_pact
		x = 11
		y = 5
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_assistheydrichwiththenavy }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			MAG = {
				add_political_power = 100
				add_stability = 0.12
			}
			custom_effect_tooltip = MAF_deal_with_french_in_madagaskar
			add_to_variable = { MAF_madagascar_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_MAG_centralization_1
		}
	}

	#Focus for A Plot Against the Rebels
	focus = {
		id = MAF_aplotagainsttherebels
		icon = GFX_focus_mex_triumph_over_the_cristeros
		x = 11
		y = 6
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_theantifrenchpact }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			MAG = {
				add_command_power = 100
				army_experience = 100
			}
			custom_effect_tooltip = MAF_deal_with_rebels_in_madagaskar
		}
	}

	#Focus for The Madagascar Fatherlands Plan
	focus = {
		id = MAF_themadagascarfatherlandsplan
		icon = GFX_MAF_madagascar_fatherland_plan
		x = 11
		y = 7
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_aplotagainsttherebels }
		ai_will_do = {
			factor = 30
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			MAG = {
				every_owned_state = {
					add_manpower = 1000
				}
			}
			custom_effect_tooltip = MAF_expand_settlments_in_madagaskar
		}
	}

	#Focus for The Kaiserreich's Staging Ground?
	focus = {
		id = MAF_thekaiserreichsstagingground
		icon = GFX_goal_Kaiserliche_Marine
		x = 15
		y = 8
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_afrikaschlosse }
		ai_will_do = {
			factor = 30
		}
		available = {
			965 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			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 Häuptlingstumme
	focus = {
		id = MAF_huptlingstumme
		icon = GFX_MAF_hauptlingstumme
		x = 21
		y = 4
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_bingobangobongo }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			COG = {
				add_stability = 0.05
				add_political_power = 50
				increase_ruling_party_popularity_by_5 = yes
			}
			KTG = {
				add_stability = 0.05
				add_political_power = 50
				increase_ruling_party_popularity_by_5 = yes
			}
			custom_effect_tooltip = MAF_collaborate_with_cheifs
			add_to_variable = { MAF_congo_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_COG_centralization_1
		}
	}

	#Focus for Vereinigte Stahlwerke A.G. Congo
	focus = {
		id = MAF_vereinigtestahlwerkeagcongo
		icon = GFX_MAF_vereinigte_stahlwerke_ag_congo
		x = 21
		y = 6
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_regionalburofrarbeitskrfte }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			COG = {
				add_resource = { 
					type = steel 
					amount = 9 
					state = 879 
				}
			}
			KTG = {
				add_resource = { 
					type = steel 
					amount = 9 
					state = 879 
				}
			}
			custom_effect_tooltip = MAF_steel_in_congo
		}
	}

	#Focus for Annual Financial Statement
	focus = {
		id = MAF_annualfinancialstatement
		icon = GFX_goal_generic_seize_money
		x = 17
		y = 1
		cost = 1
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		available = { 
			has_global_flag = black_monday 
			NOT = {
				has_country_leader = {
					name = "Wilhelm Solf"
					ruling_only = yes
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_New_Administration"
			add_political_power = 30
			country_event = mafdebt.1 
		}
	}
	
	#Focus for Four Year Plan
	focus = {
		id = MAF_fouryearplan
		icon = GFX_goal_MAF_Four_Year_Plan
		x = 4
		y = 2
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_annualfinancialstatement 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Four_Year_Plan"
			custom_effect_tooltip = MAF_four_year_tp
			if = {
				limit = {
					has_government = paternal_autocrat
				}
				add_popularity = { 
					ideology = paternal_autocrat 
					popularity = 0.05 
				}
			}
			if = {
				limit = {
					has_government = national_populist
				}
				add_popularity = { 
					ideology = national_populist 
					popularity = 0.05 
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Start Heydrich Reforms
	focus = {
		id = MAF_startheydrichreforms
		icon = GFX_MAF_start_heydrich_reforms
		x = 2
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_fouryearplan 
		}
		available = {
		OR = {
			custom_trigger_tooltip = {
				tooltip = MAF_Sov
				has_government = national_populist
			}
			custom_trigger_tooltip = {
				tooltip = MAF_NKR
				has_government = paternal_autocrat
				}
			}
			881 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
			905 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Start_Heydrich_Reforms"
			navy_experience = 15
			if = {
				881 = {
					add_building_construction = {
					type = naval_base
					level = 2
					province = 10968
					instant_build = yes
					}
				}
			}
			if = {
				905 = {
					add_building_construction = {
					type = naval_base
					level = 2
					province = 13551
					instant_build = yes
					}
				}
			}
		}
	}

	#Focus for Continue Heydrich Reforms
	focus = {
		id = MAF_continueheydrichreforms
		icon = GFX_MAF_continue_heydrich_reforms
		x = 1
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_startheydrichreforms 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			881 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
				free_building_slots = {
					building = dockyard
					size > 0
					include_locked = yes
				}
			}
			905 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
				free_building_slots = {
					building = dockyard
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Cont_Heydrich_Reforms"
			881 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			} 
			905 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			} 
		}
	}

	#Focus for Finalise the Heydrich Reforms
	focus = {
		id = MAF_finalisetheheydrichreforms
		icon = GFX_MAF_finalize_heydrich_reforms
		x = 1
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_continueheydrichreforms 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Final_Heydrich_Reforms"
			add_tech_bonus = {
				name = improved_screen_ships
				bonus = 1
				uses = 2
				category = dd_tech
				category = ca_tech
			}
		}
	}

	#Focus for Sailing With the Kaiserliche Marine
	focus = {
		id = MAF_sailingwiththekaiserlichemarine
		icon = GFX_MAF_sailing_with_kaiserliche_marine
		x = 2
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_finalisetheheydrichreforms 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			GER = {
				exists = yes
				is_subject = no
			}
		}
		ai_will_do = {
			factor = 40
		}
		bypass = {
			GER = {
				OR = {
					exists = no
					is_subject = yes
				}
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Sailing_With_Marine"
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = naval_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
	}

	#Focus for Reform the Army
	focus = {
		id = MAF_reformthearmy
		icon = GFX_focus_GER_afrikakorps
		x = 4
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_fouryearplan 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Army_Reforms"
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	#Focus for A Long Range Airforce
	focus = {
		id = MAF_alongrangeairforce
		icon = GFX_goal_generic_air_bomber
		x = 3
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_startheydrichreforms
			focus = MAF_reformthearmy
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Long_Range_Airforce"
			add_tech_bonus = {
				name = bomber_bonus
				bonus = 1
				uses = 1
				category = cat_strategic_bomber
			}
			add_doctrine_cost_reduction = {
	name = air_doc_bonus
	cost_reduction = 0.5
	uses = 1
	category = cat_strategic_destruction
			}
		}
	}
	
	focus = {
		id = MAF_guns_from_the_fatherland
		icon = GFX_goal_mittel_arms_trade
		x = 4
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_alongrangeairforce
			focus = MAF_strategicresourcesexport
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_guns_from_the_fatherland"
			add_equipment_to_stockpile = { 
				type = infantry_equipment 
				amount = 2000 
				producer = GER 
			}
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 1
				uses = 2
				category = infantry_weapons
			}
		}
	}

	#Focus for Heavy Equipment
	focus = {
		id = MAF_heavyequipment
		icon = GFX_goal_national_artillery
		x = 2
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_alongrangeairforce 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Heavy_Equipment"
			add_equipment_to_stockpile = { 
				type = artillery_equipment 
				amount = 750 
				producer = GER 
			}
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = { 
					type = light_tank_equipment_1 
					amount = 250
					producer = GER 
				}
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = { 
					type = light_tank_chassis 
					amount = 250
					producer = GER 
				}
			}
			add_tech_bonus = {
				name = support_bonus
				bonus = 1
				uses = 1
				category = artillery
			}
			add_tech_bonus = {
				name = armor_bonus
				bonus = 1
				uses = 1
				category = armor
			}
		}
	}

	#Focus for The Africa Divisons
	focus = {
		id = MAF_theafricadivisons
		icon = GFX_goal_MAF_African_Armies
		x = 3
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_heavyequipment 
		}
		prerequisite = {
			focus = MAF_guns_from_the_fatherland 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			GER = {
				exists = yes
				is_subject = no
			}
		}
		bypass = {
			GER = {
				OR = {
					exists = no
					is_subject = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Africa_Army"
			country_event = { 
				id = mittel.91 
			}
			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 Strategic Resources Export
	focus = {
		id = MAF_strategicresourcesexport
		icon = GFX_all_resource
		x = 5
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_reformthearmy
			focus = MAF_dieneuevlkerschau
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			869 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
			547 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
			546 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Strategic_Export"
			add_resource = { 
				type = tungsten 
				amount = 13
				state = 869 
			}
			add_resource = { 
				type = chromium
				amount = 15
				state = 547 
			}
			add_resource = { 
				type = steel
				amount = 13
				state = 546 
			}
		}
	}

	#Focus for The African Breadbasket
	focus = {
		id = MAF_theafricanbreadbasket
		icon = GFX_focus_AUS_agriculture
		x = 6
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_strategicresourcesexport 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_African_Breadbasket"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for African War Industries
	focus = {
		id = MAF_africanwarindustries
		icon = GFX_MAF_african_war_industries
		x = 5
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_theafricanbreadbasket 
		}
		prerequisite = {
			focus = MAF_guns_from_the_fatherland 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_African_War_Industries"
			add_war_support = 0.05
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = MAF_awareconomy
		icon = GFX_goal_economic_control
		x = 4
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_theafricadivisons 
		}
		prerequisite = {
			focus = MAF_africanwarindustries 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_African_War_Industries"
			if = {
				limit = { 
					has_idea = civilian_economy 
				}
				add_ideas = low_economic_mobilisation
			}
			else_if = {
				limit = { 
					has_idea = low_economic_mobilisation 
				}
				add_ideas = partial_economic_mobilisation
			}
			else_if = {
				limit = { 
					has_idea = partial_economic_mobilisation 
				}
				add_ideas = war_economy
			}
			else = {
				add_war_support = 0.05
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Die Neue Völkerschau
	focus = {
		id = MAF_dieneuevlkerschau
		icon = GFX_goal_MAF_Circus
		x = 6
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_fouryearplan 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Die_Volkerschau"
			country_event = { 
				id = mittel.76 
				days = 1 random_days = 4
			}
			hidden_effect = {
				POR = {
					country_event = {
						id = mittel.77
						days = 1 random_days = 4
					}
				}
				AUS = {
					country_event = {
						id = mittel.78
						days = 121
					}
				}
				MAF = { 
					country_event = {
						id = mittel.79
						days = 121
					}
				}
				LEC = {
					country_event = {
						id = mittel.80
						days = 181
					} 
				}
				MAF = {
					country_event = {
						id = mittel.81
						days = 181
					}
				}
				TUR = {
					country_event = {
						id = mittel.82
						days = 1 random_days = 484
					}
				}
				MAF = {
					country_event = {
						id = mittel.83
						days = 1 random_days = 484
					}
				}
				GBR = {
					country_event = {
						id = mittel.84
						days = 344
					}
				}
				MAF = {
					country_event = {
						id = mittel.85
						days = 344 
					}
				}
			}
		}
	}

	#Focus for Protected Endangered Species
	focus = {
		id = MAF_protectedendangeredspecies
		icon = GFX_goal_MAF_elephant
		x = 7
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_dieneuevlkerschau 
		}
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Protect_Animals"
			add_stability = 0.05
			add_political_power = 70
		}
	}

	#Focus for A Second Kulturkampf
	focus = {
		id = MAF_asecondkulturkampf
		icon = GFX_focus_ARG_state_atheism
		x = 7
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_protectedendangeredspecies }
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Kulturkampf"
			add_political_power = 50
			add_stability = 0.05
			add_popularity = { 
				ideology = social_liberal 
				popularity = -0.05 
			}
			add_ideas = MAF_Secular_Education
			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 Swapokmund Proving Grounds
	focus = {
		id = MAF_swapokmundprovinggrounds
		icon = GFX_MAF_swakopmund_proving_ground
		x = 6
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = MAF_asecondkulturkampf }
		available = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = MAF_Sov
					has_government = national_populist
				}
				custom_trigger_tooltip = {
					tooltip = MAF_NKR
					has_government = paternal_autocrat
				}
			}
			541 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Proving_Grounds"
			add_research_slot_until_five = yes
		}
	}

	#Focus for Back to the Basics
	focus = {
		id = MAF_backtothebasics
		icon = GFX_goal_MAF_basics
		x = 30
		y = 2
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_annualfinancialstatement 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		allow_branch = {
			NOT = {
				has_government = national_populist
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Back_To_Basics"
			army_experience = 50
			add_popularity = { 
				ideology = authoritarian_democrat 
				popularity = 0.05 
			}
		}
	}

	#Focus for Royal Tours
	focus = {
		id = MAF_royaltours
		icon = GFX_focus_CONGO_ruanda_urundi
		x = 28
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_backtothebasics 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Royal_Tours"
				country_event = { id = mittel.95 days = 7 }
				country_event = { id = mittel.96 days = 48 }
				country_event = { id = mittel.97 days = 66 }
				GER = { country_event = { id = mittel.98 days = 89 } }
				country_event = { id = mittel.101 days = 113 }
			hidden_effect = {
				set_country_flag = MAF_Royal_Tours
			}
			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 Honorary Officers
	focus = {
		id = MAF_honoraryofficers
		icon = GFX_goal_rights_for_service
		x = 27
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_royaltours 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {	
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Honorary_Officers"
			add_ideas = MAF_Honorary_Officers_idea
			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 Bezirksleiterrecht
	focus = {
		id = MAF_bezirksleiterrecht
		icon = GFX_MAF_bezirksleiterrecht
		x = 27
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_honoraryofficers 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Bezirk"
			add_stability = 0.05
			add_political_power = 75
			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 Promote African Studies in Germany
	focus = {
		id = MAF_promoteafricanstudiesingermany
		icon = GFX_MAF_promote_african_studies
		x = 28
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_bezirksleiterrecht 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_African_Studies"
			add_research_slot_until_five = yes
		}
	}

	#Focus for Strategic Resources Reserve
	focus = {
		id = MAF_strategicresourcesreserve
		icon = GFX_goal_oil_derrick
		x = 30
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_backtothebasics 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Strategic_Reserve"
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
				type = synthetic_refinery
				level = 1
				instant_build = yes
				}
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
				type = synthetic_refinery
				level = 1
				instant_build = yes
				}
			}
			add_tech_bonus = {
				name = synth_resources
				bonus = 1
				uses = 1
				category = synth_resources
			}
		}
	}

	#Focus for Cash Crops Exports
	focus = {
		id = MAF_cashcropsexports
		icon = GFX_goal_bananas
		x = 29
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
		focus = MAF_royaltours
		focus = MAF_strategicresourcesreserve 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Cash_Crops"
			add_ideas = MAF_Cash_Crops_idea
			every_owned_state = {
				limit = {
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}
	
	focus = {
		id = MAF_trucks_motherfucker
		icon = GFX_goal_Automobile_Production
		x = 30
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_cashcropsexports
			focus = MAF_anafricanarmy
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_trucks_motherfucker"
			add_equipment_to_stockpile = { 
				type = motorized_equipment 
				amount = 1000 
				producer = GER 
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for East Asian Exports
	focus = {
		id = MAF_eastasianexports
		icon = GFX_MAF_east_asian_exports
		x = 28
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_cashcropsexports 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_East_Asian_Exports"
			add_stability = 0.10
			add_equipment_to_stockpile = { 
				type = convoy_1 
				amount = 100 
				producer = GER 
			}
		}
	}

	#Focus for Cottage Industries
	focus = {
		id = MAF_cottageindustries
		icon = GFX_MAF_cottage_industries
		x = 29
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_eastasianexports 
		}
		prerequisite = {
			focus = MAF_trucks_motherfucker 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Cottage_Industries"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}

	#Focus for An African Army
	focus = {
		id = MAF_anafricanarmy
		icon = GFX_focus_GER_schutztruppe
		x = 31
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_strategicresourcesreserve
			focus = MAF_electronicintelligenceproject
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_African_Army"
			add_manpower = 25000
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	#Focus for Establish the Air Mobile Infantry
	focus = {
		id = MAF_establishtheairmobileinfantry
		icon = GFX_MAF_air_mobile_infantry
		x = 32
		y = 5
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_anafricanarmy
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Airforce_Infantry"
			army_experience = 25
			add_tech_bonus = {
				name = special_forces_bonus
				bonus = 1
				uses = 2
				category = para_tech
			}
		}
	}

	#Focus for Improve our Logistics
	focus = {
		id = MAF_improveourlogistics
		icon = GFX_goal_radio
		x = 31
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_establishtheairmobileinfantry 
		}
		prerequisite = {
			focus = MAF_trucks_motherfucker 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Improve_Logistics"
			effect_tooltip = { 
				swap_ideas = { 
					remove_idea = MAF_Mahiwa_1_0 
					add_idea = MAF_Mahiwa_1_1 
				} 
			}
			hidden_effect = {
				if = {
					limit = {
						has_idea = MAF_Mahiwa_1_0
					}
					swap_ideas = { 
						remove_idea = MAF_Mahiwa_1_0 
						add_idea = MAF_Mahiwa_1_1 
					}
				}
				if = {
					limit = {
						has_idea = MAF_Mahiwa_1_1
					}
					swap_ideas = { 
						remove_idea = MAF_Mahiwa_1_1 
						add_idea = MAF_Mahiwa_1_2 
					}
				}
				
			}
			add_tech_bonus = {
				name = support_bonus
				bonus = 1
				uses = 2
				category = support_tech
			}
			add_equipment_to_stockpile = { 
				type = support_equipment 
				amount = 750 
				producer = GER 
			}
		}
	}

	#Focus for The Spirit of von Lettow-Vorbeck
	focus = {
		id = MAF_thespiritofvonlettowvorbeck
		icon = GFX_goal_MAF_Vorbeck
		x = 30
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_cottageindustries 
		}
		prerequisite = {
			focus = MAF_improveourlogistics 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Spirit_Vorbeck"
			effect_tooltip = { 
			swap_ideas = { 
				remove_idea = MAF_Mahiwa_1_0 
				add_idea = MAF_Mahiwa_1_2 
				} 
			}
			hidden_effect = {
				if = {
					limit = {
						has_idea = MAF_Mahiwa_1_0
					}
					swap_ideas = { 
						remove_idea = MAF_Mahiwa_1_0 
						add_idea = MAF_Mahiwa_1_1 
					}
				}
				if = {
					limit = {
						has_idea = MAF_Mahiwa_1_1
					}
					swap_ideas = { 
						remove_idea = MAF_Mahiwa_1_1 
						add_idea = MAF_Mahiwa_1_2 
					}
				}
			}
		}
	}

	#Focus for Electronic Intelligence Project
	focus = {
		id = MAF_electronicintelligenceproject
		icon = GFX_MAF_electronic_intel_project
		x = 32
		y = 3
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_backtothebasics 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Electronic_Project"
			add_tech_bonus = {
				name = electric_bonus
				bonus = 1
				uses = 1
				category = electronics
			}
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for The Königsberg Gunners
	focus = {
		id = MAF_theknigsberggunners
		icon = GFX_goal_MAF_koenigsberg_gunners
		x = 33
		y = 4
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_electronicintelligenceproject 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Konigsburg_Gunners"
			create_corps_commander = {
				name = "Richard Wenig"
				portrait_path = "gfx/leaders/MAF/Portrait_Mittelafrika_Richard_Wenig.png"
				traits = {
					trait_reckless
					naval_invader
				}
				skill = 2
				attack_skill = 3
				defense_skill = 1
				planning_skill = 3
				logistics_skill = 2
			}
			custom_effect_tooltip = MAF_richard_stats_tp
			navy_experience = 25
			add_tech_bonus = {
				name = special_forces_bonus
				bonus = 1
				uses = 1
				technology = marines
				technology = marines2
				technology = marines3
			}
		}
	}

	#Focus for Naval Aerial Observation
	focus = {
		id = MAF_navalaerialobservation
		icon = GFX_MAF_naval_aerial_observation
		x = 33
		y = 6
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_theknigsberggunners 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Naval_Aerial_Observation"
			add_tech_bonus = {
				name = naval_bomber_bonus
				bonus = 1
				uses = 1
				category = naval_bomber
			}
				965 = { 
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			if = {
				limit = {
					541 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				541 = { 
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					905 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				905 = { 
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					274 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				274 = { 
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	#Focus for Our Own Shipyards
	focus = {
		id = MAF_ourownshipyards
		icon = GFX_goal_MAF_Schutzmarine
		x = 32
		y = 7
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_navalaerialobservation 
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = MAF_DKG
				has_government = authoritarian_democrat
			}
		}
		ai_will_do = {
			factor = 60
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Our_Shipyards"
			965 = {
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = dockyard
					level = 4
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = improved_screen_ships
				bonus = 1
				uses = 1
				category = dd_tech
			}
		}
	}

	#Focus for Meet The New Boss?
	focus = {
		id = MAF_meetthenewboss
		icon = GFX_MAF_meet_the_new_boss
		x = 17
		y = 8
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_reinforcenorthrhodesia }
		ai_will_do = {
			factor = 30
		}
		available = {
			813 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			ZAM = {
				add_political_power = 30
				add_stability = 0.05
			}
			BSC = {
				add_political_power = 30
				add_stability = 0.05
			}
			custom_effect_tooltip = MAF_improve_situation_in_nordrhodesia
		}
	}

	#Focus for The End of Heydrich?
	focus = {
		id = MAF_theendofheydrich
		icon = GFX_MAF_the_end_of_heydrich
		bypass = {
			has_country_leader = {
				name = "Reinhard Heydrich"
				ruling_only = yes
			}
		}
		available = {
			543 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		x = 11
		y = 8
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_themadagascarfatherlandsplan }
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			custom_effect_tooltip = MAF_deal_with_heydrich
			add_political_power = 100
		}
	}

	#Focus for Committee for German Settlement
	focus = {
		id = MAF_committeeforgermansettlement
		icon = GFX_MAF_german_settlement_committee
		x = 19
		y = 4
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_einenrupiefrdeinegedanken }
		available = {
			OR = {
				548 = {
					is_controlled_by_ROOT_or_ally = yes
				}
				547 = {
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}		
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			UGA = {
					add_manpower = 1922
				}
			KEN = {
					add_manpower = 4467
				}
			custom_effect_tooltip = MAF_settlers_in_kenya
		}
	}

	#Focus for Afrikaschlosse
	focus = {
		id = MAF_afrikaschlosse
		icon = GFX_MAF_afrikaschlosse
		x = 15
		y = 7
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_sonderfahrtsnabe }
		ai_will_do = {
			factor = 30
		}
		available = {
			965 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			custom_effect_tooltip = MAF_castles_in_ostafrika
			add_state_core = 870
			add_state_core = 869
			1032 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Regionalburo für Arbeitskräfte
	focus = {
		id = MAF_regionalburofrarbeitskrfte
		icon = GFX_MAF_regionalburo_fur_arbeitskrafte
		x = 21
		y = 5
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_huptlingstumme }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			COG = {
				add_ideas = MAF_regionalburofrarbeitskrfte
			}
			KTG = {
				add_ideas = MAF_regionalburofrarbeitskrfte
			}
			custom_effect_tooltip = MAF_labour_force_in_congo
		}
	}

	#Focus for Siedlungsstadt Luluaburg
	focus = {
		id = MAF_siedlungsstadtluluaburg
		icon = GFX_MAF_luluaburg
		x = 21
		y = 7
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_vereinigtestahlwerkeagcongo }
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			COG = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
			KTG = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 1
					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 Africa?
	focus = {
		id = MAF_thebeatingheartofafrica
		icon = GFX_MAF_beating_heart_of_africa
		x = 21
		y = 8
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_siedlungsstadtluluaburg }
		ai_will_do = {
			factor = 30
		}
		available = {
			295 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			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
					}
				}
			}
			KTG = {
				random_owned_controlled_state = {
					add_extra_state_shared_building_slots = 1
					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 Implement a Coffee Tax
	focus = {
		id = MAF_implementacoffeetax
		icon = GFX_MAF_coffee_tax
		x = 23
		y = 5
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_theruleofmoney }
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		ai_will_do = {
			factor = 30
		}
		completion_reward = {
			CIV = {
				add_timed_idea = {
					idea = MAF_cofee_tax
					days = 180
				}
			}
			if = {
				limit = {
					GHA = {
						is_subject_of = MAF
						}
					}
				GHA = {
					add_timed_idea = {
						idea = MAF_cofee_tax
						days = 180
					}
				}
			}
			if = {
				limit = {
					IVO = {
						is_subject_of = MAF
						}
					}
				IVO = {
					add_timed_idea = {
						idea = MAF_cofee_tax
						days = 180
					}
				}
			}
			custom_effect_tooltip = MAF_cofffee_tax_tt
		}
	}

	#Focus for Westafrika Pacified?
	focus = {
		id = MAF_westafrikapacified
		icon = GFX_MAF_westafrika_pacified
		x = 23
		y = 8
		cost = 4
		available_if_capitulated = no
		prerequisite = { focus = MAF_regulatoryblindspot }
		ai_will_do = {
			factor = 30
		}
		available = {
			877 = {
				is_controlled_by_ROOT_or_ally = yes
			}
		}
		completion_reward = {
			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_improve_situation_in_westafrika
			add_to_variable = { MAF_westafrika_centralized_var = 1 }
			custom_effect_tooltip = MAF_increase_CIV_centralization_1
		}
	}
}

#End of focuses 
 
 
 ########################
### Military Reforms ###
########################

	shared_focus = {
		id = MAF_Military_Reforms
		icon = GFX_focus_GER_realize_mittelafrika
		x = 52
		y = 0
		offset = {
			x = -17
			y = 0
			trigger = {
				has_focus_tree = MAF-RFG
			}
		}
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Military_Reforms"
			add_ideas = MAF_Mahiwa_1_0
			army_experience = 30
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	shared_focus = {
		id = MAF_Establish_Airforce
		icon = GFX_goal_MAF_Schutzluftwaffe
		prerequisite = {
			focus = MAF_Military_Reforms
		}
		x = -2
		y = 1
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 20
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Establish_Airforce"
			add_tech_bonus = {
				name = MAF_Establish_Airforce
				bonus = 1
				uses = 1
				category = light_fighter
				category = cat_heavy_fighter
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_African_Pilots
		icon = GFX_goal_MAF_African_Pilots
		prerequisite = {
			focus = MAF_Establish_Airforce
		}
		mutually_exclusive = { focus = MAF_Merc_Pilots}
		x = 1
		y = 1
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 20
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_African_Pilots"
			add_ideas = MAF_Black_Pilots
			set_rule = {
				can_generate_female_aces = yes
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_Merc_Pilots
		icon = GFX_goal_MAF_Merc_Pilots
		prerequisite = {
			focus = MAF_Establish_Airforce
		}
		mutually_exclusive = { focus = MAF_African_Pilots}
		x = -1
		y = 1
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 20
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Merc_Pilots"
			add_ideas = MAF_Mercenary_Pilots
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_Bomber_Aircraft
		icon = GFX_HUN_heavy_bombers
		prerequisite = {
			focus = MAF_Establish_Airforce
		}
		x = 0
		y = 2
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 20
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Bomber_Aircraft"
			add_tech_bonus = {
				name = MAF_Bomber_Aircraft
				bonus = 1
				uses = 1
				category = tactical_bomber
				category = cat_strategic_bomber
				category = cas_bomber
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_Airfields
		icon = GFX_goal_generic_airports
		prerequisite = {
			focus = MAF_Bomber_Aircraft
		}

		x = -1
		y = 3
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 20
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Airfields"
			965 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			813 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			274 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_white_phosphorus
		icon = GFX_goal_MAF_white_phosphorus
		prerequisite = {
			focus = MAF_Bomber_Aircraft
		}

		x = 1
		y = 3
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 20
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_white_phosphorus"
			add_ideas = MAF_white_phosphorus_idea
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_Afrikan_Air_Industry
		icon = GFX_goal_CZE_air_industry
		prerequisite = {
			focus = MAF_white_phosphorus
		}
		prerequisite = {
			focus = MAF_Airfields
		}

		x = 0
		y = 4
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 20
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Afrikan_Air_Industry"
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_Jet_Research
		icon = GFX_goal_generic_jet
		prerequisite = {
			focus = MAF_Afrikan_Air_Industry
		}

		x = 1
		y = 5
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 10
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Jet_Research"
			add_tech_bonus = {
				name = MAF_Jet_Research
				bonus = 1
				uses = 1
				category = rocketry
				category = jet_technology
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_endurance_training
		icon = GFX_goal_generic_air_CAS_german
		prerequisite = {
			focus = MAF_Afrikan_Air_Industry
		}

		x = -1
		y = 5
		relative_position_id = MAF_Establish_Airforce
		ai_will_do = {
			factor = 10
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_endurance_training"
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	shared_focus = {
		id = MAF_Undefeated_Army
		icon = GFX_goal_MAF_Schutzetruppe
		prerequisite = {
			focus = MAF_Military_Reforms
		}

		x = 3
		y = 1
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Undefeated_Army"
			add_tech_bonus = {
				name = MAF_Undefeated_Army
				bonus = 1
				uses = 1
				category = infantry_weapons
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	shared_focus = {
		id = MAF_Modern_Artillery
		icon = GFX_MAF_gunners_of_konigsberg
		prerequisite = {
			focus = MAF_Undefeated_Army
		}

		x = 2
		y = 2
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Modern_Artillery"
			add_tech_bonus = {
				name = MAF_Modern_Artillery
				bonus = 1
				uses = 1
				category = artillery
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	shared_focus = {
		id = MAF_Sturdy_Trucks
		icon = GFX_goal_generic_armored_cars
		prerequisite = {
			focus = MAF_Undefeated_Army
		}

		x = 4
		y = 2
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Sturdy_Trucks"
			add_ideas = {
				MAF_Sturdy_Trucks
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	shared_focus = {
		id = MAF_Modern_Tactics
		icon = GFX_goal_generic_basic_weapons
		prerequisite = {
			focus = MAF_Modern_Artillery
		}

		prerequisite = {
			focus = MAF_Sturdy_Trucks
		}

		x = 3
		y = 3
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Modern_Tactics"
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	shared_focus = {
		id = MAF_Modern_Support_Divs
		icon = GFX_goal_generic_support_equipment
		prerequisite = {
			focus = MAF_Modern_Tactics
		}
		x = 2
		y = 4
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Modern_Support_Divs"
			add_tech_bonus = {
				name = MAF_Modern_Support_Divs
				bonus = 1
				uses = 1
				category = support_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	shared_focus = {
		id = MAF_Light_Infantry
		icon = GFX_goal_generic_mountain_warfare
		prerequisite = {
			focus = MAF_Modern_Tactics
		}
		x = 4
		y = 4
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Light_Infantry"
			add_tech_bonus = {
				name = MAF_Light_Infantry
				bonus = 1
				uses = 1
				category = mountaineers_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}

	shared_focus = {
		id = MAF_White_Graveyard
		icon = GFX_goal_MAF_Graveyard
		prerequisite = {
			focus = MAF_Modern_Support_Divs
		}
		prerequisite = {
			focus = MAF_Light_Infantry
		}
		x = 3
		y = 5
		relative_position_id = MAF_Military_Reforms
		ai_will_do = {
			factor = 30
		}
		cost = 5
		continue_if_invalid = yes
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_White_Graveyard"
			custom_effect_tooltip = jungle_warfare_effect
			hidden_effect = {
				set_technology = { jungle_warfare = 1 popup = no }
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_BONUS }
	}
	
	#Focus for Black Monday Adjustment
	shared_focus = {
		id = MAF_blackmondayadjustment
		icon = GFX_focus_generic_africa_factory
		x = 40
		y = 1
		offset = {
			x = -5
			y = 6
			trigger = {
				has_focus_tree = MAF-RFG
			}
		}
		cost = 2
		available_if_capitulated = no
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			has_idea = MAF_Black_Monday_idea
		}
		available = {
			always = no 
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus MAF_Black_Monday"
		custom_effect_tooltip = unlock_focuses
		}
	}
	
	#Focus for Float the Mark
	shared_focus = {
		id = MAF_floatthemark
		icon = GFX_goal_GER_Gold_Mark
		x = -1
		y = 1
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_blackmondayadjustment 
		}
		ai_will_do = {
			factor = 1000
		}
		completion_reward = {		
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Float_Mark"
			if = {
				limit = { 
					has_idea = MAF_Black_Monday_Improved 
				}
				swap_ideas = {
					remove_idea = MAF_Black_Monday_Improved
					add_idea = MAF_Black_Monday_MoreImproved
				}
				add_political_power = -20
				add_stability = 0.05
			}
			else = {
				swap_ideas = {
					remove_idea = MAF_Black_Monday_idea
					add_idea = MAF_Black_Monday_Improved
				}
				add_political_power = -40
				add_stability = 0.05
			}
		}
	}

	#Focus for Fiscal Austerity
	shared_focus = {
		id = MAF_fiscalausterity
		icon = GFX_focus_GER_integrated_economies
		x = 1
		y = 1
		relative_position_id = MAF_blackmondayadjustment
		cost = 2
		available_if_capitulated = no
		prerequisite = { focus = MAF_blackmondayadjustment }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Fiscal_Austerity"
			if = {
				limit = { 
					has_idea = MAF_Black_Monday_Improved 
				}
				swap_ideas = {
					remove_idea = MAF_Black_Monday_Improved
					add_idea = MAF_Black_Monday_MoreImproved
				}
			}
			else = {
				swap_ideas = {
					remove_idea = MAF_Black_Monday_idea
					add_idea = MAF_Black_Monday_Improved
				}
			}
		}
	}
	
	shared_focus = {
		id = MAF_developruanda
		icon = GFX_focus_COG_the_umwami_of_rwanda
		x = -2
		y = 2
		relative_position_id = MAF_blackmondayadjustment
		cost = 3
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_floatthemark 
		}
		prerequisite = {
			focus = MAF_fiscalausterity 
		}
		available = {
			869 = { is_controlled_by_ROOT_or_ally = yes }
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_developruanda"
			869 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	shared_focus = {
		id = MAF_woermann_investments
		icon = GFX_goal_GER_Mitteleuropa_German
		x = -1
		y = 3
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1937budget
		}
		available = {
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus MAF_woermann_investments"
		country_event = sharedafrika.114
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
						tag = GER
						tag = CMR
						tag = NMB
						tag = CEA
						tag = KOG
						tag = COG
						tag = KTG
						tag = ZAM
						tag = CIV
						tag = IVO
						tag = GHA
						tag = IVO
						tag = NGR
						tag = KEN
						tag = UGA
						tag = BSC
						tag = MLW
						tag = MAG
						tag = ZZB
						tag = DJI
						tag = SIE
						tag = PAF
						tag = NFA
						tag = LIB
						tag = SUD
						tag = SFA
						}
					}
					country_event = sharedafrika.114
				}
			}
		add_offsite_building = { type = industrial_complex level = 1 }
		add_offsite_building = { type = dockyard level = 1 }
		add_offsite_building = { type = dockyard level = 1 }
		}
	}
	
	#Focus for 1937 Budget
	shared_focus = {
		id = MAF_1937budget
		icon = GFX_goal_GEO_wine
		x = 0
		y = 2
		relative_position_id = MAF_blackmondayadjustment
		cost = 3
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_floatthemark 
		}
		prerequisite = {
			focus = MAF_fiscalausterity 
		}
		available = {
			date > 1937.01.1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_1937_Budget"
			country_event = ostafrika.10
			546 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			546 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_political_power = 25
			hidden_effect = {
				every_country = {
					limit = {
						OR = {
						tag = GER
						tag = CMR
						tag = NMB
						tag = CEA
						tag = KOG
						tag = COG
						tag = KTG
						tag = ZAM
						tag = CIV
						tag = IVO
						tag = GHA
						tag = IVO
						tag = NGR
						tag = KEN
						tag = UGA
						tag = BSC
						tag = MLW
						tag = MAG
						tag = ZZB
						}
					}
					country_event = {
						id = ostafrika.10 #Dodoma Wine
						days = 1
					}
				}
			}			
		}
	}

	#Focus for 1938 Budget
	shared_focus = {
		id = MAF_1938budget
		icon = GFX_focus_ETH_continuous_strengthen_the_black_lions
		x = 0
		y = 4
		relative_position_id = MAF_blackmondayadjustment
		cost = 3
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_woermann_investments
			focus = MAF_industrialdevelopment
		}
		available = {
			date > 1938.01.1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_1938_Budget"
			1032 = {
				add_extra_state_shared_building_slots = 1
			}
			add_offsite_building = { type = industrial_complex level = 1 }
			add_political_power = 50
		}
	}

	#Focus for The University of Kinshasa
	shared_focus = {
		id = MAF_theuniversityofkinshasa
		icon = GFX_goal_MAF_university
		x = 3
		y = 5
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1938budget 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_University_Kinshala"
			add_research_slot_until_five = yes
			add_popularity = { 
				ideology = social_liberal 
				popularity = 0.05 
			}
		}
	}

	#Focus for 1939 Budget
	shared_focus = {
		id = MAF_1939budget
		icon = GFX_goal_NFL_fish_grading
		x = 0
		y = 5
		relative_position_id = MAF_blackmondayadjustment
		cost = 3
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1938budget 
		}
		available = {
			date > 1939.01.1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_1939_Budget"
			add_offsite_building = { type = industrial_complex level = 1 }
			add_stability = 0.05
		}
	}

	#Focus for 1940 Budget
	shared_focus = {
		id = MAF_1940budget
		icon = GFX_ugandanarms
		x = 0
		y = 6
		relative_position_id = MAF_blackmondayadjustment
		cost = 3
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1939budget 
		}
		available = {
			date > 1940.01.1
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Post_War_Budget"
			1032 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for The Cape to Cairo Railway
	shared_focus = {
		id = MAF_thecapetocairorailway
		icon = GFX_goal_MAF_Cape_Cairo
		x = -2
		y = 4
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_woermann_investments 
		}
		available = {
			546 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
			965 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Cape_Cairo"
			
			custom_effect_tooltip = maf_railroad_1_year
			hidden_effect = {
				country_event = {
					id = mittelfla.1002
					days = 365
					random = 2000
				}
			}
		}
	}

	#Focus for Tanganjika to Uganda
	shared_focus = {
		id = MAF_tanganjikatouganda
		icon = GFX_goal_MAF_Tanzania_to_Uganda
		x = -2
		y = 5
		relative_position_id = MAF_blackmondayadjustment
		cost = 4
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1938budget 
		}
		prerequisite = {
			focus = MAF_thecapetocairorailway 
		}
		available = {
			548 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
			918 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Tanzania_Uganda"
			548 = { 
				add_extra_state_shared_building_slots = 2
				add_building_construction = { 
					type = infrastructure level = 1
					instant_build = yes
				}
			}
			918 = { 
				add_extra_state_shared_building_slots = 1
				add_building_construction = { 
					type = infrastructure level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Kampala to Khartoum
	shared_focus = {
		id = MAF_kampalatokhartoum
		icon = GFX_goal_MAF_Kampala_to_Khartoum
		x = -2
		y = 6
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1939budget 
		}
		prerequisite = {
			focus = MAF_tanganjikatouganda 
		}
		available = {	
			NOT = {
				has_war_with = SUD
				has_war_with = EGY
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Kampala_Khartoum"
			add_ideas = MAF_CtC_Rail
			add_manpower = -783
			SAF = {
				country_event = { 
					id = mittel.105
				}
			}
			EGY = {
				country_event = { 
					id = mittel.106 
				}
			}
			SUD = {
				country_event = { 
					id = mittel.106 
				}
			}
		}
	}

	#Focus for Kampala to Addis Abbaba
	shared_focus = {
		id = MAF_kampalatoaddisabbaba
		icon = GFX_goal_MAF_Kampala_to_Addis_Abba
		x = -1
		y = 7
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1940budget 
		}
		prerequisite = {
			focus = MAF_kampalatokhartoum 
		}
		available = {
			ETH = {
				exists = yes
			}
			NOT = {
				has_war_with = ETH
			}
			547 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
			925 = {
				owner = {
					OR = { 
						tag = ROOT 
						OR = { 
							is_subject_of = ROOT 
							is_in_faction_with = ROOT 
						} 
					}
				}
			}
		}
		bypass = {
			ETH = {
				exists = no
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Connect_Addis"
			547 = { 
				add_extra_state_shared_building_slots = 2
				add_building_construction = { 
					type = infrastructure level = 1
					instant_build = yes
				}
			}
			925 = { 
				add_extra_state_shared_building_slots = 2
				add_building_construction = { 
					type = infrastructure level = 1
					instant_build = yes
				}
			}
			ETH = {
				country_event = { 
					id = mittel.107 
				}
			}
		}
	}

	#Focus for Industrial Development
	shared_focus = {
		id = MAF_industrialdevelopment
		icon = GFX_Generic_Industrial_Complexes
		x = 1
		y = 3
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_1937budget 
		}
		available = {
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Industrial_Development"
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 2
				category = industry
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			add_extra_state_shared_building_slots = 1
			}
		}
	}

	#Focus for Light Industrial Development
	shared_focus = {
		id = MAF_lightindustrialdevelopment
		icon = GFX_Generic_Monopoly
		x = 2
		y = 4
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_industrialdevelopment 
		}
		prerequisite = {
			focus = MAF_resourcerefinement 
		}
		available = {
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Light_Industrial_Development"
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = industrial_complex
										size > 0
										include_locked = yes
									}
								is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for War Industries
	shared_focus = {
		id = MAF_warindustries
		icon = GFX_expandheavyindustry
		x = 2
		y = 6
		relative_position_id = MAF_blackmondayadjustment
		cost = 4
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_lightindustrialdevelopment 
		}
		prerequisite = {
			focus = MAF_1938budget
		}
		available = {
			OR = {
				has_war = yes
				has_idea = partial_economic_mobilisation
				has_idea = war_economy
				has_idea = tot_economic_mobilisation
			}
			any_owned_state = {
				is_controlled_by = ROOT
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
			}
		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			965 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Resource Extraction
	shared_focus = {
		id = MAF_resourceextraction
		icon = GFX_goal_KTG_Rubber_Farming
		x = 3
		y = 1
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_blackmondayadjustment 
		}
		available = {

		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Resource_Extraction"
				add_resource = { 
					type = chromium 
					amount = 6
					state = 899
				}
				add_resource = { 
					type = rubber 
					amount = 9
					state = 918
				}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 0.5
				uses = 2
				technology = excavation1
				technology = excavation2
				technology = excavation3
				technology = excavation4
				technology = excavation5
			}
			if = {
				limit = {
					927 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = rubber 
					amount = 2
					state = 927 
				}
			}
			if = {
				limit = {
					538 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = rubber 
					amount = 12
					state = 538 
				}
			}
			if = {
				limit = {
					1025 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = rubber 
					amount = 3 
					state = 1025 
				}
			}
		}
	}

	#Focus for Improved Resource Extraction
	shared_focus = {
		id = MAF_improvedresourceextraction
		icon = GFX_goal_basic_oil
		x = 2
		y = 2
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_resourceextraction 
		}
		available = {

		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Improved_Resource_Extraction"
				add_resource = { 
					type = oil 
					amount = 6
					state = 965 
				}
			add_fuel = 20000
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 1
				technology = excavation1
				technology = excavation2
				technology = excavation3
				technology = excavation4
				technology = excavation5
			}
			if = {
				limit = {
					558 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = oil 
					amount = 4
					state = 558 
				}
			}
			if = {
				limit = {
					1178 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = oil 
					amount = 3
					state = 1178 
				}
			}
			if = {
				limit = {
					539 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = oil 
					amount = 4
					state = 539 
				}
			}
		}
	}

	#Focus for Superior Resource Extraction
	shared_focus = {
		id = MAF_superiorresourceextraction
		icon = GFX_focus_generic_tungsten
		x = 4
		y = 2
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_resourceextraction 
		}
		available = {

		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Superior_Resource_Extraction"
				add_resource = { 
					type = tungsten 
					amount = 11
					state = 1032
				}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 1
				technology = excavation1
				technology = excavation2
				technology = excavation3
				technology = excavation4
				technology = excavation5
			}
			if = {
				limit = {
					541 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = tungsten 
					amount = 16 
					state = 541 
				}
			}
			if = {
				limit = {
					956 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
					}
					add_resource = { 
						type = tungsten 
						amount = 16 
						state = 956 
				}
			}
		}
	}

	#Focus for Resource Refinement
	shared_focus = {
		id = MAF_resourcerefinement
		icon = GFX_focus_generic_steel
		x = 3
		y = 3
		relative_position_id = MAF_blackmondayadjustment
		cost = 5
		available_if_capitulated = no
		prerequisite = {
			focus = MAF_improvedresourceextraction
			focus = MAF_superiorresourceextraction 
		}
		available = {

		}
		ai_will_do = {
			factor = 40
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus MAF_Resource_Refinement"
				add_resource = { 
					type = steel 
					amount = 14
					state = 899 
				}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 1
				technology = excavation1
				technology = excavation2
				technology = excavation3
				technology = excavation4
				technology = excavation5
			}
			if = {
				limit = {
					546 = {
						owner = {
							OR = { 
								tag = ROOT 
								OR = { 
									is_subject_of = ROOT 
									is_in_faction_with = ROOT 
								} 
							}
						}
					}
				}
				add_resource = { 
					type = steel 
					amount = 20 
					state = 546 
				}
			}
		}
	}
