focus_tree = {
	id = kenia
	continuous_focus_position = { x = 2600 y = 1050 }
	country = {
		factor = 0
		modifier = {
			add = 20
			tag = KEN
		}
	}

#Anti-Shifta Expeditions
focus = {
id = KEN_antishiftaexpeditions
icon = GFX_antishiftaexpeditions
x = 26
y = 3
cost = 3
available_if_capitulated = no
prerequisite = { focus = KEN_expandkaisersafricanrifles focus = KEN_northernexercises } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.3
		army_experience = 10
		add_tech_bonus = {
		name = KEN_antishiftaexpeditions
		bonus = 0.25
		uses = 1
		category = land_doctrine
		}
	}
}
#Coastal Recruitment
focus = {
id = KEN_coastalrecruitment
icon = GFX_goal_OTT_Muslim_Solidarity
x = 28
y = 4
cost = 5
available = {
	has_completed_focus = KEN_integratethestrip
}
available_if_capitulated = no
prerequisite = { focus = KEN_antishiftaexpeditions }
ai_will_do = { factor = 100 }
completion_reward = {
	add_ideas = KEN_coastalrecruitment_idea
	}
}
#A Kenyan Air Force
focus = {
id = KEN_kenyanairforce
icon = GFX_goal_new_airforce
x = 27
y = 5
cost = 5
available_if_capitulated = no
prerequisite = 	{ focus = KEN_seekkruppinvestment } 
ai_will_do = { factor = 100 }
completion_reward = {
		547 = {
			add_building_construction = {
				type = air_base
				level = 1
				instant_build = yes
			}
		}
	add_equipment_to_stockpile = { type = fighter_equipment_0 amount = 24 producer = GER }
	}
}
#Artillery Investments
focus = {
id = KEN_artilleryinvestments
icon = GFX_goal_Krupp_Artillery
x = 28
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_seekkruppinvestment } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 150 producer = LEP }
	add_equipment_to_stockpile = { type = artillery_equipment_1 amount = 50 producer = GEA }
	add_tech_bonus = {
		name = KEN_artillery_specialism
		bonus = 1
		uses = 1
		category = artillery
		}
	}
}
#Develop Mombasa Docks
focus = {
id = KEN_developmombasadocks
icon = GFX_goal_generic_naval_base
x = 20
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_overhaultaxes } 
ai_will_do = { factor = 100 }
completion_reward = {
		970 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = dockyard
				level = 1
				instant_build = yes
			}
		}
		970 = {
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = dockyard
				level = 1
				instant_build = yes
			}
		}
	}
}

#Expand Kaiser's African Rifles
focus = {
id = KEN_expandkaisersafricanrifles
icon = GFX_expandkaisersafricanrifles
x = 25
y = 2
cost = 4
available_if_capitulated = no
prerequisite = { focus = KEN_seekmittelafrikanbacking } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_ideas = KEN_kar_idea
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
	}
}

#Save Our Fish
focus = {
id = KEN_saveourfish
icon = GFX_saveourfish
x = 29
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_darseyesaverted } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.4
	add_political_power = 50
	}
}
#Chaos in the South
focus = {
id = KEN_chaosinthesouth
icon = GFX_seekmittelafrikanbacking
x = 19
y = 0
cost = 5
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	is_subject = no
}
ai_will_do = { factor = 100 }
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
#Independent Institutions
focus = {
id = KEN_independentinstitutions
icon = GFX_goal_Fight_for_Freedom
x = 22
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_chaosinthesouth } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.05
	increase_ruling_party_popularity_by_5 = yes
	}
}
#Restore order in Ostafrika
focus = {
id = KEN_restoreorderinostafrika
icon = GFX_goal_UKR_stabilise_west
x = 20
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_chaosinthesouth }
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = TZN ratio < 1 }
			}
			modifier = {
				factor = 0
				TZN = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				TZN = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
will_lead_to_war_with = TZN
		bypass = {
			965 = { is_owned_by = ROOT }
			}
		available = {
			is_in_faction = no
			is_subject = no
			can_declare_war_on = 965.owner
			}
		completion_reward = {
			add_state_claim = 965
			declare_war_on = { type = annex_everything target = 965.owner }
		}
}
 
focus = {
id = KEN_crush_the_somalis
icon = GFX_goal_flag_somalia
x = 18
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_chaosinthesouth }
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = SOM ratio < 1 }
			}
			modifier = {
				factor = 0
				SOM = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				SOM = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
will_lead_to_war_with = SOM
	bypass = {
		NOT = {
			country_exists = SOM
		}
	}
		available = {
			is_in_faction = no
			is_subject = no
			can_declare_war_on = 559.owner
			}
		completion_reward = {
			add_state_claim = 559
			declare_war_on = { type = annex_everything target = 559.owner }
		}
}

focus = {
id = KEN_restore_uganda
icon = GFX_goal_authority
x = 19
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_chaosinthesouth }
		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = UGA ratio < 1 }
			}
			modifier = {
				factor = 0
				UGA = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				UGA = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
will_lead_to_war_with = UGA
		bypass = {
			548 = { is_owned_by = ROOT }
			}
		available = {
			is_in_faction = no
			is_subject = no
			can_declare_war_on = 548.owner
			}
		completion_reward = {
			add_state_claim = 548
			declare_war_on = { type = annex_everything target = 548.owner }
		}
}

#Railway Development
focus = {
id = KEN_railwaydevelopment
icon = GFX_railwaydevelopment
x = 13
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_stemthebleed } 
ai_will_do = { factor = 100 }
completion_reward = {
		build_railway = {
			level = 3
			start_province = 1939
			target_province = 12927
		}
	}
}

#Encourage Coastal Tourism
focus = {
id = KEN_encouragecoastaltourism
icon = GFX_goal_generic_tourism
x = 15
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_stemthebleed } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_offsite_building = { type = industrial_complex level = 1 }
	}
}

#Colonial Reform Drive
focus = {
id = KEN_colonialreformdrive
icon = GFX_goal_KEN_loyalty_questions
x = 5
y = 1
cost = 2
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	has_idea = KEN_blackmondaybad
}
prerequisite = { focus = KEN_whitemanshaven } 
ai_will_do = { factor = 100 }
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
 
 #Dar's Eyes Averted
focus = {
id = KEN_darseyesaverted
icon = GFX_goal_KEN_kenyan_guards
x = 27
y = 0
cost = 5
available_if_capitulated = no
ai_will_do = { factor = 100 }
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	OR = {
		has_global_flag = congo_bush_war
		NOT = {
			country_exists = COG
		}
	}
}
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
#The White Man's Haven
focus = {
id = KEN_whitemanshaven
icon = GFX_MAF_rupee
x = 10
y = 0
cost = 2
available_if_capitulated = no
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.05
	}
}
#Reform the Native Trust Fund
focus = {
id = KEN_reformthenativetrustfund
icon = GFX_reformthenativetrustfund
x = 4
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_reassessdistrictcouncils } 
mutually_exclusive = { focus = KEN_statusofthesquatters }
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.5
	increase_ruling_party_popularity_by_5 = yes
	if = {
		limit = {
			has_idea = KEN_blackmondaybad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaybad
			add_idea = KEN_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = KEN_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaylessbad
			add_idea = KEN_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_blackmondayok
			}
		swap_ideas = {
			remove_idea = KEN_blackmondayok
			add_idea = KEN_recovered
			}	
		}
		custom_effect_tooltip = willreduceblackmonday
	}
}

#Privatise Plantations
focus = {
id = KEN_privatiseplantations
icon = GFX_privatiseplantations
x = 16
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_stimulatedomesticdemand } 
prerequisite = { focus = KEN_overhaultaxes } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_political_power = 20
	if = {
		limit = {
			has_idea = KEN_blackmondaybad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaybad
			add_idea = KEN_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = KEN_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaylessbad
			add_idea = KEN_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_blackmondayok
			}
		swap_ideas = {
			remove_idea = KEN_blackmondayok
			add_idea = KEN_recovered
			}	
		}
		custom_effect_tooltip = willreduceblackmonday
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
	}
}

#Encourage Immigration
focus = {
id = KEN_encourageimmigration
icon = GFX_encourageimmigration
x = 14
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_railwaydevelopment }
prerequisite = { focus = KEN_encouragecoastaltourism } 
ai_will_do = { factor = 100 }
completion_reward = {
		970 = {
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		add_extra_state_shared_building_slots = 1
		}
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
		swap_ideas = {
			remove_idea = KEN_settlers_overwhelming
			add_idea = KEN_settlers_strong
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_strengthened
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers_very_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_neutered
			}	
		}
		custom_effect_tooltip = KEN_decreasesettlerdominance
	}
}

#Regularise Ugandan Border
focus = {
id = KEN_regulariseugandanborder
icon = GFX_regulariseugandanborder
x = 29
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_thewituquestion }
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.03
	country_event = kenia.6
	}
}

