focus_tree = {
id = african_monarchy
country = { 
factor = 0 
modifier = { 
	add = 20
	AND = {
		OR = {
			tag = LES
			tag = BRD
			tag = RWA
			tag = MAD
			tag = BRT
			tag = BOT
			}
		has_authoritarian_government = yes
		NOT = {
			has_elected_government = yes
			has_socialist_government = yes
			}
		}
	}
}

	default = no
	continuous_focus_position = { x = 2250 y = 0 }

focus = {
id = AFR_GEN_theloosenedshackles
icon = GFX_focus_generic_home_defense
x = 5
y = 0
cost = 7
available_if_capitulated = no
ai_will_do = { 
 factor = 500
}
completion_reward = {
	country_event = sharedafrika.5 # decide to liberalise?
	}	
 }
# King's path
focus = {
id = AFR_GEN_anempoweredmonarchy
icon = GFX_focus_rom_royal_dictatorship
x = 3
y = 1
cost = 7
mutually_exclusive = {
	focus = AFR_GEN_thevelvetglove
}
bypass = {
	has_government = national_populist
}
prerequisite = { focus = AFR_GEN_theloosenedshackles } 
available_if_capitulated = no
ai_will_do = { factor = 500 }
completion_reward = {
	add_popularity = { ideology = paternal_autocrat popularity = 0.20 }
	set_politics = {
		ruling_party = paternal_autocrat
		}
	}
}
focus = {
id = AFR_GEN_courtlytitles
icon = GFX_thekabakasourally
x = 3
y = 2
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_anempoweredmonarchy } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_political_power = 100
	}
}
focus = {
id = AFR_GEN_royalappointments
icon = GFX_reaffirmgandaappointments
x = 1
y = 2
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_anempoweredmonarchy } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_stability = 0.1
	}
}
focus = {
id = AFR_GEN_thekingsjustice
icon = GFX_goal_imprison_opposition1
x = 2
y = 3
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_royalappointments }
prerequisite = { focus = AFR_GEN_courtlytitles } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_stability = 0.05
	}
 }focus = {
id = AFR_GEN_defendnativetraditions
icon = GFX_PAP_holy_war
x = 2
y = 4
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_thekingsjustice }
ai_will_do = { factor = 500 }
completion_reward = {
	add_war_support = 0.1
	}
 }
 
# Constitutional monarchy


focus = {
id = AFR_GEN_thevelvetglove
icon = GFX_allkingsunderone
x = 7
y = 1
cost = 7
available = {
	has_authoritarian_government = yes
}
mutually_exclusive = {
	focus = AFR_GEN_anempoweredmonarchy
}
prerequisite = { focus = AFR_GEN_theloosenedshackles } 
available_if_capitulated = no
ai_will_do = { factor = 500 }
completion_reward = {
	add_popularity = { ideology = authoritarian_democrat popularity = 0.20 }
	set_politics = {
		ruling_party = authoritarian_democrat
		}
	}
}
focus = {
id = AFR_GEN_religioustolerance
icon = GFX_BEL_Improve_Catholic_Relations
x = 7
y = 2
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_thevelvetglove } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_stability = 0.1
	add_political_power = -20
	}
}
focus = {
id = AFR_GEN_culturalrestoration
icon = GFX_goal_KTG_Bookstack
x = 9
y = 2
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_thevelvetglove } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_war_support = 0.2
	}
}
focus = {
id = AFR_GEN_rulewithamodernface
icon = GFX_goal_POR_royal_edicts
x = 10
y = 3
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_culturalrestoration } 
ai_will_do = { factor = 500 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_stability = 0.05
	}
}
focus = {
id = AFR_GEN_localeldercouncils
icon = GFX_goal_agency
x = 10
y = 4
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_rulewithamodernface } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_stability = 0.05
	}
}
focus = {
id = AFR_GEN_westernstylelegitimacy
icon = GFX_councilrule
x = 8
y = 3
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_culturalrestoration }
prerequisite = { focus = AFR_GEN_religioustolerance } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_war_support = 0.1
	}
}
focus = {
id = AFR_GEN_alightinthedark
icon = GFX_goal_Fight_for_Freedom

x = 8
y = 4
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_westernstylelegitimacy }
ai_will_do = { factor = 500 }
completion_reward = {
	add_stability = 0.1
	}
}
# shared 2
focus = {
id = AFR_GEN_royalcapital
icon = GFX_regulariseugandanborder
x = 5
y = 4
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_basicinfrastructure focus = AFR_GEN_educationforourfuture }
ai_will_do = { factor = 500 }
 completion_reward = {
	random_owned_state = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}
}

