focus_tree = { 
id = NGR
continuous_focus_position = { x = 2200 y = 2000 } 
	initial_show_position = {
		focus = NGR_thenigercrash
	}
country = { 
factor = 0 
modifier = { 
add = 30
tag = NGR 
} 
} 

# political focus
focus = { 
id = NGR_frayingattheedges
icon = GFX_NGR_splitting_at_the_seams
x = 8
y = 0
cost = 1
available_if_capitulated = no 
 
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	}
}
 
# reform path
focus = { 
id = NGR_reformthedualmandate
icon = GFX_NGR_anglo
x = 6
y = 1
cost = 2
available = {
	OR = {
		has_global_flag = congo_bush_war
		NOT = {
			country_exists = COG
		}
	}
}
available_if_capitulated = no
mutually_exclusive = { focus = NGR_enforceanewmandate }
prerequisite = { focus = NGR_frayingattheedges } 
ai_will_do = { factor = 20 }
completion_reward = {
			country_event = {
				id = nigeria.2
				days = 1
			}
			hidden_effect = {
				GER = {
					country_event = {
						id = nigeria.2
						days = 1
					}
				}
				MAF = {
					country_event = {
						id = nigeria.2
						days = 1
					}
				}
			}
	swap_ideas = {
		remove_idea = NGR_administrative_drift
		add_idea = NGR_dualmandateidea
	}	
	increase_ruling_party_popularity_by_5 = yes
	add_war_support = 0.05
	}
}
 
focus = { 
id = NGR_enforceanewmandate
icon = GFX_NGR_commander
x = 10
y = 1
cost = 2
available = {
	OR = {
		has_global_flag = congo_bush_war
		NOT = {
			country_exists = COG
		}
	}
}
cancelable = no

available_if_capitulated = no
mutually_exclusive = { focus = NGR_reformthedualmandate }
prerequisite = { focus = NGR_frayingattheedges } 
ai_will_do = { factor = 20 }
completion_reward = {
			country_event = {
				id = nigeria.3
				days = 3
			}
			hidden_effect = {
			MAF = {
				country_event = {
					id = nigeria.3
					days = 3
				}			
			}
			GER = {
				country_event = {
					id = nigeria.3
					days = 3
				}
			}
		}
		set_politics = {
			ruling_party = paternal_autocrat
			elections_allowed = no
		}
	add_popularity = { ideology = authoritarian_democrat popularity = 0.1 }
	swap_ideas = {
		remove_idea = NGR_administrative_drift
		add_idea = NGR_newmandateidea
	}
	
	add_political_power = -50
	add_stability = -0.05
	drop_cosmetic_tag = yes
		hidden_effect = {
			news_event = {
				id = sharedafrika.19
				days = 1
			}		
		}
	}
 }
 
focus = { 
id = NGR_regionalisationmeasures
icon = GFX_goal_NGR_native_rights
x = 3
y = 2
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_reformthedualmandate } 
ai_will_do = { factor = 20 }
	select_effect = {
			country_event = {
				id = nigeria.4
				days = 3
			}
			GER = {
				country_event = {
					id = nigeria.4
					days = 3
				}
			}
			MAF = {
				country_event = {
					id = nigeria.4
					days = 3
				}
			}
		}
	completion_reward = {
		swap_ideas = {
			remove_idea = NGR_dualmandateidea
			add_idea = NGR_regionidea
		}	
	country_event = nig.28
	hidden_effect = {
			GER = {
				country_event = {
					id = nig.28
					days = 3
				}
			}
			MAF = {
				country_event = {
					id = nig.28
					days = 3
				}
			}
	}
	add_ideas = NGR_federalism_idea
	}
}
 
focus = { 
id = NGR_crackdownoncompanyexcesses
icon = GFX_Focus_Investigation
x = 1
y = 2
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_reformthedualmandate } 
ai_will_do = { factor = 20 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_war_support = 0.05
	}
}
 
focus = { 
id = NGR_replacewarrantchiefs
icon = GFX_tribalreforms
x = 5
y = 2
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_reformthedualmandate } 
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	add_war_support = 0.05
	}
 } 
 
focus = { 
id = NGR_strengthenafricancourts
icon = GFX_legalreorganisation
x = 2
y = 3
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_regionalisationmeasures } 
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nig.4
	hidden_effect ={
		MAF = {
			country_event = nig.4
		}
		GER = {
			country_event = nig.4
		}
	}
	increase_ruling_party_popularity_by_5 = yes
	}
}
 
focus = { 
id = NGR_openupthelegco
icon = GFX_preventionofintimidationact
x = 4
y = 3
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_regionalisationmeasures } 
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.5
	add_war_support = 0.1
	add_stability = -0.02
	}
}
 
focus = { 
id = NGR_limitforcedlabour
icon = GFX_reformthenativerentsordnance
x = 1
y = 4
cost = 2
available_if_capitulated = no 
prerequisite = { focus = NGR_crackdownoncompanyexcesses } 
prerequisite = { focus = NGR_strengthenafricancourts } 
ai_will_do = { factor = 20 }

completion_reward = {
	add_stability = 0.05
	increase_ruling_party_popularity_by_5 = yes
	}
}
 
focus = { 
id = NGR_removecivilservicerestrictions
icon = GFX_protectoratereforms
x = 5
y = 4
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_openupthelegco } 
prerequisite = { focus = NGR_replacewarrantchiefs } 
ai_will_do = { factor = 20 }
completion_reward = {
	add_ideas = NGR_administrative_efficiency
	add_political_power = 20
	}}
focus = {
id = NGR_replacetheconstitutionof26
icon = GFX_goal_NGR_cliffords_legacy
x = 3
y = 5
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_limitforcedlabour focus = NGR_removecivilservicerestrictions } 
prerequisite = { focus = NGR_strengthenafricancourts } 
prerequisite = { focus = NGR_openupthelegco } 
ai_will_do = { factor = 20 }
	select_effect = {
	country_event = {
		id = nigeria.6
		days = 14
	}
}
completion_reward = {
	swap_ideas = {
		remove_idea = NGR_regionidea
		add_idea = NGR_constitutionnewidea
	}
	country_event =  nig.23
	}
}
 
 #both
focus = { 
id = NGR_northernmeasures
icon = GFX_goal_NGR_deal_with_northern_rebels
x = 8
y = 5
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_fosterculturalinks }
prerequisite = { focus = NGR_reconcilewiththemissions }
ai_will_do = { factor = 20 }
 cancelable = no
 select_effect = {
 	country_event = {
		id = nigeria.7
		days = 4
	}
 	country_event = {
		id = nig.24
		days = 13
	}
 }
completion_reward = {
		country_event = nig.19
		add_ideas = NGR_deal_with_rebels
		add_timed_idea = {
			idea = NGR_Spiritual_War_idea
			days = 365
		}
	}
}
 
focus = { 
id = NGR_reconcilewiththemissions
icon = GFX_unifythechurches
x = 7
y = 4
cost = 2
available_if_capitulated = no 
prerequisite = { focus = NGR_statusoftheunions focus = NGR_pressregulationdebate }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.8
		hidden_effect = {
			GER = {
				country_event = nigeria.8
			}
			MAF = {
				country_event = nigeria.8
			}
		}
	}
}
 
focus = { 
id = NGR_statusoftheunions
icon = GFX_goal_HOL_council_communism
x = 6
y = 3
cost = 2
available_if_capitulated = no 
prerequisite = { focus = NGR_considerlugardslegacy }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.9
		hidden_effect = {
			GER = {
				country_event = nigeria.9
			}
			MAF = {
				country_event = nigeria.9
			}
		}
	}
 }
 