#Integrate the Maasai
focus = {
id = KEN_integratethemassai
icon = GFX_integratethemaasai
x = 12
y = 3
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_stimulatedomesticdemand } 
prerequisite = { focus = KEN_agronomicsdrive } 
ai_will_do = { factor = 100 }
completion_reward = {
		969 = {
		add_extra_state_shared_building_slots = 1	
		}
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
		swap_ideas = {
			remove_idea = KEN_settlers_overwhelming
			add_idea = KEN_settlers_strong
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_strengthened
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers_very_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_neutered
			}	
		}
		custom_effect_tooltip = KEN_decreasesettlerdominance	
	}
}

#Invest in Unga Ltd
focus = {
id = KEN_investinungaltd
icon = GFX_investinungaltd
x = 17
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_stemthebleed } 
ai_will_do = { factor = 100 }
completion_reward = {
		547 = {
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}	
		add_extra_state_shared_building_slots = 1
		}
	}
}

#Reform Nairobi Holdings
focus = {
id = KEN_reformnairobiholdings
icon = GFX_goal_munitions_factories
x = 15
y = 4
cost = 6
available_if_capitulated = no
prerequisite = { focus = KEN_privatiseplantations } 
mutually_exclusive = { focus = KEN_thetsetsemenace }
ai_will_do = { factor = 100 }
completion_reward = {
		970 = {
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}
		add_extra_state_shared_building_slots = 1
		}
		547 = {
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		add_extra_state_shared_building_slots = 1
		}
	}
}

#Overhaul Taxes
focus = {
id = KEN_overhaultaxes
icon = GFX_overhaultaxes
x = 17
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_requestemergencyassistance } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_political_power = 80
	add_stability = -0.02
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
	}
}

#Status of the Squatters
focus = {
id = KEN_statusofthesquatters
icon = GFX_statusofthesquatters
x = 6
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_tribalreforms }
mutually_exclusive = { focus = KEN_reformthenativetrustfund }
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.7
	if = {
		limit = {
			has_idea = KEN_blackmondaybad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaybad
			add_idea = KEN_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = KEN_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaylessbad
			add_idea = KEN_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_blackmondayok
			}
		swap_ideas = {
			remove_idea = KEN_blackmondayok
			add_idea = KEN_recovered
			}	
		}
		custom_effect_tooltip = willreduceblackmonday
	}
}

#End Kilindini Corruption
focus = {
id = KEN_endkilindinicorruption
icon = GFX_endkilindinicorruption
x = 19
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_stemthebleed } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.8
	add_stability = 0.01
	}
 }
#Massey Harris Contacts
focus = {
id = KEN_masseyharriscontacts
icon = GFX_goal_CAN_army
x = 20
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_endkilindinicorruption } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_offsite_building = { type = arms_factory level = 1 }
	}
}
#Rice Imports
focus = {
id = KEN_riceimports
icon = GFX_goal_generic_rice_field
x = 12
y = 1
cost = 5
available = {
}
available_if_capitulated = no
prerequisite = { focus = KEN_whitemanshaven } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_war_support = 0.05
	add_stability = 0.02
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
		swap_ideas = {
			remove_idea = KEN_settlers_overwhelming
			add_idea = KEN_settlers_strong
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_strengthened
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers_very_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_neutered
			}	
		}
		custom_effect_tooltip = KEN_decreasesettlerdominance
	}
}
#Request Emergency Assistance
focus = {
id = KEN_requestemergencyassistance
icon = GFX_goal_KEN_corprate_kenya
x = 14
y = 1
cost = 1
available = {
	OR = {
		has_idea = KEN_blackmondaybad
		has_idea = KEN_blackmondaylessbad
		has_idea = KEN_blackmondayok
		has_idea = KEN_recovered
	}
}
available_if_capitulated = no
prerequisite = { focus = KEN_whitemanshaven } 
ai_will_do = { 
factor = 1000
 } 
completion_reward = {
	country_event = kenia.9
	add_stability = 0.02
	}
}

#Debate Press Restrictions
focus = {
id = KEN_debatepressrestrictions
icon = GFX_debatepressrestrictions
x = 9
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_legalreorganisation } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.10
	add_stability = 0.02
	}
}

#Highlands Anti-Perpetuity Act
#focus = {
#id = KEN_highlandsantiperpetuityact
#icon = GFX_highlandsantiperpetuityact
#x = 8
#y = 4
#cost = 5
#available_if_capitulated = no
#available = {
#	custom_trigger_tooltip = {
#		tooltip = unlock_focuses
#		always = no
#	}
#}
#bypass = {
#	date > 1938.01.01
#	OR = {
#		has_idea = KEN_settlers_very_weak
#		has_idea = KEN_settlers_neutered
#	}
#}
#ai_will_do = {
#factor = 500
#}
#completion_reward = {
#	custom_effect_tooltip = unlock_focuses
#	}
#}

#Kipande Policy
focus = {
id = KEN_kipandepolicy
icon = GFX_kipandepolicy
x = 0
y = 2
cost = 2
available = {
	has_idea = KEN_kipande
}
available_if_capitulated = no
prerequisite = { focus = KEN_colonialreformdrive } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.11
	}
}

#Regularise the Kathi
focus = {
id = KEN_regularisethekathi
icon = GFX_regularisethekathi
x = 4
y = 2
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_colonialreformdrive } 
available = {
	has_idea = KEN_swahili_resistance
}
bypass = {
AND = {
	date > 1938.01.01
	NOT = {
		has_idea = KEN_swahili_resistance
		}
	}
}
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.05
		970 = {
			add_resistance = -10
		}
	}
}

#Protectorate Reforms
focus = {
id = KEN_protectoratereforms
icon = GFX_protectoratereforms
x = 6
y = 2
cost = 2
available_if_capitulated = no
available = {
	has_idea = KEN_swahili_resistance
	NOT = { 
		has_country_flag = KEN_is_dealing_with_maumau 
	}
}
bypass = {
	AND = {
		date > 1938.01.01
		NOT = {
			has_idea = KEN_swahili_resistance
		}
	}
}
prerequisite = { focus = KEN_colonialreformdrive } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.05
	970 = {
		add_extra_state_shared_building_slots = 1
	}
	970 = {
		add_resistance = -15
		}
	}
}

#Crown Land Policy
focus = {
id = KEN_crownlandpolicy
icon = GFX_crownlandpolicy
x = 2
y = 2
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_colonialreformdrive } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.12
	add_stability = 0.01
	}
}

#Tribal Reforms
focus = {
id = KEN_tribalreforms
icon = GFX_tribalreforms
x = 7
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_protectoratereforms }
prerequisite = { focus = KEN_legalreorganisation } 
ai_will_do = { factor = 100 }
select_effect = {
	country_event = {
		id = kenia.13
		days = 3
	}
}
completion_reward = {
	add_stability = 0.05
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
	}
}

#Agronomics Drive
focus = {
id = KEN_agronomicsdrive
icon = GFX_agronomicsdrive
x = 10
y = 2
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_colonialreformdrive } 
ai_will_do = { factor = 100 }
completion_reward = {
	if = {
		limit = {
			NOT = {
				has_idea = KEN_boom
			}
		}
		add_ideas = KEN_boom
	}
	add_stability = 0.01
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
	}
}

#Legal Reorganisation
focus = {
id = KEN_legalreorganisation
icon = GFX_legalreorganisation
x = 8
y = 2
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_colonialreformdrive } 
ai_will_do = { factor = 100 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_stability = 0.03
	}
}

#Position of the Boers
focus = {
id = KEN_positionoftheboers
icon = GFX_positionoftheboers
x = 1
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_crownlandpolicy } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.14
	}
}

#Settler Credit Brokers
focus = {
id = KEN_settlercreditbrokers
icon = GFX_allocatefunding
x = 0
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_positionoftheboers } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_political_power = 50
		969 = {
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}	
		add_extra_state_shared_building_slots = 1
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance		
	}
}

#The Vigilance Committee
focus = {
id = KEN_vigilance_coup
icon = GFX_goal_generic_espionage
x = 5
y = 5
cost = 1
available_if_capitulated = no
mutually_exclusive = { focus = KEN_expandlegislativecouncil }
mutually_exclusive = { focus = KEN_newbureaucratictalent }
available = {
	date > 1937.01.01
	OR = {
		has_idea = KEN_settlers
		has_idea = KEN_settlers_weak
	}
}
cancelable = no
select_effect = {
		hidden_effect = {
			news_event = {
				id = sharedafrika.18
				days = 3
			}		
		}
	country_event = {
		id = kenia.32
		days = 1
	}
	add_named_threat = { 
			threat = 1
			name = nairobicoup
	}
}
ai_will_do = {
	factor = 500
	modifier = {
		factor = 0
		date < 1938.01.01
	}
	modifier = {
		factor = 0
		has_game_rule = {
			rule = KEN_government
			option = KEN_GOVERNMENT_BRIT
		}
	}
	modifier = {
		factor = 0
		has_game_rule = {
			rule = KEN_government
			option = KEN_GOVERNMENT_GER
		}
	}
}
completion_reward = {
	add_popularity = { ideology = national_populist popularity = 0.1 }
	country_event = kenia.24
	if = {
		limit = { is_subject = yes }
		overlord = {
			set_autonomy = { target = ROOT autonomous_state = autonomy_free }
		}
	}
	if = {
		limit = { is_in_faction = yes }
		leave_faction = yes
	}
}
 } 
