focus_tree = {
id = uganda
continuous_focus_position = { x = 0 y = 1700 }
	country = 	{ 
	factor = 0 
		modifier = { 
			add = 20 
			tag = UGA 
		}
	}
#The Muslim Community
focus = {
id = UGA_themuslimcommunity
icon = GFX_themuslimcommunity
x = 6
y = 1
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_settlenationaldisputes }
ai_will_do = {factor = 8 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	country_event = uga.2000
		hidden_effect = {
			MAF = {
				country_event = uga.2000
			}
		}
	}
}
#Kondoism Crackdown
focus = {
id = UGA_kondoismcrackdown
icon = GFX_kondoismcrackdown
x = 2
y = 1
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_settlenationaldisputes }
ai_will_do = {factor = 8 }
completion_reward = {
	add_stability = 0.05
	add_command_power = 10
	}
}
#Indian Policy
focus = {
id = UGA_indianpolicy
icon = GFX_RAJ_India_The_New_India
x = 4
y = 1
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_settlenationaldisputes }
ai_will_do = {factor = 10 }
available = {
	has_idea = UGA_angryindiancommunity
}
completion_reward = {
	country_event = uga.2001
	}
}
#An Official Language
focus = {
id = UGA_anofficiallanguage
icon = GFX_anofficiallanguage
x = 14
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_anewnativeordnance }
prerequisite = { focus = UGA_themodernisers }
ai_will_do = {factor = 10 }
completion_reward = {
	add_political_power = 50
	add_war_support = 0.05
	add_stability = -0.01
	country_event = uga.2002
	}
}
#The Kampala Crisis
focus = {
id = UGA_thekampalacrisis
icon = GFX_thekampalacrisis
x = 11
y = 7
cost = 1
cancelable = no
available_if_capitulated = no
available = {
	NOT = {
		has_completed_focus = UGA_anewagreement
	}	
	NOT = {
		has_idea = UGA_blackmondaybad
		has_idea = UGA_blackmondaylessbad
	}
}
select_effect = {
	country_event = {
		id = uga.2026
		days = 2
	}
}
prerequisite = { focus = UGA_pushorganicideas focus = UGA_anofficiallanguage }
prerequisite = { focus = UGA_antigandaisationmeasures }
ai_will_do = {factor = 10 }
completion_reward = {
	custom_effect_tooltip = UGA_kampalacrisis_tt
	}
}
#A New Native Ordnance
focus = {
id = UGA_anewnativeordnance
icon = GFX_anewnativeordnance
x = 13
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_suppressparochialism }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.1
	add_timed_idea = {
		idea = UGA_newordnance
		days = 90
		}
	country_event = uga.2003
	hidden_effect = {
		MAF = {
			country_event = uga.2003
		}
	}
	if = {
		limit = {
			has_idea = UGA_blackmondaybad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaybad
			add_idea = UGA_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaylessbad
			add_idea = UGA_blackmondayok
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondayok
			}
		swap_ideas = {
			remove_idea = UGA_blackmondayok
			add_idea = UGA_recovered
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
}
#The Union Tradition
focus = {
id = UGA_theuniontradition
icon = GFX_theuniontradition
x = 9
y = 5
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_theanglicanquestion }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2004
	add_popularity = {
		ideology = radical_socialist
		popularity = -0.02
	}
	add_popularity = {
		ideology = syndicalist
		popularity = -0.02
	}	
	add_popularity = {
		ideology = totalist
		popularity = -0.02
	}
	hidden_effect = {
		MAF = {
		country_event = uga.2004
			}
		}
	}
}
#Utilise the Scouts
focus = {
id = UGA_utilisethescouts
icon = GFX_militarisethemissionschools
x = 7
y = 5
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_theanglicanquestion }
ai_will_do = {factor = 10 }
completion_reward = {
	add_war_support = 0.05
	add_political_power = 50
	}
}
#The Modernisers
focus = {
id = UGA_themodernisers
icon = GFX_themodernisers
x = 15
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_banlocalassociations }
ai_will_do = {factor = 10 }
completion_reward = {
		add_ideas = UGA_moderniserbacking
		if = {
		limit = {
			has_idea = UGA_frustratedreformists
			}
		swap_ideas = {
			remove_idea = UGA_frustratedreformists
			add_idea = UGA_thereformistmindset
		}
	}
		add_popularity = {
			ideology = market_liberal
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.02
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.02
		}
	}
}
#A Nation of Migrants
focus = {
id = UGA_anationofmigrants
icon = GFX_anationofmigrants
x = 11
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_expandthelegco }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
		add_popularity = {
			ideology = paternal_autocrat
			popularity = -0.05
		}
	}
}
#Ban Local Associations
focus = {
id = UGA_banlocalassociations
icon = GFX_banlocalassociations
x = 14
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_aunitarystate }
ai_will_do = {factor = 10 }
completion_reward = {
		add_war_support = 0.05
		add_political_power = 50
		add_popularity = {
			ideology = paternal_autocrat
			popularity = -0.05
		}
	}
}
#Suppress Parochialism
focus = {
id = UGA_suppressparochialism
icon = GFX_suppressparochialism
x = 12
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_aconfederation focus = UGA_aunitarystate }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_antiparochialism
	}
}
#Anti-Gandaisation Measures
focus = {
id = UGA_antigandaisationmeasures
icon = GFX_antigandaisationmeasures
x = 12
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_anewnativeordnance }
ai_will_do = {factor = 10 }
completion_reward = {
	add_political_power = 30
	if = {
		limit = {
			has_idea = UGA_ganda_bureaucracy
			}
		swap_ideas = {
			remove_idea = UGA_ganda_bureaucracy
			add_idea = UGA_anewbureaucracy
		}
	}
		add_popularity = {
			ideology = paternal_autocrat
			popularity = -0.05
		}
		add_popularity = {
			ideology = social_conservative
			popularity = -0.05
		}
	}
}
#Expand the LegCo
focus = {
id = UGA_expandthelegco
icon = GFX_expandthelegco
x = 10
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_aconfederation }
ai_will_do = {factor = 10 }
completion_reward = {
	if = {
		limit = {
			has_idea = UGA_frustratedreformists
			}
		swap_ideas = {
			remove_idea = UGA_frustratedreformists
			add_idea = UGA_legcoreforms
		}
	}
		increase_ruling_party_popularity_by_3 = yes
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = 0.05
		}
		add_popularity = {
			ideology = market_liberal
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_conservative
			popularity = 0.02
		}
		add_popularity = {
			ideology = social_democrat
			popularity = 0.02
		}
	}
}
#Embrace Baganda History
focus = {
id = UGA_embracebagandahistory
icon = GFX_embracebagandahistory
x = 5
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_removemailorestrictions }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2048 #The Rise of Buganda
	add_political_power = 50
	}
}
#The Chained King
focus = {
id = UGA_thechainedking
icon = GFX_goal_POL_Reform_Monarchy
x = 6
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_movetomengo }
prerequisite = { focus = UGA_embracebagandahistory }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	increase_ruling_party_popularity_by_3 = yes	
	}
}
#Reaffirm Ganda Appointments
focus = {
id = UGA_reaffirmgandaappointments
icon = GFX_reaffirmgandaappointments
x = 4
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_thekabakasourally focus = UGA_strengthenthelukiiko }
ai_will_do = {factor = 10 }
completion_reward = {
	hidden_effect = {
		country_event = uga.2048 #The Rise of Buganda
	}
	if = {
		limit = {
			has_idea = UGA_ganda_bureaucracy
			}
		swap_ideas = {
			remove_idea = UGA_ganda_bureaucracy
			add_idea = UGA_entrenched_ganda_appointments
			}
		}
	}
}
#Remove Mailo Restrictions
focus = {
id = UGA_removemailorestrictions
icon = GFX_removemailorestrictions
x = 6
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_strengthenthelukiiko }
ai_will_do = {factor = 10 }
completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 2
	}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
				}
			}
	add_stability = -0.02
	if = {
		limit = {
			has_idea = UGA_blackmondaybad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaybad
			add_idea = UGA_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaylessbad
			add_idea = UGA_blackmondayok
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondayok
			}
		swap_ideas = {
			remove_idea = UGA_blackmondayok
			add_idea = UGA_recovered
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
}
#Uganda Congress Party
focus = {
id = UGA_ugandacongressparty
icon = GFX_goal_ideology_authoritarian_democrat
x = 14
y = 9
cost = 1
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
prerequisite = { focus = UGA_legcoelections focus = UGA_conquerednolonger focus = UGA_theartificialpolity }
ai_will_do = {factor = 10 }
bypass = {
	has_government = authoritarian_democrat
	OR = {
		has_country_flag = UGA_electionheld
		has_country_flag = UGA_onepartyucp
		UGA = { is_subject = no }
	}
}
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
#The King Alone
focus = {
id = UGA_thekingalone
icon = GFX_focus_generic_monarchy_1
x = 2
y = 9
cost = 1
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
prerequisite = { focus = UGA_legcoelections focus = UGA_conquerednolonger focus = UGA_codifyabsolutemonarchy }
ai_will_do = {factor = 10 }
bypass = {
	OR = {
		has_government = national_populist
		has_government = paternal_autocrat
		has_government = social_conservative
	}
OR = {
	has_country_flag = UGA_electionheld
	has_country_flag = UGA_absolutemonarchy
	UGA = { is_subject = no }
	}
}
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
#Move to Mengo
focus = {
id = UGA_movetomengo
icon = GFX_movetomengo
x = 3
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_reaffirmgandaappointments }
ai_will_do = {factor = 10 }
completion_reward = {
	set_province_name = { id = 12989 name = "Mengo"}
	add_political_power = 100
	}
}
#We Must Break Kaggwa
focus = {
id = UGA_wemustbreakkaggwa
icon = GFX_wemustbreakkaggwa
x = 4
y = 6
cost = 5
cancelable = no
		select_effect = {
	country_event = {
				id = uga.2005
				days = 1
			}
		}
available_if_capitulated = no
prerequisite = { focus = UGA_movetomengo }
ai_will_do = {factor = 10 }
completion_reward = {
		if = {
		limit = {
			has_idea = UGA_frustratedreformists
			}
		swap_ideas = {
			remove_idea = UGA_frustratedreformists
			add_idea = UGA_cowedreformists
		}
	}	
	custom_effect_tooltip = UGA_breakhim_tt
	}
}
#A New Agreement
focus = {
id = UGA_anewagreement
icon = GFX_anewagreement
x = 5
y = 7
cost = 1
cancelable = no
available = {
	NOT = {
		has_completed_focus = UGA_thekampalacrisis
		}
	NOT = {
		has_idea = UGA_blackmondaybad
		has_idea = UGA_blackmondaylessbad
	}
}
select_effect = {
	country_event = {
		id = uga.2006
		days = 2
	}
}
available_if_capitulated = no
prerequisite = { focus = UGA_pensionoffkeychiefs focus = UGA_thechainedking }
prerequisite = { focus = UGA_wemustbreakkaggwa }
ai_will_do = {factor = 10 }
completion_reward = {
	custom_effect_tooltip = UGA_newagreement_tt
	}
}
#Forge a Uganda
focus = {
id = UGA_forgeauganda
icon = GFX_forgeauganda
x = 11
y = 2
cost = 1
available_if_capitulated = no
mutually_exclusive = { focus = UGA_stickwithbuganda }
prerequisite = {
	focus = UGA_protectoratepolicy
}
ai_will_do = { 
	factor = 10
	modifier = {
		factor = 0
		has_game_rule = {
			rule = UGA_government
			option = UGA_GOVERNMENT_REPUBLIC_COUP
		}
	}
}
completion_reward = {
	country_event = uga.2007
	}
}
#A Confederation
focus = {
id = UGA_aconfederation
icon = GFX_aconfederation
x = 10
y = 3
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_forgeauganda }
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
mutually_exclusive = { focus = UGA_aunitarystate }
ai_will_do = {factor = 10 }
bypass = {
	has_country_flag = UGA_confederationchosen
 }
completion_reward = {
	custom_effect_tooltip = UGA_aconfederation_tt
	}
}
#Settle National Disputes
focus = {
id = UGA_settlenationaldisputes
icon = GFX_goal_SYR_Stop_Jewish_Settlers
x = 16
y = 0
cost = 2

available_if_capitulated = no
prerequisite = { }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	}
}
#Choose a Protectorate Policy
focus = {
id = UGA_protectoratepolicy
icon = GFX_GBR_westerminster_dec
x = 8
y = 1
cost = 1
available_if_capitulated = no

prerequisite = {
	focus = UGA_settlenationaldisputes
}
available = {
	OR = {
		has_global_flag = congo_bush_war
		NOT = {
			country_exists = COG
		}
	}
}
ai_will_do = {factor = 10 }
completion_reward = {
	remove_ideas = UGA_colonialvacuum
	country_event = uga.4
	custom_effect_tooltip = UGA_protectoratepolicy_tt
	}
}
#Us Few Muzungu
focus = {
id = UGA_usfewmuzungu
icon = GFX_goal_ZAM_bolster_brit_control
x = 8
y = 3
cost = 3
available_if_capitulated = no
ai_will_do = { 
factor = 10
}
completion_reward = {
	country_event = uga.2008
	add_stability = 0.05
		hidden_effect = {
			MAF = {
				country_event = uga.2008
			}
			GER = {
				country_event = uga.2008
			}
		}
	}
}
#A Unitary State
focus = {
id = UGA_aunitarystate
icon = GFX_aunitarystate
x = 14
y = 3
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_forgeauganda }
mutually_exclusive = { focus = UGA_aconfederation }
ai_will_do = {factor = 10 }
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	has_country_flag = UGA_unitarystatechosen
}
completion_reward = {
	custom_effect_tooltip = UGA_unitary_tt
	}
}
#Pension Off Key Chiefs
focus = {
id = UGA_pensionoffkeychiefs
icon = GFX_pensionoffkeychiefs
x = 2
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_peasantlandgrants }
prerequisite = { focus = UGA_movetomengo }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_centralisedpower
	add_political_power = -20
	}
}
#Dschibuti Links
focus = {
id = UGA_dschibutilinks
icon = GFX_dschibutilinks
x = 25
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_fightrinderpest }
ai_will_do = {factor = 10 }
completion_reward = {
	ETH = {
		country_event =  { id = uga.20097 days = 44 }
		}
	}
}
#Encourage Egyptian Concerns
focus = {
id = UGA_encourageegyptianconcerns
icon = GFX_goal_EGY_Pyramids
x = 27
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_fightrinderpest }
select_effect = {
	country_event = {
		id = uga.2009
		days = 1
	}
}
ai_will_do = {factor = 10 }
completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		}
		EGY = {
			country_event =  { id = uga.20091 days = 4 }
		}
		SUD = {
			country_event =  { id = uga.20091 days = 4 }
		}
	}
}
#The Salt Lord
focus = {
id = UGA_thesaltlord
icon = GFX_thesaltlord
x = 22
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_nileandlakecommission } 
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_revitalisedsaltindustry
	}
}
#Industrial Development
focus = {
id = UGA_industrialdevelopment
icon = GFX_focus_generic_africa_factory
x = 21
y = 6
cost = 7
mutually_exclusive = { focus = UGA_armsarethefuture }
available_if_capitulated = no
prerequisite = { focus = UGA_thesaltlord } 
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_industrial_development
	add_tech_bonus = {
		bonus = 0.5
		uses = 2
		category = industry
	}
	548 = {
		add_extra_state_shared_building_slots = 3
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		add_building_construction = {
			type = industrial_complex
			level = 1
			instant_build = yes
			}
		}
	add_stability = -0.02
	}
}
focus = {
id = UGA_armsarethefuture
icon = GFX_goal_forced_mil
x = 23
y = 6
cost = 7
available_if_capitulated = no
mutually_exclusive = { focus = UGA_industrialdevelopment }
prerequisite = { focus = UGA_thesaltlord } 
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_military_development
	add_tech_bonus = {
		bonus = 0.25
		uses = 2
		category = industry
	}
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = infantry_weapons
	}	
	548 = {
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = arms_factory
			level = 1
			instant_build = yes
			}
		}
		add_stability = -0.03
	}
}
#Expand Makerere
focus = {
id = UGA_expandmakerere
icon = GFX_goal_military_research
x = 22
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_restorethekingsroads focus = UGA_finishnorthernextension }
prerequisite = { focus = UGA_industrialdevelopment focus = UGA_armsarethefuture }
ai_will_do = {factor = 10 }
completion_reward = {
	add_research_slot_until_five = yes
	if = {
		limit = {
			has_idea = UGA_blackmondaybad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaybad
			add_idea = UGA_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaylessbad
			add_idea = UGA_blackmondayok
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondayok
			}
		swap_ideas = {
			remove_idea = UGA_blackmondayok
			add_idea = UGA_recovered
			}
		}
	custom_effect_tooltip = willreduceblackmonday
	}
}
#Incentivise Development
focus = {
id = UGA_incentivisedevelopment
icon = GFX_labourreserves
x = 26
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_dschibutilinks focus = UGA_encourageegyptianconcerns }
ai_will_do = {factor = 10 }
completion_reward = {
	add_resource = {
		type = steel
		amount = 6
		state = 548
		}
	add_tech_bonus = {
		bonus = 1
		uses = 1
		category = excavation_tech
	}
	add_tech_bonus = {
		bonus = 1
		uses = 1
		category = industry
		}
	}
}	