focus = { 
id = NGR_pressregulationdebate
icon = GFX_Focus_Generic_Press_Liberalization
x = 10
y = 3
cost = 2
available_if_capitulated = no 
prerequisite = { focus = NGR_considerlugardslegacy }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.10
		hidden_effect = {
			MAF = {
				country_event = nigeria.10
			}
			GER = {
				country_event = nigeria.10
			}
		}
	}
}
 
focus = { 
id = NGR_fosterculturalinks
icon = GFX_newbureaucratictalent
x = 9
y = 4
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_statusoftheunions focus = NGR_pressregulationdebate }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.36
	add_political_power = 50
	}
}
 
focus = { 
id = NGR_considerlugardslegacy
icon = GFX_expandlegislativecouncil
x = 8
y = 2
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_reformthedualmandate focus = NGR_enforceanewmandate } 
ai_will_do = { factor = 20 }
completion_reward = {
	custom_effect_tooltip = NGR_at_lawlessness_tooltip
		if = {
		limit = { has_idea = NGR_Northern_Tensions_Neighbors }
		swap_ideas = {
			remove_idea = NGR_Northern_Tensions_Neighbors
			add_idea = NGR_at_lawlessness_idea
			}
		}
		else_if = {
		limit = { has_idea = NGR_Northern_Tensions_Soldiers }
		swap_ideas = {
			remove_idea = NGR_Northern_Tensions_Soldiers
			add_idea = NGR_at_lawlessness_idea
			}
		}
		else_if = {
		limit = { has_idea = NGR_Northern_Tensions_Reich }
		swap_ideas = {
			remove_idea = NGR_Northern_Tensions_Reich
			add_idea = NGR_at_lawlessness_idea
			}
		}
		add_timed_idea = {
			idea = NGR_lugardidea
			days = 365
		}
	}
 }
 
 #enforcebranch
focus = { 
id = NGR_supervisoryresidents
icon = GFX_pithhelmet
x = 13
y = 2
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_enforceanewmandate }
ai_will_do = { factor = 20 }
 available = {
	NOT = {
		has_idea = NGR_angry_colonials_3
		has_idea = NGR_angry_colonials_2
		has_idea = NGR_angry_colonials
	}
 }
completion_reward = {
	swap_ideas = {
		remove_idea = NGR_newmandateidea
		add_idea = NGR_supervisoryresidentsidea
	}
	add_stability = 0.05
	add_war_support = 0.05
		MAF = {
			country_event = nig.11
		}
	}
 }
 
focus = { 
id = NGR_delegitimiseenglish
icon = GFX_northeyreforms
x = 11
y = 2
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_enforceanewmandate }
ai_will_do = { factor = 20 }
completion_reward = {
	add_ideas = NGR_curb_brits
	add_stability = -0.01
	}
}
 
focus = { 
id = NGR_boardofconcessions
icon = GFX_investinmagadisoda
x = 15
y = 2
cost = 5
available_if_capitulated = no 
available = {
	has_completed_focus = NGR_delegitimiseenglish
}
prerequisite = { focus = NGR_enforceanewmandate }
ai_will_do = { factor = 20 }
completion_reward = {
	add_political_power = 20
		swap_ideas = {
			remove_idea = NGR_curb_brits
			add_idea = NGR_curb_brits_2
		}
	}
 }
 
focus = { 
id = NGR_suppressethnicassociations
icon = GFX_divideandconquer
x = 12
y = 3
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_supervisoryresidents }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
	add_popularity = { ideology = national_populist popularity = -0.02 }
	add_popularity = { ideology = social_liberal popularity = -0.01 }
	add_popularity = { ideology = social_democrat popularity = -0.02 }
	add_popularity = { ideology = radical_socialist popularity = -0.02 }
	}
 }
 
focus = { 
id = NGR_formaliseworksobligations
icon = GFX_lowlandroadgrants
x = 14
y = 3
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_supervisoryresidents }
ai_will_do = { 
 factor = 1
}
completion_reward = {
	add_political_power = 60
		random_owned_state = {
				limit = {
					is_core_of = NGR
					is_controlled_by = NGR
				}
			add_extra_state_shared_building_slots = 1
		}
		random_owned_state = {
				limit = {
					is_core_of = NGR
					is_controlled_by = NGR
				}
			add_extra_state_shared_building_slots = 1
		}
	add_manpower = -13419
	}
}
 
focus = { 
id = NGR_backpannigerianmoderates
icon = GFX_continuecentralisationefforts
x = 11
y = 4
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_delegitimiseenglish }
prerequisite = { focus = NGR_suppressethnicassociations }
ai_will_do = { factor = 20 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_popularity = { ideology = market_liberal popularity = 0.02 }
	add_war_support = -0.01
	}
}
 
focus = { 
id = NGR_anewbezirksleiterrecht
icon = GFX_decidethelawcode
x = 15
y = 4
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_formaliseworksobligations }
prerequisite = { focus = NGR_boardofconcessions }
ai_will_do = { factor = 20 }
 cancelable = no
 	select_effect = {
			country_event = {
				id = nigeria.12
				days = 8
			}
		}
completion_reward = {
	add_stability = 0.05
	country_event = nig.3
	}
}
 
focus = { 
id = NGR_colonialentrenchment
icon = GFX_sidelinetheflemishwalloons
x = 13
y = 5
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_backpannigerianmoderates focus = NGR_anewbezirksleiterrecht }
prerequisite = { focus = NGR_suppressethnicassociations }
prerequisite = { focus = NGR_formaliseworksobligations }
ai_will_do = { factor = 20 }
completion_reward = {
	swap_ideas = {
		remove_idea = NGR_supervisoryresidentsidea
		add_idea = NGR_entrenchmentidea
	}
	add_stability = 0.05
	add_war_support = 0.05
	decrease_ruling_party_popularity_by_2 = yes
	set_cosmetic_tag = NGR_GER
		swap_ideas = { 
		  remove_idea = GBR_Colonial_Government 
		  add_idea = Generic_Colonial_Nation 
		}
	}
 }
 
 #Democracy branch
focus = { 
id = NGR_nigerianelections
icon = GFX_NGR_parliment_election
x = 8
y = 6
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_replacetheconstitutionof26 focus = NGR_colonialentrenchment }
prerequisite = { focus = NGR_northernmeasures }
available = {
	OR = {
		has_country_leader = {
			name = "Hugh Clifford"
			ruling_only = yes
		}
		has_country_leader = {
			name = "Edward Twining"
			ruling_only = yes
		}
		has_country_leader = {
			name = "Bernhard H. Bourdillon"
			ruling_only = yes
		}
		has_country_leader = {
			name = "Josef Terboven"
			ruling_only = yes
		}
	}
}
ai_will_do = { factor = 20 }
	select_effect = {
			country_event = {
				id = nigeria.13
				days = 5
			}
			hidden_effect = {
				MAF = {
					country_event = {
						id = nigeria.13
						days = 5
					}
				}
				GER = {
					country_event = {
						id = nigeria.13
						days = 5
					}
				}
			}
		}
completion_reward = {
	country_event = nigeria.14
	add_ideas = NGR_nigerian_identity
	}
}
 
focus = { 
id = NGR_lagosinstitute
icon = GFX_missionuniversity
x = 8
y = 3
cost = 5
available_if_capitulated = no 
prerequisite = { focus = NGR_considerlugardslegacy  }
ai_will_do = { factor = 20 }
completion_reward = {
	add_research_slot_until_five = yes
	}
 }
 
 #Nat Dems