#Labour Reserves
#focus = {
#id = KEN_labourreserves
#icon = GFX_reverseurbanmigration
#x = 2
#y = 4
#cost = 5
#available_if_capitulated = no
#available = {
#	OR = {
#		has_idea = KEN_settlers_overwhelming
#		has_idea = KEN_settlers_strong
#		has_idea = KEN_settlers_strengthened
#	}
#}
#ai_will_do = {
#	factor = 500
#	modifier = {
#		factor = 0
#		date < 1938.01.01
#	}
#	modifier = {
#		factor = 0
#		has_game_rule = {
#			rule = KEN_government
#			option = KEN_GOVERNMENT_NATPOP
#		}
#	}
#	modifier = {
#		factor = 0
#		has_game_rule = {
#			rule = KEN_government
#			option = KEN_GOVERNMENT_GER
#		}
#	}
#}
#completion_reward = {
#	add_political_power = 50
#}
#}

#Reassess District Councils
focus = {
id = KEN_reassessdistrictcouncils
icon = GFX_reassessdistrictcouncils
x = 3
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_crownlandpolicy }
prerequisite = { focus = KEN_regularisethekathi } 
ai_will_do = { factor = 100 }
completion_reward = {
	increase_ruling_party_popularity_by_10 = yes
	add_war_support = 0.05
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
		swap_ideas = {
			remove_idea = KEN_settlers_overwhelming
			add_idea = KEN_settlers_strong
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_strengthened
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers_very_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_neutered
			}	
		}
		custom_effect_tooltip = KEN_decreasesettlerdominance
	}
}

#Stimulate Domestic Demand
focus = {
id = KEN_stimulatedomesticdemand
icon = GFX_stimulatedomesticdemand
x = 15
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_requestemergencyassistance } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = industry
		}	
	}
}

#The Tsetse Menace
focus = {
id = KEN_thetsetsemenace
icon = GFX_fightrinderpest
x = 17
y = 4
cost = 6
available_if_capitulated = no
prerequisite = { focus = KEN_privatiseplantations } 
mutually_exclusive = { focus = KEN_reformnairobiholdings }
ai_will_do = { factor = 100 }
completion_reward = {
		547 = {
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		547 = {
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		add_extra_state_shared_building_slots = 2
		}
		add_political_power = -25
	}
}

#The Witu Question
focus = {
id = KEN_thewituquestion
icon = GFX_thewituquestion
x = 29
y = 2
cost = 1
available_if_capitulated = no
prerequisite = { focus = KEN_saveourfish } 
ai_will_do = { factor = 100 }
completion_reward = {
		country_event = kenia.15
	970 = {
		add_resistance = -5
		}
	}
}
#Side with Japan
focus = {
id = KEN_withnippon
icon = GFX_CAL_japanese_propaganda
x = 31
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_saveourfish } 
available = {
	has_completed_focus = KEN_chaosinthesouth
	threat > 0.6
	KEN = { is_in_faction = no }
	country_exists = JAP
	is_subject = no
	NOT = {
		has_completed_focus = KEN_newbureaucratictalent
		has_country_flag = KEN_pissedoffjapan
	}
}
ai_will_do = { 
	factor = 100
	modifier = {
		factor = 0
		has_war = yes
	}
}
completion_reward = {
			if = {
				limit = {
					country_exists = JAP
						JAP = {
							is_faction_leader = yes
						}
					}
				JAP = {
					country_event = sharedafrika.2
				}
			}
	}
}

#Somali Negotiations
focus = {
id = KEN_somalinegotiations
icon = GFX_somalinegotiations
x = 31
y = 4
cost = 1
available_if_capitulated = no
prerequisite = { focus = KEN_antishiftaexpeditions } 
prerequisite = { focus = KEN_thewituquestion } 
ai_will_do = { factor = 100 }
bypass = {
OR = {
	NOT = {
		owns_state = 892
	}
	NOT = {
		country_exists = SOM
		}
	}
}
completion_reward = {
	country_event = kenia.16
		892 = {
			add_resistance = -15
		}
	}
}

#The Swahili Question
focus = {
id = KEN_theswahiliquestion
icon = GFX_theswahiliquestion
x = 10
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_debatepressrestrictions } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.17
	add_stability = 0.03
	}
}

#Integrate the Strip
focus = {
id = KEN_integratethestrip
icon = GFX_integratethestrip
x = 5
y = 3
cost = 3
available_if_capitulated = no
available = {
	has_completed_focus = KEN_thewituquestion
}
prerequisite = { focus = KEN_crownlandpolicy focus = KEN_regularisethekathi }
prerequisite = { focus = KEN_protectoratereforms focus = KEN_legalreorganisation }
ai_will_do = {
factor = 300
}
completion_reward = {
	970 = {
		remove_claim_by = KEN
		add_core_of = KEN
	}
	remove_ideas = KEN_swahili_resistance
	add_stability = 0.05
	}
}

#Northern Exercises
focus = {
id = KEN_northernexercises
icon = GFX_northernexercises
x = 27
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_dealwiththefanatics } 
ai_will_do = { factor = 100 }
completion_reward = {
	hidden_effect = {
		set_technology = { desert_warfare = 1 }
		set_technology = { camelry = 1 }
	}
	add_war_support = 0.05
	892 = {
		add_resistance = -11
	}
	custom_effect_tooltip = desert_warfare_effect
	}
}

#Stem the Bleed
focus = {
id = KEN_stemthebleed
icon = GFX_stemthebleed
x = 16
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_minoritystatusact focus = KEN_diversifyexports } 
prerequisite = { focus = KEN_reformnairobiholdings focus = KEN_thetsetsemenace }
ai_will_do = { factor = 100 }
completion_reward = {
	add_tech_bonus = {
		bonus = 0.5
		uses = 2
		category = industry
		}
	if = {
		limit = {
			has_idea = KEN_blackmondaybad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaybad
			add_idea = KEN_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = KEN_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaylessbad
			add_idea = KEN_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_blackmondayok
			}
		swap_ideas = {
			remove_idea = KEN_blackmondayok
			add_idea = KEN_recovered
			}	
		}
		custom_effect_tooltip = willreduceblackmonday		
	}
}

#Dukawallah Loans
focus = {
id = KEN_dukawallahloans
icon = GFX_dukawallahloans
x = 14
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_stimulatedomesticdemand } 
prerequisite = { focus = KEN_overhaultaxes }
ai_will_do = { factor = 100 }
 available = {
	NOT = {
		has_completed_focus = KEN_cropsforminerals
	}
 }
completion_reward = {
		547 = {
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
			}	
		add_extra_state_shared_building_slots = 1
		}
	add_stability = -0.01
	add_popularity = {
		ideology = social_democrat
		popularity = 0.01
	}
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
		swap_ideas = {
			remove_idea = KEN_settlers_overwhelming
			add_idea = KEN_settlers_strong
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_strengthened
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers_very_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_neutered
			}	
		}
		custom_effect_tooltip = KEN_decreasesettlerdominance
	}
}

#Cholmondeley
focus = {
id = KEN_cholmondeley
icon = GFX_cholmondeley
x = 0
y = 6
cost = 1
available_if_capitulated = no
available = {
	has_completed_focus = KEN_expandlegislativecouncil
}
mutually_exclusive = {
	focus = KEN_leakey
}
ai_will_do = {
factor = 500
}
completion_reward = {
		hidden_effect = {
			news_event = {
				id = sharedafrika.18
				days = 1
			}		
		}
	create_country_leader = {
		name = "Hugh Cholmondeley"
		desc = "POLITICS_DELAMERE_DESC"
		picture = "gfx/leaders/KEN/Portrait_KEN_Delamere.png"
		expire = "1.1.1"
		ideology = authdem_toryism_subtype 
		traits = {}
	}
	set_politics = {
		ruling_party = authoritarian_democrat
	}	
	add_popularity = {
		ideology = authoritarian_democrat
		popularity = 0.15
		}	
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
			remove_ideas = KEN_settlers_overwhelming
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
			remove_ideas = KEN_settlers_strong
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
			remove_ideas = KEN_settlers_strengthened
		}
	if = {
		limit = {
			has_idea = KEN_settlers
			}
			remove_ideas = KEN_settlers
		}
	if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
			remove_ideas = KEN_settlers_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
			remove_ideas = KEN_settlers_very_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
			remove_ideas = KEN_settlers_neutered
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
	}
}

#Request Patrol Boats
focus = {
id = KEN_requestpatrolboats
icon = GFX_requestpatrolboats
x = 22
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_antimaumaumeasures focus = KEN_expandkaisersafricanrifles }
ai_will_do = { factor = 100 }
completion_reward = {
	add_tech_bonus = {
		bonus = 0.5
		uses = 2
		category = naval_doctrine
		}
	}
}
#Force the Point
focus = {
id = KEN_forcethepoint
icon = GFX_forcethepoint
x = 32
y = 5
cost = 5
available_if_capitulated = no
will_lead_to_war_with = SOM
available = {
	has_country_flag = jubalandnegotiationsfailed
}
bypass = {
OR = {
	NOT = {
		country_exists = SOM
	}
	SOM = { is_in_faction_with = KEN }
	982 = {
		NOT = {
			is_claimed_by = SOM
			}
		NOT = {
			is_core_of = SOM
			}
		}
	}
}
prerequisite = { focus = KEN_somalinegotiations }
mutually_exclusive = { focus = KEN_jubalandplebiscite }
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.19
	add_named_threat = {
			threat = 1
			name = jubalandwar
		}
	}
}