#Refugees as Labour Reserve
focus = {
id = UGA_refugeesaslabourreserve
icon = GFX_refugeesaslabourreserve
x = 18
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_subsidisemadhvaniandmehta focus = UGA_expandmarkettowns }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_refugeelabour
	add_political_power = -50
	add_stability = -0.02
	}
}
#Nile and Lake Commission
focus = {
id = UGA_nileandlakecommission
icon = GFX_nileandlakecommission
x = 22
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_diversificationefforts focus = UGA_ugandaloanfund }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2010
	}
}
#Finish Northern Extension
focus = {
id = UGA_finishnorthernextension
icon = GFX_goal_KTG_Jungle_Railroad
x = 25
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_incentivisedevelopment }
ai_will_do = {factor = 10 }
completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
			add_extra_state_shared_building_slots = 1
			build_railway = {
				level = 2
				start_province = 8223
				target_province = 7133
			}
		}
	}
}
#Restore the King's Roads
focus = {
id = UGA_restorethekingsroads
icon = GFX_goal_construction
x = 19
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_refugeesaslabourreserve }
ai_will_do = {factor = 10 }
completion_reward = {
	every_owned_state = {
		add_building_construction = {
		type = infrastructure
		level = 1
		instant_build = yes
			}
		}
		add_stability = -0.02
	}
}
#Uganda Loan Fund
focus = {
id = UGA_ugandaloanfund
icon = GFX_ugandaloanfund
x = 23
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_preservetheucga focus = UGA_thenorthernpowerhouse }
ai_will_do = {factor = 10 }
mutually_exclusive = {
	focus = UGA_diversificationefforts
}
completion_reward = { #add decisions
	add_stability = 0.02
	increase_ruling_party_popularity_by_3 = yes
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	}
}
#Evaluate Bell's Legacy
focus = {
id = UGA_evaluatebellslegacy
icon = GFX_evaluatebellslegacy
x = 19
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_preservetheucga }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_continuebellslegacy
	}
}
#Subsidise Madhvani and Mehta
focus = {
id = UGA_subsidisemadhvaniandmehta
icon = GFX_subsidisemadhvaniandmehta
x = 19
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_evaluatebellslegacy }
ai_will_do = {factor = 10 }
completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
				}
			}
		decrease_ruling_party_popularity_by_5 = yes
		add_stability = -0.02
	}
}
#Expand Market Towns
focus = {
id = UGA_expandmarkettowns
icon = GFX_goal_agrarian_reform
x = 17
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_evaluatebellslegacy }
prerequisite = { focus = UGA_discouragewageraiders }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_market_towns
	add_offsite_building = { type = industrial_complex level = -1 }
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	}
}
#Fight Rinderpest
focus = {
id = UGA_fightrinderpest
icon = GFX_fightrinderpest
x = 25
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_thenorthernpowerhouse }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_theclearances
	add_stability = -0.02
	}
}
#Cash Crops for Oil
focus = {
id = UGA_cashcropsforoil
icon = GFX_goal_basic_oil
x = 17
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_refugeesaslabourreserve }
ai_will_do = {factor = 10 }
completion_reward = {
	add_resource = {
		type = oil
		amount = 8
		state = 548
		}
		add_fuel = 15000
	}
}
#Forts
focus = {
id = UGA_equatoriafortifications
icon = GFX_goal_nested_fortifications
x = 28
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_incentivisedevelopment }
prerequisite = { focus = UGA_khartoumermercenaries }
ai_will_do = {factor = 10 }
completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
					add_building_construction = {
						type = bunker
						level = 1
						province = 7133
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 1
						province = 8223
						instant_build = yes
					}
					add_building_construction = {
						type = bunker
						level = 1
						province = 12929
						instant_build = yes
					}
				}
	}
}
#The Pearl of Mittelafrika
focus = {
id = UGA_thepearlofmittelafrika
icon = GFX_thepearlofmittelafrika
x = 21
y = 1
cost = 3
available_if_capitulated = no
prerequisite = {
focus = UGA_settlenationaldisputes
}
ai_will_do = {factor = 10 }
completion_reward = {
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = industry
		}
	}
}
#Education is Vital
focus = {
id = UGA_educationisvital
icon = GFX_educationisvital
x = 12
y = 1
cost = 2
available_if_capitulated = no
available = {
	NOT = {
		has_idea = UGA_blackmondaybad
		has_idea = UGA_blackmondaylessbad
	}
}
prerequisite = { focus = UGA_settlenationaldisputes }
ai_will_do = {factor = 8 }
completion_reward = {
	add_stability = 0.05
	}
}
#Crush the Nyambiri
focus = {
id = UGA_crushthenyambiri
icon = GFX_crushthenyambiri
x = 10
y = 1
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_settlenationaldisputes }
ai_will_do = {factor = 8 }
completion_reward = {
	add_war_support = 0.05
	army_experience = 5
	add_manpower = -120
	}
}
#Discourage Wage Raiders
focus = {
id = UGA_discouragewageraiders
icon = GFX_discouragewageraiders
x = 14
y = 1
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_settlenationaldisputes }
available = {
	has_idea = UGA_wageraiders
}
bypass = {
	has_completed_focus = UGA_theuniontradition
	NOT = {
		has_idea = UGA_wageraiders
	}
}
ai_will_do = {factor = 8 }
completion_reward = {
	increase_ruling_party_popularity_by_3 = yes
if = {
	limit = {
		has_idea =UGA_wageraiders
		}
		swap_ideas = {
			remove_idea = UGA_wageraiders
			add_idea = UGA_regulatedwageraiders
			}
		}
	}
}
#Enshrine Bataka Rights
focus = {
id = UGA_enshrinebatakarights
icon = GFX_enshrinebatakarights
x = 2
y = 4
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_thekabakasourally }
ai_will_do = {factor = 10 }
completion_reward = {
	increase_ruling_party_popularity_by_10 = yes
	country_event =  uga.2011
		hidden_effect = {
		MAF = {
			country_event =  { id = uga.2011 days = 1 }
			}
		GER = {
			country_event =  { id = uga.2011 days = 1 }
			}
		}
	}
}
#The Kabaka's Our Ally
focus = {
id = UGA_thekabakasourally
icon = GFX_thekabakasourally
x = 2
y = 3
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_stickwithbuganda }
mutually_exclusive = { focus = UGA_strengthenthelukiiko }
ai_will_do = {factor = 10 }
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	has_country_flag = UGA_alignedwiththekabaka
}
completion_reward = {
	custom_effect_tooltip = UGA_kabakaally_tt
	}
}
#Strengthen the Lukiiko
focus = {
id = UGA_strengthenthelukiiko
icon = GFX_strengthenthelukiiko
x = 6
y = 3
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_stickwithbuganda }
mutually_exclusive = { focus = UGA_thekabakasourally }
ai_will_do = {factor = 10 }
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	has_country_flag = UGA_alignedwiththelukiiko
 }
