focus_tree = { 
id = dahomeynew
country = { 
factor = 0 
modifier = { 
add = 20 
tag = DAH 
} 
}

continuous_focus_position = { x = 500 y = 850 } 

#Togoland-Dahomey divisions
	focus = {
		id = DAH_fonrevolt
		icon = GFX_focus_ETH_freedom_at_gunpoint
		x = -6
		y = 1
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			OR = {
				has_war_with = CIV
				has_war_with = TOG
			}
			date > 1937.1.1
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_fonrevolt"
			custom_effect_tooltip = unlock_focuses
		}
	}

	focus = {
		id = DAH_mass_conscription
		icon = GFX_focus_ETH_expand_the_levy
		x = -8
		y = 2
		cost = 3
		prerequisite = {
			focus = DAH_fonrevolt
		}
		available = {
			has_war = yes
		}
		ai_will_do = {
			factor = 150
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_mass_conscription"
			increase_conscription = yes
		}
	}
	
	focus = {
		id = DAH_align_the_chiefs
		icon = GFX_incorporatethechiefs
		x = -4
		y = 2
		cost = 3
		prerequisite = {
			focus = DAH_fonrevolt
		}
		available = {
			has_war = yes
		}
		ai_will_do = {
			factor = 150
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_align_the_chiefs"
			add_war_support = 0.1
			increase_ruling_party_popularity_by_10 = yes
		}
	}
	
	focus = {
		id = DAH_ewefondispute
		icon = GFX_Generic_Checkmate
		x = -6
		y = 2
		cost = 5
		prerequisite = {
			focus = DAH_fonrevolt
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
		OR = {
			has_idea = CIV_fonewetensions4
			has_idea = CIV_fonewetensions3
			has_idea = CIV_fonewetensions2
			has_idea = CIV_fonewetensions1
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_ewefondispute"
			custom_effect_tooltip = unlock_focuses
		}
	}

	focus = {
		id = DAH_native_councils
		icon = GFX_focus_ETH_empower_the_ras
		x = -5
		y = 3
		cost = 5
		prerequisite = {
			focus = DAH_ewefondispute
		}
		available = {
		OR = {
			has_idea = CIV_fonewetensions4
			has_idea = CIV_fonewetensions3
			has_idea = CIV_fonewetensions2
			has_idea = CIV_fonewetensions1
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_native_councils"
			if = {
				limit = {
					has_idea = CIV_fonewetensions4
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions4
						add_idea = CIV_fonewetensions3
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions3
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions3
						add_idea = CIV_fonewetensions2
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions2
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions2
						add_idea = CIV_fonewetensions1
					}
				}
			increase_ruling_party_popularity_by_5 = yes
		}
	}
	
	focus = {
		id = DAH_harmonise_customary_law
		icon = GFX_focus_generic_court
		x = -6
		y = 4
		cost = 5
		prerequisite = {
			focus = DAH_develop_the_periphery
			focus = DAH_native_councils
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_harmonise_customary_law"
			if = {
				limit = {
					has_idea = CIV_fonewetensions4
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions4
						add_idea = CIV_fonewetensions3
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions3
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions3
						add_idea = CIV_fonewetensions2
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions2
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions2
						add_idea = CIV_fonewetensions1
					}
				}
				add_political_power = 50
				add_war_support = 0.05
		}
	}

	focus = {
		id = DAH_dahomey_togoland_railway
		icon = GFX_focus_generic_railroad
		x = -6
		y = 5
		cost = 5
		prerequisite = {
			focus = DAH_promote_development
		}
		prerequisite = {
			focus = DAH_harmonise_customary_law
		}
		prerequisite = {
			focus = DAH_naval_infrastructure
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_dahomey_togoland_railway"
			build_railway = {
				level = 2
				start_province = 13877
				target_province = 12785
			}
			add_stability = 0.05
			increase_ruling_party_popularity_by_5 = yes
		}
	}
	
	focus = {
		id = DAH_naval_infrastructure
		icon = GFX_focus_generic_refit_civilian_ships
		x = -4
		y = 4
		cost = 5
		prerequisite = {
			focus = DAH_develop_the_periphery
			focus = DAH_native_councils
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_naval_infrastructure"
			if = {
				limit = {
					has_idea = CIV_fonewetensions4
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions4
						add_idea = CIV_fonewetensions3
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions3
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions3
						add_idea = CIV_fonewetensions2
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions2
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions2
						add_idea = CIV_fonewetensions1
					}
				}
			if = {
				limit = {
					OR = {
						tag = CIV
						tag = TOG
						}
					}
				876 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					tag = DAH
				}
				877 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}			
		}
	}
	
	focus = {
		id = DAH_promote_development
		icon = GFX_focus_generic_land_reclamation
		x = -8
		y = 4
		cost = 5
		prerequisite = {
			focus = DAH_develop_the_periphery
			focus = DAH_native_councils
		}
		available = {
		OR = {
			has_idea = CIV_fonewetensions4
			has_idea = CIV_fonewetensions3
			has_idea = CIV_fonewetensions2
			has_idea = CIV_fonewetensions1
			}
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_promote_development"
			if = {
				limit = {
					has_idea = CIV_fonewetensions4
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions4
						add_idea = CIV_fonewetensions3
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions3
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions3
						add_idea = CIV_fonewetensions2
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions2
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions2
						add_idea = CIV_fonewetensions1
					}
				}
			if = {
				limit = {
					OR = {
						tag = CIV
						tag = TOG
						}
					}
				876 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					tag = DAH
				}
				877 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}			
		}
	}
	
	focus = {
		id = DAH_develop_the_periphery
		icon = GFX_supporttheconforzi
		x = -7
		y = 3
		cost = 5
		prerequisite = {
			focus = DAH_ewefondispute
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus DAH_develop_the_periphery"
			if = {
				limit = {
					has_idea = CIV_fonewetensions4
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions4
						add_idea = CIV_fonewetensions3
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions3
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions3
						add_idea = CIV_fonewetensions2
					}
				}
			if = {
				limit = {
					has_idea = CIV_fonewetensions2
					}
					swap_ideas = {
						remove_idea = CIV_fonewetensions2
						add_idea = CIV_fonewetensions1
					}
				}
			if = {
				limit = {
					OR = {
						tag = CIV
						tag = TOG
						}
					}
				876 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					tag = DAH
				}
				877 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}
	
	focus = {
		id = DAH_gabonrising
		icon = GFX_focus_SAF_colonialist_crusade2
		x = 7
		y = 0
		cost = 1
		ai_will_do = {
			factor = 2000
		}
		select_effect = {
			country_event = {
				id = dahomeynew.2
				days = 2
			}
		}
		available = {
			NOT = {
				has_war_with = CIV
			}
		}
		completion_reward = {
			add_ideas = DAH_independent_idea
			add_stability = 0.05
			hidden_effect = {
				NFA = {
					country_event = {
						id = sharedafrika.106 # NFA attack Dahomey?
						days = 5
					}
				}
				if = {
					limit = {
						owns_state = 877
						}
					country_event = {
						id = sharedafrika.103
						days = 74
					}
				}
			}
		}
	}
	
	focus = {
		id = DAH_gabonese_revolution
		icon = GFX_goal_CSA_Socialism_first
		x = 4
		y = 1
		cost = 1
		ai_will_do = {
			factor = 2000
		}
		prerequisite = {
			focus = DAH_gabonrising
		}		
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		mutually_exclusive = { focus = DAH_thenewrepublic }
		bypass = {
			has_country_flag = DAH_portonovorising
		}
		completion_reward = {
			custom_effect_tooltip = unlock_focuses
		}
	}
	focus = {
		id = DAH_forced_detribalisation
		icon = GFX_goal_LEP_governor_question
		x = -3
		y = 1
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		mutually_exclusive = {
			focus = DAH_consultthechiefs focus = DAH_freedomwithrestraint
		}
		prerequisite = {
			focus = DAH_gabonese_revolution
		}
		completion_reward = {
				set_politics = {
					ruling_party = radical_socialist
				}

			increase_ruling_party_popularity_by_10 = yes
			add_timed_idea = {
				idea = DAH_purged_government
				days = 180
				}
			}
		}
	focus = {
		id = DAH_consultthechiefs
		icon = GFX_tribalreforms
		x = 3
		y = 1
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		mutually_exclusive = {
			focus = DAH_forced_detribalisation focus = DAH_freedomwithrestraint
		}
		prerequisite = {
			focus = DAH_gabonese_revolution focus = DAH_thenewrepublic
		}
		completion_reward = {
		if = {
			limit = {
				has_completed_focus = DAH_thenewrepublic
				}
				set_politics = {
					ruling_party = social_conservative
				}
				create_country_leader = {
					name = "Agoli-Agbo"
					picture = "gfx/leaders/DAH/Portrait_Dahomey_Angoli.png"
					expire = "1.1.1"
					ideology = soccon_oligarchy_subtype
				}
				set_cosmetic_tag = DAH_FED
			}
		if = {
			limit = {
				has_completed_focus = DAH_gabonese_revolution
				}
			retire_country_leader = yes
			create_country_leader = {
				name = "Basile Adjou Moumouni"
				picture = "gfx/leaders/DAH/Portrait_Dahomey_Soglo.png"
				expire = "1.1.1"
				ideology = socdem_democratic_socialism_subtype
				}
				set_politics = {
					ruling_party = social_democrat
				}
			}
			increase_ruling_party_popularity_by_20 = yes
			add_political_power = 50
			add_stability = 0.05
		}
	}
	
	focus = {
		id = DAH_the_national_project
		icon = GFX_reformthecolonialgovernment
		x = 3
		y = 2
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}

		prerequisite = {
			focus = DAH_consultthechiefs
		}
		completion_reward = {
			add_stability = 0.05
			increase_ruling_party_popularity_by_20 = yes	
		}
	}
	
	focus = {
		id = DAH_vanguarddoctrine
		icon = GFX_goal_ideology_totalist
		x = -4
		y = 2
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_forced_detribalisation
		}
		completion_reward = {
			country_event = dahomeynew.4
			add_stability = 0.05
		}
	}	
	focus = {
		id = DAH_huntdownreactionaries
		icon = GFX_expelpeople
		x = -4
		y = 4
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_establishparamilitaries
		}
		completion_reward = {
			increase_ruling_party_popularity_by_20 = yes
		}
	}
	focus = {
		id = DAH_establishparamilitaries
		icon = GFX_goal_MAF_African_Armies
		x = -4
		y = 3
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_vanguarddoctrine
		}
		completion_reward = {
			add_ideas = DAH_agency_idea
		}
	}
	focus = {
		id = DAH_ideologicalstruggle
		icon = GFX_goal_HOL_list_left
		x = 5
		y = 2
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_consultthechiefs focus = DAH_freedomwithrestraint
		}
		completion_reward = {
			increase_ruling_party_popularity_by_15 = yes
		}
	}	
	focus = {
		id = DAH_integratecivilservants
		icon = GFX_focus_generic_treaty
		x = 4
		y = 3
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_ideologicalstruggle
		}
		completion_reward = {
			add_stability = 0.2
		}
	}
	focus = {
		id = DAH_fulfillourpromises
		icon = GFX_Socialist_Law
		x = 4
		y = 4
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_integratecivilservants
		}
		completion_reward = {
			add_political_power = 150
			add_popularity = {
				ideology = totalist
				popularity = 0.03
			}
			add_popularity = {
				ideology = syndicalist
				popularity = 0.03
			}
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.03
			}
		}
	}
	focus = {
		id = DAH_overthrowtheconcessions
		icon = GFX_prioritisethekitawala
		x = -1
		y = 2
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_forced_detribalisation
			focus = DAH_consultthechiefs
		}
		completion_reward = {
			remove_ideas = DAH_the_concessions
			876 = {
				add_extra_state_shared_building_slots = 2
			}
			increase_ruling_party_popularity_by_10 = yes
			add_stability = -0.05
		}
	}
	focus = {
		id = DAH_launchcollectivistfarms
		icon = GFX_waragainstthebush
		x = -2
		y = 3
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_overthrowtheconcessions
		}
		completion_reward = {
			add_manpower = 5000
			add_tech_bonus = {
				name = DAH_launchcollectivistfarms
				bonus = 0.20
				uses = 2
				category = industry
			}
			set_country_flag = DAH_industrialisation_started
		}
	}
	focus = {
		id = DAH_agrariansocialism
		icon = GFX_kamausmks
		x = -2
		y = 4
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_launchcollectivistfarms
		}
		completion_reward = {
			876 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = DAH_socialisminonecountry
		icon = GFX_increasethehuttax
		x = -6
		y = 3
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_vanguarddoctrine
		}
		completion_reward = {
			add_war_support = 0.1
		}
	}
	focus = {
		id = DAH_theverdunofthetropics
		icon = GFX_looktoourselves
		x = -6
		y = 4
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_socialisminonecountry
		}
		completion_reward = {
			876 = {
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_border = yes
					}
				}
			}
		}
	}	
	focus = {
		id = DAH_seekinternationaleprotection
		icon = GFX_goal_FRA_Internationale_Congress
		x = 0
		y = 3
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = { 
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		available = {
			threat > 0.6
			has_war = no
			has_socialist_government = yes
			is_subject = no
			is_in_faction = no
		}
		prerequisite = {
			focus = DAH_overthrowtheconcessions
			focus = DAH_attackimperialistinfluence
		}
completion_reward = {
	if = {
		limit = {
			country_exists = INT
			}
			country_event = sharedafrika.10
		}
			add_ideas = DAH_international_relations_idea
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}
	
	focus = {
		id = DAH_redafrica
		icon = GFX_congresselections
		x = 0
		y = 4
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_seekinternationaleprotection
		}
		completion_reward = {
			add_ideas = DAH_redafrica_idea
			if = {
				limit = {
					has_idea = DAH_neutrality_idea
				}
				remove_ideas = DAH_neutrality_idea
			}
		}
	}
	focus = {
		id = DAH_attackimperialistinfluence
		icon = GFX_conquerednolonger
		x = 1
		y = 2
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_forced_detribalisation
			focus = DAH_consultthechiefs
		}
		completion_reward = {
			add_popularity = {
				ideology = national_populist
				popularity = -0.05
			}
			add_popularity = {
				ideology = paternal_autocrat
				popularity = -0.05
			}
			add_popularity = {
				ideology = authoritarian_democrat
				popularity = -0.05
			}
		}
	}
	focus = {
		id = DAH_propagandaefforts
		icon = GFX_calmtribaltensions
		x = 2
		y = 3
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_attackimperialistinfluence
		}
		completion_reward = {
			add_stability = 0.05
			add_popularity = {
				ideology = totalist
				popularity = 0.03
			}
			add_popularity = {
				ideology = syndicalist
				popularity = 0.03
			}
			add_popularity = {
				ideology = radical_socialist
				popularity = 0.03
			}
		}
	}
	focus = {
		id = DAH_thepeoplesconstitution
		icon = GFX_socialist_constitution
		x = 2
		y = 4
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_propagandaefforts
		}
		completion_reward = {
			add_stability = 0.15
			add_political_power = 50
		}
	}
	focus = {
		id = DAH_beaconoffreeafrica
		icon = GFX_focus_generic_socialist_science
		x = 1
		y = 5
		relative_position_id = DAH_gabonese_revolution
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = yes
		}
		prerequisite = {
			focus = DAH_redafrica
			focus = DAH_theverdunofthetropics
		}
		mutually_exclusive = { focus = DAH_foreignresearch }
		completion_reward = {
			add_ideas = DAH_redafrica_idea
		}
	}
	focus = {
		id = DAH_anewera
		icon = GFX_focus_generic_socialist_science
		x = 3
		y = 6
		relative_position_id = DAH_gabonese_revolution
		cost = 2
		ai_will_do = {
			factor = 2
		}
		prerequisite = {
			focus = DAH_beaconoffreeafrica
			focus = DAH_foreignresearch
		}
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = DAH_beaconoffreeafrica
				}
				load_focus_tree = African_Generic_Democracy
			}
			if = {
				limit = {
					has_completed_focus = DAH_foreignresearch
					has_elected_government = yes
				}
				load_focus_tree = African_Generic_Democracy
			}
			if = {
				limit = {
					has_completed_focus = DAH_foreignresearch
					has_authoritarian_government = yes
				}
				load_focus_tree = african_monarchy
			}
		}
	}
	focus = {
		id = DAH_thenewrepublic
		icon = GFX_DAH_stand_our_own
		x = 10
		y = 1
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = unlock_focuses
				always = no
			}
		}
		bypass = {
			has_country_flag = DAH_portonovorisingfailed
		}
		mutually_exclusive = { focus = DAH_gabonese_revolution }
		prerequisite = {
			focus = DAH_gabonrising
		}		
		completion_reward = {
			custom_effect_tooltip = unlock_focuses
		}
	}
	focus = {
		id = DAH_freedomwithrestraint
		icon = GFX_goal_NFA_July_Monarchy
		x = 3
		y = 1
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		prerequisite = {
			focus = DAH_thenewrepublic
		}
		mutually_exclusive = { focus = DAH_consultthechiefs focus = DAH_forced_detribalisation }
		completion_reward = {
			increase_ruling_party_popularity_by_10 = yes
			add_political_power = 50
			add_stability = 0.05
		}
	}
	focus = {
		id = DAH_seeknewallies
		icon = GFX_federalisationpolicy
		x = 0
		y = 3
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
			is_in_faction = no
			is_subject = no
		}
		prerequisite = {
			focus = DAH_ideologicalstruggle focus = DAH_concessionaryreforms
		}
		completion_reward = {
			add_offsite_building = { type = industrial_complex level = 1 }
			add_offsite_building = { type = dockyard level = 1 }
		}
	}
	focus = {
		id = DAH_regionalcooperation
		icon = GFX_goal_foreign_diplomacy
		x = 0
		y = 4
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_seeknewallies
		}
		completion_reward = {
		add_war_support = 0.05
			if = {
				limit = {
					has_idea = DAH_neutrality_idea
				}
				remove_ideas = DAH_neutrality_idea
			}
		}
	}
	focus = {
		id = DAH_concessionaryreforms
		icon = GFX_strengthenthelomweminority
		x = 1
		y = 2
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_consultthechiefs focus = DAH_freedomwithrestraint
		}
		completion_reward = {
		swap_ideas = {
			remove_idea = DAH_the_concessions
			add_idea = DAH_concessionaryreform
			}			
		}
	}
	focus = {
		id = DAH_partnerwiththeexiles
		icon = GFX_goal_NFA_pays_reel
		x = 4
		y = 3
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_thefederalcharter
		}
		completion_reward = {
			add_political_power = 100
		}
	}
	
	focus = {
		id = DAH_liberalrhetoric
		icon = GFX_goal_NFA_liberal_era
		x = 4
		y = 4
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_partnerwiththeexiles
		}
		completion_reward = {
			add_stability = 0.15
			increase_ruling_party_popularity_by_10 = yes
		}
	}
	
	focus = {
		id = DAH_thefederalcharter
		icon = GFX_reviewarticlefour
		x = 4
		y = 2
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_freedomwithrestraint
		}
		completion_reward = {
			add_stability = 0.15
			add_war_support = 0.05
		}
	}
	
	focus = {
		id = DAH_promoteinternationaltrade
		icon = GFX_goal_AST_new_markets
		x = 2
		y = 3
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_concessionaryreforms
		}
		completion_reward = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}
	
	focus = {
		id = DAH_pushmeritocraticprinciples
		icon = GFX_goal_brain
		x = 2
		y = 4
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_promoteinternationaltrade
		}
		completion_reward = {
			add_stability = 0.1
			add_war_support = 0.1
		}
	}

	focus = {
		id = DAH_reconciliationwithfrance
		icon = GFX_NEE_entente_support
		x = 6
		y = 3
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		prerequisite = {
			focus = DAH_thefederalcharter
		}
		completion_reward = {
			add_stability = 0.05
			add_offsite_building = { type = arms_factory level = 1 }
			add_equipment_to_stockpile = { type = infantry_equipment_1  amount = 1000 producer = NFA }
			add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 100 producer = NFA }			
		}
	}
	focus = {
		id = DAH_jointheentente
		icon = GFX_goal_USA_reconcile_canada
		x = 6
		y = 4
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = { 
			factor = 20
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		prerequisite = {
			focus = DAH_reconciliationwithfrance
		}
		available = {
			threat > 0.6
			has_socialist_government = no
			is_subject = no
			is_in_faction = no
		}
		completion_reward = {
			if = {
				limit = {
					country_exists = ENT
					}
					country_event = sharedafrika.9
				}
			if = {
				limit = {
					has_idea = DAH_neutrality_idea
				}
				remove_ideas = DAH_neutrality_idea
			}
			}
		}
	
	focus = {
		id = DAH_foreignresearch
		icon = GFX_goal_generic_scientific_exchange
		x = -1
		y = 5
		relative_position_id = DAH_thenewrepublic
		cost = 5
		ai_will_do = {
			factor = 20
		}
		available = {
			has_socialist_government = no
		}
		mutually_exclusive = { focus = DAH_beaconoffreeafrica }
		prerequisite = {
			focus = DAH_regionalcooperation focus = DAH_jointheentente
		}
		completion_reward = {
			add_research_slot_until_five = yes
		}
	}
	
	focus = {
		id = DAH_organisethemilitias
		icon = GFX_goal_DAH_arms_trade
		cost = 5
		x = 30
		y = 1
		available = {

		}
		completion_reward = {
			add_ideas = DAH_militas
		}
	}
	focus = {
		id = DAH_infrastructureefforts
		icon = GFX_focusonthedreyfusline
		cost = 5
		prerequisite = {
			focus = DAH_organisethemilitias
		}
		x = 26
		y = 2
		completion_reward = {
			876 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = DAH_gabonesearmaments
		icon = GFX_ugandanarms
		cost = 5
		prerequisite = {
			focus = DAH_infrastructureefforts
		}
		x = 26
		y = 5
		completion_reward = {
			876 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	# Professional Army #
	focus = {
		id = DAH_astrikeforce
		icon = GFX_ruwzenzoritraining
		cost = 5
		prerequisite = {
			focus = DAH_organisethemilitias
		}
		mutually_exclusive = {
			focus = DAH_therevolutionarytradition
		}
		x = 28
		y = 2
		completion_reward = {
			hidden_effect = {
				add_ideas = DAH_army_reform_prof_idea   # cost of reorganization of army
			}
			add_tech_bonus = {
				name = DAH_astrikeforce
				bonus = 1
				uses = 2
				category = cat_superior_firepower
				category = cat_grand_battle_plan
			}
		}
	}
	focus = {
		id = DAH_minimumstandards
		icon = GFX_goal_break_rifle
		cost = 5
		prerequisite = {
			focus = DAH_astrikeforce
		}
		x = 27
		y = 3
		completion_reward = {
			add_ideas = DAH_army_prof_equi_idea1
		}
	}
	focus = {
		id = DAH_qualityoverquantity
		icon = GFX_supportingforces
		cost = 5
		prerequisite = {
			focus = DAH_minimumstandards
		}
		x = 27
		y = 4
		completion_reward = {
			add_equipment_to_stockpile = {
				type = artillery_equipment_1
				amount = 250
				producer = NFA
			}
			swap_ideas = {
				add_idea = DAH_army_prof_equi_idea2
				remove_idea = DAH_army_prof_equi_idea1
			}
		}
	}
	focus = {
		id = DAH_thehunsexample
		icon = GFX_focus_ger_oppose_hitler
		cost = 5
		prerequisite = {
			focus = DAH_astrikeforce
		}
		x = 29
		y = 3
		completion_reward = {
			army_experience = 10
			add_ideas = DAH_army_prof_officer_idea1
		}
	}
	focus = {
		id = DAH_anofficercorps
		icon = GFX_focus_chi_army_reform
		cost = 5
		prerequisite = {
			focus = DAH_thehunsexample
		}
		x = 29
		y = 4
		completion_reward = {
			swap_ideas = {
				add_idea = DAH_army_prof_officer_idea2
				remove_idea = DAH_army_prof_officer_idea1
			}
		}
	}

	focus = {
		id = DAH_africasfinest
		icon = GFX_tribalpolicydebate
		cost = 5
		prerequisite = {
			focus = DAH_qualityoverquantity
		}
		prerequisite = {
			focus = DAH_anofficercorps
		}
		x = 28
		y = 5
		completion_reward = {
			add_political_power = 100
			swap_ideas = {
				add_idea = DAH_army_prof_officer_idea3
				remove_idea = DAH_army_prof_officer_idea2
			}
		}
	}

	# Irregular Army #
	focus = {
		id = DAH_therevolutionarytradition
		icon = GFX_aconventionalwar
		cost = 5
		prerequisite = {
			focus = DAH_organisethemilitias
		}
		mutually_exclusive = {
			focus = DAH_astrikeforce
		}
		available = {
			has_socialist_government = yes
		}
		x = 32
		y = 2
		completion_reward = {
			add_tech_bonus = {
				name = DAH_therevolutionarytradition
				bonus = 1
				uses = 2
				category = cat_mass_assault
			}
		}
	}
	focus = {
		id = DAH_trustthewarchiefs
		icon = GFX_goal_MAF_African_Armies
		cost = 5
		prerequisite = {
			focus = DAH_therevolutionarytradition
		}
		x = 31
		y = 3
		completion_reward = {
			add_ideas = DAH_army_irreg_officer_idea
		}
	}
	focus = {
		id = DAH_localconditionstraining
		icon = GFX_goal_leopardo_government
		cost = 5
		prerequisite = {
			focus = DAH_trustthewarchiefs
		}
		x = 31
		y = 4
		completion_reward = {
		custom_effect_tooltip = jungle_warfare_effect
		hidden_effect = {
			set_technology = { jungle_warfare = 1 popup = no }
		}
		add_command_power = 20
		}
	}
	focus = {
		id = DAH_ourjungleourhome
		icon = GFX_junglespecialism
		cost = 5
		prerequisite = {
			focus = DAH_therevolutionarytradition
		}
		x = 33
		y = 3
		completion_reward = {
			add_ideas = DAH_army_irreg_guerilla_idea1
		}
	}
	focus = {
		id = DAH_thelegacyofthefang
		icon = GFX_focus_prc_infiltration
		cost = 5
		prerequisite = {
			focus = DAH_ourjungleourhome
		}
		x = 33
		y = 4
		completion_reward = {
			swap_ideas = {
				add_idea = DAH_army_irreg_guerilla_idea2
				remove_idea = DAH_army_irreg_guerilla_idea1
			}
		}
	}
	focus = {
		id = DAH_thewarriorinstinct
		icon = GFX_goal_DAH_Amazons
		cost = 5
		prerequisite = {
			focus = DAH_localconditionstraining
		}
		prerequisite = {
			focus = DAH_thelegacyofthefang
		}
		x = 32
		y = 5
		completion_reward = {
			add_manpower = 15000
			add_war_support = 0.05
		}
	}

	# Shared Right #
	focus = {
		id = DAH_sourcearms
		icon = GFX_goal_generic_small_arms
		cost = 5
		prerequisite = {
			focus = DAH_organisethemilitias
		}
		x = 34
		y = 2
		completion_reward = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 349
				producer = MAF
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 299
				producer = NFA
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = 400
				producer = EGY
			}
		}
	}
	focus = {
		id = DAH_ourownweapons
		icon = GFX_armspurchases
		cost = 5
		prerequisite = {
			focus = DAH_sourcearms
		}
		x = 34
		y = 5
		completion_reward = {
			add_tech_bonus = {
				name = DAH_ourownweapons
				bonus = 1
				uses = 2
				category = infantry_weapons
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment_0
				amount = 400
				producer = DAH
			}
		}
	}

	# Finished Reforms #
	focus = {
		id = DAH_anewmodelarmy
		icon = GFX_themercenaryordnance
		cost = 5
		prerequisite = {
			focus = DAH_gabonesearmaments
		}
		prerequisite = {
			focus = DAH_africasfinest
		}
		prerequisite = {
			focus = DAH_ourownweapons
		}
		x = 29
		y = 6
		completion_reward = {
			hidden_effect = {
				remove_ideas = DAH_army_reform_prof_idea
				remove_ideas = DAH_army_prof_equi_idea2
				remove_ideas = DAH_army_prof_officer_idea3
				}
				add_ideas = DAH_army_prof_perma_idea
			army_experience = 10
		}
	}
	
	focus = {
		id = DAH_everymanawarrior
		icon = GFX_antimaumaumeasures
		cost = 5
		prerequisite = {
			focus = DAH_thewarriorinstinct
		}
		prerequisite = {
			focus = DAH_gabonesearmaments
		}
		prerequisite = {
			focus = DAH_ourownweapons
		}
		x = 31
		y = 6
		completion_reward = {
			hidden_effect = {
				remove_ideas = DAH_army_irreg_guerilla_idea2
				remove_ideas = DAH_army_irreg_officer_idea
				}
				add_ideas = DAH_army_irreg_perma_idea
			army_experience = 10
		}
	}
	focus = {
		id = DAH_militaryresearch
		icon = GFX_kampalamilitaryacademy
		cost = 5
		prerequisite = {
			focus = DAH_anewmodelarmy
			focus = DAH_everymanawarrior
		}
		x = 30
		y = 7
		completion_reward = {
			add_research_slot_until_five = yes
			add_tech_bonus = {
				name = DAH_militaryresearch
				bonus = 1
				uses = 2
				category = land_doctrine
			}
		}
	}
	
	focus = {
		id = DAH_importsubstitution
		icon = GFX_goal_gold_up
		cost = 10
		prerequisite = {
			
		}
		available = {
			NOT = {
				has_war_with = CIV
			}
		}
		x = 22
		y = 1
		completion_reward = {
				if = {
					limit = {
						has_idea = DAH_black_monday2
					}
					remove_ideas = DAH_black_monday2
				}
				if = {
					limit = {
						has_idea = DAH_black_monday
					}
					swap_ideas = {
						remove_idea = DAH_black_monday
						add_idea = DAH_black_monday2
				}	
			}
			add_offsite_building = { type = arms_factory level = 1 }
			add_offsite_building = { type = industrial_complex level = 1 }
			custom_effect_tooltip = willreduceblackmonday
		}
	}

	focus = {
		id = DAH_expandtimberexports
		icon = GFX_goal_generic_forestry
		cost = 5
		prerequisite = {
			focus = DAH_importsubstitution
		}
		relative_position_id = DAH_importsubstitution
		x = -1
		y = 1
		completion_reward = {
		876 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		}
	}
	
	focus = {
		id = DAH_pushmanganesemining
		icon = GFX_focus_generic_steel
		cost = 5
		prerequisite = {
			focus = DAH_importsubstitution
		}
		relative_position_id = DAH_importsubstitution
		x = 1
		y = 1
		completion_reward = {
			add_resource = {
				type = steel
				amount = 12
				state = 876
			}
			add_resource = {
				type = aluminium
				amount = 5
				state = 876
			}
		}
	}
	
	focus = {
		id = DAH_solvethefoodcrisis
		icon = GFX_establishfisheries
		cost = 5
		prerequisite = {
			focus = DAH_pushmanganesemining focus = DAH_expandtimberexports
		}
		relative_position_id = DAH_importsubstitution
		x = 0
		y = 2
		completion_reward = {
			add_ideas = DAH_bountyofthesea
			add_stability = 0.1
			increase_ruling_party_popularity_by_5 = yes
		}
	}
	
	focus = {
		id = DAH_railway
		icon = GFX_dschibutilinks
		cost = 5
		prerequisite = {
			focus = DAH_pushmanganesemining
		}
		relative_position_id = DAH_importsubstitution
		x = 2
		y = 2
		completion_reward = {
			build_railway = {
				level = 1
				start_province = 13877
				target_province = 13882
			}
			add_stability = 0.05
		}
	}
	
	focus = {
		id = DAH_industrial_programme
		icon = GFX_goal_manage_industries
		cost = 5
		prerequisite = {
			focus = DAH_expandtimberexports
		}
		relative_position_id = DAH_importsubstitution
		x = -2
		y = 2
		completion_reward = {
				add_tech_bonus = {
					name = DAH_industrial_programme
					bonus = 1
					uses = 1
					category = construction_tech
				}
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = electronics
			}
		}
	}
	
	focus = {
		id = DAH_urbandevelopment
		icon = GFX_goal_generic_construct_civ_factory
		cost = 5
		prerequisite = {
			focus = DAH_solvethefoodcrisis
		}
		relative_position_id = DAH_importsubstitution
		x = -1
		y = 3
		completion_reward = {
		876 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
			}
				if = {
					limit = {
						has_idea = DAH_black_monday2
					}
					remove_ideas = DAH_black_monday2
				}
				if = {
					limit = {
						has_idea = DAH_black_monday
					}
					swap_ideas = {
						remove_idea = DAH_black_monday
						add_idea = DAH_black_monday2
				}	
			}
			custom_effect_tooltip = willreduceblackmonday			
		}
	}
	
	focus = {
		id = DAH_moderninfrastructure
		icon = GFX_goal_dam
		cost = 5
		prerequisite = {
			focus = DAH_solvethefoodcrisis
		}
		relative_position_id = DAH_importsubstitution
		x = 1
		y = 3
		completion_reward = {
			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 = infrastructure
		level = 1
		instant_build = yes
			}			
		}
		if = {
			limit = {
				owns_state = 877
			}
			877 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
					}			
				}
			}
		}
	}
	
	focus = {
		id = DAH_frenchdevelopment
		icon = GFX_DAH_FR_Prod
		cost = 5
		prerequisite = {
			focus = DAH_urbandevelopment
		}
		prerequisite = {
			focus = DAH_moderninfrastructure
		}
		prerequisite = {
			focus = DAH_reconciliationwithfrance
		}
		available = {
			country_exists = NFA
			has_socialist_government = no
		}
		relative_position_id = DAH_importsubstitution
		x = -2
		y = 4
		completion_reward = {
			add_offsite_building = { type = industrial_complex level = 1 }
		}
	}

	focus = {
		id = DAH_communardassistance
		icon = GFX_goal_comfrance
		cost = 5
		available = {
			has_authoritarian_government = no
		}
		prerequisite = {
			focus = DAH_urbandevelopment
		}
		prerequisite = {
			focus = DAH_moderninfrastructure
		}
		available = {
			country_exists = INT
			has_socialist_government = yes
		}
		relative_position_id = DAH_importsubstitution
		x = 2
		y = 4
		completion_reward = {
			add_offsite_building = { type = arms_factory level = 1 }
		}
	}
	
	focus = {
		id = DAH_armsmanufacturing
		icon = GFX_goal_munitions_factories
		cost = 5

		prerequisite = {
			focus = DAH_urbandevelopment
		}
		prerequisite = {
			focus = DAH_moderninfrastructure
		}
		relative_position_id = DAH_importsubstitution
		x = 0
		y = 4
		completion_reward = {
			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
			}			
		}		
		}
	}
	
	focus = {
		id = DAH_miracleontheogooue
		icon = GFX_DAH_Uni
		cost = 5

		prerequisite = {
			focus = DAH_armsmanufacturing
		}
		prerequisite = {
			focus = DAH_frenchdevelopment focus = DAH_communardassistance
		}
		prerequisite = {
			focus = DAH_gabonesearmaments
		}
		relative_position_id = DAH_importsubstitution
		x = 0
		y = 5
		completion_reward = {
			add_ideas = DAH_miracle
			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
			}			
		}	
		}
	}
 }