#Jubaland Plebiscite
focus = {
id = KEN_jubalandplebiscite
icon = GFX_jubalandplebiscite
x = 30
y = 5
cost = 1
available = {
	has_country_flag = jubalandsuccess
}
bypass = {
OR = {
	NOT = {
		country_exists = SOM
	}
	SOM = { is_in_faction_with = KEN }
	982 = {
		NOT = {
			is_claimed_by = SOM
			}
		NOT = {
			is_core_of = SOM
			}
		}
	}
}
available_if_capitulated = no
prerequisite = { focus = KEN_somalinegotiations } 
mutually_exclusive = { focus = KEN_forcethepoint } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.20
	}
}

#Diversify Exports
focus = {
id = KEN_diversifyexports
icon = GFX_newmarkets
x = 19
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_cropsforminerals } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_offsite_building = { type = industrial_complex level = 1 }
	add_tech_bonus = {
		bonus = 1
		uses = 1
		category = industry
		}
	}
}

#Local Officer Training
focus = {
id = KEN_localofficertraining
icon = GFX_localofficertraining
x = 24
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_expandkaisersafricanrifles } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_ideas = KEN_officertrainingidea
	add_war_support = 0.05
	}
}

#Enshrine Dual Policy
focus = {
id = KEN_enshrinedualpolicy
icon = GFX_enshrinedualpolicy
x = 4
y = 9
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_nativesergeants } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_political_power = 50
	add_ideas = KEN_dualpolicyenshrined
	}
}

#Expand Legislative Council
focus = {
id = KEN_expandlegislativecouncil
icon = GFX_goal_generic_parliament
x = 2
y = 5
cost = 1
available_if_capitulated = no
mutually_exclusive = { focus = KEN_vigilance_coup }
mutually_exclusive = { focus = KEN_newbureaucratictalent }
ai_will_do = {
	factor = 500
	modifier = {
		factor = 0
		date < 1938.01.01
	}
	modifier = {
		factor = 0
		has_game_rule = {
			rule = KEN_government
			option = KEN_GOVERNMENT_NATPOP
		}
	}
	modifier = {
		factor = 0
		has_game_rule = {
			rule = KEN_government
			option = KEN_GOVERNMENT_GER
		}
	}
}
available = {
	NOT = {
		has_government = national_populist
	}
	OR = {
		has_idea = KEN_settlers_overwhelming
		has_idea = KEN_settlers_strong
		has_idea = KEN_settlers_strengthened
	}
}
completion_reward = {
	country_event = kenia.21
	}
}

#Seek Entente Backing
focus = {
id = KEN_seekmittelafrikanbacking
icon = GFX_GBR_lead_entente
x = 24
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_darseyesaverted } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = {
		id = kenia.22 
		days = 6
	}
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
	}
}

#Leakey
focus = {
id = KEN_leakey
icon = GFX_leakey
x = 4
y = 6
cost = 1
available_if_capitulated = no
available = {
	has_completed_focus = KEN_expandlegislativecouncil
}
mutually_exclusive = {
	focus = KEN_cholmondeley
}
ai_will_do = {
factor = 500
}
completion_reward = {
		hidden_effect = {
			news_event = {
				id = sharedafrika.18
				days = 1
			}		
		}
	create_country_leader = {
		name = "Ferdinand Cavendish-Bentinck"
		desc = "POLITICS_CAVENDISH_BENTINCK_DESC"
		picture = "gfx/leaders/KEN/Portrait_KEN_Cavendish.png"
		expire = "1.1.1"
		ideology = liberal_conservative_subtype
		traits = {}
	}
	set_politics = {
		ruling_party = market_liberal
	}
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
			remove_ideas = KEN_settlers_overwhelming
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
			remove_ideas = KEN_settlers_strong
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
			remove_ideas = KEN_settlers_strengthened
		}
	if = {
		limit = {
			has_idea = KEN_settlers
			}
			remove_ideas = KEN_settlers
		}
	if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
			remove_ideas = KEN_settlers_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
			remove_ideas = KEN_settlers_very_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
			remove_ideas = KEN_settlers_neutered
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
}
 } 

#Lowland Road Grants
focus = {
id = KEN_lowlandroadgrants
icon = GFX_lowlandroadgrants
x = 4
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_leakey } 
ai_will_do = { factor = 100 }
completion_reward = {
		547 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		892 = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}	
	}
}

#New Bureaucratic Talent
focus = {
id = KEN_newbureaucratictalent
icon = GFX_newbureaucratictalent
x = 8
y = 5
cost = 1
available_if_capitulated = no
ai_will_do = {
	factor = 500
	modifier = {
		factor = 0
		date < 1938.01.01
	}
	modifier = {
		factor = 0
		has_game_rule = {
			rule = KEN_government
			option = KEN_GOVERNMENT_BRIT
		}
	}
	modifier = {
		factor = 0
		has_game_rule = {
			rule = KEN_government
			option = KEN_GOVERNMENT_NATPOP
		}
	}
}
available = {
	NOT = {
		has_government = national_populist
	}
}
cancelable = no
 select_effect = {
	country_event = {
		id = kenia.36
		days = 2
	}
 }
available = {
	OR = {
		has_idea = KEN_settlers_very_weak
		has_idea = KEN_settlers_neutered
	}
	country_exists = MAF
}
mutually_exclusive = { focus = KEN_vigilance_coup }
mutually_exclusive = { focus = KEN_expandlegislativecouncil }
completion_reward = {
	country_event = kenia.23
	add_stability = 0.03
	hidden_effect = {
		MAF = {
				country_event = kenia.23
			}
		}
	}
}

#Colonial Centralism
focus = {
id = KEN_colonialcentralism
icon = GFX_apacifiedfrontier
x = 6
y = 6
cost = 1
available_if_capitulated = no
mutually_exclusive = {
	focus = KEN_thenewbreed 
}
available = {
	has_completed_focus = KEN_newbureaucratictalent
}
ai_will_do = { 
factor = 500
}
completion_reward = {
	create_country_leader = {
		name = "Erwin von Witzleben"
		picture = "gfx/leaders/GER/Portrait_Germany_Erwin_von_Witzleben_kr.png"
		expire = "1.1.1"
		ideology = autocratic_colonial_govt_subtype
	}
	drop_cosmetic_tag = yes
	set_cosmetic_tag = KEN_GER_RK
	set_politics = {
		ruling_party = paternal_autocrat
		}	
	add_popularity = {
		ideology = paternal_autocrat
		popularity = 0.15
		}	
		swap_ideas = { 
			remove_idea = GBR_Colonial_Government 
			add_idea = Generic_Colonial_Nation 
		}
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
			remove_ideas = KEN_settlers_overwhelming
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
			remove_ideas = KEN_settlers_strong
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
			remove_ideas = KEN_settlers_strengthened
		}
	if = {
		limit = {
			has_idea = KEN_settlers
			}
			remove_ideas = KEN_settlers
		}
	if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
			remove_ideas = KEN_settlers_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
			remove_ideas = KEN_settlers_very_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
			remove_ideas = KEN_settlers_neutered
		}
	}
}
#The New Breed
focus = {
id = KEN_thenewbreed
icon = GFX_minoritystatusact
x = 10
y = 6
cost = 1
available_if_capitulated = no
available = {
	has_completed_focus = KEN_newbureaucratictalent
	NOT = {
		has_government = national_populist
	}	
}
mutually_exclusive = {
	focus = KEN_colonialcentralism 
}
ai_will_do = {
factor = 500
}
completion_reward = {
create_country_leader = {
	name = "Rea Leaky"
	desc = "POLITICS_REA_LEAKY_DESC"
	picture = "gfx/leaders/KEN/Portrait_Kenya_Rea_Leaky.png"
	expire = "1.1.1"
	ideology = marlib_colonial_govt_subtype 
	traits = {}
	}	
	set_politics = {
		ruling_party = market_liberal
	}	
	add_popularity = {
		ideology = market_liberal
		popularity = 0.15
		}	
	set_party_name = {
		ideology = market_liberal
		long_name = KEN_market_liberal_party_germanlong
		name = KEN_market_liberal_party_german
	}
	drop_cosmetic_tag = yes
	set_cosmetic_tag = KEN_GER_FREI_subject
		swap_ideas = { 
			remove_idea = GBR_Colonial_Government 
			add_idea = Generic_Colonial_Nation 
		}
	if = {
		limit = {
			has_idea = KEN_settlers_overwhelming
			}
			remove_ideas = KEN_settlers_overwhelming
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
			remove_ideas = KEN_settlers_strong
		}
	if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
			remove_ideas = KEN_settlers_strengthened
		}
	if = {
		limit = {
			has_idea = KEN_settlers
			}
			remove_ideas = KEN_settlers
		}
	if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
			remove_ideas = KEN_settlers_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
			remove_ideas = KEN_settlers_very_weak
		}
	if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
			remove_ideas = KEN_settlers_neutered
		}
	}
}
#Promote Native Harmony
focus = {
id = KEN_promotenativeharmony
icon = GFX_seekallies
x = 10
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_thenewbreed } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.1
	}
}
#Embrace the Missions
focus = {
id = KEN_embracethemissions
icon = GFX_enlistthemissionaries
x = 11
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_promotenativeharmony } 
ai_will_do = { factor = 100 }
completion_reward = {
	increase_ruling_party_popularity_by_15 = yes
	}
 }