completion_reward = {
	custom_effect_tooltip = UGA_lukiiko_tt	
	}
}
#Stick with Buganda
focus = {
id = UGA_stickwithbuganda
icon = GFX_stickwithbuganda
x = 5
y = 2
cost = 1
available_if_capitulated = no
mutually_exclusive = { focus = UGA_forgeauganda }
prerequisite = {
	focus = UGA_protectoratepolicy
}
ai_will_do = {
	factor = 10
	modifier = {
		factor = 0
		has_game_rule = {
			rule = UGA_government
			option = UGA_GOVERNMENT_MONARCH_COUP
		}
	}
}
completion_reward = {
	country_event = uga.2012
	}
}
#Peasant Land Grants
focus = {
id = UGA_peasantlandgrants
icon = GFX_peasantlandgrants
x = 1
y = 5
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_enshrinebatakarights }
ai_will_do = {factor = 10 }
completion_reward = {
	add_war_support = 0.1
	hidden_effect = {
		load_oob = "UGA_AFR_KAB"
	}
	if = {
		limit = {
			has_idea = UGA_blackmondaybad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaybad
			add_idea = UGA_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaylessbad
			add_idea = UGA_blackmondayok
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondayok
			}
		swap_ideas = {
			remove_idea = UGA_blackmondayok
			add_idea = UGA_recovered
			}
		}
		custom_effect_tooltip = willreduceblackmonday
	}
}
#The Anglican Question
focus = {
id = UGA_theanglicanquestion
icon = GFX_theanglicanquestion
x = 8
y = 4
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_usfewmuzungu }
prerequisite = { focus = UGA_aunitarystate focus = UGA_aconfederation focus = UGA_thekabakasourally focus = UGA_strengthenthelukiiko }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2013
	hidden_effect = {
		MAF = {
			country_event = uga.2013
			}
		}
	}
}
#Push Organic Ideas
focus = {
id = UGA_pushorganicideas
icon = GFX_pushorganicideas
x = 10
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_anationofmigrants }
prerequisite = { focus = UGA_anewnativeordnance }
ai_will_do = {factor = 10 }
completion_reward = {
	add_war_support = 0.1
	add_popularity = {
		ideology = national_populist
		popularity = 0.01
		}
	}
}
#Preserve the UCGA
focus = {
id = UGA_preservetheucga
icon = GFX_preservetheucga
x = 20
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_fightthecottonplunge }
mutually_exclusive = { focus = UGA_thenorthernpowerhouse }
ai_will_do = {factor = 10 }
completion_reward = {
	decrease_ruling_party_popularity_by_5 = yes
	}
}
#Diversification Efforts
focus = {
id = UGA_diversificationefforts
icon = GFX_newmarkets
x = 21
y = 3
cost = 5
available_if_capitulated = no
mutually_exclusive = {
	focus = UGA_ugandaloanfund
}
prerequisite = { focus = UGA_preservetheucga focus = UGA_thenorthernpowerhouse }
ai_will_do = {factor = 10 }
completion_reward = {
	548 = {
	add_extra_state_shared_building_slots = 1
		}
	if = {
		limit = {
			has_idea = UGA_blackmondaybad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaybad
			add_idea = UGA_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaylessbad
			add_idea = UGA_blackmondayok
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondayok
			}
		swap_ideas = {
			remove_idea = UGA_blackmondayok
			add_idea = UGA_recovered
			}
		}
		custom_effect_tooltip = willreduceblackmonday
	}
}
#The Northern Powerhouse
focus = {
id = UGA_thenorthernpowerhouse
icon = GFX_thenorthernpowerhouse
x = 24
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_fightthecottonplunge }
mutually_exclusive = { focus = UGA_preservetheucga }
ai_will_do = {factor = 10 }
completion_reward = {
	add_offsite_building = { type = industrial_complex level = 1 }
	add_stability = 0.05
	}
}
#Fight the Cotton Plunge
focus = {
id = UGA_fightthecottonplunge
icon = GFX_fightthecottonplunge
x = 23
y = 1
cost = 3
available_if_capitulated = no
available = {
	has_global_flag = black_monday
	has_idea = UGA_blackmondaybad
}
prerequisite = { focus = UGA_settlenationaldisputes }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	if = {
		limit = {
			has_idea = UGA_blackmondaybad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaybad
			add_idea = UGA_blackmondaylessbad
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondaylessbad
			}
		swap_ideas = {
			remove_idea = UGA_blackmondaylessbad
			add_idea = UGA_blackmondayok
			}
		}
		if = {
		limit = {
			has_idea = UGA_blackmondayok
			}
		swap_ideas = {
			remove_idea = UGA_blackmondayok
			add_idea = UGA_recovered
			}
		}
		custom_effect_tooltip = willreduceblackmonday
	}
}
#Ethnic Parties Restrictions
focus = {
id = UGA_ethnicpartiesrestrictions
icon = GFX_ethnicpartiesrestrictions
x = 15
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_battlemalignantforces }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	}
}
#Supporting Forces
focus = {
id = UGA_supportingforces
icon = GFX_supportingforces
x = 32
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_doubledownonswahili }
ai_will_do = {factor = 10 }
completion_reward = {
		army_experience = 5
		add_tech_bonus = {
			bonus = 1
			uses = 2
			category = support_tech
		}
	}
}
#Ugandan Arms
focus = {
id = UGA_ugandanarms
icon = GFX_ugandanarms
x = 34
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_themartialraces focus = UGA_bangthemujaguzo }
ai_will_do = {factor = 10 }
completion_reward = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_0
				amount = 300
				producer = GBR
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
		add_building_construction = {
			type = arms_factory
			level = 1
			instant_build = yes
			}
		}
	}
}
#Purchase Aircraft
focus = {
id = UGA_purchaseaircraft
icon = GFX_purchaseaircraft
x = 34
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_developentebbeairbase }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2014
	}
}
#Bomber Training
focus = {
id = UGA_bombertraining
icon = GFX_goal_bombs_away
x = 33
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_developentebbeairbase }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_bombingtraining
	}
}
#Long Range Patrol Force
focus = {
id = UGA_longrangepatrolforce
icon = GFX_longrangepatrolforce
x = 35
y = 6
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_developentebbeairbase }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_lrpf
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = cat_heavy_fighter
		}
	}
}
#Develop Entebbe Air Base
focus = {
id = UGA_developentebbeairbase
icon = GFX_developentebbeairbase
x = 34
y = 5
cost = 5
available_if_capitulated = no
ai_will_do = {factor = 10 }
available = {
	threat > 0.7
	NOT = {
		has_idea = UGA_blackmondaybad
		has_idea = UGA_blackmondaylessbad
		}
	}
completion_reward = {
		548 = {
			add_building_construction = {
				type = air_base
				level = 1
				instant_build = yes
			}
		}
		air_experience = 5
	}
}
#Improve Officer Training
focus = {
id = UGA_improveofficertraining
icon = GFX_improveofficertraining
x = 30
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_themartialraces }
ai_will_do = {factor = 10 }
completion_reward = {
	every_army_leader = {
		add_skill_level = 1
	}
	army_experience = 10
	}
}
#Khartoumer Mercenaries
focus = {
id = UGA_khartoumermercenaries
icon = GFX_goal_OTT_gendarmerie
x = 30
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_doubledownonswahili }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_khartoumers
	add_stability = -0.01
	}
}
#Regimental Delineation
focus = {
id = UGA_regimentaldelineation
icon = GFX_regimentaldelineation
x = 32
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_themartialraces }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_regimentsbynation
	}
}
#Ruwzenzori Training
focus = {
id = UGA_ruwzenzoritraining
icon = GFX_ruwzenzoritraining
x = 34
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_militaryinfrastructure }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_weathertraining
	}
}
#Gandaise the Fourth
focus = {
id = UGA_gandaisethefourth
icon = GFX_gandaisethefourth
x = 38
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_bangthemujaguzo }
ai_will_do = {factor = 10 }
completion_reward = {
	if = {
		limit = {
			has_idea = UGA_driveforstandardisation
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation
			add_idea = UGA_driveforstandardisation2
			}
		}
		else_if = {
		limit = {
			has_idea = UGA_driveforstandardisation2
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation2
			add_idea = UGA_driveforstandardisation3
			}
		}
		else_if = {
		limit = {
		has_idea = UGA_driveforstandardisation3
		}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation3
			add_idea = UGA_driveforstandardisation4
			}
		}
		if = {
		limit = {
			has_idea = UGA_driveforstandardisation4
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation4
			add_idea = UGA_driveforstandardisation5
			}
		}
	else = {
		custom_effect_tooltip = improvedstandardisation
		}
	}
}
#Legacy of Sub-Imperialism
focus = {
id = UGA_legacyofsubimperialism
icon = GFX_legacyofsubimperialism
x = 36
y = 1
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_bangthemujaguzo }
ai_will_do = {factor = 10 }
completion_reward = {
	if = {
		limit = {
			has_idea = UGA_driveforstandardisation
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation
			add_idea = UGA_driveforstandardisation2
			}
		}
		else_if = {
		limit = {
			has_idea = UGA_driveforstandardisation2
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation2
			add_idea = UGA_driveforstandardisation3
			}
		}
		else_if = {
		limit = {
		has_idea = UGA_driveforstandardisation3
		}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation3
			add_idea = UGA_driveforstandardisation4
			}
		}
		if = {
		limit = {
			has_idea = UGA_driveforstandardisation4
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation4
			add_idea = UGA_driveforstandardisation5
			}
		}
	else = {
		custom_effect_tooltip = improvedstandardisation
		}
	}
}
#Bang the Mujaguzo
focus = {
id = UGA_bangthemujaguzo
icon = GFX_bangthemujaguzo
x = 37
y = 0
cost = 5
available_if_capitulated = no
mutually_exclusive = { focus = UGA_themartialraces }
available = {
	NOT = {
		has_idea = UGA_blackmondaybad
		has_idea = UGA_blackmondaylessbad
		}
	}
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_driveforstandardisation
	add_political_power = -20
	}
}
#The Martial Races
focus = {
id = UGA_themartialraces
icon = GFX_themartialraces
x = 31
y = 0
cost = 5
available_if_capitulated = no
mutually_exclusive = { focus = UGA_bangthemujaguzo }
available = {
NOT = {
	has_idea = UGA_blackmondaybad
	has_idea = UGA_blackmondaylessbad
	}
}
ai_will_do = {factor = 10 }
completion_reward = {
	add_war_support = 0.1
	}
}
#Military Infrastructure
focus = {
id = UGA_militaryinfrastructure
icon = GFX_goal_generic_railway_construction
x = 34
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_ugandanarms }
ai_will_do = {factor = 10 }
completion_reward = {
	add_tech_bonus = {
		bonus = 0.5
		uses = 1
		category = industry
	}
		build_railway = {
			level = 3
			start_province = 12989
			target_province = 13595
		}
	}
}
#Double Down on Swahili
focus = {
id = UGA_doubledownonswahili
icon = GFX_doubledownonswahili
x = 31
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_improveofficertraining }
prerequisite = { focus = UGA_regimentaldelineation }
ai_will_do = {factor = 10 }
completion_reward = {
		add_tech_bonus = {
			bonus = 1
			uses = 1
			category = land_doctrine
		}
	}
}
#Accept English
focus = {
id = UGA_acceptenglish
icon = GFX_acceptenglish
x = 37
y = 2
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_legacyofsubimperialism }
prerequisite = { focus = UGA_gandaisethefourth }
ai_will_do = {factor = 10 }
completion_reward = {
			add_tech_bonus = {
				bonus = 0.25
				uses = 2
				category = land_doctrine
			}
	if = {
		limit = {
			has_idea = UGA_driveforstandardisation
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation
			add_idea = UGA_driveforstandardisation2
			}
		}
		else_if = {
		limit = {
			has_idea = UGA_driveforstandardisation2
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation2
			add_idea = UGA_driveforstandardisation3
			}
		}
		else_if = {
		limit = {
		has_idea = UGA_driveforstandardisation3
		}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation3
			add_idea = UGA_driveforstandardisation4
			}
		}
		if = {
		limit = {
			has_idea = UGA_driveforstandardisation4
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation4
			add_idea = UGA_driveforstandardisation5
			}
		}
	else = {
		custom_effect_tooltip = improvedstandardisation
		}
	}
}
#Doctrinal Debate
focus = {
id = UGA_doctrinaldebate
icon = GFX_doctrinaldebate
x = 31
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_developentebbeairbase }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_unifiedlanguage
	}
}
#Garrison Towns
focus = {
id = UGA_garrisontowns
icon = GFX_garrisontowns
x = 36
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_acceptenglish }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_garrisons
	}
}
#Kampala Military Academy
focus = {
id = UGA_kampalamilitaryacademy
icon = GFX_goal_basic_oil
x = 34
y = 4
cost = 7
available_if_capitulated = no
prerequisite = { focus = UGA_khartoumermercenaries focus = UGA_supportingforces focus = UGA_specialistunits focus = UGA_garrisontowns }
prerequisite = { focus = UGA_ruwzenzoritraining }
ai_will_do = {factor = 10 }
completion_reward = {
	add_offsite_building = { type = synthetic_refinery level = 1 }
	add_offsite_building = { type = fuel_silo level = 1 }
	}
}
#Specialist Units
focus = {
id = UGA_specialistunits
icon = GFX_Generic_Jungle_Ghost
x = 38
y = 3
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_acceptenglish }
ai_will_do = {factor = 10 }
completion_reward = {
	if = {
		limit = {
			has_idea = UGA_driveforstandardisation
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation
			add_idea = UGA_driveforstandardisation2
			}
		}
		else_if = {
		limit = {
			has_idea = UGA_driveforstandardisation2
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation2
			add_idea = UGA_driveforstandardisation3
			}
		}
		else_if = {
		limit = {
		has_idea = UGA_driveforstandardisation3
		}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation3
			add_idea = UGA_driveforstandardisation4
			}
		}
		if = {
		limit = {
			has_idea = UGA_driveforstandardisation4
			}
		swap_ideas = {
			remove_idea = UGA_driveforstandardisation4
			add_idea = UGA_driveforstandardisation5
			}
		}
	else = {
		custom_effect_tooltip = improvedstandardisation
		}
	}
}
#Religious Quotas
focus = {
id = UGA_religiousquotas
icon = GFX_religiousquotas
x = 6
y = 10
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = market_liberal
		has_government = social_democrat
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_democraticparty focus = UGA_coalition }
ai_will_do = {factor = 10 }
completion_reward = {
	add_popularity = {
		ideology = market_liberal
		popularity = 0.1
		}
	add_popularity = {
		ideology = authoritarian_democrat
		popularity = -0.05
		}
	add_popularity = {
		ideology = paternal_autocrat
		popularity = -0.05
		}
	}
}
#Prevention of Intimidation Act
focus = {
id = UGA_preventionofintimidationact
icon = GFX_preventionofintimidationact
x = 4
y = 10
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = market_liberal
		has_government = social_democrat
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_democraticparty focus = UGA_coalition }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.15
	}
}
#Catholic-Agrarian-Indian Coalition
focus = {
id = UGA_coalition
icon = GFX_goal_ideology_social_liberal
x = 8
y = 9
cost = 1
available_if_capitulated = no
available = {
	has_government = social_liberal
}
prerequisite = { focus = UGA_legcoelections focus = UGA_conquerednolonger }
ai_will_do = {factor = 10 }
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
#Protect their smiles
focus = {
id = UGA_protecttheindianminority
icon = GFX_RAJ_Orient
x = 8
y = 10
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = market_liberal
		has_government = social_democrat
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_coalition }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.15
	}
}
#Bana ba Kintu, the Sons of Kintu
focus = {
id = UGA_ugandanfarmersparty
icon = GFX_goal_ideology_social_democrat
x = 11
y = 9
cost = 1
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	has_government = social_democrat
}
prerequisite = { focus = UGA_legcoelections focus = UGA_conquerednolonger }
ai_will_do = {factor = 10 }
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
#Democratic Party
focus = {
id = UGA_democraticparty
icon = GFX_goal_ideology_market_liberal
x = 5
y = 9
cost = 1
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
bypass = {
	has_government = market_liberal
}
prerequisite = { focus = UGA_legcoelections focus = UGA_conquerednolonger }
ai_will_do = {factor = 10 }
completion_reward = {
	custom_effect_tooltip = unlock_focuses
	}
}
#A Provincial Structure
focus = {
id = UGA_aprovincialstructure
icon = GFX_goal_checkmate
x = 14
y = 10
cost = 5
available_if_capitulated = no
available = {
	has_government = authoritarian_democrat
}
prerequisite = { focus = UGA_ugandacongressparty }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas  = UGA_provincialorganisation
	}
}
#Restore Courtly Prestige
focus = {
id = UGA_restorecourtlyprestige
icon = GFX_councilrule
x = 2
y = 10
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = national_populist
		has_government = paternal_autocrat
		has_government = authoritarian_democrat
		has_government = social_conservative
	}
}
prerequisite = { focus = UGA_thekingalone }
ai_will_do = {factor = 10 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	}
}
#Social Welfare
focus = {
id = UGA_socialwelfare
icon = GFX_goal_healthcare
x = 12
y = 10
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = social_democrat
		has_government = market_liberal
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_ugandanfarmersparty focus = UGA_coalition }
ai_will_do = {factor = 10 }
completion_reward = {
	increase_ruling_party_popularity_by_15 = yes
	add_political_power = -50
	}
}
#Monarchic Devotion
focus = {
id = UGA_monarchicdevotion
icon = GFX_focus_rom_royal_dictatorship
x = 0
y = 10
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = national_populist
		has_government = paternal_autocrat
		has_government = authoritarian_democrat
		has_government = social_conservative
	}
}
prerequisite = { focus = UGA_thekingalone }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	}
}
#End the Ginning Ban
focus = {
id = UGA_endtheginningban
icon = GFX_endtheginningban
x = 10
y = 10
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = social_democrat
		has_government = market_liberal
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_ugandanfarmersparty focus = UGA_coalition }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	add_political_power = -30
	}
}
#Freedom of Association
focus = {
id = UGA_freedomofassociation
icon = GFX_freedomofassociation
x = 8
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_utilisethescouts  focus = UGA_theuniontradition }
ai_will_do = { 
factor = 100
}
available = {
	NOT = {
		has_completed_focus = UGA_legcoelections
	}
}
completion_reward = {
	add_stability = 0.1
	add_war_support = 0.05
	country_event = uga.20041
	}
}
#Battle Malignant Forces
focus = {
id = UGA_battlemalignantforces
icon = GFX_goal_purge_opposition
x = 16
y = 10
cost = 5
available_if_capitulated = no
available = {
	has_government = authoritarian_democrat
}
prerequisite = { focus = UGA_ugandacongressparty }
ai_will_do = {factor = 10 }
completion_reward = {
	add_war_support = 0.1
	add_popularity = {
		ideology = radical_socialist
		popularity = -0.05
	}
	add_popularity = {
		ideology = syndicalist
		popularity = -0.05
	}
	}
}
#Absorb the Offices
focus = {
id = UGA_absorbtheoffices
icon = GFX_focus_hol_the_foundations_of_defense
x = 3
y = 11
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = national_populist
		has_government = paternal_autocrat
		has_government = authoritarian_democrat
		has_government = social_conservative
	}
}
prerequisite = { focus = UGA_restorecourtlyprestige }
ai_will_do = {factor = 10 }
completion_reward = {
	add_political_power = 100
	}
}
#LegCo Elections
focus = {
id = UGA_legcoelections
icon = GFX_legcoelections
x = 8
y = 8
cost = 2
available_if_capitulated = no
available = {
	has_country_flag = UGA_willholdelections
	NOT = {
		has_war_with = MAF
	}
	NOT = {
		has_country_flag = dictatorship
	}
}
prerequisite = { focus = UGA_thekampalacrisis focus = UGA_anewagreement }
prerequisite = { focus = UGA_freedomofassociation }
ai_will_do = {
factor = 20
}
	cancelable = no
		select_effect = {
		if = {
			limit = {
				is_subject_of = MAF
				}
		MAF = {
			country_event = {
					id = uga.20151
					days = 3
				}
			}
		GER = {
			country_event = {
					id = uga.20151
					days = 3
				}
			}
		}
	}
completion_reward = {
	country_event = {
		id = uga.2015
		days = 1
	}
	add_stability = 0.1
	}
}
#Development Corporation
focus = {
id = UGA_developmentcorporation
icon = GFX_goal_socialist_infrastructure
x = 11
y = 11
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = social_democrat
		has_government = market_liberal
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_socialwelfare }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_developmentcorp
	}
}
#Lost Counties Referendum
focus = {
id = UGA_lostcountiesreferendum
icon = GFX_goal_DAH_leadering_leaders
x = 13
y = 11
cost = 5
available_if_capitulated = no
available = {
	has_government = authoritarian_democrat
}
prerequisite = { focus = UGA_aprovincialstructure }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2016
	}
}
#Truth and Reconciliation Committee
focus = {
id = UGA_truthandreconciliationcommittee
icon = GFX_truthandreconciliationcommittee
x = 9
y = 11
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = social_democrat
		has_government = market_liberal
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_endtheginningban }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	}
}
#Ban Chiefs From Military Roles
focus = {
id = UGA_banchiefsfrommilitaryroles
icon = GFX_banchiefsfrommilitaryroles
x = 7
y = 11
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = market_liberal
		has_government = social_democrat
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_religiousquotas }
ai_will_do = {factor = 10 }
completion_reward = {
	add_ideas = UGA_detribalisedofficercorps
	}
}
#Tolerate De Facto Alienation
focus = {
id = UGA_toleratedefactoalienation
icon = GFX_goal_LEP_subsidize_villages
x = 5
y = 11
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = market_liberal
		has_government = social_democrat
		has_government = social_liberal
	}
}
prerequisite = { focus = UGA_preventionofintimidationact }
ai_will_do = {factor = 10 }
completion_reward = {
	548 = {
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	add_stability = 0.02
	}
}
#Anti-Indian Boycotts
focus = {
id = UGA_antiindianboycotts
icon = GFX_antiindianboycotts
x = 1
y = 11
cost = 5
available_if_capitulated = no
available = {
	OR = {
		has_government = national_populist
		has_government = paternal_autocrat
		has_government = authoritarian_democrat
		has_government = social_conservative
	}
}
prerequisite = { focus = UGA_monarchicdevotion }
ai_will_do = {factor = 10 }
completion_reward = {
	increase_ruling_party_popularity_by_5 = yes
	add_stability = -0.02
	}
}
 