focus = { 
id = NGR_nationaldemocrats
icon = GFX_goal_ideology_social_liberal
x = 8
y = 8
cost = 1
available = {
	has_government = social_liberal
}
available_if_capitulated = no
ai_will_do = { 
 factor = 1000
 } 
completion_reward = {
	country_event = nigeria.22
	hidden_effect = {
		MAF = {
			country_event = nigeria.22
		}
		GER = {
			country_event = nigeria.22
		}
	}
	add_popularity = { ideology = social_liberal popularity = 0.05 }
	}
}
 
focus = { 
id = NGR_urbanworks
icon = GFX_focus_generic_industry_2
x = 6
y = 10
cost = 5
available = {
	OR = {
		has_government = social_liberal
		has_government = social_democrat
		has_socialist_government = yes
	}
}
available_if_capitulated = no
prerequisite = { focus = NGR_actionparty focus = NGR_nationaldemocrats focus = NGR_popularpeoplesmovement }
ai_will_do = { factor = 20 }
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 = industrial_complex
				level = 1
				instant_build = yes
			}
		}
			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 = industrial_complex
				level = 1
				instant_build = yes
			}
		}		
	}
 }
 
focus = { 
id = NGR_nativeschoolboards
icon = GFX_manipulatetheintellectuals
x = 5
y = 11
cost = 5
available = {
	OR = {
		has_government = social_liberal
		has_government = social_democrat
		has_socialist_government = yes
	}
}
available_if_capitulated = no
prerequisite = { focus = NGR_urbanworks }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	}
 }
 
focus = { 
id = NGR_thecouncildebacle
icon = GFX_talkswiththuku
x = 6
y = 12
cost = 2
available = {
	OR = {
		has_government = social_liberal
		has_government = social_democrat
	}
}
available_if_capitulated = no
mutually_exclusive = { focus = NGR_crisisoverregionalism }
prerequisite = { focus = NGR_nativeschoolboards }
prerequisite = { focus = NGR_subsistencegrants focus = NGR_lagostheengine }
ai_will_do = { factor = 20 }
cancelable = no
		select_effect = {
			country_event = {
				id = nigeria.15
				days = 7
			}
		}
completion_reward = {
	country_event = nigeria.16
	}
 }
 
focus = { 
id = NGR_requestpressfreedoms
icon = GFX_debatepressrestrictions
x = 7
y = 9
cost = 5
available = {
	has_government = social_liberal
}
available_if_capitulated = no
prerequisite = { focus = NGR_nationaldemocrats }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
	decrease_ruling_party_popularity_by_5 = yes
	}
 }
 
focus = { 
id = NGR_easereligiousrestrictions
icon = GFX_focus_por_concordat
x = 9
y = 9
cost = 5
available = {
	has_government = social_liberal
}
available_if_capitulated = no
prerequisite = { focus = NGR_nationaldemocrats }
ai_will_do = { factor = 20 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_war_support = 0.05
	}
 }
 
focus = { 
id = NGR_lagostheengine
icon = GFX_zanzibarcitydevelopmentscheme
x = 8
y = 11
cost = 5
available = {
	has_government = social_liberal
}
available_if_capitulated = no
prerequisite = { focus = NGR_easereligiousrestrictions focus = NGR_requestpressfreedoms }
ai_will_do = { factor = 20 }
completion_reward = {
	973 = {
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	973 = {
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
 }
 
focus = { 
id = NGR_undermineunionmilitancy
icon = GFX_socialist_constitution
x = 10
y = 10
cost = 5
available = {
	OR = {
		has_government = social_liberal
		has_government = market_liberal
		has_authoritarian_government = yes
	}
}
available_if_capitulated = no
prerequisite = { focus = NGR_nationaldemocrats focus = NGR_prosperitycouncil focus = NGR_africaleague }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	add_popularity = {
		ideology = social_democrat
		popularity = 0.05
	}
	add_popularity = {
		ideology = radical_socialist
		popularity = -0.03
	}
	add_popularity = {
		ideology = syndicalist
		popularity = -0.03
	}	
	add_popularity = {
		ideology = totalist
		popularity = -0.03
		}	
	}
 }
 
 
focus = { 
id = NGR_cutruralheadtax
icon = GFX_supporttheindiginests
x = 11
y = 11
cost = 5
available = {
	OR = {
		has_government = social_liberal
		has_government = market_liberal
		has_authoritarian_government = yes
	}
}
available_if_capitulated = no
prerequisite = { focus = NGR_undermineunionmilitancy }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	increase_ruling_party_popularity_by_5 = yes
	add_political_power = -30
	}
 }
 
focus = { 
id = NGR_crisisoverregionalism
icon = GFX_statusofthesquatters
x = 10
y = 12
cost = 2
available = {
	OR = {
		has_government = social_liberal
		has_government = market_liberal
	}
}
available_if_capitulated = no
mutually_exclusive = { focus = NGR_thecouncildebacle }
prerequisite = { focus = NGR_cutruralheadtax }
prerequisite = { focus = NGR_lagostheengine focus = NGR_backafricanbusiness }
ai_will_do = { factor = 20 }
cancelable = no
		select_effect = {
			country_event = {
				id = nigeria.17
				days = 4
			}
		}
completion_reward = {
	country_event = nigeria.18
	}
 }

 
 #Action Party
 
focus = { 
id = NGR_actionparty
icon = GFX_goal_ideology_social_democrat
x = 5
y = 8
cost = 1
available = {
	has_government = social_democrat
}
available_if_capitulated = no
ai_will_do = { 
 factor = 1000
 } 
completion_reward = {
	country_event = nigeria.19
	hidden_effect = {
		MAF = {
			country_event = nigeria.19
		}
		GER = {
			country_event = nigeria.19
		}
	}
	add_popularity = { ideology = social_democrat popularity = 0.05 }
	}
}
 
focus = { 
id = NGR_milktheurbanelites
icon = GFX_fundagriculturalofficers
x = 5
y = 9
y = 9
cost = 5
available = {
	has_government = social_democrat
}
available_if_capitulated = no
prerequisite = { focus = NGR_actionparty }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
	increase_ruling_party_popularity_by_20 = yes
	add_war_support = 0.02
	973 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = -1
				instant_build = yes
			}
		}
	}
 }
 
focus = { 
id = NGR_dispensaryprogramme
icon = GFX_Generic_Medicine
x = 4
y = 10
cost = 5
available = {
	has_government = social_democrat
}
available_if_capitulated = no
prerequisite = { focus = NGR_milktheurbanelites }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	add_war_support = 0.05
	increase_ruling_party_popularity_by_5 = yes
	add_political_power = -40
	}
 }
 
focus = { 
id = NGR_subsistencegrants
icon = GFX_acreageexpansion
x = 3
y = 11
cost = 5
available = {
	has_government = social_democrat
}
available_if_capitulated = no
prerequisite = { focus = NGR_dispensaryprogramme }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
			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 = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		
	}
 }
 
 #Prosperity council/east
focus = { 
id = NGR_prosperitycouncil
icon = GFX_goal_ideology_market_liberal
x = 11
y = 8
cost = 1
available_if_capitulated = no
available = {
	has_government = market_liberal
}
ai_will_do = { 
 factor = 1000
 } 
completion_reward = {
	country_event = nigeria.20
	hidden_effect = {
		MAF = {
			country_event = nigeria.20
		}
		GER = {
			country_event = nigeria.20
		}
	}
	add_popularity = { ideology = market_liberal popularity = 0.05 }
	}
 }
 