# shared future branch
focus = {
id = AFR_GEN_rebuildourinstitutions
icon = GFX_focus_generic_treaty
x = 5
y = 2
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_thevelvetglove focus = AFR_GEN_anempoweredmonarchy } 
ai_will_do = { factor = 500 }
completion_reward = {
	add_political_power = 50
	}
}
focus = {
id = AFR_GEN_basicinfrastructure
icon = GFX_goal_KTG_Jungle_Railroad
x = 4
y = 3
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_rebuildourinstitutions } 
ai_will_do = { factor = 500 }
completion_reward = {
	random_owned_state = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
	}
}
focus = {
id = AFR_GEN_educationforourfuture
icon = GFX_goal_LIB_whiter_pale
x = 6
y = 3
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_rebuildourinstitutions } 
ai_will_do = { factor = 500 }
completion_reward = {
	increase_ruling_party_popularity_by_10 = yes
	add_stability = 0.05
	}
}
focus = {
id = AFR_GEN_economicintegration
icon = GFX_goal_generic_lightbulb
x = 5
y = 5
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_royalcapital } 
ai_will_do = { factor = 500 }
 completion_reward = {
 	random_owned_state = {
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
		}
		add_extra_state_shared_building_slots = 2
	}
 }
}
focus = {
id = AFR_GEN_aresearchcommunity
icon = GFX_focus_research
x = 5
y = 6
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_economicintegration }
prerequisite = { focus = AFR_GEN_pompandcircumstance focus = AFR_GEN_royaltours }
ai_will_do = { factor = 500 }
completion_reward = {
	add_research_slot_until_five = yes
	}
}
focus = {
id = AFR_GEN_royaltours
icon = GFX_goal_generic_car
x = 9
y = 5
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_alightinthedark }
prerequisite = { focus = AFR_GEN_localeldercouncils }
ai_will_do = { factor = 500 }
	completion_reward = {
		add_war_support = 0.1
	}
}
focus = {
id = AFR_GEN_pompandcircumstance
icon = GFX_Focus_Cruiseliner
x = 2
y = 5
cost = 7
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_loyaltythroughfear }
prerequisite = { focus = AFR_GEN_defendnativetraditions }
ai_will_do = { factor = 500 }
	completion_reward = {
		add_war_support = 0.1
	}
 }

# shared