focus = {
id = UGA_ugandainstitute
icon = GFX_foundinac
x = 8
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_antiindianboycotts focus = UGA_absorbtheoffices focus = UGA_toleratedefactoalienation focus = UGA_banchiefsfrommilitaryroles focus = UGA_truthandreconciliationcommittee focus = UGA_developmentcorporation focus = UGA_lostcountiesreferendum focus = UGA_ethnicpartiesrestrictions }
ai_will_do = {factor = 10 }
completion_reward = {
	add_research_slot_until_five = yes
	}
}
#Foreign Policy
focus = {
id = UGA_foreignpolicy
icon = GFX_foreignpolicy
x = 34
y = 9
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_conquerednolonger focus = UGA_utopiabythelake }
ai_will_do = {
	factor = 1
	modifier = {
		factor = 20
		any_owned_state = {
			is_coastal = yes
		}
	}
}
	available = {
		threat > 0.6
		is_subject = no
	}
completion_reward = {
	add_political_power = 50
	}
}
focus = {
id = UGA_germany
icon = GFX_goal_germany
x = 32
y = 9
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_conquerednolonger focus = UGA_utopiabythelake }
ai_will_do = { 
	factor = 1
	modifier = {
		factor = 0
		has_war = yes
	}
}
available = {
	has_socialist_government = no
	is_subject = no
	is_in_faction = no
	NOT = {
		country_exists = MAF
	}
}
completion_reward = {
	if = {
		limit = {
			country_exists = GER
		GER = {
				is_faction_leader = yes
				}
			}
		GER = {
		country_event = sharedafrika.2
			}
		}
	}
}
focus = {
id = UGA_canada
icon = GFX_goal_canada
x = 36
y = 9
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_conquerednolonger focus = UGA_utopiabythelake }
ai_will_do = { 
	factor = 1
	modifier = {
		factor = 0
		has_war = yes
	}
}
available = {
	has_socialist_government = no
	is_subject = no
	is_in_faction = no
}
completion_reward = {
	if = {
		limit = {
			country_exists = ENT
			ENT = {
				is_faction_leader = yes
				}
			}
			ENT = {
		country_event = sharedafrika.2
			}
		}
	}
}
#The Lost Rift Districts
focus = {
id = UGA_thelostriftdistricts
icon = GFX_focus_generic_treaty
x = 35
y = 10
cost = 5
will_lead_to_war_with = KEN
will_lead_to_war_with = KIK
available_if_capitulated = no
prerequisite = { focus = UGA_foreignpolicy }
	ai_will_do = {
			factor = 106
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = KEN ratio < 1 }
			}
			modifier = {
				factor = 0
				KEN = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				KEN = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			969 = { is_owned_by = ROOT }
			}
		available = {
			is_in_faction = no
			is_subject = no
			can_declare_war_on = 969.owner
			}
	completion_reward = {
		add_state_claim = 969
		declare_war_on = { type = annex_everything target = 969.owner }
		country_event = uga.2019
	}
}
#Renegotiate Kagera
focus = {
id = UGA_renegotiatekagera
icon = GFX_renegotiatekagera
x = 33
y = 10
cost = 5
will_lead_to_war_with = TZN
will_lead_to_war_with = MAF
available_if_capitulated = no
prerequisite = { focus = UGA_foreignpolicy }
	ai_will_do = {
			factor = 106
			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 }
					}
				}
			}
		}
		bypass = {
			918 = { is_owned_by = ROOT }
			}
		available = {
			is_in_faction = no
			is_subject = no
			can_declare_war_on = 918.owner
			}
	completion_reward = {
		add_state_claim = 918
		declare_war_on = { type = annex_everything target = 918.owner }
		country_event = uga.2020
	}
}
#All Kings Under One
focus = {
id = UGA_allkingsunderone
icon = GFX_allkingsunderone
x = 31
y = 11
cost = 5
will_lead_to_war_with = TZN
will_lead_to_war_with = MAF
will_lead_to_war_with = RWA
will_lead_to_war_with = BRD
available_if_capitulated = no
prerequisite = { focus = UGA_foreignpolicy }
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 100
				controls_all_owned_states = yes
			}
			modifier = {
				factor = 100
				strength_ratio = {
					tag = SUD ratio < 1
					ratio > 1
				}
			}
		}
		bypass = {
			869 = { is_owned_by = ROOT }
			870 = { is_owned_by = ROOT }
			}
		available = {
			is_in_faction = no
			is_subject = no
			can_declare_war_on = 869.owner
			can_declare_war_on = 870.owner
			}