focus = { 
id = NGR_railwayconcessions
icon = GFX_dschibutilinks
x = 11
y = 9
cost = 5
available = {
	has_government = market_liberal
}
available_if_capitulated = no
prerequisite = { focus = NGR_prosperitycouncil }
ai_will_do = { factor = 20 }
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 = 2
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}	
		add_building_construction = {
		type = infrastructure
		level = 1
		instant_build = yes
			}
		}
	add_stability = -0.01
	}
 }
 
focus = { 
id = NGR_bureaucraticreforms # an excuse to weaken western urban elites
icon = GFX_greeksboersandindians
x = 12
y = 10
cost = 5
available = {
	has_government = market_liberal
}
available_if_capitulated = no
prerequisite = { focus = NGR_railwayconcessions }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
	add_popularity = {
		ideology = social_conservative
		popularity = -0.05
		}	
	add_popularity = {
		ideology = social_democrat
		popularity = -0.05
		}	
	}
 }
 
focus = { 
id = NGR_backafricanbusiness
icon = GFX_africanbusinesses
x = 13
y = 11
cost = 5
available = {
	has_government = market_liberal
}
available_if_capitulated = no
prerequisite = { focus = NGR_bureaucraticreforms }
ai_will_do = { factor = 20 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_stability = 0.05
	}
 }
 
focus = { 
id = NGR_stabilityacquired
icon = GFX_goal_NGR_federalism
x = 8
y = 13
cost = 5
available = {
}
mutually_exclusive = {
	focus = NGR_embracetherevolution 
}
mutually_exclusive = {
	focus = NGR_embracetheslaughter 
}
available_if_capitulated = no
prerequisite = { focus = NGR_thecouncildebacle focus = NGR_crisisoverregionalism focus = NGR_debatetheoreticalframework focus = NGR_stranglesyndicalism }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
	add_political_power = 20
	}
 }
 
# leftists if allowed to stand
focus = { 
id = NGR_popularpeoplesmovement
icon = GFX_goal_ideology_radical_socialist
x = 2
y = 8
cost = 1
available = {
	has_socialist_government = yes
}
available_if_capitulated = no
ai_will_do = { 
 factor = 1000
 } 
completion_reward = {
	country_event = nigeria.21
	hidden_effect = {
		MAF = {
			country_event = nigeria.21
		}
		GER = {
			country_event = nigeria.21
		}
	}
	add_popularity = { ideology = radical_socialist popularity = 0.15 }
	add_popularity = { ideology = syndicalist popularity = 0.05 }
	}
 }
 
focus = { 
id = NGR_seeknationalaccord
icon = GFX_calmtribaltensions
x = 2
y = 9
cost = 5
available = {
	has_socialist_government = yes
}
available_if_capitulated = no
prerequisite = { focus = NGR_popularpeoplesmovement }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
	}
 }
 
focus = { 
id = NGR_establishaunioncongress
icon = GFX_goal_commune_politics
x = 2
y = 10
cost = 5
available = {
	has_socialist_government = yes
}
available_if_capitulated = no
prerequisite = { focus = NGR_seeknationalaccord }
ai_will_do = { factor = 20 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_stability = 0.05
	}
 }
 
focus = { 
id = NGR_crownlanddistributions
icon = GFX_peaceandtranquility
x = 1
y = 11
cost = 5
available = {
	has_socialist_government = yes
}
available_if_capitulated = no
prerequisite = { focus = NGR_establishaunioncongress }
ai_will_do = { factor = 20 }
completion_reward = {
	increase_ruling_party_popularity_by_20 = yes
	add_stability = 0.2
	add_war_support = 0.15
	every_owned_state = {
		add_extra_state_shared_building_slots = -1
		}	
	}
 }
 
focus = { 
id = NGR_debatetheoreticalframework
icon = GFX_goal_SAF_socialist_party
x = 2
y = 12
cost = 2
available = {
	has_socialist_government = yes
}
available_if_capitulated = no
prerequisite = { focus = NGR_crownlanddistributions focus = NGR_subsistencegrants }
ai_will_do = { factor = 20 }
cancelable = no
		select_effect = {
			country_event = {
				id = nigeria.23
				days = 5
			}
		}
completion_reward = {
	country_event = nigeria.24
	add_stability = 0.05
	}
}
 
focus = { 
id = NGR_embracetherevolution
icon = GFX_goal_flames_of_rebellion
x = 3
y = 13
cost = 5
available = {
	has_socialist_government = yes
}
mutually_exclusive = {
	focus = NGR_stabilityacquired 
}
mutually_exclusive = {
	focus = NGR_embracetheslaughter 
}
available_if_capitulated = no
prerequisite = { focus = NGR_debatetheoreticalframework }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.25
	}
 }
 
focus = { 
id = NGR_africaleague
icon = GFX_goal_national_populism
x = 14
y = 8
cost = 1
available = {
	has_dictatorship_government = yes
	has_completed_focus = NGR_nigerianelections
}
available_if_capitulated = no
ai_will_do = { 
factor = 10
}
completion_reward = {
	if = {
		limit = {
			has_government = national_populist
			}
	country_event = nigeria.26
	}
	hidden_effect = {
	if = {
		limit = {
			has_government = national_populist
			}
			MAF = {
				country_event = nigeria.26
			}
			GER = {
				country_event = nigeria.26
			}
		}
	}
	increase_ruling_party_popularity_by_5 = yes
	add_popularity = { ideology = national_populist popularity = 0.05 }
	}
}
 
focus = { 
id = NGR_threatenthemoderates
icon = GFX_goal_Centralised_Government
x = 14
y = 9
cost = 5
available = {
	has_dictatorship_government = yes
}
available_if_capitulated = no
prerequisite = { focus = NGR_africaleague }
ai_will_do = { factor = 20 }
completion_reward = {
	add_political_power = 50
	increase_ruling_party_popularity_by_10 = yes
	add_popularity = {
		ideology = social_democrat
		popularity = -0.05
	}
	add_popularity = {
		ideology = social_conservative
		popularity = -0.05
	}
	add_popularity = {
		ideology = market_liberal
		popularity = -0.05
	}	
	add_popularity = {
		ideology = social_liberal
		popularity = -0.05
		}	
	}
 }
 
focus = { 
id = NGR_movementfromthetop
icon = GFX_focus_hol_united_netherlands
x = 14
y = 10
available = {
	has_dictatorship_government = yes
}
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_threatenthemoderates }
ai_will_do = { factor = 20 }
completion_reward = {
	add_war_support = 0.2
	increase_ruling_party_popularity_by_5 = yes
	}
 }
 
focus = { 
id = NGR_speaktothechiefs
icon = GFX_tribalreforms
x = 15
y = 11
cost = 5
available = {
	has_dictatorship_government = yes
}
available_if_capitulated = no
prerequisite = { focus = NGR_movementfromthetop }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.1
	add_political_power = 20
	}
 }
 
focus = { 
id = NGR_stranglesyndicalism
icon = GFX_focus_spr_crush_the_revolution
x = 14
y = 12
cost = 5
available = {
	has_dictatorship_government = yes
}
available_if_capitulated = no
prerequisite = { focus = NGR_speaktothechiefs focus = NGR_backafricanbusiness }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.27
	add_stability = 0.02
	}
 }
 
