###########################
# Somalia Focus Tree
# By TheBlackWinds
###########################

focus_tree = {
	id = somalia_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = SOM
		}
	}
	default = no

	continuous_focus_position = { x = 100 y = 2000 }

	focus = {
		id = SOM_strenght
		icon = GFX_goal_authoritarian
		x = 1
		y = 0
		cost = 5
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_strenght"
			add_stability = 0.05
			increase_ruling_party_popularity_by_5 = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_gendarmerie
		icon = GFX_goal_OTT_gendarmerie
		prerequisite = {
			focus = SOM_strenght
		}
		x = 0
		y = 1
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 100
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_gendarmerie"
			add_ideas = SOM_gendarmerie_idea
		}
		search_filters = { FOCUS_FILTER_RESISTANCE }
	}

	focus = {
		id = SOM_crackdownonclanism
		icon = GFX_goal_MON_Finish_Off_Forces_False_Tulku
		mutually_exclusive = {
			focus = SOM_negotiate
		}
		prerequisite = {
			focus = SOM_gendarmerie
		}
		x = -1
		y = 2
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				has_game_rule = {
					rule = SOM_clans
					option = SOM_WARSANGALI_DEMOCRACY
				}
			}
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_crackdownonclanism"
			remove_ideas = SOM_iron_fist_of_warsangali
			activate_mission = SOM_sultans_folly
			add_war_support = -0.05
			add_stability = 0.03
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_unityistrenght
		icon = GFX_SOM_goal_unityistrength
		prerequisite = {
			focus = SOM_crackdownonclanism
		}
		bypass = {
			OR = {
				has_completed_focus = SOM_SRSP_Victory
				has_completed_focus = SOM_GSL_Victory
				has_completed_focus = SOM_SYL_Victory
			}
		}
		x = -1
		y = 3
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 100
				has_game_rule = {
					rule = SOM_clans
					option = SOM_WARSANGALI_PATAUT
				}
			}
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_unityistrenght"
			add_war_support = 0.15
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
	}

	focus = {
		id = SOM_formalizekingdomstructure
		icon = GFX_goal_SOM_crown
		prerequisite = {
			focus = SOM_unityistrenght
		}
		bypass = {
			OR = {
				has_completed_focus = SOM_SRSP_Victory
				has_completed_focus = SOM_GSL_Victory
				has_completed_focus = SOM_SYL_Victory
			}
		}
		x = -1
		y = 4
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 100
				has_game_rule = {
					rule = SOM_clans
					option = SOM_WARSANGALI_PATAUT
				}
			}
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_formalizekingdomstructure"
			country_event = {
				id = som.59
					days = 0
			}
			add_stability = 0.1
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_tfwnoclans
		icon = GFX_goal_NIC_Election_Monitoring
		prerequisite = {
			focus = SOM_formalizekingdomstructure
		}
		bypass = {
			OR = {
				has_completed_focus = SOM_SRSP_Victory
				has_completed_focus = SOM_GSL_Victory
				has_completed_focus = SOM_SYL_Victory
			}
		}
		x = -1
		y = 5
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 100
				has_game_rule = {
					rule = SOM_clans
					option = SOM_WARSANGALI_PATAUT
				}
			}
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_tfwnoclans"
			country_event = som.5
		}
	}

	focus = {
		id = SOM_forthegreatergood
		icon = GFX_goal_generic_police_state
		prerequisite = {
			focus = SOM_tfwnoclans
		}
		bypass = {
			OR = {
				has_completed_focus = SOM_SRSP_Victory
				has_completed_focus = SOM_GSL_Victory
				has_completed_focus = SOM_SYL_Victory
			}
		}
		x = -1
		y = 6
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 100
				has_game_rule = {
					rule = SOM_clans
					option = SOM_WARSANGALI_PATAUT
				}
			}
			modifier = {
				factor = 0
				OR = {
					has_game_rule = {
						rule = SOM_clans
						option = SOM_WARSANGALI_BARRE
					}
					has_game_rule = {
						rule = SOM_clans
						option = SOM_WARSANGALI_NATPOP
					}
				}
			}
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_forthegreatergood"
			add_ideas = SOM_HANGASH
			hidden_effect = {
				country_event = {
					id = som.4
						days = 300
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = SOM_negotiate
		icon = GFX_goal_WCC_republican_traditions
		mutually_exclusive = {
			focus = SOM_crackdownonclanism
		}
		prerequisite = {
			focus = SOM_gendarmerie
		}
		x = 1
		y = 2
		relative_position_id = SOM_strenght
		cost = 2
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				OR = {
					has_game_rule = {
						rule = SOM_clans
						option = SOM_WARSANGALI_PATAUT
					}
					has_game_rule = {
						rule = SOM_clans
						option = SOM_WARSANGALI_BARRE
					}
					has_game_rule = {
						rule = SOM_clans
						option = SOM_WARSANGALI_NATPOP
					}
				}
			}
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_negotiate"
			remove_ideas = SOM_iron_fist_of_warsangali
			add_stability = -0.05
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_unitedinwill
		icon = GFX_RUS_Towards_Greatest_Aim
		prerequisite = {
			focus = SOM_negotiate
		}
		x = 1
		y = 3
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_unitedinwill"
			add_stability = 0.05
			add_war_support = 0.10
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_theassembly
		icon = GFX_goal_NFA_empower_parliament
		prerequisite = {
			focus = SOM_unitedinwill
		}
		x = 1
		y = 4
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_theassembly"
			add_ideas = SOM_theclanassembly
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = SOM_landofthefree
		icon = GFX_goal_generic_elections
		prerequisite = {
			focus = SOM_theassembly
		}
		x = 1
		y = 5
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_landofthefree"
			country_event = som.3
			add_stability = 0.05
			hidden_effect = {
				country_event = {
					id = som.6
						days = 240
				}
			}
		}
	}

	focus = {
		id = SOM_constituitionreform
		icon = GFX_goal_NFA_A_New_Constitution
		prerequisite = {
			focus = SOM_landofthefree
		}
		x = 1
		y = 6
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_constituitionreform"
			add_stability = 0.1
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_justicetraditionsa
		icon = GFX_DKB_Trial
		prerequisite = {
			focus = SOM_constituitionreform
		}
		x = 1
		y = 7
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_justicetraditionsa"
			add_ideas = SOM_xeer_checked
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = SOM_finishgovermentreforms
		icon = GFX_RUS_Reform_The_Judicial_System
		prerequisite = {
			focus = SOM_forthegreatergood
			focus = SOM_justicetraditionsa
		}
		bypass = {
			OR = {
				has_completed_focus = SOM_SRSP_Victory
				has_completed_focus = SOM_GSL_Victory
				has_completed_focus = SOM_SYL_Victory
			}
		}
		x = 0
		y = 8
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_finishgovermentreforms"
			add_ideas = SOM_alles_blau
			add_stability = 0.1
			add_war_support = 0.05
			#set_country_flag = SOM_wediditreddit - note, I have no idea what this fires
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}


	focus = {
		id = SOM_economicaldev
		icon = GFX_goal_AOG_Metal_Cog_Economy
		x = 5
		y = 0
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_economicaldev"
			add_tech_bonus = {
				name = SOM_economicaldev
				bonus = 1
				uses = 1
				category = industry
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_basicinfra
		icon = GFX_goal_CRO_sprawling_roads
		prerequisite = {
			focus = SOM_economicaldev
		}
		x = 7
		y = 1
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_basicinfra"
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_endhunger
		icon = GFX_goal_SZC_improvised_farming_machinery
		prerequisite = {
			focus = SOM_basicinfra
		}
		x = 9
		y = 2
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_endhunger"
			swap_ideas = {
				add_idea = SOM_lesshunger
				remove_idea = SOM_foodplease
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_endhunger2
		icon = GFX_goal_AUS_farmer_bureau
		prerequisite = {
			focus = SOM_endhunger
		}
		x = 9
		y = 3
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_endhunger2"
			remove_ideas = SOM_lesshunger
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_cashcrops
		icon = GFX_PRF_plantations
		prerequisite = {
			focus = SOM_endhunger2
		}
		x = 9
		y = 4
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_cashcrops"
			add_ideas = SOM_cashcrops_idea
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_blackmonday
		icon = GFX_goal_HOL_black_monday
		prerequisite = {
			focus = SOM_economicaldev
		}
		x = 6
		y = 1

		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_blackmonday"
			add_political_power = -75
			swap_ideas = {
			remove_idea = SOM_BM
			add_idea = SOM_BM_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = SOM_warindustries
		icon = GFX_goal_NIC_Military_Industry
		prerequisite = {
			focus = SOM_blackmonday
		}
		x = 5
		y = 2
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_warindustries"
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						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
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_foreignmethods
		icon = GFX_goal_FRA_productive_bourgeoisie
		prerequisite = {
			focus = SOM_warindustries
		}
		x = 5
		y = 3
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_foreignmethods"
			add_ideas = SOM_prodeff
		}
	}
	focus = {
		id = SOM_prepareforwar
		icon = GFX_BRY_Every_Hand_A_Rifle
		prerequisite = {
			focus = SOM_foreignmethods
		}
		x = 5
		y = 4
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_prepareforwar"
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						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
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_lisencsingdeals
		icon = GFX_goal_MEX_open_markets_for_entente
		prerequisite = {
			focus = SOM_prepareforwar
		}
		prerequisite = {
			focus = SOM_higherlearning
		}
		x = 5
		y = 5
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_lisencsingdeals"
			add_tech_bonus = {
				name = SOM_lisencsingdeals
				bonus = 1
				uses = 1
				category = motorized_equipment
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_infra2thereinfraning
		icon = GFX_NEE_infrastructure_integration
		prerequisite = {
			focus = SOM_consumergoods
		}
		prerequisite = {
			focus = SOM_cashcrops
		}
		x = 7
		y = 5
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_infra2thereinfraning"
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_actualportsandairports
		icon = GFX_USA_ports_atlantic
		prerequisite = {
			focus = SOM_lisencsingdeals focus = SOM_infra2thereinfraning
		}
		x = 6
		y = 6
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_actualportsandairports"
			269 = {
				add_building_construction = {
					type = naval_base
					level = 3
					province = 10921
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_statefunded_national_revival
		icon = GFX_GRU_CORPORATE_GROWTH
		prerequisite = {
			focus = SOM_actualportsandairports
		}
		x = 6
		y = 7
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_statefunded_national_revival"
			swap_ideas = {
			remove_idea = SOM_BM_3
			add_idea = SOM_BM_4
			}
			add_war_support = 0.1
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = SOM_pansomaliethos
		icon = GFX_goal_flag_somalia
		prerequisite = {
			focus = SOM_statefunded_national_revival
		}
		x = 6
		y = 8
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_pansomaliethos"
			add_war_support = 0.1
			add_ideas = SOM_great_again
			hidden_effect = {
			country_event = {
				id = som.43
					days = 14
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_put_down_the_lion
		icon = GFX_SOM_goal_put_down_the_lion
		prerequisite = {
			focus = SOM_finishgovermentreforms
			focus = SOM_pansomaliethos
		}
		x = 3
		y = 9
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 100
				date > 1939.01.01
			}
			modifier = {
				factor = 0.1
				has_war = yes
			}
			modifier = {
				factor = 0.1
				ETH = {
					is_in_faction = yes
				}
			}
			modifier = {
				factor = 0
				ETH = {
					overlord = {
						strength_ratio = {
							tag = PREV ratio > 1.0
						}
					}
				}
			}
		}
		available = {
			can_declare_war_on = ETH
			controls_all_owned_states = yes
		}

		bypass = {
			OR = {
				ETH = { is_subject_of = ROOT }
				NOT = { country_exists = ETH }
			}
		}
		will_lead_to_war_with = ETH

		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_put_down_the_lion"
			declare_war_on = {
				target = ETH
				type = annex_everything
			}
			hidden_effect = {
				country_event = {
					id = som.63 # Barre
						days = 360
					random = 180
				}
				country_event = {
					id = som.12 #Husseen's GSL
						days = 360
					random = 180
				}
				country_event = {
					id = som.13 #A Khat Tax
						days = 50
					random = 13
				}
			}
			hidden_effect = {
				SOM = {
					country_event = {
						id = ethiopiaflavour.51
							days = 300 random_days = 30
					}
				}
				SOM = {
					country_event = {
						id = ethiopiaflavour.51
							days = 500 random_days = 30
					}
				}
				ETH = {
					country_event = {
						id = ethiopiaflavour.51
							days = 300 random_days = 30
					}
				}
				ETH = {
					country_event = {
						id = ethiopiaflavour.51
							days = 500 random_days = 30
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

		focus = {
		id = SOM_crush_dschibouti
		icon = GFX_focus_generic_ban_right_wing
		prerequisite = {
			focus = SOM_put_down_the_lion
		}
		x = 3
		y = 10
		relative_position_id = SOM_strenght
		cost = 5
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				DJI = {
					is_in_faction = yes
				}
			}
			modifier = {
				factor = 0
				DJI = {
					overlord = {
						strength_ratio = {
							tag = PREV ratio > 1.0
						}
					}
				}
			}
		}
		available = {
			can_declare_war_on = DJI
			controls_all_owned_states = yes
			DJI = {
				is_in_faction = no
				is_subject = no
			}
		}
		bypass = {
			owns_state = 268
		}
		will_lead_to_war_with = DJI

		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_put_down_the_lion"
			declare_war_on = {
				target = DJI
				type = annex_everything
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = SOM_civilianindustry
		icon = GFX_RUS_The_Industry_Needs_Men
		prerequisite = {
			focus = SOM_blackmonday
		}
		prerequisite = {
			focus = SOM_basicinfra
		}
		x = 7
		y = 2
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_civilianindustry"
			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 = industrial_complex
										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
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_constructechnics
		icon = GFX_focus_rus_industry2
		prerequisite = {
			focus = SOM_civilianindustry
		}
		ai_will_do = {
			factor = 10
		}
		x = 7
		y = 3
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_constructechnics"
			add_tech_bonus = {
				name = SOM_constructechnics
				bonus = 1
				uses = 1
				category = industry
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_consumergoods
		icon = GFX_goal_KIV_equal_market
		prerequisite = {
			focus = SOM_constructechnics
		}
		ai_will_do = {
			factor = 10
		}
		x = 7
		y = 4
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_consumergoods"
			swap_ideas = {
			remove_idea = SOM_BM_2
			add_idea = SOM_BM_3
			}
			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 = industrial_complex
										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
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_politicalgoodwill
		icon = GFX_BBR_International_Peace_movement
		prerequisite = {
			focus = SOM_economicaldev
		}
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = SOM_strenght
		}
		x = 3
		y = 1
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_politicalgoodwill"
			add_stability = 0.1
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_increasealphabetusage
		icon = GFX_goal_OTT_constitution
		prerequisite = {
			focus = SOM_politicalgoodwill
		}
		ai_will_do = {
			factor = 10
		}
		bypass = {
		has_completed_focus = SOM_Modernize_Somalia
		}
		x = 3
		y = 2
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_increasealphabetusage"
			add_ideas = SOM_osmanya
			hidden_effect = {
				country_event = {
					id = som.7
						days = 1
				}
				country_event = {
					id = som.8
						days = 90
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_techslot
		icon = GFX_goal_PAN_Create_the_Universidad_de_Panama
		prerequisite = {
			focus = SOM_increasealphabetusage
		}
		ai_will_do = {
			factor = 10
		}
		bypass = {
		has_completed_focus = SOM_Modernize_Somalia
		}
		x = 3
		y = 3
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_techslot"
			add_political_power = 50
			swap_ideas = {
				remove_idea = SOM_osmanya
				add_idea = SOM_osmanya_2
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = SOM_techslot2
		icon = GFX_goal_KEN_officer_corps
		prerequisite = {
			focus = SOM_higherlearning
		}
		prerequisite = {
			focus = SOM_prepareforwar
		}
		ai_will_do = {
			factor = 10
		}
		x = 3
		y = 5
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_techslot2"
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_higherlearning
		icon = GFX_goal_CZE_rural_education
		prerequisite = {
			focus = SOM_techslot
		}
		ai_will_do = {
			factor = 10
		}
		x = 3
		y = 4
		relative_position_id = SOM_strenght
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_higherlearning"
			add_ideas = SOM_university_rush_get_ballistics
			hidden_effect = {
				country_event = {
					id = som.9
						days = 180
				}
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_royalarmy
		icon = GFX_goal_SOM_army
		x = 17
		y = 10
		cost = 5
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_royalarmy"
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			army_experience = 10
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = SOM_military_doctrine_effort
		icon = GFX_goal_generic_design_equipment_standards
		prerequisite = {
			focus = SOM_royalarmy
		}
		ai_will_do = {
			factor = 10
		}
		x = -2
		y = 1
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_military_doctrine_effort"
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_mobilization_effort
		icon = GFX_goal_integrate_the_militia
		prerequisite = {
			focus = SOM_royalarmy
		}
		ai_will_do = {
			factor = 10
		}
		x = 2
		y = 1
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_mobilization_effort"
			add_ideas = SOM_moredoods
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = SOM_reformsreorgan
		icon = GFX_goal_military_research_2
		prerequisite = {
			focus = SOM_royalarmy
		}
		ai_will_do = {
			factor = 10
		}
		x = 0
		y = 1
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_reformsreorgan"
			add_manpower = 25000
			army_experience = 10
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_MANPOWER }
	}

	focus = {
		id = SOM_unfiedarmy
		icon = GFX_SOM_goal_royalarmy
		prerequisite = {
			focus = SOM_reformsreorgan
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_clanmilitiaarmament }
		x = -2
		y = 2
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_unfiedarmy"
			army_experience = 5
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = SOM_factory
		icon = GFX_goal_OTT_arms_purchase
		prerequisite = {
			focus = SOM_unfiedarmy
		}
		ai_will_do = {
			factor = 10
		}
		x = -1
		y = 3
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_factory"
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						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
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_planning_strategically
		icon = GFX_goal_planning_bonus
		prerequisite = {
			focus = SOM_factory
		}
		ai_will_do = {
			factor = 10
		}
		x = -1
		y = 4
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_planning_strategically"
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_tankbuy
		icon = GFX_goal_light_tanks
		prerequisite = {
			focus = SOM_planning_strategically
		}
		ai_will_do = {
			factor = 10
		}
		x = -1
		y = 5
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_tankbuy"
			add_tech_bonus = {
				name = SOM_tankbuy
				bonus = 1
				uses = 1
				category = armor
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_factory2
		icon = GFX_goal_Focus_Military_Mobilisation
		prerequisite = {
			focus = SOM_tankbuy
		}
		ai_will_do = {
			factor = 10
		}
		x = -1
		y = 6
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_factory2"
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						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
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_equipment
		icon = GFX_goal_generic_basic_weapons
		prerequisite = {
			focus = SOM_unfiedarmy
		}
		ai_will_do = {
			factor = 10
		}
		x = -3
		y = 3
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_equipment"
			add_tech_bonus = {
				name = SOM_equipment
				bonus = 1
				uses = 1
				category = infantry_weapons
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_modern_guns
		icon = GFX_focus_generic_military_equipment
		prerequisite = {
			focus = SOM_equipment
		}
		ai_will_do = {
			factor = 10
		}
		x = -3
		y = 4
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_modern_guns"
			add_tech_bonus = {
				name = SOM_modern_guns
				bonus = 1
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_support_eq
		icon = GFX_goal_generic_support_equipment
		prerequisite = {
			focus = SOM_modern_guns
		}
		ai_will_do = {
			factor = 10
		}
		x = -3
		y = 5
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_support_eq"
			add_tech_bonus = {
				name = SOM_support_eq
				bonus = 1
				uses = 1
				category = engineers_tech
				category = recon_tech
				category = military_police_tech
				category = hospital_tech
				category = logistics_tech
				category = signal_company_tech
				category = maintenance_company_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = SOM_thatsthepointsarge
		icon = GFX_goal_Generic_Jungle_Ratways
		ai_will_do = {
			factor = 10
		}
		prerequisite = {
			focus = SOM_support_companies
		}
		prerequisite = {
			focus = SOM_support_eq
		}
		x = -4
		y = 6
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_thatsthepointsarge"
			add_tech_bonus = {
				name = SOM_thatsthepointsarge
				bonus = 1
				uses = 1
				technology = paratroopers
				technology = paratroopers2
				technology = marines
				technology = marines2
				technology = tech_mountaineers
				technology = tech_mountaineers2
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_support_companies
		icon = GFX_goal_ATH_engineering
		prerequisite = {
			focus = SOM_modern_guns
		}
		ai_will_do = {
			factor = 10
		}
		x = -5
		y = 5
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_support_companies"
			add_tech_bonus = {
				name = SOM_support_companies
				bonus = 1
				uses = 1
				category = engineers_tech
				category = recon_tech
				category = military_police_tech
				category = hospital_tech
				category = logistics_tech
				category = signal_company_tech
				category = maintenance_company_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_clanmilitiaarmament
		icon = GFX_goal_SOM_stand_ready
		prerequisite = {
			focus = SOM_reformsreorgan
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_unfiedarmy }
		x = 2
		y = 2
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_clanmilitiaarmament"
			add_ideas = SOM_militia_equip
		}
	}

	focus = {
		id = SOM_jointplanningteams
		icon = GFX_goal_generic_army_high_command
		prerequisite = {
			focus = SOM_clanmilitiaarmament
		}
		ai_will_do = {
			factor = 10
		}
		x = 1
		y = 3
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_jointplanningteams"
			add_ideas = SOM_planningsped
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = SOM_magarteenartillery
		icon = GFX_goal_SOM_Artillery
		prerequisite = {
			focus = SOM_jointplanningteams
		}
		ai_will_do = {
			factor = 10
		}
		x = 1
		y = 4
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_magarteenartillery"
			add_tech_bonus = {
				name = SOM_magarteenartillery
				bonus = 1
				uses = 1
				category = infantry_weapons
				category = artillery
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = 250
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_isthatamiltiagungiseewithabursa
		icon = GFX_goal_generic_army_training
		prerequisite = {
			focus = SOM_clanmilitiaarmament
		}
		ai_will_do = {
			factor = 10
		}
		x = 3
		y = 3
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_isthatamiltiagungiseewithabursa"
			add_ideas = SOM_militia_fightbetter
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = SOM_clancavreg
		icon = GFX_goal_NEE_mechanical_cavalry
		prerequisite = {
			focus = SOM_isthatamiltiagungiseewithabursa
		}
		ai_will_do = {
			factor = 10
		}
		x = 3
		y = 4
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_clancavreg"
			add_ideas = SOM_cavriders
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = SOM_logisticsformilitoas
		icon = GFX_goal_ATH_logistics
		prerequisite = {
			focus = SOM_magarteenartillery
		}
		ai_will_do = {
			factor = 10
		}
		x = 1
		y = 5
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_logisticsformilitoas"
			add_tech_bonus = {
				name = SOM_logisticsformilitoas
				bonus = 1
				uses = 1
				category = electronics
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_moblity
		icon = GFX_focus_rus_motorised
		prerequisite = {
			focus = SOM_clancavreg
		}
		ai_will_do = {
			factor = 10
		}
		x = 3
		y = 5
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_moblity"
			add_doctrine_cost_reduction = {
	name = land_doc_bonus
	cost_reduction = 0.5
	uses = 1
	category = land_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_hobyoyards
		icon = GFX_SOM_goal_hoboyards
		prerequisite = {
			focus = SOM_clancavreg
		}
		ai_will_do = {
			factor = 10
		}
		x = 5
		y = 5
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_hobyoyards"
			559 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = SOM_onkod_warfare
		icon = GFX_goal_AFG_islamic_revolution
		prerequisite = {
			focus = SOM_moblity
		}
		prerequisite = {
			focus = SOM_logisticsformilitoas
		}
		ai_will_do = {
			factor = 10
		}
		x = 2
		y = 6
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_onkod_warfare"
			add_ideas = SOM_militia_gottagofast
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = SOM_advanced_naval_engagements
		icon = GFX_MAF_naval_aerial_observation
		prerequisite = {
			focus = SOM_hobyoyards
		}
		ai_will_do = {
			factor = 10
		}
		x = 5
		y = 6
		relative_position_id = SOM_royalarmy
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_advanced_naval_engagements"
			add_doctrine_cost_reduction = {
				name = naval_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_inthenavy
		icon = GFX_goal_generic_naval_command
		ai_will_do = {
			factor = 10
			modifier = {
			factor = 10
				has_completed_focus = SOM_actualportsandairports
			}
		}
		x = 30
		y = 9
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_inthenavy"
			navy_experience = 25
			air_experience = 25
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_POLITICAL FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = SOM_royalnavy
		icon = GFX_goal_SOM_navy
		prerequisite = {
			focus = SOM_inthenavy
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_inthenavy
		x = -2
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_royalnavy"
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = naval_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_buildup
		icon = GFX_goal_generic_naval_industry
		prerequisite = {
			focus = SOM_royalnavy
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_royalnavy
		x = 1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_buildup"
			add_tech_bonus = {
				name = SOM_buildup
				bonus = 1
				uses = 1
				category = ca_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_strategicpatrols
		icon = GFX_goal_ZIM_steady_ship_of_state
		prerequisite = {
			focus = SOM_buildup
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_royalnavy
		x = 1
		y = 2
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_strategicpatrols"
			add_tech_bonus = {
				name = SOM_strategicpatrols
				bonus = 1
				uses = 1
				category = dd_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_constrycnava
		icon = GFX_goal_generic_shipyard
		prerequisite = {
			focus = SOM_royalnavy
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_royalnavy
		x = -1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_constrycnava"
			random_owned_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}


	focus = {
		id = SOM_raiders
		icon = GFX_goal_AUS_unrestricted_submarine_warfare
		prerequisite = {
			focus = SOM_constrycnava
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_royalnavy
		x = -1
		y = 2
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_raiders"
			add_tech_bonus = {
				name = SOM_raiders
				bonus = 1
				uses = 1
				category = ss_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_hunterpacks
		icon = GFX_ALA_grey_wolf
		prerequisite = {
			focus = SOM_raiders
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_royalnavy
		x = -2
		y = 3
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_hunterpacks"
			add_tech_bonus = {
				name = SOM_hunterpacks
				bonus = 1
				uses = 1
				category = ss_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_controlofnearbyseas
		icon = GFX_goal_navy_hat_ships
		prerequisite = {
			focus = SOM_raiders
		}
		prerequisite = {
			focus = SOM_strategicpatrols
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_royalnavy
		x = 0
		y = 3
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_controlofnearbyseas"
			add_doctrine_cost_reduction = {
				name = naval_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_flagshipexperiments
		icon = GFX_goal_generic_combined_land_sea_navy
		prerequisite = {
			focus = SOM_raiders
		}
		prerequisite = {
			focus = SOM_fighters2 focus = SOM_bombers2
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_royalnavy
		x = 2
		y = 3
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_flagshipexperiments"
			add_tech_bonus = {
				name = SOM_flagshipexperiments
				bonus = 1
				uses = 1
				category = cv_tech
				category = bb_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_airforce
		icon = GFX_goal_SOM_airforce
		prerequisite = {
			focus = SOM_inthenavy
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_inthenavy
		x = 2
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_airforce"
			air_experience = 25
			if = {
				limit = {
					capital_scope = {
						NOT = {
							free_building_slots = {
								building = air_base
								size > 1
							}
						}
					}
				}
				random_owned_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
					ROOT = { set_country_flag = aviation_effort_AB }
				}
			}
			if = {
				limit = {
					capital_scope = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
				}
				capital_scope = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = SOM_fighters
		icon = GFX_goal_generic_air_jet_2
		prerequisite = {
			focus = SOM_airforce
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_airforce
		x = -1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_fighters"
			add_tech_bonus = {
				name = SOM_fighters
				bonus = 1
				uses = 1
				category = light_fighter
				category = cat_heavy_fighter
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = SOM_fighters2
		icon = GFX_HUN_fighters
		prerequisite = {
			focus = SOM_fighters
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_airforce
		x = -1
		y = 2
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_fighters2"
			add_tech_bonus = {
				name = SOM_fighters2
				bonus = 1
				uses = 1
				category = light_fighter
				category = cat_heavy_fighter
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_bombers
		icon = GFX_goal_USA_organic_air_support
		prerequisite = {
			focus = SOM_airforce
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_airforce
		x = 1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_bombers"
			add_tech_bonus = {
				name = SOM_bombers
				bonus = 1
				uses = 1
				category = tactical_bomber
				category = cas_bomber
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_bombers2
		icon = GFX_MON_bomber_focus
		prerequisite = {
			focus = SOM_bombers
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_airforce
		x = 1
		y = 2
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_bombers2"
			add_tech_bonus = {
				name = SOM_bombers2
				bonus = 1
				uses = 1
				category = tactical_bomber
				category = cas_bomber
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = SOM_airdoc
		icon = GFX_HUN_heavy_bombers
		prerequisite = {
			focus = SOM_bombers2 focus = SOM_fighters2
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_airforce
		x = 0
		y = 3
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_airdoc"
			add_doctrine_cost_reduction = {
				name = air_doc_bonus
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	#Siad Barre#
	
	focus = {
		id = SOM_SRSP_Victory
		icon = GFX_goal_SOM_SRSP_Victory
		x = 15
		y = 0
		cost = 5
		available = {
			has_socialist_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_SRSP_Victory"
			increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Cooperative_Agriculture
		icon = GFX_goal_SOM_Cooperative_Agriculture
		prerequisite = {
			focus = SOM_SRSP_Victory
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = 1
		y = 1
		cost = 5
		completion_reward = {
		add_ideas = SOM_Cooperative_Agricultural
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Cooperative_Agriculture"
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	
	focus = {
		id = SOM_Nationalization_Spree
		icon = GFX_goal_SOM_Nationalization_Spree
		prerequisite = {
			focus = SOM_Cooperative_Agriculture
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = 1
		y = 2
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Nationalization_Spree"
		559 = {
			559 = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
					}
				}
			}
		559 = {
			559 = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
					}
				}
			}
		add_stability = -.075
		add_political_power = 40
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	
	focus = {
		id = SOM_Modernize_Somalia
		icon = GFX_goal_SOM_Modernize_Somalia
		prerequisite = {
			focus = SOM_SRSP_Victory
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = -1
		y = 1
		cost = 5
		completion_reward = {
		country_event = som.39
		hidden_effect = {
		country_event = {
			id = som.35
				days = 20
			}
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Modernize_Somalia"
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = SOM_Vanguardism
		icon = GFX_goal_SOM_Vanguardism
		prerequisite = {
			focus = SOM_Modernize_Somalia
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = -1
		y = 2
		cost = 5
		completion_reward = {
		add_manpower = 2500
		add_popularity = {
			ideology = totalist
			popularity = 0.05
		}
		add_ideas = SOM_Vanguard
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Vanguardism"
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
	}
	
	focus = {
		id = SOM_Scientific_Socialism
		icon = GFX_goal_SOM_Scientific_Socialism
		prerequisite = {
			focus = SOM_Vanguardism
		}
		prerequisite = {
			focus = SOM_Nationalization_Spree
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = 0
		y = 3
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Scientific_Socialism"
			add_ideas = SOM_Scientific_Socialist
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = SOM_National_Security_Service
		icon = GFX_goal_SOM_National_Security_Service
		prerequisite = {
			focus = SOM_Scientific_Socialism
		}
		ai_will_do = {
			factor = 10
		}
		available = {
			has_socialist_government = yes
		}
		relative_position_id = SOM_SRSP_Victory
		x = 0
		y = 4
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_National_Security_Service"
		add_ideas = SOM_Security_Service
		add_manpower = -500
		add_popularity = {
			ideology = authoritarian_democrat
			popularity = -0.05
		}
		add_popularity = {
			ideology = social_conservative
			popularity = -0.05
		}
		hidden_effect = {
		country_event = {
			id = som.50
				days = 5
		}
		country_event = {
			id = som.65
				days = 40
		}
		}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Anti_Tribalism
		icon = GFX_goal_SOM_Anti_Tribalism
		prerequisite = {
			focus = SOM_National_Security_Service
		}
		available = {
			has_socialist_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Embrace_Tribal_Structure }
		relative_position_id = SOM_SRSP_Victory
		x = -1
		y = 5
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Anti_Tribalism"
			swap_ideas = {
				remove_idea = SOM_Clan_Resistance
				add_idea = SOM_Clan_Crushed
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Towards_Marxism
		icon = GFX_goal_SOM_Towards_Marxism
		prerequisite = {
			focus = SOM_Anti_Tribalism
		}
		available = {
		has_government = totalist
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Pan_Somali_Roots }
		mutually_exclusive = { focus = SOM_Barre_Appetites }
		relative_position_id = SOM_SRSP_Victory
		x = -2
		y = 6
		cost = 5
		completion_reward = {
		country_event = {
			id = som.20
				days = 10
		}
		add_ideas = SOM_Proletarian_Perfection
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Towards_Marxism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Marxist_Horn
		icon = GFX_goal_SOM_Marxist_Horn
		prerequisite = {
			focus = SOM_Towards_Marxism
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = -2
		y = 7
		cost = 5
		completion_reward = {
		set_cosmetic_tag = SOM_EAST_AFRICA
		custom_effect_tooltip = socialist.horn.a.tt
		hidden_effect = {
		if = {
		limit = { SOM = { is_ai = no } }
		create_wargoal = {
				type = annex_everything
				target = EGY
			}
			create_wargoal = {
				type = annex_everything
				target = SUD
			}
			create_wargoal = {
				type = annex_everything
				target = KEN
			}
			create_wargoal = {
				type = annex_everything
				target = UGA
			}
			create_wargoal = {
				type = annex_everything
				target = TZN
			}
			create_wargoal = {
				type = annex_everything
				target = RWA
			}
			create_wargoal = {
				type = annex_everything
				target = BRD
			}
			create_wargoal = {
				type = annex_everything
				target = ZZB
			}
		}
		every_state = {
		limit = { is_core_of = ERI }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = ETH }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = SUD }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = KEN }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = RWA }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = BRD }
		add_core_of = SOM
			}
		970 = { add_core_of = SOM }
		905 = { add_core_of = SOM }
		965 = { add_core_of = SOM }
		546 = { add_core_of = SOM }
		899 = { add_core_of = SOM }
		1032 = { add_core_of = SOM }
		918 = { add_core_of = SOM }
		925 = { add_core_of = SOM }
		948 = { add_core_of = SOM }
		if = {
		limit = {
		ERI = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ERI
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		ETH = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ETH
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		SUD = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = SUD
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		KEN = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = KEN
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		TZN = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = TZN
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		RWA = {
		is_subject_of = SOM
				}
			}
		RWA = {
			annex_country = {
			target = ERI
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		BRD = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = BRD
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		ZZB = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ZZB
			transfer_troops = yes
					}
				}
			}
		}
		swap_ideas = {
			remove_idea = SOM_Proletarian_Perfection
			add_idea = SOM_Proletarian_Perfection_2
		}
		hidden_effect = {
		country_event = {
			id = som.18
				days = 45
			}
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Marxist_Horn"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Pan_Somali_Roots
		icon = GFX_goal_SOM_Pan_Somali_Roots
		prerequisite = {
			focus = SOM_Anti_Tribalism
			focus = SOM_Embrace_Tribal_Structure
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Towards_Marxism }
		mutually_exclusive = { focus = SOM_Barre_Appetites }
		relative_position_id = SOM_SRSP_Victory
		x = 0
		y = 6
		cost = 5
		completion_reward = {
			country_event = {
				id = som.32
					days = 0
			}
			add_ideas = SOM_Socialist_Pan_Somali
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Pan_Somali_Roots"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Social_Exceptionalism
		icon = GFX_goal_SOM_Social_Exceptionalism
		prerequisite = {
			focus = SOM_Pan_Somali_Roots
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = 0
		y = 7
		cost = 5
		completion_reward = {
		set_cosmetic_tag = SOM_PAN_SOMALI
		custom_effect_tooltip = pan.somali.a.tt
		hidden_effect = {
		944 = { add_core_of = SOM }
		268 = { add_core_of = SOM }
		892 = { add_core_of = SOM }
		925 = { add_core_of = SOM }
		if = {
			limit = { SOM = { is_ai = no } }
			create_wargoal = {
				type = annex_everything
				target = KEN
			}
			create_wargoal = {
				type = annex_everything
				target = KIK
				}
			}
		}
		swap_ideas = {
			remove_idea = SOM_Socialist_Pan_Somali
			add_idea = SOM_Socialist_Pan_Somali_2
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Social_Exceptionalism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Embrace_Tribal_Structure
		icon = GFX_goal_SOM_Embrace_Tribal_Structure
		prerequisite = {
			focus = SOM_National_Security_Service
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Anti_Tribalism }
		relative_position_id = SOM_SRSP_Victory
		x = 1
		y = 5
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Embrace_Tribal_Structure"
			swap_ideas = {
				remove_idea = SOM_Clan_Resistance
				add_idea = SOM_Clan_Cooperation
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Barre_Appetites
		icon = GFX_goal_SOM_Barre_Appetites
		prerequisite = {
			focus = SOM_Embrace_Tribal_Structure
		}
		available = {
		has_government = paternal_autocrat
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Towards_Marxism }
		mutually_exclusive = { focus = SOM_Pan_Somali_Roots }
		relative_position_id = SOM_SRSP_Victory
		x = 2
		y = 6
		cost = 5
		completion_reward = {
		country_event = {
			id = som.15
				days = 0
		}
		add_ideas = SOM_Corruption_Is_Cool
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Barre_Appetites"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Afweyne_Fiefdom
		icon = GFX_goal_SOM_Afweyne_Fiefdom
		prerequisite = {
			focus = SOM_Barre_Appetites
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SRSP_Victory
		x = 2
		y = 7
		cost = 5
		completion_reward = {
		set_cosmetic_tag = SOM_BARRE
		hidden_effect = {
		every_state = {
		limit = { is_core_of = ERI }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = ETH }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = YEM }
		add_core_of = SOM
			}
		944 = { add_core_of = SOM }
		268 = { add_core_of = SOM }
		892 = { add_core_of = SOM }
		925 = { add_core_of = SOM }
		if = {
		limit = {
		ERI = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ERI
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		ETH = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ETH
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		YEM = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = YEM
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = { SOM = { is_ai = no } }
		create_wargoal = {
				type = annex_everything
				target = ETH
			}
		create_wargoal = {
				type = annex_everything
				target = ERI
			}
		create_wargoal = {
				type = annex_everything
				target = KEN
			}
		create_wargoal = {
				type = annex_everything
				target = KIK
				}
		create_wargoal = {
				type = annex_everything
				target = YEM
				}
			}
		}
		custom_effect_tooltip = barre.horn.a.tt
		swap_ideas = {
			remove_idea = SOM_Corruption_Is_Cool
			add_idea = SOM_Corruption_Is_Really_Cool
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Afweyne_Fiefdom"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Securing_Social_State
		icon = GFX_goal_SOM_Securing_Social_State
		prerequisite = {
			focus = SOM_Marxist_Horn
			focus = SOM_Social_Exceptionalism
			focus = SOM_Afweyne_Fiefdom
		}
		relative_position_id = SOM_SRSP_Victory
		x = 0
		y = 8
		cost = 5
		completion_reward = {
		custom_effect_tooltip = somali_foreign.tt
		add_ideas = SOM_Social_State
		if = { 
			limit = { has_country_leader = { name = "Mohamed Siad Barre" ruling_only = yes } }
			set_country_leader_portrait = {
				portrait = "gfx/leaders/SOM/Portrait_SOM_Mohamed_Siad_Barre_Uniform.png"
			}
			every_unit_leader = {
				limit = { has_id = 21418 }
				set_leader_portrait = GFX_Portrait_SOM_Mohamed_Siad_Barre_Uniform
			}
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Securing_Social_State"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	#Mahammad Husseen#
	
	focus = {
		id = SOM_GSL_Victory
		icon = GFX_goal_SOM_GSL_Victory
		x = 23
		y = 0
		cost = 5
		available = {
			has_country_leader = { ruling_only = yes name = "Haaji Mahammad Husseen" }
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_GSL_Victory"
			increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Faith_And_Tribes
		icon = GFX_goal_SOM_Faith_And_Tribes
		available = {
			has_country_leader = { ruling_only = yes name = "Haaji Mahammad Husseen" }
		}
		prerequisite = {
			focus = SOM_GSL_Victory
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = 1
		y = 1
		cost = 5
		completion_reward = {
			add_ideas = SOM_Faith_Tribes
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Faith_And_Tribes"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Militarism_And_Nationalism
		icon = GFX_goal_SOM_Militarism_And_Nationalism
		available = {
		has_country_leader = { ruling_only = yes name = "Haaji Mahammad Husseen" }
		}
		prerequisite = {
			focus = SOM_Faith_And_Tribes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = 1
		y = 2
		cost = 5
		completion_reward = {
		add_ideas = SOM_Militarism
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Militarism_And_Nationalism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Pan_Somali_Herald
		icon = GFX_goal_SOM_Pan_Somali_Herald
		available = {
		has_country_leader = { ruling_only = yes name = "Haaji Mahammad Husseen" }
		}
		prerequisite = {
			focus = SOM_GSL_Victory
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = -1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Pan_Somali_Herald"
			add_war_support = 0.05
			add_manpower = 6500
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2500
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Somali_Allies
		icon = GFX_goal_SOM_Somali_Allies
		available = {
		has_country_leader = { ruling_only = yes name = "Haaji Mahammad Husseen" }
		}
		prerequisite = {
			focus = SOM_Pan_Somali_Herald
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = -1
		y = 2
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Somali_Allies"
			country_event = som.16
			hidden_effect = {
				DJI = { 
					country_event = {
						id = djibouti.4
							days = 5
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Anti_Socialism
		icon = GFX_goal_SOM_Anti_Socialism
		available = {
		has_country_leader = { ruling_only = yes name = "Haaji Mahammad Husseen" }
		}
		prerequisite = {
			focus = SOM_Somali_Allies
		}
		prerequisite = {
			focus = SOM_Militarism_And_Nationalism
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = 0
		y = 3
		cost = 5
		completion_reward = {
		add_political_power = 40
		add_manpower = -450
		add_ideas = SOM_Cleanse_Socialism
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Anti_Socialism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Dervish_Heirs
		icon = GFX_goal_SOM_Dervish_Heirs
		prerequisite = {
			focus = SOM_Anti_Socialism
		}
		available = {
		has_country_leader = { ruling_only = yes name = "Haaji Mahammad Husseen" }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = 0
		y = 4
		cost = 5
		completion_reward = {
		add_ideas = SOM_Dervish_Heir
		hidden_effect = {
		country_event = {
		id = som.65
			days = 40
		}
	}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Dervish_Heirs"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Islamic_Republicanism
		icon = GFX_goal_SOM_Islamic_Republicanism
		prerequisite = {
			focus = SOM_Dervish_Heirs
		}
		available = {
		OR = {
		has_government = authoritarian_democrat
		has_government = social_conservative
			}
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Autocratic_Nationalism }
		relative_position_id = SOM_GSL_Victory
		x = -1
		y = 5
		cost = 5
		completion_reward = {
		add_ideas = SOM_Moderate_Nationalism
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Islamic_Republicanism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Pious_State
		icon = GFX_goal_SOM_Pious_State
		prerequisite = {
			focus = SOM_Islamic_Republicanism
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Pan_Somali_Effort }
		mutually_exclusive = { focus = SOM_New_Ajuuraan }
		relative_position_id = SOM_GSL_Victory
		x = -2
		y = 6
		cost = 5
		completion_reward = {
		add_ideas = SOM_Islamic_Unity
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Pious_State"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Holy_Horn
		icon = GFX_goal_SOM_Holy_Horn
		prerequisite = {
			focus = SOM_Pious_State
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = -2
		y = 7
		cost = 5
		completion_reward = {
		set_cosmetic_tag = SOM_ISLAMIC
		custom_effect_tooltip = islam.horn.a.tt
		hidden_effect = {
		if = {
		limit = { SOM = { is_ai = no } }
		create_wargoal = {
				type = annex_everything
				target = EGY
			}
			create_wargoal = {
				type = annex_everything
				target = SUD
			}
			create_wargoal = {
				type = annex_everything
				target = KEN
			}
		}
		every_state = {
		limit = { is_core_of = ERI }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = ETH }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = SUD }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = KEN }
		add_core_of = SOM
			}
		if = {
		limit = {
		ERI = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ERI
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		ETH = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ETH
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		SUD = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = SUD
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		KEN = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = KEN
			transfer_troops = yes
					}
				}
			}
		925 = { add_core_of = SOM }
		}
		swap_ideas = {
			remove_idea = SOM_Islamic_Unity
			add_idea = SOM_Islamic_Unity_2
		}
		hidden_effect = {
		country_event = {
		id = som.36
			days = 50
			}
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Holy_Horn"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Pan_Somali_Effort
		icon = GFX_goal_SOM_Pan_Somali_Effort
		prerequisite = {
			focus = SOM_Islamic_Republicanism
			focus = SOM_Autocratic_Nationalism
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Pious_State }
		mutually_exclusive = { focus = SOM_New_Ajuuraan }
		relative_position_id = SOM_GSL_Victory
		x = 0
		y = 6
		cost = 5
		completion_reward = {
		add_ideas = SOM_Pan_Somali_GSL
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Pan_Somali_Effort"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Unite_The_Tribes
		icon = GFX_goal_SOM_Unite_The_Tribes
		prerequisite = {
			focus = SOM_Pan_Somali_Effort
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = 0
		y = 7
		cost = 5
		completion_reward = {
		set_cosmetic_tag = SOM_PAN_SOMALI
		custom_effect_tooltip = pan.somali.a.tt
		hidden_effect = {
		if = {
		limit = { SOM = { is_ai = no } }
		create_wargoal = {
				type = annex_everything
				target = KIK
			}
			create_wargoal = {
				type = annex_everything
				target = KEN
			}
		}
		944 = { add_core_of = SOM }
		268 = { add_core_of = SOM }
		892 = { add_core_of = SOM }
		925 = { add_core_of = SOM }
		}
		swap_ideas = {
			remove_idea = SOM_Pan_Somali_GSL
			add_idea = SOM_Pan_Somali_GSL_2
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Unite_The_Tribes"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Autocratic_Nationalism
		icon = GFX_goal_SOM_Autocratic_Nationalism
		prerequisite = {
			focus = SOM_Dervish_Heirs
		}
		available = {
		has_government = national_populist
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Islamic_Republicanism }
		relative_position_id = SOM_GSL_Victory
		x = 1
		y = 5
		cost = 5
		completion_reward = {
		add_ideas = SOM_Autocratic_Nationalist
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Autocratic_Nationalism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_New_Ajuuraan
		icon = GFX_goal_SOM_New_Ajuuraan
		prerequisite = {
			focus = SOM_Autocratic_Nationalism
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = { focus = SOM_Pious_State }
		mutually_exclusive = { focus = SOM_Pan_Somali_Effort }
		relative_position_id = SOM_GSL_Victory
		x = 2
		y = 6
		cost = 5
		completion_reward = {
		add_ideas = SOM_A_New_Ajuuraan
		log = "[GetDateText]: [Root.GetName]: Focus SOM_New_Ajuuraan"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_A_New_Sultanate
		icon = GFX_goal_SOM_A_New_Sultanate
		prerequisite = {
			focus = SOM_New_Ajuuraan
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = 2
		y = 7
		cost = 5
		completion_reward = {
		set_cosmetic_tag = SOM_AJUURAAN
		custom_effect_tooltip = ajuuraan.haaji.horn.a.tt
		hidden_effect = {
		every_state = {
		limit = { is_core_of = ERI }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = ETH }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = YEM }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = OMA }
		add_core_of = SOM
			}
		if = {
		limit = {
		ERI = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ERI
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		ETH = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ETH
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		YEM = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = YEM
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		OMA = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = OMA
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = { SOM = { is_ai = no } }
		create_wargoal = {
				type = annex_everything
				target = ERI
			}
			create_wargoal = {
				type = annex_everything
				target = YEM
			}
			create_wargoal = {
				type = annex_everything
				target = OMA
				}
			}
		}
		swap_ideas = {
			remove_idea = SOM_A_New_Ajuuraan
			add_idea = SOM_A_New_Ajuuraan_2
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_A_New_Sultanate"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Securing_National_State
		icon = GFX_goal_SOM_Securing_National_State
		prerequisite = {
			focus = SOM_Holy_Horn
			focus = SOM_Unite_The_Tribes
			focus = SOM_A_New_Sultanate
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_GSL_Victory
		x = 0
		y = 8
		cost = 5
		completion_reward = {
		custom_effect_tooltip = somali_foreign.tt
		add_ideas = SOM_National_State
		add_research_slot_until_five = yes
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Securing_National_State"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	#Somali Youth League#
	
	focus = {
		id = SOM_SYL_Victory
		icon = GFX_goal_SOM_SYL_Victory
		x = 31
		y = 0
		cost = 5
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_SYL_Victory"
			increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Islamic_Liberalism
		icon = GFX_goal_SOM_Islamic_Liberalism
		prerequisite = {
			focus = SOM_SYL_Victory
		}
		available = {
			has_left_democratic_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = -1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Islamic_Liberalism"
			increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Allah_Liberalization
		icon = GFX_goal_SOM_Allah_Liberalization
		prerequisite = {
			focus = SOM_Islamic_Liberalism
		}
		available = {
			has_left_democratic_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = -2
		y = 2
		cost = 5
		completion_reward = {
		add_ideas = SOM_Allah_Liberal
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Allah_Liberalization"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Holy_Federation
		icon = GFX_goal_SOM_Holy_Federation
		prerequisite = {
			focus = SOM_Allah_Liberalization
		}
		available = {
			has_left_democratic_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = -2
		y = 3
		cost = 5
		completion_reward = {
		swap_ideas = {
			remove_idea = SOM_Allah_Liberal
			add_idea = SOM_Allah_Liberal_2
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Holy_Federation"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Clan_Conservatism
		icon = GFX_goal_SOM_Clan_Conservatism
		prerequisite = {
			focus = SOM_SYL_Victory
		}
		available = {
			has_right_democratic_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Clan_Conservatism"
		increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Bend_To_Tribes
		icon = GFX_goal_SOM_Bend_To_Tribes
		prerequisite = {
			focus = SOM_Clan_Conservatism
		}
		available = {
			has_right_democratic_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 2
		y = 2
		cost = 5
		completion_reward = {
		add_ideas = SOM_Bend_Tribes
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Bend_To_Tribes"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Pious_Confederation
		icon = GFX_goal_SOM_Pious_Confederation
		prerequisite = {
			focus = SOM_Bend_To_Tribes
		}
		available = {
			has_right_democratic_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 2
		y = 3
		cost = 5
		completion_reward = {
		swap_ideas = {
			remove_idea = SOM_Bend_Tribes
			add_idea = SOM_Bend_Tribes_2
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Pious_Confederation"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Islamic_Modernization
		icon = GFX_goal_SOM_Islamic_Modernization
		prerequisite = {
			focus = SOM_Islamic_Liberalism
			focus = SOM_Clan_Conservatism
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 0
		y = 2
		cost = 5
		completion_reward = {
		add_political_power = 40
		559 = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
				}
			}
		559 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Islamic_Modernization"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Unity_And_Progress
		icon = GFX_goal_SOM_Unity_And_Progress
		prerequisite = {
			focus = SOM_Islamic_Modernization
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 0
		y = 3
		cost = 5
		completion_reward = {
		add_ideas = SOM_Progress_Unity
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Unity_And_Progress"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Arab_Somali_Spring
		icon = GFX_goal_SOM_Arab_Somali_Spring
		prerequisite = {
			focus = SOM_Unity_And_Progress
		}
		prerequisite = {
			focus = SOM_Holy_Federation
			focus = SOM_Pious_Confederation
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 0
		y = 4
		cost = 5
		completion_reward = {
		add_ideas = SOM_Arab_Somali
		hidden_effect = {
		country_event = {
			id = som.65
				days = 40
		}
		}
	log = "[GetDateText]: [Root.GetName]: Focus SOM_Arab_Somali_Spring"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Promote_Osmanya_Arabic_Literacy
		icon = GFX_goal_SOM_Promote_Osmanya_Arabic_Literacy
		prerequisite = {
			focus = SOM_Arab_Somali_Spring
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = -1
		y = 5
		cost = 5
		completion_reward = {
			add_ideas = SOM_Dual_Literacy
			add_research_slot_until_five = yes
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Promote_Osmanya_Arabic_Literacy"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Moderate_Pan_Somali
		icon = GFX_goal_SOM_Moderate_Pan_Somali
		prerequisite = {
			focus = SOM_Promote_Osmanya_Arabic_Literacy
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = -1
		y = 6
		cost = 5
		completion_reward = {
		add_ideas = SOM_Light_Pan_Somali
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Moderate_Pan_Somali"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Pull_From_Jadidists
		icon = GFX_goal_SOM_Pull_From_Jadidists
		prerequisite = {
			focus = SOM_Arab_Somali_Spring
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 1
		y = 5
		cost = 5
		completion_reward = {
		add_ideas = SOM_Jadid
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Pull_From_Jadidists"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_True_Islamic_Republicanism
		icon = GFX_goal_SOM_True_Islamic_Republicanism
		prerequisite = {
			focus = SOM_Pull_From_Jadidists
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 1
		y = 6
		cost = 5
		completion_reward = {
		add_ideas = SOM_True_Republic
		add_political_power = 40
		increase_ruling_party_popularity_by_5 = yes
		log = "[GetDateText]: [Root.GetName]: Focus SOM_True_Islamic_Republicanism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Free_And_Proud
		icon = GFX_goal_SOM_Free_And_Proud
		prerequisite = {
			focus = SOM_Moderate_Pan_Somali
		}
		prerequisite = {
			focus = SOM_True_Islamic_Republicanism
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_SYL_Victory
		x = 0
		y = 7
		cost = 5
		completion_reward = {
		custom_effect_tooltip = somali_foreign.tt
		if = {
		limit = {
		SOM = {
		has_cosmetic_tag = SOM_REPUBLIC
			}
		}
		set_cosmetic_tag = SOM_PAN_SOMALI
		}
		if = {
		limit = {
		SOM = {
		NOT = {
		has_cosmetic_tag = SOM_REPUBLIC
				}
			}
		}
		add_political_power = 50
		}
		custom_effect_tooltip = pan.somali.a.tt
		hidden_effect = {
		if = {
		limit = { SOM = { is_ai = no } }
		create_wargoal = {
				type = annex_everything
				target = KEN
			}
			create_wargoal = {
				type = annex_everything
				target = KIK
				}
			}
		944 = { add_core_of = SOM }
		268 = { add_core_of = SOM }
		892 = { add_core_of = SOM }
		925 = { add_core_of = SOM }
		}
		add_ideas = SOM_Free_Pan_Somali
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Free_And_Proud"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	# Boqor/Nobles #
	
	focus = {
		id = SOM_Noble_Victory
		icon = GFX_goal_SOM_Noble_Victory
		x = 39
		y = 0
		cost = 5
		available = {
			OR = {
				has_country_flag = SOM_Boqor
				AND = {
					is_subject = yes
					has_government = paternal_autocrat
				}
				AND = {
					is_subject = yes
					has_government = authoritarian_democrat
				}
			}
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Noble_Victory"
			increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Boqor_Ascendancy
		icon = GFX_goal_SOM_Boqor_Ascendancy
		prerequisite = {
			focus = SOM_Noble_Victory
		}
		available = {
			has_government = paternal_autocrat
			has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = -1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Boqor_Ascendancy"
			increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Destroy_Tribal_Ambitions
		icon = GFX_goal_SOM_Destroy_Tribal_Ambitions
		prerequisite = {
			focus = SOM_Boqor_Ascendancy
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		has_completed_focus = SOM_finishgovermentreforms
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = -2
		y = 2
		cost = 5
		completion_reward = {
		country_event = {
			id = som.60
				days = 0
		}
		add_ideas = SOM_No_Clans
		add_stability = -0.05
		add_political_power = 40
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Destroy_Tribal_Ambitions"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Unfettered_Monarchism
		icon = GFX_goal_SOM_Unfettered_Monarchism
		prerequisite = {
			focus = SOM_Destroy_Tribal_Ambitions
		}
		ai_will_do = {
			factor = 10
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		relative_position_id = SOM_Noble_Victory
		x = -2
		y = 3
		cost = 5
		completion_reward = {
		swap_ideas = {
			remove_idea = SOM_No_Clans
			add_idea = SOM_No_Clans_2
		}
		add_stability = -0.05
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Unfettered_Monarchism"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Royalist_Party
		icon = GFX_goal_SOM_Royalist_Party
		prerequisite = {
			focus = SOM_Noble_Victory
		}
		available = {
		has_government = authoritarian_democrat
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = 1
		y = 1
		cost = 5
		completion_reward = {
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Royalist_Party"
		increase_ruling_party_popularity_by_10 = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Clan_Amends
		icon = GFX_goal_SOM_Clan_Amends
		prerequisite = {
			focus = SOM_Royalist_Party
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		has_completed_focus = SOM_finishgovermentreforms
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = 2
		y = 2
		cost = 5
		completion_reward = {
		add_ideas = SOM_Pro_Clans
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Clan_Amends"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Aristocratic_Horn
		icon = GFX_goal_SOM_Aristocratic_Horn
		prerequisite = {
			focus = SOM_Clan_Amends
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = 2
		y = 3
		cost = 5
		completion_reward = {
		hidden_effect = {
		country_event = {
		id = som.30
			days = 50
			}
		}
		swap_ideas = {
			remove_idea = SOM_Pro_Clans
			add_idea = SOM_Pro_Clans_2
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Aristocratic_Horn"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Law_And_Order
		icon = GFX_goal_SOM_Law_And_Order
		prerequisite = {
			focus = SOM_Boqor_Ascendancy
			focus = SOM_Royalist_Party
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		has_completed_focus = SOM_finishgovermentreforms
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = 0
		y = 2
		cost = 5
		completion_reward = {
		add_ideas = SOM_Law_Order
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Law_And_Order"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Unity_And_Strength
		icon = GFX_goal_SOM_Unity_And_Strength
		prerequisite = {
			focus = SOM_Law_And_Order
		}
		ai_will_do = {
			factor = 10
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		relative_position_id = SOM_Noble_Victory
		x = 0
		y = 3
		cost = 5
		completion_reward = {
		add_manpower = 5000
		add_stability = 0.05
		add_war_support = 0.05
		559 = { add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
			}
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Unity_And_Strength"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Proud_And_Moral
		icon = GFX_goal_SOM_Proud_And_Moral
		prerequisite = {
			focus = SOM_Unity_And_Strength
		}
		prerequisite = {
			focus = SOM_Unfettered_Monarchism
			focus = SOM_Aristocratic_Horn
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = 0
		y = 4
		cost = 5
		completion_reward = {
		swap_ideas = {
		remove_idea = SOM_Law_Order
		add_idea = SOM_Proud_Moral
		}
		add_research_slot_until_five = yes
		hidden_effect = {
		country_event = {
		id = som.65
			days = 40
		}
	}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Proud_And_Moral"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Arabic_Primacy
		icon = GFX_goal_SOM_Arabic_Primacy
		prerequisite = {
			focus = SOM_Proud_And_Moral
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = -1
		y = 5
		cost = 5
		completion_reward = {
		add_ideas = SOM_Arab_Primacy
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Arabic_Primacy"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Caliph_Horn
		icon = GFX_goal_SOM_Caliph_Horn
		prerequisite = {
			focus = SOM_Arabic_Primacy
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = -1
		y = 6
		cost = 5
		completion_reward = {
		add_ideas = SOM_Caliph
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Caliph_Horn"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Hangash_Privileges
		icon = GFX_goal_SOM_Hangash_Privileges
		prerequisite = {
			focus = SOM_Proud_And_Moral
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = 1
		y = 5
		cost = 5
		completion_reward = {
		swap_ideas = {
		remove_idea = SOM_Hangash
		add_idea = SOM_Hangash_Power
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Hangash_Privileges"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Pan_Somali_Violence
		icon = GFX_goal_SOM_Pan_Somali_Violence
		prerequisite = {
			focus = SOM_Hangash_Privileges
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		relative_position_id = SOM_Noble_Victory
		x = 1
		y = 6
		cost = 5
		completion_reward = {
		add_ideas = SOM_Pan_Somali_But_Not
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Pan_Somali_Violence"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_True_Ajuuraan
		icon = GFX_goal_SOM_True_Ajuuraan
		prerequisite = {
			focus = SOM_Caliph_Horn
		}
		prerequisite = {
			focus = SOM_Pan_Somali_Violence
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = {
			focus = SOM_Proud_And_Regal
		}
		relative_position_id = SOM_Noble_Victory
		x = -1
		y = 7
		cost = 5
		completion_reward = {
		custom_effect_tooltip = somali_foreign.tt
		set_cosmetic_tag = SOM_AJUURAAN
		custom_effect_tooltip = ajuuraan.legit.horn.a.tt
		hidden_effect = {
		every_state = {
		limit = { is_core_of = ERI }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = ETH }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = YEM }
		add_core_of = SOM
			}
		every_state = {
		limit = { is_core_of = OMA }
		add_core_of = SOM
			}
		if = {
		limit = {
		ERI = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ERI
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		ETH = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = ETH
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		YEM = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = YEM
			transfer_troops = yes
					}
				}
			}
		if = {
		limit = {
		OMA = {
		is_subject_of = SOM
				}
			}
		SOM = {
			annex_country = {
			target = OMA
			transfer_troops = yes
					}
				}
			}
		925 = { add_core_of = SOM }
		}
		add_ideas = SOM_True_Ajuran
		log = "[GetDateText]: [Root.GetName]: Focus SOM_True_Ajuuraan"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = SOM_Proud_And_Regal
		icon = GFX_goal_SOM_Proud_And_Regal
		prerequisite = {
			focus = SOM_Caliph_Horn
		}
		prerequisite = {
			focus = SOM_Pan_Somali_Violence
		}
		available = {
		has_country_leader = { name = "Maxamuud Cali Shiire" ruling_only = yes }
		}
		ai_will_do = {
			factor = 10
		}
		mutually_exclusive = {
			focus = SOM_True_Ajuuraan
		}
		relative_position_id = SOM_Noble_Victory
		x = 1
		y = 7
		cost = 5
		completion_reward = {
		custom_effect_tooltip = somali_foreign.tt
		custom_effect_tooltip = pan.somali.a.tt
		hidden_effect = {
		if = {
		limit = { SOM = { is_ai = no } }
		create_wargoal = {
				type = annex_everything
				target = KEN
			}
			create_wargoal = {
				type = annex_everything
				target = KIK
			}
		}
		944 = { add_core_of = SOM }
		268 = { add_core_of = SOM }
		892 = { add_core_of = SOM }
		925 = { add_core_of = SOM }
		}
		add_ideas = SOM_Proud_Regal
		hidden_effect = {
		if = {
		limit = {
		SOM = {
		has_government = authoritarian_democrat
			}
		}
		country_event = {
		id = som.31
			days = 75
				}
			}
		}
		hidden_effect = {
		if = {
		limit = {
		SOM = {
		has_government = paternal_autocrat
			}
		}
		country_event = {
		id = som.42
			days = 75
				}
			}
		}
		log = "[GetDateText]: [Root.GetName]: Focus SOM_Proud_And_Regal"
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
}