completion_reward = {
	country_event = uga.2021
	add_state_claim = 869
	declare_war_on = { type = annex_everything target = 869.owner }
	add_state_claim = 870
	declare_war_on = { type = annex_everything target = 870.owner }
	}
}
#War with Egypt for Equatoria
focus = {
id = UGA_launchcrossborderraids
icon = GFX_goal_EGY_nile_proc
x = 34
y = 11
cost = 5
available_if_capitulated = no
will_lead_to_war_with = EGY
will_lead_to_war_with = SUD
prerequisite = { focus = UGA_foreignpolicy }
	ai_will_do = {
			factor = 106
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = SUD ratio < 1 }
			}
			modifier = {
				factor = 0
				SUD = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				SUD = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		bypass = {
			549 = { is_owned_by = ROOT }
			}
		available = {
			is_in_faction = no
			is_subject = no
			can_declare_war_on = 549.owner
			}
	completion_reward = {
		add_state_claim = 549
		declare_war_on = { type = annex_everything target = 549.owner }
		country_event = uga.2022
	}
}
#Settle the Ilemi Dispute
focus = {
id = UGA_settleillemi
icon = GFX_SOM_goal_put_down_the_lion
x = 37
y = 11
cost = 5
available_if_capitulated = no
will_lead_to_war_with = ETH
available = {
	is_in_faction = no
	has_full_control_of_state = 969
	is_subject = no
	ETH = {
		has_full_control_of_state = 922
	}
	can_declare_war_on = ETH
}
prerequisite = { focus = UGA_foreignpolicy }
	ai_will_do = {
			factor = 106
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				strength_ratio = { tag = ETH ratio < 1 }
			}
			modifier = {
				factor = 0
				ETH = {
					is_in_faction = yes
					any_allied_country = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
			modifier = {
				factor = 0
				ETH = {
					is_subject = yes
					overlord = {
						strength_ratio = { tag = ROOT ratio > 0.8 }
					}
				}
			}
		}
		completion_reward = {
 			if = {
				limit = {
					ETH = {
						has_full_control_of_state = 922
					}
					can_declare_war_on = ETH
				}
			declare_war_on = { target = ETH type = annex_everything }
			}
 		country_event = uga.2023
	}
}
#An Air Marshall
focus = {
id = UGA_anairmarshall
icon = GFX_goal_KTG_Belgian_Officers2
x = 37
y = 7
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_developentebbeairbase }
ai_will_do = {factor = 10 }
completion_reward = {
	air_experience = 30
	}
}
#Entebbe Declaration
focus = {
id = UGA_entebbedeclaration
icon = GFX_goal_MAF_boldly_go
x = 18
y = 9
cost = 2
prerequisite = { focus = UGA_codifyabsolutemonarchy focus = UGA_legcoelections focus = UGA_theartificialpolity }
available = {
	is_subject_of = MAF
}
available_if_capitulated = no
ai_will_do = {factor = 10 }
	completion_reward = {
		drop_cosmetic_tag = yes
			overlord = {
				set_autonomy = {
					target = ROOT
					autonomous_state = autonomy_free
					}
				}
	GER = { remove_from_faction = UGA }
		ROOT = {
			separate_peace_all_wars = yes
		}
		hidden_effect = {
			if = {
				limit = { is_in_faction = yes }
				leave_faction = yes
			}
			if = {
				limit = {
					UGA = {
						has_completed_focus = UGA_thekampalacrisis
					}
				}
				set_cosmetic_tag = UGA_REP
			}
	MAF = {
		country_event = {
				id = uga.2027
				days = 2
				}
			}
		}
	}
}
#Conquered No Longer
focus = {
id = UGA_conquerednolonger
icon = GFX_conquerednolonger
x = 22
y = 8
cost = 2
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
available_if_capitulated = no
ai_will_do = {factor = 10 }
bypass = {
	is_subject = no
}
completion_reward = {
	custom_effect_tooltip = unlock_focuses
}
}
#Seek Coastal Trade Links
focus = {
id = UGA_seekcoastaltradelinks
icon = GFX_seekcoastaltradelinks
x = 19
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_aconstitutionalorder }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2024
		random_owned_state = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
			}
		}
	}
}
#Africanise Key Posts
focus = {
id = UGA_africanisekeyposts
icon = GFX_Generic_Break_Free
x = 20
y = 10
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_aconstitutionalorder }
mutually_exclusive = { focus = UGA_inviteforeignadvisors }
ai_will_do = {factor = 10 }
completion_reward = {
	country_event = uga.2025
	}
}
#Invite Foreign Advisors
focus = {
id = UGA_inviteforeignadvisors
icon = GFX_cutoutthemiddlemen
x = 24
y = 10
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_aconstitutionalorder }
mutually_exclusive = { focus = UGA_africanisekeyposts }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.15
	add_political_power = -30
	}
}
#Postcolonial Measures
focus = {
id = UGA_postcolonialmeasures
icon = GFX_postcolonialmeasures
x = 25
y = 11
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_aconstitutionalorder }
ai_will_do = {factor = 10 }
completion_reward = {
	add_political_power = 50
	}
}
#A Constitutional Order
focus = {
id = UGA_aconstitutionalorder
icon = GFX_reformthecolonialgovernment
x = 22
y = 9.5
cost = 2
available_if_capitulated = no
prerequisite = { focus = UGA_conquerednolonger focus = UGA_utopiabythelake }
ai_will_do = { 
factor = 100
}
completion_reward = {
	country_event = uga.2028
	if = {
		limit = {
			has_cosmetic_tag = UGA_GBR
			}
		drop_cosmetic_tag = yes
		}
	if = {
		limit = {
			has_country_leader = {
				name = "Lionel de Rothschild"
				ruling_only = yes
			}
		}
		drop_cosmetic_tag = yes
		}
	}
}
 