focus = { 
id = NGR_embracetheslaughter
icon = GFX_Focus_Bloody_Purge
x = 13
y = 13
cost = 5
available = {

}
mutually_exclusive = {
	focus = NGR_stabilityacquired 
}
mutually_exclusive = {
	focus = NGR_embracetherevolution 
}
available_if_capitulated = no
prerequisite = { focus = NGR_crisisoverregionalism focus = NGR_stranglesyndicalism }
ai_will_do = { factor = 20 }
completion_reward = {
		if = {
			limit = {
				has_government = national_populist
				}
		country_event = nigeria.28
		}
		add_stability = 0.05
	}
 }
 
# ECONOMY

focus = { 
id = NGR_thenigercrash
icon = GFX_goal_OTT_Tithe
x = 27
y = 0
cost = 5.3
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	has_global_flag = black_monday
}
available_if_capitulated = no

ai_will_do = { factor = 20 }
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
 }
 
focus = { 
id = NGR_enforcedausterity
icon = GFX_goal_generic_austerity_measures
x = 20
y = 1
cost = 2
available_if_capitulated = no
available = {
	has_idea = NGR_blackmonday
}
mutually_exclusive = { focus = NGR_emergencystimulus }
prerequisite = { focus = NGR_thenigercrash }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	decrease_ruling_party_popularity_by_5 = yes
			GER = {
			add_opinion_modifier = { target = NGR modifier = large_increase }
			}
			MAF = {
			add_opinion_modifier = { target = NGR modifier = large_increase }
			}
	}
 }
 
focus = { 
id = NGR_establishmarketboards
icon = GFX_scatterthefragments
x = 19
y = 2
cost = 2
available_if_capitulated = no
prerequisite = { focus = NGR_enforcedausterity }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_sumptuarylaws
icon = GFX_goal_generic_prohibition
x = 21
y = 2
cost = 2
available_if_capitulated = no
prerequisite = { focus = NGR_enforcedausterity }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	}
 }
 
focus = { 
id = NGR_trimthefat
icon = GFX_goal_generic_controlled_board
x = 22
y = 3
cost = 2
available_if_capitulated = no
prerequisite = { focus = NGR_enforcedausterity }
ai_will_do = { factor = 20 }
completion_reward = {
	add_ideas = NGR_free_trade_idea
	add_political_power = 25
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
		custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_bantradeboycotts
icon = GFX_stimulatedomesticdemand
x = 20
y = 3
cost = 2
available_if_capitulated = no
prerequisite = { focus = NGR_establishmarketboards }
prerequisite = { focus = NGR_sumptuarylaws }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = -0.05
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
	add_political_power = -30
	custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_emergencystimulus
icon = GFX_goal_capitalist_system
x = 25
y = 1
cost = 2
available_if_capitulated = no
available = {
	NOT = {
		has_global_flag = congo_bush_war
	}
	has_idea = NGR_blackmonday
}
mutually_exclusive = { focus = NGR_enforcedausterity }
prerequisite = { focus = NGR_thenigercrash }
ai_will_do = { factor = 20 }
 available = {
	NOT = {
		has_country_flag = NGR_mafrefusedaid
	}
 }
cancelable = no
select_effect = {
	MAF = {
		country_event = nigeria.33
	}
}
completion_reward = {
	add_political_power = 30
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
custom_effect_tooltip = willreduceblackmonday		
	}
 }
 
focus = { 
id = NGR_cocoacooperativeloans
icon = GFX_goal_NGR_nigerian_coin
x = 26
y = 2
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_emergencystimulus }
ai_will_do = { factor = 20 }
completion_reward = {
	add_ideas = NGR_central_bank_idea
	}
 }
 
focus = { 
id = NGR_discourageconcessioncollusion
icon = GFX_overhaultaxes
x = 25
y = 3
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_cocoacooperativeloans }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_brewinggrants
icon = GFX_goal_generic_intelligence_exchange
x = 28
y = 2
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_emergencystimulus }
ai_will_do = { factor = 20 }
completion_reward = {
	add_tech_bonus = {
		bonus = 0.2
		uses = 1
		category = industry
		}
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_acceptshellsastaxes
icon = GFX_goal_cavalry
x = 27
y = 3
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_brewinggrants }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	}
 }
 
focus = { 
id = NGR_distributefoodaid
icon = GFX_smallholdingfocus
x = 23
y = 2
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_enforcedausterity focus = NGR_emergencystimulus }
ai_will_do = { factor = 20 }
 available = {
 }
completion_reward = {
	add_stability = 0.03
	remove_ideas = NGR_famine
	}
 }
 
focus = { 
id = NGR_threatennigercompany
icon = GFX_goal_NGR_nigerian_central_bank
x = 23
y = 4
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_trimthefat focus = NGR_discourageconcessioncollusion }
prerequisite = { focus = NGR_distributefoodaid }
ai_will_do = { factor = 20 }
completion_reward = {
	swap_ideas = {
		remove_idea = NGR_germaneconomicdominance
		add_idea = NGR_corporate
	}		
	}
 }
 
focus = { 
id = NGR_balancedthebooks
icon = GFX_labourquotas
x = 21
y = 4
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_trimthefat }
prerequisite = { focus = NGR_bantradeboycotts }
prerequisite = { focus = NGR_establishmarketboards }
ai_will_do = { factor = 20 }
completion_reward = {
	add_stability = 0.05
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
 }

focus = { 
id = NGR_thegamblepaidoff
icon = GFX_cutoutthemiddlemen
x = 26
y = 4
cost = 3
available_if_capitulated = no
prerequisite = { focus = NGR_discourageconcessioncollusion }
prerequisite = { focus = NGR_acceptshellsastaxes }
ai_will_do = { factor = 20 }
completion_reward = {
	558 = {
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_divertrevenuestoinfrastructure
icon = GFX_goal_NGR_From_Lagos_to_Sokoto
x = 20
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_balancedthebooks focus = NGR_thegamblepaidoff }
ai_will_do = { factor = 20 }
completion_reward = {
	add_ideas = NGR_revenues
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = industry
		}	
	558 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
		type = infrastructure
		level = 1
		instant_build = yes
			}			
		}
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_overhaulthekadunaline
icon = GFX_investinthetranzambesian
x = 17
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_divertrevenuestoinfrastructure }
ai_will_do = { factor = 20 }
completion_reward = {
	build_railway = {
		level = 2
		start_province = 13214
		target_province = 1891
	}
	878 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
		type = infrastructure
		level = 1
		instant_build = yes
			}			
		}	
	}
 }
 
focus = { 
id = NGR_investincocoafacilities
icon = GFX_goal_generic_agriculture2
x = 18
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_overhaulthekadunaline  focus = NGR_restorenigerdredging }
ai_will_do = { factor = 20 }
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 = 2
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
				}
			}	
	}
 }
 
focus = { 
id = NGR_cropintensificationeffort
icon = GFX_goal_PAL_Food_Import
x = 19
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_investincocoafacilities }
ai_will_do = { factor = 20 }
 
 mutually_exclusive = {
	focus = NGR_bauchitinrush
 }
completion_reward = {
	add_ideas = NGR_crops
	add_stability = 0.05
	}
 }
 
focus = { 
id = NGR_expandtheeasternline
icon = GFX_goal_KTG_Jungle_Railroad
x = 21
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_divertrevenuestoinfrastructure }
ai_will_do = { factor = 20 }
completion_reward = {
	build_railway = {
		level = 2
		start_province = 10979
		target_province = 12936
	}
	662 = {
		add_building_construction = {
		type = infrastructure
		level = 1
		instant_build = yes
			}			
		}	
	}
 }
 