#Responsible Government
focus = {
id = KEN_responsiblegovernment
icon = GFX_cooptnativeassociations
x = 10
y = 9
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_neuterthecouncil focus = KEN_embracethemissions } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_political_power = 50
	}
}

#Break up Happy Valley
focus = {
id = KEN_breakuphappyvalley
icon = GFX_breakuphappyvalley
x = 8
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_colonialcentralism focus = KEN_thenewbreed } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.03
	increase_ruling_party_popularity_by_5 = yes
	}
}

#Request Autonomy
focus = {
id = KEN_requestautonomy
icon = GFX_goal_generic_elections
x = 0
y = 9
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_stackthecouncil focus = KEN_nativesergeants } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.05
	if = {
		limit = {
			MAF = {
				is_ai = yes
				}
			}
			MAF = {
				set_autonomy = {
					target = KEN
					autonomous_state = autonomy_free
				}
			}
		}
	}
}

#Anti-Disease Campaigns
focus = {
id = KEN_antidiseasecampaigns
icon = GFX_antidiseasecampaigns
x = 2
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_leakey focus = KEN_cholmondeley } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.1
	decrease_ruling_party_popularity_by_5 = yes
	every_owned_state = {
		add_resistance = -0.03
		}
	}
}

#Nairobi Institute
focus = {
id = KEN_nairobiinstitute
icon = GFX_nairobiinstitute
x = 2
y = 10
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_safeguardtheenglishlanguage }
prerequisite = { focus = KEN_stackthecouncil focus = KEN_nativesergeants }
ai_will_do = { factor = 100 }
completion_reward = {
	add_research_slot_until_five = yes
	}
}

#Invest in Magadi Soda
focus = {
id = KEN_investinmagadisoda
icon = GFX_goal_generic_construction
x = 18
y = 7
cost = 10
available_if_capitulated = no
prerequisite = { focus = KEN_investinungaltd }
prerequisite = { focus = KEN_endkilindinicorruption } 
ai_will_do = { factor = 100 }
completion_reward = {
	every_owned_state = {
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.02
		}
	}
}

#Seek Krupp Investment
focus = {
id = KEN_seekkruppinvestment
icon = GFX_goal_LEP_krupp_industial
x = 24
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_localofficertraining } 
prerequisite = { focus = KEN_antishiftaexpeditions } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_offsite_building = { type = arms_factory level = 1 }
	add_resource = {
		type = steel
		amount = 4
		state = 547
		}
	if = {
		limit = {
			has_idea = KEN_blackmondaybad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaybad
			add_idea = KEN_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = KEN_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = KEN_blackmondaylessbad
			add_idea = KEN_blackmondayok
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_blackmondayok
			}
		swap_ideas = {
			remove_idea = KEN_blackmondayok
			add_idea = KEN_recovered
			}	
		}
		custom_effect_tooltip = willreduceblackmonday		
	}
}

#The Jewel of Ostafrika
focus = {
id = KEN_thejewelofostafrika
icon = GFX_MAF_sowing_seeds_of_growth
x = 16
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_encourageimmigration } 
prerequisite = { focus = KEN_investinmagadisoda } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_research_slot_until_five = yes
	}
}

#Worker Reforms
focus = {
id = KEN_workerreforms
icon = GFX_workerreforms
x = 0
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_cholmondeley } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.05
	add_popularity = {
		ideology = radical_socialist
		popularity = -0.03
		}
	add_popularity = {
		ideology = syndicalist
		popularity = -0.03
		}				
	}
}

#Extend Voi Railway
focus = {
id = KEN_extendvoirailway
icon = GFX_extendvoirailway
x = 12
y = 7
cost = 3
available_if_capitulated = no
prerequisite = { focus = KEN_colonialcentralism focus = KEN_thenewbreed }	
prerequisite = { focus = KEN_railwaydevelopment } 
ai_will_do = { factor = 100 }
completion_reward = {
		build_railway = {
			level = 1
			start_province = 13620
			target_province = 12941
		}
		970 = {
			add_extra_state_shared_building_slots = 1
		}
	}
}

#Minority Status Act
focus = {
id = KEN_minoritystatusact
icon = GFX_reviewarticlefour
x = 13
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_dukawallahloans } 
ai_will_do = { factor = 100 }
available = {
	has_idea = KEN_disaffectedminorities
}
bypass = {
	NOT = {
		has_idea = KEN_disaffectedminorities
	}
}
completion_reward = {
	country_event = kenia.25
	add_stability = 0.03
	add_political_power = -10
	}
}

#Colonial Triumph
focus = {
id = KEN_colonialtriumph
icon = GFX_colonialtriumph
x = 26
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_sectorsweep } 
prerequisite = { focus = KEN_apacifiedfrontier } 
ai_will_do = { factor = 100 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_stability = 0.05
	}
}

#A Pacified Frontier
focus = {
id = KEN_apacifiedfrontier
icon = GFX_Generic_Desert_Warfare
x = 31
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_jubalandplebiscite focus = KEN_forcethepoint } 
ai_will_do = { factor = 100 }
available = {
	owns_state = 892
}
bypass = {
	NOT = {
		owns_state = 892
	}
}
completion_reward = {
	892 = {
		remove_claim_by = KEN
		add_core_of = KEN
		}
	}
}

#Sector Sweep
focus = {
id = KEN_sectorsweep
icon = GFX_sectorsweep
x = 22
y = 5
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_enforcetheblockade focus = KEN_seekkruppinvestment } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.30
		if = {
			limit = {
				has_idea = KEN_Maumau
			}
			remove_ideas = KEN_Maumau
			}
		if = {
			limit = {
				has_idea = KEN_Maumau2
			}
			remove_ideas = KEN_Maumau2
		}
		ROOT = {
			every_owned_state = {
				limit = {
					is_claimed_by = KIK
				}
				remove_claim_by = KIK
			}
			every_owned_state = {
				limit = {
					is_core_of = KIK
				}
				remove_core_of = KIK
			}
		}
	}
}

#Anti-Mau Mau Measures
focus = {
id = KEN_antimaumaumeasures
icon = GFX_Generic_Jungle_Insurgency
x = 23
y = 2
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_seekmittelafrikanbacking } 
prerequisite = { focus = KEN_dealwiththefanatics } 
ai_will_do = { factor = 100 }
completion_reward = {
		add_equipment_to_stockpile = {
			type = infantry_equipment_1
			amount = 350
			producer = CAN
		}
		add_equipment_to_stockpile = {
			type = infantry_equipment_1
			amount = 300
			producer = MAF
		}
		country_event = kenia.18
		hidden_effect = {
			MAF = {
				country_event = kenia.18
			}
		}
		add_political_power = -10
	}
}

#Enforce the Blockade
focus = {
id = KEN_enforcetheblockade
icon = GFX_focus_generic_mine_warfare
x = 22
y = 4
cost = 1
available_if_capitulated = no
prerequisite = { focus = KEN_developmombasadocks focus = KEN_requestpatrolboats } 
ai_will_do = { factor = 100 }
completion_reward = {
		navy_experience = 20
		add_mines = { region = 102 amount = 50 }
	}
}

#Crops For Minerals
focus = {
id = KEN_cropsforminerals
icon = GFX_cropsforminerals
x = 18
y = 3
cost = 5
available_if_capitulated = no
available = {
	NOT = {
		has_completed_focus = KEN_dukawallahloans
	}
}
prerequisite = { focus = KEN_stimulatedomesticdemand } 
prerequisite = { focus = KEN_overhaultaxes } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_offsite_building = { type = industrial_complex level = 1 }
	add_resource = {
		type = tungsten
		amount = 2
		state = 970
		}
	add_resource = {
		type = steel
		amount = 4
		state = 970
		}
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = excavation_tech
		}
	}
}

#Continue Desecularisation
focus = {
id = KEN_continuedesecularisation
icon = GFX_continuedesecularisation
x = 6
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_colonialcentralism } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_war_support = 0.1
	add_political_power = 30
	}
}
#Stack the Council
focus = {
id = KEN_stackthecouncil
icon = GFX_Generic_Pawns
x = -1
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_workerreforms } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_political_power = 59
	increase_ruling_party_popularity_by_10 = yes
	add_stability = -0.02
	}
 }
#Safeguard the English Language
focus = {
id = KEN_safeguardtheenglishlanguage
icon = GFX_requestautonomy
x = 1
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_antidiseasecampaigns } 
ai_will_do = { factor = 100 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
		add_popularity = {
			ideology = national_populist
			popularity = -0.02
		}
	}
 }