focus = {
id = AFR_GEN_ourrightfulwealth
icon = GFX_labourquotas
x = 0
y = 3
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_courtlytitles }
ai_will_do = { factor = 500 }
completion_reward = {
	add_timed_idea = {
		idea = CMR_seized_concessions
		days = 180
		}
	}
}
focus = {
id = AFR_GEN_loyaltythroughfear
icon = GFX_goal_purge_opposition
x = 0
y = 4
cost = 7
available = {
	has_authoritarian_government = yes
}
available_if_capitulated = no
prerequisite = { focus = AFR_GEN_ourrightfulwealth }
ai_will_do = { factor = 500 }
	completion_reward = {
		add_stability = 0.1
	}
 } 

 
	focus = {
		id = AFR_GEN_defense_of_the_realm
		icon = GFX_goal_break_rifle
		x = 31
		y = 2
		cost = 7
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		completion_reward = {
			army_experience = 20
			add_stability = 0.02
		}
	}

	focus = {
		id = AFR_GEN_royal_navy
		prerequisite = {
			focus = AFR_GEN_defense_of_the_realm
		}
		prerequisite = {
			focus = AFR_GEN_invite_foreign_investment
		}
		icon = GFX_goal_navy_decision
		x = -6
		y = 1
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 5
		}
		available = {
			any_state = {
				is_owned_by = ROOT
				is_coastal = yes
			}		
		}	

		completion_reward = {
			navy_experience = 25
		}
	}

	focus = {
		id = AFR_GEN_royal_dockyard
		prerequisite = {
			focus = AFR_GEN_royal_navy
		}
		available = {
			any_owned_state = { is_coastal = yes }
		}
		icon = GFX_adefensefleet
		x = -5
		y = 2
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 5
		}

		completion_reward = {
			random_owned_state = {
				limit = {
					is_coastal = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AFR_GEN_trade_fleet
		prerequisite = {
			focus = AFR_GEN_royal_dockyard
		}
		icon = GFX_SOM_goal_hoboyards
		x = -6
		y = 4
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 5
		}

		completion_reward = {
			add_equipment_to_stockpile = { type = convoy_1 amount = 20 producer = GER }
		}
	}

	focus = {
		id = AFR_GEN_foreign_naval_officers
		prerequisite = {
			focus = AFR_GEN_royal_dockyard
		}
		icon = GFX_goal_EGY_sultan_fleet
		x = -4
		y = 3
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_tech_bonus = {
				name = ISLAMIC_foreign_naval_officers
				bonus = 1
				uses = 1
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = AFR_GEN_royal_army_reform
		prerequisite = {
			focus = AFR_GEN_defense_of_the_realm
		}
		icon = GFX_focus_eng_move_to_secure_the_dominions
		x = 0
		y = 1
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			army_experience = 15
			add_tech_bonus = {
				name = ISLAMIC_royal_army_reform
				bonus = 1
				uses = 1
				category = land_doctrine
			}
		}
	}
	
	focus = {
		id = AFR_GEN_military_investments
		prerequisite = {
			focus = AFR_GEN_royal_army_reform
		}
		icon = GFX_improveofficertraining
		x = 0
		y = 2
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 500
			producer = GER
			}	
		}
	}
	
	focus = {
		id = AFR_GEN_our_benefactor
		prerequisite = {
			focus = AFR_GEN_military_investments
		}
		icon = GFX_goal_Focus_Military_Mobilisation
		x = 0
		y = 3
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}
		
		available = {
			has_completed_focus = AFR_GEN_invite_foreign_investment
		}

		completion_reward = {
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}

	focus = {
		id = AFR_GEN_the_neighbour_threat
		prerequisite = {
			focus = AFR_GEN_royal_army_reform
		}

		icon = GFX_garrisontowns
		x = -3
		y = 2
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			random_owned_state = {
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AFR_GEN_armament_plan
		prerequisite = {
			focus = AFR_GEN_royal_army_reform
		}

		icon = GFX_goal_munitions_factories
		x = 3
		y = 2
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}


	focus = {
		id = AFR_GEN_artillery_purchases
		prerequisite = {
			focus = AFR_GEN_the_neighbour_threat
		}
		icon = GFX_goal_doctrine_fire_superiority
		x = -2
		y = 3
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_tech_bonus = {
				name = ISLAMIC_artillery_purchases
				bonus = 1
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = AFR_GEN_infantry_equipment_reorganization
		prerequisite = {
			focus = AFR_GEN_armament_plan
		}
		icon = GFX_expandheavyindustry
		x = 2
		y = 3
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_tech_bonus = {
				name = ISLAMIC_infantry_equipment_reorganization
				bonus = 1
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = AFR_GEN_dealing_with_tribal_militias
		prerequisite = {
			focus = AFR_GEN_artillery_purchases
		}
		icon = GFX_shouldertheburden
		x = -3
		y = 4
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			remove_ideas = ISLAMIC_tribal_army
		}
	}

	focus = {
		id = AFR_GEN_regular_regiments
		prerequisite = {
			focus = AFR_GEN_artillery_purchases
		}
		prerequisite = {
			focus = AFR_GEN_infantry_equipment_reorganization
		}

		icon = GFX_tribalpolicydebate
		x = 0
		y = 4
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_tech_bonus = {
				name = ISLAMIC_regular_regiments
				bonus = 1
				uses = 1
				category = infantry_weapons
			}
			add_ideas = ISLAMIC_DiCT
		}
	}

	focus = {
		id = AFR_GEN_hierarchy_reorganization
		prerequisite = {
			focus = AFR_GEN_infantry_equipment_reorganization
		}
		icon = GFX_goal_cavalry
		x = 3
		y = 4
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_tech_bonus = {
				name = ISLAMIC_hierarchy_reorganization
				bonus = 1
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = AFR_GEN_royal_airforce
		prerequisite = {
			focus = AFR_GEN_defense_of_the_realm
		}
		prerequisite = {
			focus = AFR_GEN_invite_foreign_investment
		}		

		icon = GFX_goal_ELS_Basic_Fighter_Development
		x = 6
		y = 1
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 5
		}

		completion_reward = {
			add_equipment_to_stockpile = { type = fighter_equipment_0 amount = 6 producer = GER }
			air_experience = 20
		}
	}

	focus = {
		id = AFR_GEN_anti_aircraft_defenses
		prerequisite = {
			focus = AFR_GEN_royal_airforce
		}

		icon = GFX_goal_anti_air
		x = 5
		y = 2
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_tech_bonus = {
				name = ISLAMIC_anti_aircraft_defenses
				bonus = 1
				uses = 1
				technology = interwar_antiair
				technology = antiair1
				technology = antiair2
				technology = antiair3
				technology = antiair4
				technology = antiair5
			}
		}
	}

	focus = {
		id = AFR_GEN_aerial_training
		prerequisite = {
			focus = AFR_GEN_anti_aircraft_defenses
		}

		icon = GFX_goal_generic_air_doctrine
		x = 4
		y = 3
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_tech_bonus = {
				name = ISLAMIC_aerial_training
				bonus = 1
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = AFR_GEN_foreign_fighter_purchases
		prerequisite = {
			focus = AFR_GEN_anti_aircraft_defenses
		}

		icon = GFX_goal_ELS_Plane_Lease
		x = 6
		y = 4
		relative_position_id = AFR_GEN_defense_of_the_realm
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_equipment_to_stockpile = { type = fighter_equipment_0 amount = 10 producer = GER }
			add_tech_bonus = {
				name = ISLAMIC_foreign_fighter_purchases
				bonus = 1
				uses = 1
				category = light_fighter
			}
		}
	}


	focus = {
		id = AFR_GEN_administrative_reform

		icon = GFX_goal_OTT_Land_Reform
		x = 15
		y = 1
		cost = 7
		ai_will_do = {
			factor = 500
		}

		prerequisite = {
			focus = AFR_GEN_theloosenedshackles
		}		
		
		completion_reward = {
			if = {
				limit = {
					has_idea = AFR_post_collapse_instability
					}
				remove_ideas = AFR_post_collapse_instability
			}
			add_political_power = 30
		}
	}

	focus = {
		id = AFR_GEN_invite_foreign_investment
		icon = GFX_themodernisers
		x = 21
		y = 2
		cost = 7
		ai_will_do = {
			factor = 500
		}
		available = {
			has_war = no
		}

		completion_reward = {
			add_stability = 0.1
			add_political_power = -50
			}
		}
	
	focus = {
		id = AFR_GEN_tax_reform

		icon = GFX_foreignpolicy
		x = 17
		y = 2
		cost = 7
		ai_will_do = {
			factor = 500
		}
		prerequisite = {

		}

		completion_reward = {
			add_political_power = 50
			add_stability = 0.1
		}
	}

	focus = {
		id = AFR_GEN_incorporate_the_hinterlands
		prerequisite = {
			focus = AFR_GEN_administrative_reform
		}
		prerequisite = {
			focus = AFR_GEN_tax_reform focus = AFR_GEN_invite_foreign_investment
		}
		icon = GFX_reaffirmgandaappointments
		x = -1
		y = 1
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_stability = 0.1
		}
	}

	focus = {
		id = AFR_GEN_taxate_the_hinterlands
		prerequisite = {
			focus = AFR_GEN_incorporate_the_hinterlands
		}
		icon = GFX_reorganisethetribes
		x = -2
		y = 2
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_ideas = ISLAMIC_tax_idea
		}
	}

	focus = {
		id = AFR_GEN_call_banners_from_the_hinterlands
		prerequisite = {
			focus = AFR_GEN_taxate_the_hinterlands
		}
		icon = GFX_acclimatisationtraining
		x = -3
		y = 3
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			remove_ideas = ISLAMIC_army
			hidden_effect = {
				country_event = {
					days = 30
				}
			}
		}
	}

	focus = {
		id = AFR_GEN_loyalty_to_the_sultan
		prerequisite = {
			focus = AFR_GEN_call_banners_from_the_hinterlands
		}
		prerequisite = {
			focus = AFR_GEN_budget_restructuring
		}		
		icon = GFX_focus_generic_monarchy_1
		x = -1
		y = 4
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			remove_ideas = ISLAMIC_the_sultan
		}
	}

	focus = {
		id = AFR_GEN_budget_recovery
		prerequisite = {
			focus = AFR_GEN_tax_reform focus = AFR_GEN_invite_foreign_investment
		}
		available = {
			has_idea = ISLAMIC_black_monday
		}
		bypass = {
			NOT = {
				has_idea = ISLAMIC_black_monday
			}
		}
		icon = GFX_goal_generic_price_controls
		x = 1
		y = 1
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			swap_ideas = {
				remove_idea = ISLAMIC_black_monday
				add_idea = ISLAMIC_black_monday_2
			}
		}
	}

	focus = {
		id = AFR_GEN_budget_rebalancing
		prerequisite = {
			focus = AFR_GEN_budget_recovery
		}
		icon = GFX_acreageexpansion
		x = 0
		y = 2
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}
		bypass = {
			NOT = {
				has_idea = ISLAMIC_black_monday
				has_idea = ISLAMIC_black_monday_2
			}
		}
		completion_reward = {
			remove_ideas = ISLAMIC_black_monday_2
		}
	}

	focus = {
		id = AFR_GEN_budget_restructuring
		prerequisite = {
			focus = AFR_GEN_budget_rebalancing
		}
		prerequisite = {
			focus = AFR_GEN_taxate_the_hinterlands
		}		
		icon = GFX_smallholdingfocus
		x = 0
		y = 3
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_ideas = ISLAMIC_modern_budget
		}
	}

	focus = {
		id = AFR_GEN_railway_company
		prerequisite = {
			focus = AFR_GEN_invite_foreign_investment
		}
		available = {
		}
		icon = GFX_focusonthedreyfusline
		x = 5
		y = 1
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			increase_ruling_party_popularity_by_5 = yes
			add_political_power = 50
		}
	}

	focus = {
		id = AFR_GEN_a_railway
		prerequisite = {
			focus = AFR_GEN_railway_company
		}
		prerequisite = {
			focus = AFR_GEN_local_manufactury_incentives
		}

		icon = GFX_improvethegreateastroad
		x = 4
		y = 2
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AFR_GEN_direct_military_aid
		prerequisite = {
			focus = AFR_GEN_a_railway
		}
		prerequisite = {
			focus = AFR_GEN_a_port
		}

		icon = GFX_armsprogramme
		x = 5
		y = 3
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 800 producer = GER }
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = AFR_GEN_a_port
		prerequisite = {
			focus = AFR_GEN_railway_company
		}
		prerequisite = {
			focus = AFR_GEN_royal_navy
		}
		available = {
			any_owned_state = { is_coastal = yes }
		}
		icon = GFX_Expand_Trade_Fleet
		x = 7
		y = 2
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			random_owned_state = {
				limit = {
					is_coastal = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
				}
			}		
		}
	}

	focus = {
		id = AFR_GEN_local_manufactury_incentives
		prerequisite = {
			focus = AFR_GEN_tax_reform
			focus = AFR_GEN_invite_foreign_investment
		}

		icon = GFX_focus_generic_industry_2
		x = 3
		y = 1
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AFR_GEN_commerce_industrialization_plan
		prerequisite = {
			focus = AFR_GEN_local_manufactury_incentives
		}
		prerequisite = {
			focus = AFR_GEN_budget_recovery
		}		
		icon = GFX_goal_national_arsenal
		x = 2
		y = 2
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_ideas = ISLAMIC_industrialisation_boost
		}
	}

	focus = {
		id = AFR_GEN_intensify_administration_plan
		prerequisite = {
			focus = AFR_GEN_commerce_industrialization_plan
		}
		prerequisite = {
			focus = AFR_GEN_a_railway
		}
		icon = GFX_redevelopfortjameson
		x = 3
		y = 3
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_ideas = ISLAMIC_industrialisation_boost_2
		}
	}

	focus = {
		id = AFR_GEN_finish_economical_plan
		prerequisite = {
			focus = AFR_GEN_budget_restructuring
		}
		prerequisite = {
			focus = AFR_GEN_intensify_administration_plan
		}
		mutually_exclusive = { focus = AFR_GEN_military_industrial_complex }
		icon = GFX_goal_generic_construct_civ_factory
		x = 2
		y = 4
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			random_owned_state = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}			
		}
	}

	focus = {
		id = AFR_GEN_military_industrial_complex
		prerequisite = {
			focus = AFR_GEN_budget_restructuring
		}
		prerequisite = {
			focus = AFR_GEN_intensify_administration_plan
		}
		prerequisite = {
			focus = AFR_GEN_direct_military_aid
		}		

		icon = GFX_goal_munitions_factories
		x = 4
		y = 4
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}
		
		mutually_exclusive = { focus = AFR_GEN_finish_economical_plan }
		completion_reward = {
			random_owned_state = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}		

			random_owned_state = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}	
			random_owned_state = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}			
		}
	}

	focus = {
		id = AFR_GEN_enfeebled_no_more
		prerequisite = {
			focus = AFR_GEN_loyalty_to_the_sultan
		}
		prerequisite = {
			focus = AFR_GEN_dealing_with_tribal_militias
		}		
		prerequisite = {
			focus = AFR_GEN_finish_economical_plan focus = AFR_GEN_military_industrial_complex
		}	
		icon = GFX_goal_Centralised_Government
		x = 6
		y = 5
		relative_position_id = AFR_GEN_tax_reform
		cost = 7
		ai_will_do = {
			factor = 500
		}

		completion_reward = {
			add_political_power = 50
			add_stability = 0.05
			add_research_slot_until_five = yes
		}
	}

#End of focuses 

}