focus = { 
id = NGR_developenugumines
icon = GFX_PB_Generic_Mining_Industry
x = 22
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_restorenigerdredging focus = NGR_expandtheeasternline }
ai_will_do = { factor = 20 }
completion_reward = {
	add_tech_bonus = {
		bonus = 1
		uses = 1
		category = excavation_tech
		}
	add_resource = {
		type = steel
		amount = 8
		state = 558
		}
	}
 }
 
focus = { 
id = NGR_bauchitinrush
icon = GFX_focus_generic_aluminum
x = 21
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_developenugumines }
ai_will_do = { factor = 20 }
 mutually_exclusive = {
	focus = NGR_cropintensificationeffort
 }
completion_reward = {
	add_resource = {
		type = aluminium
		amount = 28
		state = 878
		}	
	}
 }
 
focus = { 
id = NGR_restorenigerdredging
icon = GFX_Expand_Trade_Fleet
x = 19
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_divertrevenuestoinfrastructure }
ai_will_do = { factor = 20 }
completion_reward = {
	558 = {
		add_extra_state_shared_building_slots = 1		
		add_building_construction = {
					type = naval_base
					level = 1
					province = 8034
					instant_build = yes
			}		
		}	
	}
 }
 
focus = { 
id = NGR_josplateaudevelopment
icon = GFX_goal_GXC_Guangdong_Arsenal
x = 20
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_restorenigerdredging }
prerequisite = { focus = NGR_expandtheeasternline }
ai_will_do = { factor = 20 }
completion_reward = {
	add_timed_idea = {
		idea = NGR_plateau
		days = 365
	}
	662 = {
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		}
	}
}
 
focus = { 
id = NGR_oilroundtable
icon = GFX_goal_oil_derrick
x = 20
y = 9
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_josplateaudevelopment }
mutually_exclusive = {
	focus = NGR_theconsumermass
}
ai_will_do = { factor = 20 }
completion_reward = {
	add_resource = {
		type = oil
		amount = 14
		state = 558
		}
		add_offsite_building = { type = fuel_silo level = 1 }
		add_political_power = 50
		add_fuel = 10000
	}
}
 
focus = { 
id = NGR_colonialdevelopment
icon = GFX_goal_KTG_Bookstack
x = 24
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_balancedthebooks focus = NGR_thegamblepaidoff }
prerequisite = { focus = NGR_threatennigercompany }
ai_will_do = { factor = 20 }
completion_reward = {
	add_timed_idea = {
		idea = NGR_corpidea
		days = 365
	}
	increase_ruling_party_popularity_by_5 = yes
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
		custom_effect_tooltip = willreduceblackmonday
	}
 }
 
focus = { 
id = NGR_unlockforeigncapital
icon = GFX_goal_generic_price_controls
x = 25
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_colonialdevelopment }
ai_will_do = { factor = 20 }
completion_reward = {
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = industry
		}
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = electronics
		}
	if = {
		limit = {
			has_idea = NGR_blackmonday
			}
		swap_ideas = {
			remove_idea = NGR_blackmonday
			add_idea = NGR_blackmondaylessbad
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = NGR_blackmondaylessbad
			add_idea = NGR_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = NGR_blackmondayok
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayok
			add_idea = NGR_blackmondayalmostfixed
			}	
		}
		if = {
		limit = {
			has_idea = NGR_blackmondayalmostfixed
			}
		swap_ideas = {
			remove_idea = NGR_blackmondayalmostfixed
			add_idea = NGR_blackmondaybetter
			}	
		}
		if = {
			limit = {
				has_idea = NGR_blackmondaybetter
			}
			remove_ideas = NGR_blackmondaybetter
			add_timed_idea = {
				idea = NGR_economicboom
				days = 720
			}
		}
custom_effect_tooltip = willreduceblackmonday		
	}
 }
 
focus = { 
id = NGR_mandatoryterritorialspending
icon = GFX_foreignpolicy
x = 24
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_unlockforeigncapital focus = NGR_palmoilpreference }
ai_will_do = { factor = 20 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	913 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		}
	}
}
 
focus = { 
id = NGR_vestafrikabusinesshub
icon = GFX_mittelafrikanties
x = 25
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_mandatoryterritorialspending }
ai_will_do = { factor = 20 }
 mutually_exclusive = {
	focus = NGR_regionalarmscentre
 }
completion_reward = {
	add_ideas = NGR_hub
	}
 }
 
focus = { 
id = NGR_palmoilpreference
icon = GFX_goal_KTG_Rubber_Farming
x = 27
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_colonialdevelopment }
ai_will_do = { factor = 20 }
completion_reward = {
	558 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		}	
	}
 }
 
focus = { 
id = NGR_fosterdomesticmarkets
icon = GFX_tradeagreements
x = 26
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_unlockforeigncapital }
prerequisite = { focus = NGR_palmoilpreference }
ai_will_do = { factor = 20 }
completion_reward = {
	add_timed_idea = {
		idea = NGR_dome
		days = 365
	}
	973 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		}		
	}
 }
 
focus = { 
id = NGR_theconsumermass
icon = GFX_goal_conspiracy
x = 26
y = 9
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_fosterdomesticmarkets }
mutually_exclusive = {
	focus = NGR_oilroundtable
}
ai_will_do = { factor = 20 }
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 = industrial_complex
				level = 1
				instant_build = yes
			}
		}
			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 = industrial_complex
				level = 1
				instant_build = yes
			}
		}	
	}
 }
 
focus = { 
id = NGR_fledglingindustrialisationmeasures
icon = GFX_focus_research
x = 29
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_colonialdevelopment }
ai_will_do = { factor = 20 }
completion_reward = {
	add_research_slot_until_five = yes
	add_political_power = -50
	}
 }
 
focus = { 
id = NGR_developmauserlagos
icon = GFX_goal_GER_Mauser_Werke_Contracts
x = 28
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_palmoilpreference focus = NGR_fledglingindustrialisationmeasures }
ai_will_do = { factor = 20 }
completion_reward = {
	add_offsite_building = { type = arms_factory level = 1 }
	973 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = arms_factory
			level = 1
			instant_build = yes
			}		
		}
	}
 }
 
focus = { 
id = NGR_regionalarmscentre
icon = GFX_antimaumaumeasures
x = 27
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_developmauserlagos }
ai_will_do = { factor = 20 }
 mutually_exclusive = {
	focus = NGR_vestafrikabusinesshub
 }
completion_reward = {
	662 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = arms_factory
			level = 1
			instant_build = yes
			}		
		}	
	}
 }
 
focus = { 
id = NGR_militaryreforms
icon = GFX_goal_NIG_nigerian_vf
x = 23
y = 10
cost = 6
available = {
	OR = {
		has_completed_focus = NGR_nigerianelections
		threat > 0.5
	}
}
available_if_capitulated = no
prerequisite = { focus = NGR_balancedthebooks focus = NGR_thegamblepaidoff }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nigeria.29
	hidden_effect = {
		MAF = {
			country_event = nigeria.29
		}
		GER = {
			country_event = nigeria.29
		}
	}
	army_experience = 10
		add_equipment_to_stockpile = {
			type = infantry_equipment_1
			amount = 800
			producer = MAF
		}
	}
 }

#Army 
focus = { 
id = NGR_regimentaldirection
icon = GFX_localofficertraining
x = 22
y = 11
cost = 6
available_if_capitulated = no
prerequisite = { focus = NGR_militaryreforms }
ai_will_do = { factor = 20 }
completion_reward = {
		add_ideas = NGR_prussian_example
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = land_doctrine
		}
	}
 }
 