#Native Sergeants
focus = {
id = KEN_nativesergeants
icon = GFX_replacethecolonialcharter
x = 3
y = 8
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_lowlandroadgrants } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.03
	army_experience = 15
	}
 }
#Obliterate Leftist Influence
focus = {
id = KEN_obliterateleftistinfluence
icon = GFX_HOL_red_scare
x = 9
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_breakuphappyvalley } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_stability = 0.03
		every_owned_state = {
			add_resistance = -5
		}
	}
}

#The Scouts
focus = {
id = KEN_statusofthescouts
icon = GFX_militarisethemissionschools
x = 5
y = 8
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_workerreforms focus = KEN_lowlandroadgrants focus = KEN_continuedesecularisation focus = KEN_promotenativeharmony } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.27
	}
 }
#The Veterans Associations
focus = {
id = KEN_theveteransassociations
icon = GFX_armspurchases
x = 5
y = 10
cost = 2
available_if_capitulated = no
prerequisite = { focus = KEN_statusofthescouts } 
ai_will_do = { factor = 100 }
completion_reward = {
	country_event = kenia.28
	}
 }
 
#Neuter the Council
focus = {
id = KEN_neuterthecouncil
icon = GFX_goal_DEI_focus_disband_volksraad
x = 7
y = 8
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_continuedesecularisation } 
ai_will_do = { factor = 100 }
completion_reward = {
	add_political_power = 50
	add_war_support = 0.03
	decrease_ruling_party_popularity_by_5 = yes
	}
 }
#Unite Ostafrika
focus = {
id = KEN_uniteostafrika
icon = GFX_finishtheinsurgency
x = 6
y = 9
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_neuterthecouncil } 
available = {
is_in_faction = no
		MAF = {
			exists = no
		}
	TZN = {
		exists = yes
	}
}
ai_will_do = { 
			factor = 10
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = TZN ratio < 1 }
			}
			modifier = {
				factor = 0
				TZN = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				NMB = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
completion_reward = {
		declare_war_on = {
			target = TZN
			type = annex_everything
		}
	}
 }
#Scientific Drive
focus = {
id = KEN_scientificdrive
icon = GFX_foundinac
x = 8
y = 10
cost = 5
available_if_capitulated = no
prerequisite = { focus = KEN_obliterateleftistinfluence }
prerequisite = { focus = KEN_neuterthecouncil focus = KEN_embracethemissions }
ai_will_do = { factor = 100 }
completion_reward = {
	add_research_slot_until_five = yes
	}
 }
 