focus = {
id = UGA_boostresearch
icon = GFX_Focus_Examine_Foreign_Science
x = 22
y = 12
cost = 6
available_if_capitulated = no
prerequisite = { focus = UGA_inviteforeignadvisors focus = UGA_africanisekeyposts }
ai_will_do = {factor = 10 }
mutually_exclusive = {
	focus = UGA_socialistscience
}
completion_reward = {
	add_research_slot_until_five = yes
	}
}
#Codify Absolute Monarchy
focus = {
id = UGA_codifyabsolutemonarchy
icon = GFX_goal_POR_royal_edicts
x = 3
y = 8
cost = 2
cancelable = no
available_if_capitulated = no
available = {
	OR = {
		has_country_flag = UGA_blockedelections
		has_country_flag = UGA_electionsfailed
	}
}
prerequisite = { focus = UGA_anewagreement }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	country_event = uga.2029
	hidden_effect = {
	MAF = {
	country_event = uga.2029
		}
	GER = {
	country_event = uga.2029
		}
	}
	UGA = {
		drop_cosmetic_tag = yes
		}
	}
}
#The Artificial Polity
focus = {
id = UGA_theartificialpolity
icon = GFX_replacethecolonialcharter
x = 13
y = 8
cost = 2
cancelable = no
available_if_capitulated = no
available = {
	OR = {
		has_country_flag = UGA_blockedelections
		has_country_flag = UGA_electionsfailed
	}
}
prerequisite = { focus = UGA_thekampalacrisis }
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.05
	country_event = uga.2030
		hidden_effect = {
			MAF = {
				country_event = uga.2030
			}
			GER = {
				country_event = uga.2030
			}
		}
	}
}
#Utopia by the Lake
focus = {
id = UGA_utopiabythelake
icon = GFX_declaretheactvoid
x = 28
y = 8
cost = 5
available_if_capitulated = no
available = {
	custom_trigger_tooltip = {
		tooltip = unlock_focuses
		always = no
	}
}
ai_will_do = {factor = 10 }
bypass = {
	has_socialist_government = yes
}
completion_reward = {
	custom_effect_tooltip = unlock_focuses
}
}
#Redistribute the Land
focus = {
id = UGA_redistributetheland
icon = GFX_Generic_Land_Reform
x = 28
y = 9
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_utopiabythelake }
available = {
	has_socialist_government = yes
}
ai_will_do = {factor = 10 }
completion_reward = {
	increase_ruling_party_popularity_by_20 = yes
	548 = {
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = arms_factory
										size > 0
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
		add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
	every_owned_state = {
		add_extra_state_shared_building_slots = -2
		}
	}
}
#Peasants' Justice
focus = {
id = UGA_peasantsjustice
icon = GFX_Socialist_Law
x = 28
y = 10
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_redistributetheland }
available = {
	has_socialist_government = yes
}
ai_will_do = {factor = 10 }
completion_reward = {
		add_popularity = {
			ideology = paternal_autocrat
			popularity = -0.05
		}
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = -0.05
		}
		add_popularity = {
			ideology = social_conservative
			popularity = -0.05
		}
		add_popularity = {
			ideology = market_liberal
			popularity = -0.05
		}
	}
}
#Peasants' Justice
focus = {
id = UGA_commune
icon = GFX_goal_comfrance
x = 30
y = 9
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_utopiabythelake }
available = {
	has_socialist_government = yes
	is_subject = no
	is_in_faction = no
}
ai_will_do = {factor = 1 }
completion_reward = {
	if = {
		limit = {
			country_exists = INT
			}
		country_event = sharedafrika.10
		}
	}
}
#Syndicates as the Foundation
focus = {
id = UGA_syndicatesasthefoundation
icon = GFX_goal_HOL_council_communism
x = 28
y = 11
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_peasantsjustice }
available = {
	has_socialist_government = yes
}
ai_will_do = {factor = 10 }
completion_reward = {
	add_stability = 0.2
	}
}
#Syndicates as the Foundation
focus = {
id = UGA_socialistscience
icon = GFX_goal_generic_workers_democracy
x = 28
y = 12
cost = 5
available_if_capitulated = no
prerequisite = { focus = UGA_syndicatesasthefoundation }
available = {
	has_socialist_government = yes
}
ai_will_do = {factor = 10 }
mutually_exclusive = {
	focus = UGA_boostresearch
}
completion_reward = {
	add_research_slot_until_five = yes
}
}
}