focus = { 
id = NGR_neveranothershellcrisis
icon = GFX_supportingforces
x = 24
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_militaryreforms }
ai_will_do = { factor = 20 }
completion_reward = {
	add_offsite_building = { type = arms_factory level = 1 }
		add_tech_bonus = {
			name = NGR_neveranothershellcrisis
			bonus = 1
			uses = 1
			category = artillery
		}
	}
 }
 
 
focus = { 
id = NGR_acclimatisationtraining
icon = GFX_goal_NIG_natives_in_army
x = 24
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_neveranothershellcrisis focus = NGR_regimentaldirection }
ai_will_do = { factor = 20 }
completion_reward = {
		hidden_effect = { set_technology = { jungle_warfare = 1 } }
		custom_effect_tooltip = SIA_jungle_warfare_effect	
	}
 }
 
 
focus = { 
id = NGR_improvedarmsstandards
icon = GFX_goal_industry_air
x = 22
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_neveranothershellcrisis focus = NGR_regimentaldirection }
ai_will_do = { factor = 20 }
completion_reward = {
		add_command_power = 20
		add_tech_bonus = {
			name = NGR_improvedarmsstandards
			bonus = 0.5
			uses = 1
			category = infantry_weapons
		}
	}
 }
 
focus = { 
id = NGR_warmeasures
icon = GFX_goal_NGR_home_army
x = 23
y = 13
cost = 5
available_if_capitulated = no
available = {
	OR = {
		date > 1938.06.01
		has_war = yes
	}
}
prerequisite = { focus = NGR_improvedarmsstandards focus = NGR_acclimatisationtraining }
ai_will_do = { factor = 20 }
completion_reward = {
	country_event = nig.5
	add_ideas = NGR_home_army
	add_offsite_building = { type = arms_factory level = 1 }
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				add_equipment_to_stockpile = {
					type = light_tank_equipment_1
					amount = 12
					producer = CAN
				}
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = {
					type = light_tank_chassis
					amount = 12
					producer = CAN
				}
			}	
	}
 }
 
# Navy
focus = { 
id = NGR_reformthemarine
icon = GFX_goal_navy_decision
x = 20
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_militaryreforms }
ai_will_do = { factor = 20 }
completion_reward = {
	navy_experience = 20
			add_tech_bonus = {
				name = NGR_reformthemarine
				bonus = 1
				uses = 2
				category = naval_doctrine
			}	
	}
 }
 
focus = { 
id = NGR_expandapapacomplex
icon = GFX_goal_generic_coastal_navy
x = 18
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_militaryreforms }
ai_will_do = { factor = 20 }
completion_reward = {
			973 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}	
	}
 }
 
focus = { 
id = NGR_biafrabightexercises
icon = GFX_focus_generic_destroyer
x = 18
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_expandapapacomplex focus = NGR_reformthemarine }
ai_will_do = { factor = 20 }
completion_reward = {
			add_tech_bonus = {
				name = NGR_biafrabightexercises
				bonus = 1
				uses = 2
				category = ca_tech
			}	
	}
 }
 
focus = { 
id = NGR_brownwatersupremacy
icon = GFX_focus_generic_africa_naval
x = 20
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_expandapapacomplex focus = NGR_reformthemarine }
ai_will_do = { factor = 20 }
completion_reward = {
			add_tech_bonus = {
				name = NGR_brownwatersupremacy
				bonus = 1
				uses = 2
				category = dd_tech
			}		
	}
 }
 
focus = { 
id = NGR_choosemanufacturingfocus
icon = GFX_lakeinfrastructure
x = 19
y = 13
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_brownwatersupremacy focus = NGR_biafrabightexercises }
ai_will_do = { factor = 20 }
completion_reward = {
	add_offsite_building = { type = arms_factory level = 1 }
	add_war_support = 0.02
	}
 }
 
 # North
 
focus = { 
id = NGR_northernpolicy
icon = GFX_goal_OTT_Islamic_Education
x = 19
y = 15
cost = 5
available = {
	has_completed_focus = NGR_northernmeasures
}
available_if_capitulated = no
ai_will_do = {
	factor = 50
}
completion_reward = {
		country_event = nigeria.31
			swap_ideas = {
			remove_idea = NGR_deal_with_rebels
			add_idea = NGR_deal_with_rebels_2
			}
			hidden_effect = {
			country_event = { id = nig.10 days = 22 }
			}
			if = {
				limit = { 
					HAU = {
						exists = yes
					}
				}
				country_event = nig.25
			}
			if = {
				limit = { 
					HAU = {
						exists = no
					}
				}
				country_event = nig.26
				set_country_flag = NGR_no_collapse
			}
	}
 }
 
focus = { 
id = NGR_reconciliationmeasures
icon = GFX_NGR_two_states
x = 18
y = 16
cost = 5
mutually_exclusive = { focus = NGR_rulethroughtheemirs }
		available = {
		OR = {
		has_country_flag = NGR_twostates_unlock
		has_country_flag = NGR_twostates_unlock_two
			}
		}
available_if_capitulated = no
prerequisite = { focus = NGR_northernpolicy }
ai_will_do = {
	factor = 50
}
completion_reward = {
			set_country_flag = NGR_two_state_solution
			add_stability = 0.05
			add_political_power = 50
			swap_ideas = {
			remove_idea = NGR_northern_solution
			add_idea = NGR_northern_solution_twostates	
		}
	}
 }
 
 focus = { 
id = NGR_rulethroughtheemirs
icon = GFX_NGR_one_state
x = 20
y = 16
cost = 5
mutually_exclusive = { focus = NGR_reconciliationmeasures }
available_if_capitulated = no
prerequisite = { focus = NGR_northernpolicy }
ai_will_do = {
	factor = 50
}
		available = {
		OR = {
		AND = {
		has_country_flag = NGR_to_war_flag
		owns_state = 878
		}
		has_country_flag = NGR_onestate_unlock
		}
		}
completion_reward = {
			set_country_flag = NGR_one_state_solution
			add_political_power = 50
			add_stability = 0.05
			swap_ideas = {
			remove_idea = NGR_northern_solution
			add_idea = NGR_northern_solution_peace
			}
	}
 }
 
focus = { 
id = NGR_integratethenorth
icon = GFX_goal_government_icon
x = 19
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_rulethroughtheemirs focus = NGR_reconciliationmeasures }
available = { has_completed_focus = NGR_nigerianelections }
ai_will_do = { 
 factor = 100
}
completion_reward = {
		remove_ideas = NGR_Northern_Tensions
		add_state_core = 878
		add_state_core = 913
		if = {
			limit = {
				country_exists = KBR
			}
			declare_war_on = {
				type = annex_everything
				target = KBR
			}
		}
		if = {
			limit = {
				country_exists = HAU
			}
			annex_country = {
				target = HAU
				transfer_troops = yes
			}
		}
	}
 }

# Air
focus = { 
id = NGR_developairbases
icon = GFX_goal_generic_air_production
x = 26
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_militaryreforms }
ai_will_do = { factor = 20 }
completion_reward = {
		662 = {
			add_building_construction = {
				type = air_base
				level = 1
				instant_build = yes
			}
		}
		973 = {
			add_building_construction = {
				type = air_base
				level = 1
				instant_build = yes
			}
		}	
	}
 }
 
focus = { 
id = NGR_proposedoctrine
icon = GFX_goal_new_airforce
x = 28
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_militaryreforms }
ai_will_do = { factor = 20 }
completion_reward = {
	air_experience = 20
		add_tech_bonus = {
			name = NGR_proposedoctrine
			bonus = 1
			uses = 2
			category = air_doctrine
		}	
	}
 }
 
 