##################################
#Kenya Focus Tree
#Brought to you by 00matthew2000 and Foppe
##################################

	#Focus for The economy you fools!
	focus = {
		id = KEN_theeconomyyoufools
		icon = GFX_BBR_paternalistic_economy
		x = 30
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_anewcenter }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_hunttheagrarianist"
			add_timed_idea = {
			idea = KEN_Economic_Relief_idea
			days = 25
			}
			add_popularity = {
			ideology = social_liberal
			popularity = 0.05
			}
			add_popularity = {
			ideology = social_democrat
			popularity = 0.05
			}		
		}
	}

	#Focus for expand the arms industry
	focus = {
		id = KEN_expandthearmsindustry
		icon = GFX_focus_generic_military_equipment
		x = 7
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_agoodeconomist }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_expandthearmsindustry"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			random_owned_state = {
				limit = {
					is_core_of = KEN
					is_controlled_by = KEN
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					is_core_of = KEN
					is_controlled_by = KEN
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Industrial Research
	focus = {
		id = KEN_industrialresearch
		icon = GFX_goal_military_research
		x = 3
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_agoodeconomist }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_industrialresearch"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_political_power = 35
			add_tech_bonus = {
				name = KEN_industrial_bonus
				bonus = 1
				uses = 1
				category = industry
				}
			}
	}

	#Focus for Deal with the Oligarchical Collectevists
	focus = {
		id = KEN_dealwiththeoligarchicalcollectevists
		icon = GFX_HUN_total_collectivization
		x = 10
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_thesteelsword }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_dealwiththeoligarchicalcollectevists"
			country_event = ugken.14
			add_stability = -0.15
		}
	}

	#Focus for Deal With the Fanatics
	focus = {
		id = KEN_dealwiththefanatics
		icon = GFX_goal_KEN_deal_with_fanatics
		x = 26
		y = 1
		cost = 5
		available_if_capitulated = no
		available = {
			NOT = { 
				country_exists = KIK
			}
		}
		ai_will_do = {
			factor = 500
		}
		completion_reward = {
			add_popularity = {
				ideology = national_populist
				popularity = -0.1
			}
			add_popularity = {
				ideology = totalist
				popularity = -0.1
			}
	if = {
		limit = {
			has_idea = KEN_settlers_strong
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strong
			add_idea = KEN_settlers_overwhelming
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_strengthened
			}
		swap_ideas = {
			remove_idea = KEN_settlers_strengthened
			add_idea = KEN_settlers_strong
			}	
		}	
		if = {
		limit = {
			has_idea = KEN_settlers
			}
		swap_ideas = {
			remove_idea = KEN_settlers
			add_idea = KEN_settlers_strengthened
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_weak
			add_idea = KEN_settlers
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_very_weak
			}
		swap_ideas = {
			remove_idea = KEN_settlers_very_weak
			add_idea = KEN_settlers_weak
			}
		}
		if = {
		limit = {
			has_idea = KEN_settlers_neutered
			}
		swap_ideas = {
			remove_idea = KEN_settlers_neutered
			add_idea = KEN_settlers_very_weak
			}	
		}
		custom_effect_tooltip = KEN_willincreasesettlerdominance
		}
	}

	#Focus for Deal with the False Liberals
	focus = {
		id = KEN_dealwiththefalseliberals
		icon = GFX_goal_SIC_destroy_liberalism
		x = 7
		y = 11
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_thesteelsword }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_dealwiththefalseliberals"
			country_event = ugken.21
			}
	}

	#Focus for The Steel Sword
	focus = {
		id = KEN_thesteelsword
		icon = GFX_goal_KEN_steel_sword
		x = 11
		y = 10
		cost = 1
		available = {
			OR = {
				has_completed_focus = KEN_requestautonomy
				has_completed_focus = KEN_responsiblegovernment
				has_country_flag = vigilancecommittehandedbackpower
			}
		}
		bypass = {
			has_country_flag = vigilancecommitteheldon
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		mutually_exclusive = { 
			focus = KEN_aunitedfront
			focus = KEN_anewdeal
		}
		completion_reward = {
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.20
		}
		set_politics = {
		ruling_party = authoritarian_democrat
		}
		create_country_leader = {
		name = "Robert Leaky"
		desc = "POLITICS_BOB_LEAKY_DESC"
		picture = "gfx/leaders/KEN/Portrait_Kenya_Bob_Leaky.png"
		expire = "1.1.1"
		ideology = oligarchy_subtype
		traits = {}
		}
		if = {
			limit = {
				has_completed_focus = KEN_requestautonomy
			}
		MAF = {
			country_event = {
				id = ugken.2
				days = 1
					}
				}
			}
		}
	}

	#Focus for A good Economist
	focus = {
		id = KEN_agoodeconomist
		icon = GFX_goal_KEN_good_economist
		x = 5
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_dealwiththefalseliberals }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_agoodeconomist"
			add_ideas = KEN_Inventor_idea
			add_tech_bonus = {
				name = KEN_goodeconomist
				bonus = 1
				uses = 1
				category = electronics
			}
		}
	}

	#Focus for reassure companies
	focus = {
		id = KEN_reassurecompanies
		icon = GFX_goal_CSA_strenght_through_industry
		x = 5
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_agoodeconomist }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_reassurecompanies"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			country_event = ugken.6
		}
	}

	#Focus for Dig Deeper
	focus = {
		id = KEN_digdeeper
		icon = GFX_goal_generic_dig_for_wealth
		x = 3
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_industrialresearch }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_digdeeper"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_ideas = KEN_Mining_Prowess
		}
	}

	#Focus for Deal with Trade Unions
	focus = {
		id = KEN_dealwithtradeunions
		icon = GFX_GBR_fate_of_unions
		x = 5
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_reassurecompanies }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_dealwithtradeunions"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_popularity = { ideology = totalist popularity = -0.1 }
			add_popularity = { ideology = radical_socialist popularity = -0.1 }
			add_popularity = { ideology = syndicalist popularity = -0.1 }
			add_popularity = { ideology = social_democrat popularity = -0.1 }
			hidden_effect = {
			add_timed_idea = {
				idea = KEN_Trade_Union_Resistance
				days = 25
				}
			}
		}
	}

	#Focus for Nairobian Military Industry Complex(NMIC)
	focus = {
		id = KEN_nairobianmilitaryindustrycomplexnmic
		icon = GFX_goal_factory_complex
		x = 7
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_expandthearmsindustry }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_dealwithtradeunions"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			country_event = ugken.7
			add_political_power = 30
		}
	}

	#Focus for We are in the Green lads
	focus = {
		id = KEN_weareinthegreenlads
		icon = GFX_ITA_no_money
		x = 5
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_digdeeper 
		}
		prerequisite = { 
			focus = KEN_dealwithtradeunions 
		}
		prerequisite = { 
			focus = KEN_nairobianmilitaryindustrycomplexnmic 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_weareinthegreenlads"
			add_political_power = 50
			add_command_power = 20
		}
	}

	#Focus for A black Storm
	focus = {
		id = KEN_ablackstorm
		icon = GFX_goal_KEN_black_storm
		x = 9
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_dealwiththeoligarchicalcollectevists }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_ablackstorm"
			add_ideas = KEN_Yunarmiya_idea
			add_stability = 0.03
		}
	}

	#Focus for Cut Their Heads
	focus = {
		id = KEN_cuttheirheads
		icon = GFX_goal_KEN_cut_off_their_heads
		x = 9
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_ablackstorm }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_cuttheirheads"
			custom_effect_tooltip = KEN_blackshirt_attack
			add_popularity = { ideology = totalist popularity = -0.05 }
			add_popularity = { ideology = radical_socialist popularity = -0.05 }
			add_popularity = { ideology = syndicalist popularity = -0.05 }
			add_popularity = { ideology = social_democrat popularity = -0.05 }
			add_political_power = -20
			add_stability = 0.03
		}
	}

	#Focus for Hunt Their Troops
	focus = {
		id = KEN_hunttheirtroops
		icon = GFX_CAL_dewitt_raids
		x = 11
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_dealwiththeoligarchicalcollectevists }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_cuttheirheads"
			country_event = ugken.15
			add_manpower = -500
			add_stability = 0.03
		}
	}

	#Focus for Collectivists?What Collectivists?
	focus = {
		id = KEN_collectivistswhatcollectivists
		icon = GFX_thenativesaregone
		x = 10
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_grabthecollectivists 
		}
		prerequisite = { 
			focus = KEN_cuttheirheads 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_grabthecollectivists"
			add_ideas = KEN_Legacy_of_Revolt_idea			
		}
	}

	#Focus for Grab The Collectivists
	focus = {
		id = KEN_grabthecollectivists
		icon = GFX_BBR_crush_black_socialists
		x = 11
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_hunttheirtroops }
		ai_will_do = {
			factor = 100
		}
		select_effect = {
		country_event = { id = ugken.16 days = 40 }
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_grabthecollectivists"
			add_timed_idea = {
			idea = KEN_Attack_Students_idea
			days = 30
			}			
		}
	}

	#Focus for Deal with the Internationalists
	focus = {
		id = KEN_dealwiththeinternationalists
		icon = GFX_goal_CSA_internationale_treachery
		x = 24
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_anewleft }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_dealwiththeinternationalists"
			add_ideas = KEN_Thwart_Internationale_idea
			}
	}

	#Focus for Break the Commune
	focus = {
		id = KEN_breakthecommune
		icon = GFX_HOL_red_scare
		x = 24
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_dealwiththeinternationalists }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_breakthecommune"
			add_popularity = { ideology = social_democrat popularity = 0.07 }
			add_popularity = { ideology = social_liberal popularity = 0.07 }
			add_manpower = -200
			add_stability = 0.02
			}
	}

	#Focus for Nationalization of Civic Industry
	focus = {
		id = KEN_nationalizationofcivicindustry
		icon = GFX_BBR_rapid_nationalisation
		x = 32
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_theeconomyyoufools }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_nationalizationofcivicindustry"
			KEN_economic_recovery = yes
			country_event = ugken.10
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			}
	}

	#Focus for Hear their Pleads
	focus = {
		id = KEN_heartheirpleads
		icon = GFX_goal_MAF_7_11_b
		x = 32
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_nationalizationofcivicindustry }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_heartheirpleads"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_ideas = KEN_The_People_idea
			random_owned_state = {
				limit = {
					is_core_of = KEN
					is_controlled_by = KEN
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	#Focus for Bring European Investers Back
	focus = {
		id = KEN_bringeuropeaninvestersback
		icon = GFX_goal_KEN_european_investments
		x = 28
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_theeconomyyoufools }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_bringeuropeaninvestersback"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_political_power = 35
			add_tech_bonus = {
				name = KEN_industrial_bonus
				bonus = 1
				uses = 1
				category = industry
				}
			}
	}

	#Focus for Fix the Barrier
	focus = {
		id = KEN_fixthebarrier
		icon = GFX_MON_army_money
		x = 28
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_bringeuropeaninvestersback }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_fixthebarrier"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			country_event = ugken.11
		}
	}

	#Focus for A deal with the Workers
	focus = {
		id = KEN_adealwiththeworkers
		icon = GFX_CAL_workers_compensation_act
		x = 30
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_theeconomyyoufools }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_adealwiththeworkers"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_ideas = KEN_Labor_Deal_idea
		}
	}

	#Focus for Trade Union Concession
	focus = {
		id = KEN_tradeunionconcession
		icon = GFX_NEE_union_ties
		x = 30
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_adealwiththeworkers }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_tradeunionconcession"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			swap_ideas = {
			remove_idea = KEN_Labor_Deal_idea
			add_idea = KEN_Labor_Deal_Two_idea
			}
		}
	}

	#Focus for The Golden Economy
	focus = {
		id = KEN_thegoldeneconomy
		icon = GFX_goal_generic_transfer_walth
		x = 30
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_fixthebarrier 
		}
		prerequisite = { 
			focus = KEN_tradeunionconcession 
		}
		prerequisite = { 
			focus = KEN_heartheirpleads 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_thegoldeneconomy"
			add_ideas = KEN_Golden_Economy_idea
		}
	}

	#Focus for Join Germany
	focus = {
		id = KEN_rejoin_germany
		icon = GFX_goal_germany
		x = 16
		y = 1
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_chaosinthesouth }
		available = {
			threat > 0.6
			KEN = { is_in_faction = no }
			country_exists = GER
			is_subject = no
			has_completed_focus = KEN_newbureaucratictalent
			NOT = {
				has_completed_focus = KEN_vigilance_coup
			}
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_rulebritannia"
			if = {
				limit = {
					country_exists = GER
						GER = {
							is_faction_leader = yes
						}
					}
				GER = {
					country_event = sharedafrika.2
				}
			}
		}
	}
	
	#Focus for Rule Britannia
	focus = {
		id = KEN_rulebritannia
		icon = GFX_goal_KEN_british_kenya
		x = 21
		y = 2
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_independentinstitutions }
		prerequisite = { focus = KEN_seekmittelafrikanbacking }
		available = {
			threat > 0.6
			KEN = { is_in_faction = no }
			country_exists = ENT
			is_subject = no
			OR = {
			NOT = {
				has_completed_focus = KEN_newbureaucratictalent
			}
			OR = {
				has_completed_focus = KEN_expandlegislativecouncil
				has_government = national_populist
				}
			}
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 0
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_rulebritannia"
			if = {
				limit = {
					country_exists = ENT
						ENT = {
							is_faction_leader = yes
						}
					}
				ENT = {
					country_event = sharedafrika.2
				}
			}
		}
	}

	#Focus for Free Healtcare
	focus = {
		id = KEN_freehealtcare
		icon = GFX_goal_healthcare
		x = 26
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_freeeducation }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_breakthecommune"
			country_event = ugken.20
			}
	}

	#Focus for Free education
	focus = {
		id = KEN_freeeducation
		icon = GFX_fund_black_education
		x = 26
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_anewleft }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_freeeducation"
			add_ideas = KEN_Free_Education_idea
			}
	}

	#Focus for The Kenyan Dream
	focus = {
		id = KEN_thekenyandream
		icon = GFX_goal_KEN_kenyan_dream
		x = 25
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_breakthecommune 
		}
		prerequisite = { 
			focus = KEN_freehealtcare 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_freeeducation"
			add_popularity = {
			ideology = social_liberal
			popularity = 0.03
			}
			add_popularity = {
			ideology = social_democrat
			popularity = 0.03
			}
			add_manpower = 2000
			add_stability = 0.05
			add_political_power = 25
		}
	}


	#Focus for A New Deal
	focus = {
		id = KEN_anewdeal
		icon = GFX_goal_KEN_united_front
		x = 23
		y = 10
		cost = 1
		available = {
			OR = {
				has_completed_focus = KEN_requestautonomy
				has_country_flag = vigilancecommittehandedbackpower
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1000
		}
		mutually_exclusive = { 
			focus = KEN_thesteelsword
			focus = KEN_aunitedfront
		}
		completion_reward = {
		add_popularity = {
			ideology = social_liberal
			popularity = 0.15
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.15
		}
		set_politics = {
			ruling_party = social_liberal
			elections_allowed = no
		}
		create_country_leader = {
		name = "Nigel Leaky"
		desc = "POLITICS_NIGEL_LEAKY_DESC"
		picture = "gfx/leaders/KEN/Portrait_Kenya_Nigel_Leaky.png"
		expire = "1.1.1"
		ideology = soclib_agrarianism_subtype
		traits = {}
		}
		hidden_effect = {
		add_ideas = {
		KEN_Malcolm_MacDonald_hog_sde
		KEN_Joseph_Murumbi_for_sde
		KEN_James_Gichuru_eco_sli
		KEN_Milton_Obote_sec_sde
			}
		}
		MAF = {
			country_event = {
				id = ugken.4
				days = 1
				}
			}	
		}
	}

	#Focus for A New Center
	focus = {
		id = KEN_anewcenter
		icon = GFX_goal_KEN_new_center
		x = 30
		y = 11
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_anewdeal }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_anewcenter"
			add_ideas = KEN_Popular_Politics_idea
		}
	}

	#Focus for A New Left
	focus = {
		id = KEN_anewleft
		icon = GFX_goal_KEN_new_left
		x = 25
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_anewdeal }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_anewleft"
			country_event = ugken.19
		}
	}

	#Focus for Hunt the Agrarianist
	focus = {
		id = KEN_hunttheagrarianist
		icon = GFX_goal_KEN_hunt_down_the_agrarianists
		x = 13
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_rebelliousworker }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_hunttheagrarianist"
			add_timed_idea = {
			idea = KEN_Agrarian_Hunt_idea
			days = 40
			}	
			add_popularity = {
			ideology = market_liberal
			popularity = 0.05
			}
			add_popularity = {
			ideology = social_conservative
			popularity = 0.05
			}		
		}
	}

	#Focus for Contact the Chinese
	focus = {
		id = KEN_contactthechinese
		icon = GFX_goal_KEN_contact_chinese
		x = 18
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_thepacifickraken }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_contactthechinese"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			KEN_Chinese_Trade = yes
			}
	}

	#Focus for A Popular Kenya
	focus = {
		id = KEN_apopularkenya
		icon = GFX_goal_KEN_popular_kenya
		x = 28
		y = 16
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_thekenyandream 
		}
		prerequisite = { 
			focus = KEN_thegoldeneconomy 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_apopularkenya"
			swap_ideas = {
			remove_idea = KEN_Popular_Politics_idea
			add_idea = KEN_Popular_Politics_two_idea
			}
		}
	}

	#Focus for a Nationalist Kenya
	focus = {
		id = KEN_anationalistkenya
		icon = GFX_goal_KEN_nationalist_kenya
		x = 7
		y = 16
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_weareinthegreenlads 
		}
		prerequisite = { 
			focus = KEN_collectivistswhatcollectivists 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_anationalistkenya"
			add_ideas = KEN_Nationalist_Kenya_idea
		}
	}


	#Focus for A United Front
	focus = {
		id = KEN_aunitedfront
		icon = GFX_goal_KEN_new_deal
		x = 17
		y = 10
		cost = 1
		available_if_capitulated = no
		available = {
			OR = {
				has_completed_focus = KEN_requestautonomy
				has_country_flag = vigilancecommittehandedbackpower
			}
		}
		ai_will_do = {
			factor = 1000
		}
		mutually_exclusive = { 
			focus = KEN_thesteelsword
			focus = KEN_anewdeal
		}
		completion_reward = {
		add_popularity = {
			ideology = market_liberal
			popularity = 0.15
		}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.15
		}
		set_politics = {
			ruling_party = market_liberal
			elections_allowed = no
		}
		create_country_leader = {
		name = "Rea Leaky"
		desc = "POLITICS_REA_LEAKY_DESC"
		picture = "gfx/leaders/KEN/Portrait_Kenya_Rea_Leaky.png"
		expire = "1.1.1"
		ideology = liberal_conservative_subtype
		traits = {}
		}
		hidden_effect = {
		add_ideas = {
		KEN_Alan_Cunningham_hog_sco
		KEN_Edward_Northey_for_mli
		KEN_Paul_Kiplimo_Boit_eco_sco
		KEN_Robert_Mansergh_sec_mli
		}
	}
	MAF = {
			country_event = {
				id = ugken.3
				days = 1
				}
			}
		}
	}

	#Focus for A new Economy
	focus = {
		id = KEN_aneweconomy
		icon = GFX_HUN_export_economy
		x = 20
		y = 11
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_aunitedfront }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_anationalistkenya"
			add_ideas = KEN_Market_Economics_idea
		}
	}

	#Focus for The European Comes Back
	focus = {
		id = KEN_theeuropeancomesback
		icon = GFX_goal_KEN_european_investments
		x = 22
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_letitfloat }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_theeuropeancomesback"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_political_power = 35
			random_owned_state = {
				limit = {
					is_core_of = KEN
					is_controlled_by = KEN
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
					}
				}
			add_tech_bonus = {
				name = KEN_industry_bonus
				bonus = 0.75
				uses = 2
				category = industry
				}
			}
	}

	#Focus for Bring More Investors
	focus = {
		id = KEN_bringmoreinvestors
		icon = GFX_goal_KEN_bring_in_more_investors
		x = 22
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_theeuropeancomesback }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_bringmoreinvestors"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			add_ideas = KEN_New_Investment_idea
			add_manpower = 500
			}
	}

	#Focus for Cultivate a Capitalist Society
	focus = {
		id = KEN_cultivateacapitalistsociety
		icon = GFX_goal_WCC_side_with_capital
		x = 20
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_letitfloat }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_cultivateacapitalistsociety"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			random_owned_state = {
				limit = {
					is_core_of = KEN
					is_controlled_by = KEN
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
					}
				}
			}
	}

	#Focus for The Capitalist Dream
	focus = {
		id = KEN_thecapitalistdream
		icon = GFX_goal_KEN_capitalist_dream
		x = 20
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_contactthechinese 
		}
		prerequisite = { 
			focus = KEN_themarketliberalideasexpand 
		}
		prerequisite = { 
			focus = KEN_bringmoreinvestors 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_thecapitalistdream"
			swap_ideas = {
			remove_idea = KEN_Market_Economics_idea
			add_idea = KEN_Market_Economics_two_idea
			}
		}
	}

	#Focus for Rebellious Worker
	focus = {
		id = KEN_rebelliousworker
		icon = GFX_goal_KEN_Rebelious_worker
		x = 14
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_aunitedfront }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_rebelliousworker"
			country_event = ugken.17		
		}
	}

	#Focus for Exterminate the plague
	focus = {
		id = KEN_exterminatetheplague
		icon = GFX_goal_KEN_EXTERMINATE
		x = 13
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_hunttheagrarianist }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_solidifycorporatecontrol"
			country_event = ugken.18
		}
	}

	#Focus for Solidify Corporate Control
	focus = {
		id = KEN_solidifycorporatecontrol
		icon = GFX_goal_COR_captains_of_industry
		x = 15
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_rebelliousworker }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_solidifycorporatecontrol"
			random_owned_state = {
				limit = {
					is_core_of = KEN
					is_controlled_by = KEN
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = KEN_corporate_bonus
				bonus = 1
				uses = 1
				category = construction_tech
			}
		}
	}

	#Focus for A Corporate Land
	focus = {
		id = KEN_acorporateland
		icon = GFX_goal_generic_trade
		x = 14
		y = 15
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_exterminatetheplague 
		}
		prerequisite = { 
			focus = KEN_corporatemilitias 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_acorporateland"
			add_ideas = free_trade
		}
	}

	#Focus for A Corporate Kenya
	focus = {
		id = KEN_acorporatekenya
		icon = GFX_goal_KEN_corprate_kenya
		x = 17
		y = 16
		cost = 5
		available_if_capitulated = no
		prerequisite = { 
			focus = KEN_acorporateland 
		}
		prerequisite = { 
			focus = KEN_thecapitalistdream 
		}
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_acorporatekenya"
			swap_ideas = {
			remove_idea = KEN_Market_Economics_two_idea
			add_idea = KEN_Market_Economics_three_idea
			}
		}
	}

	#Focus for Let it Float
	focus = {
		id = KEN_letitfloat
		icon = GFX_goal_bag_of_money
		x = 20
		y = 12
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_aneweconomy }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus KEN_letitfloat"
		add_political_power = 20
		GER = {
			add_opinion_modifier = {
			target = KEN
			modifier = small_decrease
			}
		}
		MAF = {
			add_opinion_modifier = {
			target = KEN
			modifier = small_decrease
			}
		}
		CAN = {
			add_opinion_modifier = {
			target = KEN
			modifier = small_increase
			}
		}
		}
	}

	#Focus for The Pacific Kraken
	focus = {
		id = KEN_thepacifickraken
		icon = GFX_goal_ALA_Japanese_Language_Publications
		x = 18
		y = 13
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_letitfloat }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_thepacifickraken"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			country_event = ugken.8
		}
	}

	#Focus for the Market-liberal ideas expand
	focus = {
		id = KEN_themarketliberalideasexpand
		icon = GFX_goal_CSA_capital_investments
		x = 20
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_cultivateacapitalistsociety }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_themarketliberalideasexpand"
			KEN_economic_recovery = yes
			custom_effect_tooltip = KEN_economic_recovery_tooltip
			country_event = ugken.9
		}
	}

	#Focus for Corporate Militias
	focus = {
		id = KEN_corporatemilitias
		icon = GFX_NEE_state_militias
		x = 15
		y = 14
		cost = 5
		available_if_capitulated = no
		prerequisite = { focus = KEN_solidifycorporatecontrol }
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
			log = "[GetDateText]: [Root.GetName]: Focus KEN_rebelliousworker"
			add_ideas = KEN_Corporate_Militias_idea
		}
	}

#End of focuses
}