focus = { 
id = NGR_importaircraft
icon = GFX_purchaseaircraft
x = 28
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_proposedoctrine focus = NGR_developairbases }
ai_will_do = { factor = 20 }
completion_reward = {
	add_equipment_to_stockpile = { type = fighter_equipment_0 amount = 30 producer = MAF }
	}
 }
 
focus = { 
id = NGR_longrangespecialism
icon = GFX_longrangepatrolforce
x = 26
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_proposedoctrine focus = NGR_developairbases }
ai_will_do = { factor = 20 }
completion_reward = {
			add_tech_bonus = {
				name = NGR_longrangespecialism
				bonus = 1
				uses = 1
				category = cat_strategic_bomber
			}
			add_tech_bonus = {
				name = NGR_longrangespecialism
				bonus = 1
				uses = 1
				category = cat_heavy_fighter
			}	
	}
 }
 
focus = { 
id = NGR_theskiesshallbeours
icon = GFX_goal_generic_propaganda
x = 27
y = 13
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_longrangespecialism focus = NGR_importaircraft }
ai_will_do = { factor = 20 }
completion_reward = {
	add_war_support = 0.1
	}
 }
 
# Foreign Policy

focus = { 
id = NGR_beyondourborders
icon = GFX_goal_NGR_outside_help
x = 5
y = 16
cost = 1
available_if_capitulated = no
prerequisite = { focus = NGR_embracetherevolution focus = NGR_stabilityacquired focus = NGR_embracetheslaughter focus = NGR_independenceproclaimed }
ai_will_do = { factor = 20 }
completion_reward = {
	add_war_support = 0.05
	increase_ruling_party_popularity_by_5 = yes
	}
 }
 
focus = { 
id = NGR_annexsokoto
icon = GFX_goal_islamic_government
x = 5
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_beyondourborders }
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 1000
				HAU = {
					is_in_faction = no
					is_subject = no
				}
			}
			modifier = {
				factor = 1000
				HAU = {
					is_in_faction = no
					is_subject = no
				}
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = HAU ratio < 1 }
			}
			modifier = {
				factor = 0
				HAU = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				HAU = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
bypass = {
	878 = { is_owned_by = NGR }
	913 = { is_owned_by = NGR }
	}
available = {
	is_in_faction = no
	is_subject = no
	can_declare_war_on = 878.owner
	}
completion_reward = {
	if = {
		limit = {
			NOT = {
				HAU = {
					is_subject_of = NGR
					}
				}
			}
		declare_war_on = { type = annex_everything target = 878.owner }
		}
	if = {
		limit = {
			KBR = {
				is_subject = no
				}
			}
		declare_war_on = { type = annex_everything target = 913.owner }
		}
		if = {
			limit = {
				HAU = {
					is_subject_of = NGR
				}
			}
			NGR = {
				annex_country = {
					target = HAU
					transfer_troops = no
				}
			}
		}
	}
}
 
focus = { 
id = NGR_demandkamerunborderzone
icon = GFX_goal_purge_opposition
x = 7
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_beyondourborders }
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = ADW ratio < 1 }
			}
			modifier = {
				factor = 0
				ADW = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				ADW = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
bypass = {
	927 = { is_owned_by = ROOT }
	}
available = {
		is_in_faction = no
		is_subject = no
		can_declare_war_on = 927.owner
	}
completion_reward = {
	add_state_claim = 927
	declare_war_on = { type = annex_everything target = 927.owner }
	add_war_support = 0.02
	if = {
		limit = {
			KBR = {
				country_exists = yes
				}
			}
			country_event = nig.200
		}
	}
}
 
focus = { 
id = NGR_unitetheyoruba
icon = GFX_goal_planning_bonus
x = 3
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_beyondourborders }
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = NGR ratio < 1 }
			}
			modifier = {
				factor = 0
				NGR = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				NGR = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
bypass = {
	876 = { is_owned_by = NGR }
	}
available = {
	is_in_faction = no
	is_subject = no
	}
completion_reward = {
		unlock_decision_category_tooltip = NGR_claiming_west_africa
		unlock_decision_tooltip = NGR_puppet_togoland
		unlock_decision_tooltip = NGR_puppet_dahomey
		unlock_decision_tooltip = NGR_puppet_ashanti
		unlock_decision_tooltip = NGR_puppet_ivory_coast
	}
 }
 
focus = { 
id = NGR_hegemonofthewest
icon = GFX_Focus_African_Liberation
x = 5
y = 18
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_unitetheyoruba }
prerequisite = { focus = NGR_demandkamerunborderzone }
prerequisite = { focus = NGR_annexsokoto }
ai_will_do = { 
 factor = 100
 } 
completion_reward = {
	add_war_support = 0.1
	add_stability = 0.1
	set_cosmetic_tag = NGR_WAF
	}
 }
 
focus = { 
id = NGR_independenceproclaimed
icon = GFX_NGR_new_order
x = 11
y = 15
cost = 2
available = {
	is_subject = no
}
available_if_capitulated = no
ai_will_do = { 
 factor = 900
 } 
completion_reward = {
	country_event = nig.18
	add_political_power = 25
	set_cosmetic_tag = NGR_IND
	}
}

focus = { 
id = NGR_military_research
icon = GFX_foundinac
x = 9
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_independenceproclaimed }
ai_will_do = { factor = 20 }
completion_reward = {
	add_research_slot_until_five = yes
	}
 }
 
focus = { 
id = NGR_chooseanally
icon = GFX_goal_anschluss
x = 13
y = 16
cost = 1
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	is_subject = no
	is_in_faction = no
	owns_state = 878
}
prerequisite = { focus = NGR_independenceproclaimed }
ai_will_do = { factor = 20 }
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
 }
 
focus = { 
id = NGR_theinternationale
icon = GFX_goal_comfrance
x = 12
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_chooseanally }
available = {
country_exists = INT
threat > 0.6
OR = {
	has_socialist_government = yes
	has_government = social_democrat
	}
	is_subject = no
	is_in_faction = no
}
ai_will_do = { 
	factor = 1
	modifier = {
		factor = 0
		has_war = yes
	}
}
completion_reward = {
	if = {
		limit = {
			country_exists = INT
			}
			country_event = sharedafrika.10
		}
	}
}
 
focus = { 
id = NGR_theentente
icon = GFX_goal_canada
x = 14
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_chooseanally }
available = {
country_exists = ENT
threat > 0.6
	is_subject = no
	is_in_faction = no
NOT = {
	has_socialist_government = yes
	}
}
ai_will_do = { 
	factor = 1
	modifier = {
		factor = 0
		has_war = yes
	}
}
completion_reward = {
			if = {
				limit = {
					country_exists = ENT
					ENT = {
						is_faction_leader = yes
						}
					}
					ENT = {
					country_event = sharedafrika.2
					}
				}
		add_ideas = NGR_righteous_cause
	}
 }
 
focus = { 
id = NGR_thereichspakt
icon = GFX_goal_germany
x = 16
y = 17
cost = 5
available_if_capitulated = no
prerequisite = { focus = NGR_chooseanally }
ai_will_do = { 
	factor = 1
	modifier = {
		factor = 0
		has_war = yes
	}
}
available = {
country_exists = GER
threat > 0.6
	is_subject = no
	is_in_faction = no
NOT = {
	has_socialist_government = yes
	}
	NOT = {
		country_exists = MAF
	}
}
completion_reward = {
			if = {
				limit = {
					country_exists = GER
					GER = {
						is_faction_leader = yes
						}
					}
					GER = {
					country_event = sharedafrika.2
					}
				}
	}
 }
 
 }