focus_tree = {
	id = oman_vic_ft
	country = {
		factor = 0
		modifier = {#
			add = 10
			OR = {
				tag = OMA
			}
		}
	}
	default = no
	focus = {
		id = oma_vic_question_of_the_brother
		icon = GFX_focus_oman_question_of_the_brother
		cost = 35
		x = 3
		y = 0
		completion_reward = {
			add_political_power = 75
			every_country = {
				limit = {
					NOT = { TAG = ZAN }
					OR = {
						AND = {
							is_subject_of = OMA
							
						}
						AND = {
							is_subject = yes
							OVERLORD = { is_subject_of = OMA }
							
						}
					}
				}
				#country_event = { id = EDC_afr.63 } # RCE Related
			}
			#hidden_effect = { GLD = { country_event = { id = EDC_afr.63 } } } # RCE Related
		}
		mutually_exclusive={
			focus = oma_vic_question_of_oman_and_muscat
		}
		select_effect = {
			country_event ={id = arab_events.1 days = 10}
		}
		cancel = {
			OR = {
				NOT ={ZAN = {is_subject_of = ROOT}}
				has_country_flag = OMA_abanoned_colonial_empire
			}
		}
		available={
			ZAN = {is_subject_of = ROOT}
			NOT={has_country_flag = OMA_abanoned_colonial_empire}
		}
		bypass={
			OR = {
				ZAN={
					OR={
					has_country_flag = accepted_OMA_lordship
					has_country_flag = forced_under_OMA_lordship
					}
				}
				AND ={
					controls_state = 1220
					controls_state = 825
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_reign_ZAN_in
		icon = GFX_Focus_Monarchy_Usurp_Throne
		cost = 140
		x = 2
		y = 1
		completion_reward = {
			custom_effect_tooltip = ZAN_regined_in_tfv
			hidden_effect={
				set_autonomy = {
					target = ZAN
					autonomy_state = autonomy_colony
				}
				set_autonomy = {
					target = MOM
					autonomy_state = autonomy_colony
				}
			}
			ZAN={
				set_country_flag = accepted_OMA_lordship
				set_political_party = {
					ideology = autocracy
					popularity = 100
				}
			}
			MOM={
				set_political_party = {
					ideology = autocracy
					popularity = 100
				}
			}
		}
		
		prerequisite = {
			focus = oma_vic_question_of_the_brother
		}
		cancel = {
			OR = {
				NOT ={ZAN = {is_subject_of = ROOT}}
				has_country_flag = OMA_abanoned_colonial_empire
			}
		}
		available={
			ZAN = {is_subject_of = ROOT}
		}
		bypass={
			ZAN = {has_country_flag = forced_under_OMA_lordship}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_alliance_of_the_sons_of_said
		icon = GFX_goal_tripartite_pact
		cost = 140
		x = 4
		y = 1
		completion_reward = {

		}
		prerequisite = {
			focus = oma_vic_question_of_the_brother
		}
		cancel = {
		}
		available={
			always=no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_begin_to_enforce_old_colonial_borders
		icon = GFX_Focus_imperialism
		cost = 70
		x = 2
		y = 2
		completion_reward = {
			add_political_power = 50
		}
		select_effect = {
			ENG = {country_event ={id = arab_events.7 days = 5}}
			OMA = {country_event ={id = arab_events.9 days = 15}}
			OMA = {country_event ={id = arab_events.11 days = 30}}
		}
		prerequisite = {
			focus = oma_vic_reign_ZAN_in
		}
		available={
			ZAN = {is_subject_of = ROOT}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_ZAN_expansion
		icon = GFX_focus_PIE_Casus_Belli
		cost = 100
		x = 0
		y = 3
		select_effect = {
			ZAN = {country_event ={id = arab_events.14 days = 50}}##ZAN gets event to move on Luguru 
		}
		completion_reward = {
			ZAN={
				add_state_claim = 908
				add_state_claim = 546
				add_state_claim = 907
				add_state_claim = 905
				add_state_claim = 904
				add_state_claim = 896
				add_state_claim = 929
				add_state_claim = 895
				add_state_claim = 894
				set_country_flag = ZAN_expedition
			}
		}
		prerequisite = {
			focus = oma_vic_begin_to_enforce_old_colonial_borders
		}
		available={
			ZAN = {is_subject_of = ROOT}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_ZAN_industrialisation
		icon = GFX_Focus_industrial_revolution
		cost = 70
		x = 0
		y = 4
		completion_reward = {
			custom_effect_tooltip = oma_vic_ZAN_industrialisation_tooltip
			set_country_flag = oma_vic_ZAN_industrialisation_flag
		}
		prerequisite = {
			focus = oma_vic_ZAN_expansion
		}
		available={
			ZAN = {is_subject_of = ROOT}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_KEN_expeditions
		icon = GFX_focus_PIE_Casus_Belli
		cost = 100
		x = 4
		y = 3
		#select_effect = { # Non-Existent event
		#	MOM = {country_event ={id = arab_events.16 days = 25}}##MOM event chain to colonise kenya
		#}
		completion_reward = {
			MOM={
				add_state_claim = 906
				add_state_claim = 911
				add_state_claim = 912
				add_state_claim = 547
				add_state_claim = 913
				add_state_claim = 915
				add_state_claim = 910
				set_cosmetic_tag = omani_KEN
				set_country_flag = MOM_expedition
			}
		}
		prerequisite = {
			focus = oma_vic_begin_to_enforce_old_colonial_borders
		}
		available={
			OR={
				MOM = {is_subject_of = ROOT}
				AND={
					MOM = {is_subject_of = ZAN}
					ZAN = {is_subject_of = ROOT}
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_MOM_industrialisation
		icon = GFX_Focus_industrial_revolution
		cost = 70
		x = 4
		y = 4
		completion_reward = {
			custom_effect_tooltip = oma_vic_MOM_industrialisation_tooltip
			set_country_flag = oma_vic_MOM_industrialisation_flag
		}
		prerequisite = {
			focus = oma_vic_ZAN_expansion
		}
		available={
			ZAN = {is_subject_of = ROOT}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_remind_SOM_of_place
		icon = GFX_Focus_imperialism
		cost = 70
		x = 2
		y = 3
		select_effect = {
			country_event ={id = arab_events.18 days = 25}#Two Events about reclaiming SOM
		}
		completion_reward = {
			custom_effect_tooltip = OMA_SOM_Founding
			hidden_effect={
				country_event ={id = arab_events.25}#founding of somalia
			}
		}
		prerequisite = {
			focus = oma_vic_begin_to_enforce_old_colonial_borders
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_our_colonial_strength
		icon = GFX_Focus_imperialism
		cost = 70
		x = 2
		y = 4
		completion_reward = {
			add_political_power = 50
			add_manpower = 250
		}
		prerequisite = {
			focus = oma_vic_remind_SOM_of_place
		}
		prerequisite = {
			focus = oma_vic_KEN_expeditions
		}
		prerequisite = {
			focus = oma_vic_ZAN_expansion
		}
		available={
			MOM = {is_subject_of = ROOT}
			ZAN = {is_subject_of = ROOT}		
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_enforce_will_on_mahra
		icon = GFX_Focus_Colonial_Troops
		cost = 70
		x = 2
		y = 5
		select_effect = {
			country_event ={id = arab_events.32 days = 2}
		}
		cancel = {
			OR={
			MAH ={
				OR={
					exists = no
					AND={
						is_subject = yes
						NOT = {is_subject_of = ROOT}
					}
				}
			}
			has_country_flag = OMA_lost_MAH_war
			}
		}
		completion_reward = {
			add_state_core = 1196
		}
		prerequisite = {
			focus = oma_vic_our_colonial_strength
		}
		bypass={
			OR={
				MAH = {is_subject_of = ROOT}
				owns_state = 1196
			}
		}
		available={
			MAH ={
				exists = yes
				is_subject = no
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_demand_TCS
		icon = GFX_goal_generic_territory_or_war
		cost = 70
		x = 0
		y = 5
		completion_reward = {
			TCS={country_event ={id = arab_events.26 days = 25}}#Demand sent to TCS
		}
		prerequisite = {
			focus = oma_vic_our_colonial_strength
		}
		bypass={
			OR={
				TCS = {is_subject_of = ROOT}
				owns_state = 658
			}
		}
		available={
			658={
				OR={
					is_core_of = OMA
					is_claimed_by = OMA
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_intergrate_TCS
		icon = GFX_Focus_Government_Reform_Administration
		cost = 140
		x = 0
		y = 6
		completion_reward = {
			annex_country = {
				target = TCS
				transfer_troops = yes
			}
		}
		prerequisite = {
			focus = oma_vic_demand_TCS
		}
		bypass={
			OR={
				TCS = {exists = no}
				owns_state = 658
			}
		}
		available={
			658={
				OR={
					is_core_of = OMA
					is_claimed_by = OMA
				}
			}
			TCS = {is_subject_of = ROOT}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_western_question
		icon = GFX_Focus_Continent_West_Europe
		cost = 70
		x = 15
		y = 0
		completion_reward = {
			custom_effect_tooltip = OMA_decide_future
			hidden_effect={
				country_event ={id = arab_events.29}#finalise our foreign policy towards the west
			}
			hidden_effect={
				load_focus_tree = {
					tree = oman_vic_ft
					keep_completed = yes
				}
			}
		}
		select_effect = {
			country_event ={id = arab_events.23 days = 15}#choose british policy
			country_event ={id = arab_events.24 days = 30}#choose whether to modernise or not
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_western_inspirations
		icon = GFX_Focus_Continent_West_Europe
		cost = 70
		x = 11
		y = 1
		prerequisite = {
			focus = oma_vic_western_question
		}
		completion_reward = {
			add_ideas={
				OMA_western_inspirations
			}
			custom_effect_tooltip = OMA_unlocks_victorization_branch
		}
		available={
			has_country_flag=OMA_western
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_naval_reforms
		icon = GFX_focus_oman_naval_innovation
		cost = 120
		x = 10
		y = 2
		prerequisite = {
			focus = oma_vic_western_inspirations
		}
		completion_reward={
			navy_experience = 25
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_zanzabar_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 200
		x = 10
		y = 6
		prerequisite = {
			focus = oma_vic_rebuild_our_shipyards
		}
		available = {
			has_completed_focus = oma_vic_reign_ZAN_in
		}
		completion_reward={
			1220={
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_muscat_port_exspansion
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 100
		x = 10
		y = 3
		prerequisite = {
			focus = oma_vic_naval_reforms
		}
		completion_reward={
			294={
				set_building_level = {
					type = naval_base
					level = 3
					province = 10760
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_modern_warship_designs
		icon = GFX_goal_generic_navy_battleship
		cost = 100
		x = 10
		y = 4
		prerequisite = {
			focus = oma_vic_muscat_port_exspansion
		}
		prerequisite = {
			focus = oma_vic_invest_in_steamships
		}
		completion_reward={
			add_tech_bonus = {
				bonus = 0.15
				uses = 3
				category = naval_equipment
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_rebuild_our_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 100
		x = 10
		y = 5
		prerequisite = {
			focus = oma_vic_modern_warship_designs
		}
		completion_reward={
			remove_ideas={
				OMA_mothballed_shipyards
			}
			294={
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_economic_reforms
		icon = GFX_Focus_stimulate_economy
		cost = 120
		x = 12
		y = 2
		prerequisite = {
			focus = oma_vic_western_inspirations
		}
		completion_reward={
			swap_ideas={
				add_idea = OMA_economic_irrelevence_2
				remove_idea = OMA_economic_irrelevence
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_invest_in_steamships
		icon = GFX_Focus_Production_Mass
		cost = 70
		x = 12
		y = 3
		prerequisite = {
			focus = oma_vic_economic_reforms
		}
		available={
			has_political_power > 49
		}
		completion_reward={
			add_political_power = -50
			set_technology = {
				tech_naval_mtg_paddle_wheels = 1
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_expand_personal_trade_fleet
		icon = GFX_Focus_Victorian_Gunboat
		cost = 120
		x = 12
		y = 4
		prerequisite = {
			focus = oma_vic_invest_in_steamships
		}
		completion_reward={
			custom_effect_tooltip= OMA_steamships_for_personal_fleet
			hidden_effect={ load_oob = "OMA_Steamboat_1" }
			swap_ideas={
				add_idea = OMA_economic_irrelevence_3
				remove_idea = OMA_economic_irrelevence_2
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_military_reforms
		icon = GFX_Focus_Army_Reforms
		cost = 120
		x = 15
		y = 2
		prerequisite = {
			focus = oma_vic_western_inspirations
			focus = oma_vic_continue_isolation
		}
		completion_reward={
			army_experience = 25
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_western_rifles
		icon = GFX_goal_generic_small_arms
		cost = 70
		x = 14
		y = 3
		available={
			has_completed_focus = oma_vic_western_inspirations
		}
		prerequisite = {
			focus = oma_vic_military_reforms
		}
		completion_reward={
			add_tech_bonus = {
				bonus = 0.25
				uses = 2
				category = infantry_weapons
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_western_cannons
		icon = GFX_goal_generic_army_artillery
		cost = 70
		x = 16
		y = 4
		prerequisite = {
			focus = oma_vic_western_rifles
		}
		completion_reward={
			add_tech_bonus = {
				bonus = 0.33
				uses = 1
				category = artillery
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_increased_training
		icon = GFX_goal_generic_small_arms
		cost = 70
		x = 14
		y = 4
		prerequisite = {
			focus = oma_vic_western_rifles
		}
		completion_reward={
			add_doctrine_cost_reduction = {
				name = OMA_increased_training
				category = land_doctrine
				uses = 2
				cost_reduction = 0.25
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_victorianization
		icon = GFX_Focus_industrial_revolution
		cost = 120
		x = 12
		y = 6
		prerequisite = {
			focus = oma_vic_expand_personal_trade_fleet
		}
		prerequisite = {
			focus = oma_vic_increased_training
		}
		prerequisite = {
			focus = oma_vic_rebuild_our_shipyards
		}
		completion_reward={
			remove_ideas={
				OMA_economic_irrelevence_3
			}
			swap_ideas={
				remove_idea = pre_industrial_era
				add_idea = victorian_era
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_industrial_research
		icon = GFX_Focus_Continent_West_Europe
		cost = 120
		x = 10
		y = 7
		prerequisite = {
			focus = oma_vic_victorianization
		}
		completion_reward={
			add_tech_bonus = { bonus = 0.33 uses = 1 category = process_engineering_tech }
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_national_schools
		icon = GFX_Focus_school_investment
		cost = 80
		x = 10
		y = 8
		prerequisite = {
			focus = oma_vic_industrial_research
		}
		completion_reward={
			if = {
				limit = {
					has_idea = oral_tradition
				}
				swap_ideas = {
					add_idea = privileged_education
					remove_idea = oral_tradition
				}
			}
			if = {
				limit = {
					has_idea = open_schools
				}
				swap_ideas = {
					add_idea = compulsory_education
					remove_idea = open_schools
				}
			}
			if = {
				limit = {
					has_idea = privileged_education
				}
				swap_ideas = {
					add_idea = open_schools
					remove_idea = privileged_education
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_naval_research
		icon = GFX_focus_oman_naval_innovation
		cost = 120
		x = 12
		y = 7
		prerequisite = {
			focus = oma_vic_victorianization
		}
		completion_reward={
			add_tech_bonus = { bonus = 0.33 uses = 1 category = naval_equipment }
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_offer_cheaper_trade_to_india
		icon = GFX_goal_generic_positive_trade_relations
		cost = 120
		x = 12
		y = 8
		prerequisite = {
			focus = oma_vic_naval_research
		}
		prerequisite = {
			focus = oma_vic_fund_industrialsion
		}
		available={
			SRS={
				OR={
					exists = no
					has_war = no
				}
			}
		}
		completion_reward={
			if={
				limit={
					SRS= {exists = yes}
					ENG={has_completed_focus = ENG_focus_humiliation_by_sepoy}
				}
				#a choice of india
				country_event ={id = arab_events.27}
			}
			else_if={
				limit={
					SRS= {exists = no}
					RAJ = {exists = yes}
				}
				#send event to india
				RAJ = {country_event ={id = arab_events.28}}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_fund_industrialsion
		icon = GFX_Focus_Continent_West_Europe
		cost = 120
		x = 14
		y = 7
		prerequisite = {
			focus = oma_vic_victorianization
		}
		completion_reward={
			
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_begin_coastal_resource_surveys
		icon = GFX_goal_generic_construct_civilian
		cost = 120
		x = 14
		y = 8
		prerequisite = {
			focus = oma_vic_fund_industrialsion
		}
		completion_reward={
			
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_continue_isolation
		icon = GFX_Focus_Continent_West_Europe
		cost = 70
		x = 18
		y = 1
		prerequisite = {
			focus = oma_vic_western_question
		}
		completion_reward = {
			add_ideas={
				OMA_isolatism
			}
			custom_effect_tooltip = OMA_unlocks_isolation_branch
			hidden_effect={
				load_focus_tree = {
					tree = oman_vic_ft
					keep_completed = yes
				}
				#unlock_national_focus = oma_vic_omani_practises
			}
		}
		available={
			has_country_flag=OMA_isolation
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_ibadi_fanatic_integration
		icon = GFX_Focus_Religious_Prayers
		cost = 120
		x = 18
		y = 2
		prerequisite = {
			focus = oma_vic_continue_isolation
		}
		completion_reward={
			#army_experience = 25
			OMA_muscat_and_oman_divide_decrease = yes
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_stabilization_of_inner_oman
		icon = GFX_goal_generic_dangerous_deal
		cost = 120
		x = 17
		y = 3
		prerequisite = {
			focus = oma_vic_ibadi_fanatic_integration
		}
		prerequisite = {
			focus = oma_vic_military_reforms
		}
		completion_reward={
			add_stability = 0.05
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_fund_government_with_ship_sales
		icon = GFX_Focus_Victorian_Gunboat
		cost = 120
		x = 20
		y = 2
		prerequisite = {
			focus = oma_vic_continue_isolation
		}
		completion_reward={
			destroy_ships = {
				type = ship_hull_corvette_0
				count = 3
			}
			add_stability = 0.05
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_refute_economic_stagnation
		icon = GFX_Focus_Bankruptcy
		cost = 270
		x = 20
		y = 3
		prerequisite = {
			focus = oma_vic_fund_government_with_ship_sales
		}
		completion_reward={
			swap_ideas={
				add_idea = OMA_economic_irrelevence_2
				remove_idea = OMA_economic_irrelevence
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_court_indian_merchants
		icon = GFX_goal_generic_improve_relations
		cost = 70
		x = 18
		y = 4
		prerequisite = {
			focus = oma_vic_refute_economic_stagnation
		}
		prerequisite = {
			focus = oma_vic_stabilization_of_inner_oman
		}
		completion_reward={
			
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_attempt_economic_diversifaction
		icon = GFX_Focus_Diplomatic_foreign_economy
		cost = 270
		x = 16
		y = 5
		prerequisite = {
			focus = oma_vic_court_indian_merchants
		}
		completion_reward={
			swap_ideas={
				add_idea = OMA_economic_irrelevence_3
				remove_idea = OMA_economic_irrelevence_2
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_invigorate_indian_trade
		icon = GFX_Focus_Continent_West_Europe
		cost = 70
		x = 16
		y = 6
		prerequisite = {
			focus = oma_vic_attempt_economic_diversifaction
		}
		available={
			SRS={
				OR={
					exists = no
					has_war = no
				}
			}
		}
		completion_reward={
			if={
				limit={
					SRS= {
						exists = yes
						has_war = no
					}
					ENG={has_completed_focus = ENG_focus_humiliation_by_sepoy}
				}
				#a choice of india
				country_event ={id = arab_events.27}
			}
			else_if={
				limit={
					SRS= {exists = no}
					RAJ = {exists = yes}
				}
				#send event to india
				RAJ = {country_event ={id = arab_events.28}}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_omani_military_theory
		icon = GFX_goal_generic_small_arms
		cost = 140
		x = 20
		y = 5
		prerequisite = {
			focus = oma_vic_court_indian_merchants
		}
		completion_reward={
			add_mastery = {
				amount = 10
				# FILTERS:
				folder = land
				grand_doctrine = grand_doctrine_napoleonic_era
				sub_doctrine = napoleonic_conservative_doctrine
				track = infantry
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_military_command
		icon = GFX_Focus_Army_Victorian_Traditional
		cost = 70
		x = 23
		y = 0
		available={
			has_completed_focus= oma_vic_military_reforms
		}
		completion_reward={
			army_experience = 25
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_obtain_rifles
		icon = GFX_Focus_Diplomatic_foreign_military
		cost = 70
		x = 22
		y = 1
		prerequisite = {
			focus = oma_vic_military_command
		}
		completion_reward={
			add_equipment_to_stockpile = {
				type = infantry_equipment_rifle_1
				amount = 100
				producer = ENG
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_obtain_uniforms
		icon = GFX_goal_generic_allies_build_infantry
		cost = 70
		x = 24
		y = 1
		prerequisite = {
			focus = oma_vic_military_command
		}
		completion_reward={
			if={
				limit={
					has_tech = vic_army_cloth
				}
				add_equipment_to_stockpile = {
					type = uniform_equipment_1
					amount = 100
					producer = OMA
				}
			}
			else={
				add_equipment_to_stockpile = {
					type = uniform_equipment_0
					amount = 100
					producer = OMA
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_improved_military_training
		icon = GFX_Focus_Army_Victorian_Traditional
		cost = 70
		x = 23
		y = 2
		prerequisite = {
			focus = oma_vic_obtain_rifles
		}
		prerequisite = {
			focus = oma_vic_obtain_uniforms
		}
		completion_reward={
			
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_reduce_reliance_on_large_forces
		icon = GFX_Focus_Army_Reformed
		cost = 70
		x = 22
		y = 3
		prerequisite = {
			focus = oma_vic_improved_military_training
		}
		completion_reward={
			swap_ideas={
				add_idea = OMA_largly_militerised_state
				remove_idea = OMA_heavly_militerised_state
			}
		}
		mutually_exclusive={
			focus = oma_vic_improve_conscription_laws
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_improve_conscription_laws
		icon = GFX_Focus_conscription
		cost = 70
		x = 24
		y = 3
		prerequisite = {
			focus = oma_vic_improved_military_training
		}
		completion_reward={
			swap_ideas={
				add_idea = OMA_heavly_militerised_state_2
				remove_idea = OMA_heavly_militerised_state
			}
		}
		mutually_exclusive={
			focus = oma_vic_reduce_reliance_on_large_forces
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_question_of_oman_and_muscat
		icon = GFX_focus_oman_twin_kingdoms_question
		cost = 35
		x = 7
		y = 0
		mutually_exclusive={
			focus = oma_vic_question_of_the_brother
		}
		completion_reward = {
			set_country_flag = OMA_abanoned_colonial_empire
			add_political_power = 75
		}
		available={
			has_war = no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_values_of_the_coast
		icon = GFX_focus_oman_ideas_of_muscat
		cost = 140
		x = 6
		y = 1
		prerequisite={
			focus = oma_vic_question_of_oman_and_muscat
		}
		completion_reward = {
			add_stability = 0.05
			add_popularity = {
				ideology = centrism
				popularity = 0.05
			}
		}
		available={
			
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_values_of_the_interior
		icon = GFX_focus_oman_ideas_of_oman
		cost = 140
		x = 8
		y = 1
		prerequisite={
			focus = oma_vic_question_of_oman_and_muscat
		}
		completion_reward = {
			add_stability = 0.05
			add_popularity = {
				ideology = fundamentalism
				popularity = 0.05
			}
		}
		available={
			NOT={has_idea = OMA_agressive_modernisation}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_the_twin_kingdom
		icon = GFX_focus_oman_twin_kingdoms
		cost = 70
		x = 7
		y = 2
		prerequisite={
			focus = oma_vic_values_of_the_interior
			focus = oma_vic_values_of_the_coast
		}
		completion_reward = {
			OMA_muscat_and_oman_divide_decrease = yes
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_assage_the_fears_of_oman
		icon = GFX_focus_oman_ideas_of_oman
		cost = 100
		x = 8
		y = 3
		prerequisite={
			focus = oma_vic_the_twin_kingdom
		}
		completion_reward = {
			add_stability = 0.025
			add_political_power = 50
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_encorage_economic_growth_in_oman
		icon = GFX_Focus_Economy_Increase_Wages
		cost = 70
		x = 8
		y = 4
		prerequisite={
			focus = oma_vic_assage_the_fears_of_oman
		}
		completion_reward = {
			797={
				add_extra_state_shared_building_slots = 1
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_assage_the_fears_of_muscat
		icon = GFX_focus_oman_ideas_of_muscat
		cost = 100
		x = 6
		y = 3
		prerequisite={
			focus = oma_vic_the_twin_kingdom
		}
		completion_reward = {
			add_stability = 0.025
			add_political_power = 50
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_encorage_economic_growth_in_muscat
		icon = GFX_Focus_Economy_Increase_Wages
		cost = 70
		x = 6
		y = 4
		prerequisite={
			focus = oma_vic_assage_the_fears_of_muscat
		}
		completion_reward = {
			294={
				add_extra_state_shared_building_slots = 1
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_that_which_binds
		icon = GFX_focus_oman_twin_kingdoms
		cost = 210
		x = 7
		y = 5
		prerequisite={
			focus = oma_vic_encorage_economic_growth_in_muscat
		}
		prerequisite={
			focus = oma_vic_encorage_economic_growth_in_oman
		}
		completion_reward = {
			increase_ps_by_one = yes
			OMA_muscat_and_oman_divide_decrease = yes
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = oma_vic_death_of_thuwaini
		icon = GFX_Focus_Health_Funerals
		cost = 35
		x = 15
		y = 10
		completion_reward = {
		}
		available={
			NOT={
				has_country_leader = {
					name = "Thuwaini bin Said"
					ruling_only = yes
				}
			}
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_muscat_garrison
		icon = GFX_goal_generic_construct_military
		cost = 35
		x = 14
		y = 11
		completion_reward = {
			country_event={id=arab_events.50}
		}
		prerequisite={
			focus = oma_vic_death_of_thuwaini
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_gain_foreign_interest
		icon = GFX_Focus_Diplomatic_foreign_military
		cost = 35
		x = 12
		y = 11
		completion_reward = {
			country_event={id=arab_events.48}
		}
		prerequisite={
			focus = oma_vic_death_of_thuwaini
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_state_of_muscat
		icon = GFX_focus_oman_ideas_of_muscat
		cost = 35
		x = 13
		y = 12
		completion_reward = {
			OMA_muscat_and_oman_divide_decrease = yes
		}
		prerequisite={
			focus = oma_vic_muscat_garrison
		}
		prerequisite={
			focus = oma_vic_gain_foreign_interest
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_support_of_the_hinawi
		icon = GFX_goal_tripartite_pact
		cost = 35
		x = 16
		y = 11
		completion_reward = {
			country_event = {id =arab_events.68}
		}
		prerequisite={
			focus = oma_vic_death_of_thuwaini
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_support_of_the_ghafiri
		icon = GFX_goal_generic_improve_relations
		cost = 35
		x = 18
		y = 11
		completion_reward = {
			country_event = {id =arab_events.69}
		}
		prerequisite={
			focus = oma_vic_death_of_thuwaini
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_state_of_oman
		icon = GFX_focus_oman_ideas_of_oman
		cost = 35
		x = 17
		y = 12
		completion_reward = {
			OMA_muscat_and_oman_divide_decrease = yes
		}
		prerequisite={
			focus = oma_vic_support_of_the_ghafiri
		}
		prerequisite={
			focus = oma_vic_support_of_the_hinawi
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = oma_vic_the_imam_and_the_sultan
		icon = GFX_focus_oman_twin_kingdoms
		cost = 35
		x = 15
		y = 13
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_death_of_thuwaini
		}
		available={
			always=no
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_new_muscat
		icon = GFX_focus_oman_ideas_of_muscat
		cost = 35
		x = 11
		y = 14
		available={
			has_country_flag = OMA_salims_victory
		}
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_the_imam_and_the_sultan
		}
		mutually_exclusive={
			focus = oma_vic_past_and_future_kingdoms
			focus = oma_vic_old_oman
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_paying_owned
		icon = GFX_Focus_Diplomatic_foreign_economy
		cost = 140
		x = 9
		y = 15
		completion_reward = {
			if={
				limit={
					OR={
						has_idea = OMA_trade_consessions_to_FRA 
						has_idea = OMA_trade_consessions_to_FRA_2
					}
				}
				FRA={add_political_power = 200}
				add_political_power = -100
			}
			else_if={
				limit={
					OR={
						has_idea = OMA_trade_consessions_to_ENG
						has_idea = OMA_trade_consessions_to_ENG_2
					}
				}
				ENG={add_political_power = 200}
				add_political_power = -100
			}
			else={
				add_political_power = 200
			}
			set_country_flag = paid_1862_succession
		}
		prerequisite={
			focus = oma_vic_new_muscat
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_dealing_tribes
		icon = GFX_focus_generic_concessions
		cost = 140
		x = 9
		y = 16
		completion_reward = {
			remove_ideas = {OMA_tribal_ibadhi_fanaticism}
		}
		prerequisite={
			focus = oma_vic_paying_owned
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_continue_fathers_policy
		icon = GFX_Focus_Friendship_Sunni_Catholic
		cost = 140
		x = 11
		y = 15
		completion_reward = {
			add_stability = 0.05
		}
		prerequisite={
			focus = oma_vic_new_muscat
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_trade_lifeline
		icon = GFX_focus_oman_ideas_of_muscat
		cost = 140
		x = 11
		y = 16
		completion_reward = {
			add_timed_idea = { idea = eoanb_random_event_22_idea days = 200}
		}
		prerequisite={
			focus = oma_vic_continue_fathers_policy
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_rail_invest
		icon = GFX_Focus_transport_railroad_development
		cost = 140
		x = 11
		y = 17
		completion_reward = {
			294={
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
		prerequisite={
			focus = oma_vic_trade_lifeline
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_muscat_develop
		icon = GFX_focus_oman_ideas_of_muscat
		cost = 140
		x = 11
		y = 18
		completion_reward = {
			OMA_muscat_and_oman_divide_decrease = yes
		}
		prerequisite={
			focus = oma_vic_rail_invest
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_entertaining_brits
		icon = GFX_Focus_Diplomatic_Ally_ENG
		cost = 140
		x = 11
		y = 19
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_muscat_develop
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_past_and_future_kingdoms
		icon = GFX_focus_oman_twin_kingdoms
		cost = 35
		x = 15
		y = 14
		available={
			has_country_flag = Azzan_accepts_deal
		}
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_the_imam_and_the_sultan
		}
		mutually_exclusive={
			focus = oma_vic_old_oman
			focus = oma_vic_new_muscat
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_compromise
		icon = GFX_Focus_Government_Reform
		cost = 140
		x = 15
		y = 15
		completion_reward = {
			add_stability = 0.05
		}
		prerequisite={
			focus = oma_vic_past_and_future_kingdoms
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_best_of_both
		icon = GFX_goal_generic_neutrality_focus
		cost = 140
		x = 15
		y = 16
		completion_reward = {
			OMA_muscat_and_oman_divide_decrease = yes
		}
		prerequisite={
			focus = oma_vic_compromise
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_liberism_to_interior
		icon = GFX_Focus_Ideology_Support_Liberalism
		cost = 140
		x = 14
		y = 17
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_best_of_both
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_conserve_coast
		icon = GFX_Focus_Ideology_Support_Liberty
		cost = 140
		x = 16
		y = 17
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_best_of_both
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_shared_values
		icon = GFX_goal_generic_major_alliance
		cost = 140
		x = 15
		y = 18
		completion_reward = {
			OMA_muscat_and_oman_divide_decrease = yes
		}
		prerequisite={
			focus = oma_vic_conserve_coast
		}
		prerequisite={
			focus = oma_vic_liberism_to_interior
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_nation_of_stability
		icon = GFX_Focus_Government
		cost = 140
		x = 15
		y = 19
		completion_reward = {
			increase_ps_by_one = yes
		}
		prerequisite={
			focus = oma_vic_shared_values
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_invest_interior
		icon = GFX_focus_oman_twin_kingdoms
		cost = 140
		x = 17
		y = 15
		completion_reward = {
			797={
				add_extra_state_shared_building_slots = 1
			}
		}
		prerequisite={
			focus = oma_vic_past_and_future_kingdoms
			focus = oma_vic_old_oman
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_invest_coast
		icon = GFX_focus_oman_twin_kingdoms
		cost = 140
		x = 13
		y = 15
		completion_reward = {
			294={
				add_extra_state_shared_building_slots = 1
			}
		}
		prerequisite={
			focus = oma_vic_past_and_future_kingdoms
			focus = oma_vic_new_muscat
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_old_oman
		icon = GFX_focus_oman_ideas_of_oman
		cost = 35
		x = 19
		y = 14
		available={
			has_country_flag = OMA_azzans_victory
		}
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_the_imam_and_the_sultan
		}
		mutually_exclusive={
			focus = oma_vic_past_and_future_kingdoms
			focus = oma_vic_new_muscat
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_power_tribes
		icon = GFX_focus_afr_jihadist_regional_power_rally_for_jihad
		cost = 140
		x = 21
		y = 15
		completion_reward = {
			remove_ideas = {OMA_tribal_ibadhi_fanaticism}
		}
		prerequisite={
			focus = oma_vic_old_oman
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_ignore_brits
		icon = GFX_focus_oman_ideas_of_oman
		cost = 140
		x = 21
		y = 16
		completion_reward = {
			add_political_power = 200
			set_country_flag = ignored_1862_succession_payments
		}
		prerequisite={
			focus = oma_vic_power_tribes
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_ideals_ibadi
		icon = GFX_Focus_Religious_Prayers
		cost = 140
		x = 19
		y = 15
		completion_reward = {
			add_stability = 0.05
		}
		prerequisite={
			focus = oma_vic_old_oman
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_concetrate_oman
		icon = GFX_focus_oman_ideas_of_oman
		cost = 140
		x = 19
		y = 16
		completion_reward = {
			797={
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
		prerequisite={
			focus = oma_vic_ideals_ibadi
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_influence_hinawai
		icon = GFX_goal_generic_political_pressure
		cost = 140
		x = 18
		y = 17
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_concetrate_oman
		}
		mutually_exclusive={
			focus = oma_vic_influence_ghafiri
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_influence_ghafiri
		icon = GFX_focus_Generic_Political_Pressure_Green
		cost = 140
		x = 20
		y = 17
		completion_reward = {
		}
		prerequisite={
			focus = oma_vic_concetrate_oman
		}
		mutually_exclusive={
			focus = oma_vic_influence_hinawai
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_subdue_minor_tribes
		icon = GFX_Focus_Partisans_Suppress_Liberalism
		cost = 140
		x = 19
		y = 18
		completion_reward = {
			OMA_muscat_and_oman_divide_decrease = yes
		}
		prerequisite={
			focus = oma_vic_influence_hinawai
			focus = oma_vic_influence_ghafiri
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	focus = {
		id = oma_vic_dealing_uprising
		icon = GFX_Focus_Monarchy_Violent_Revolution
		cost = 140
		x = 19
		y = 19
		completion_reward = {
			add_stability = 0.1
		}
		prerequisite={
			focus = oma_vic_subdue_minor_tribes
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	
	focus = {
		id = oma_vic_forward_into_future
		icon = GFX_focus_oman_twin_kingdoms
		cost = 35
		x = 15
		y = 20
		completion_reward = {
			load_focus_tree = { tree = oman_mac_ft keep_completed = yes }
		}
		available={
			has_country_leader = {
				name = "Turki bin Said"
				ruling_only = yes
			}
		}
		prerequisite={
			focus = oma_vic_nation_of_stability
			focus = oma_vic_dealing_uprising
			focus = oma_vic_entertaining_brits
		}
		available_if_capitulated = no
		ai_will_do = {
			factor = 1
		}
	}
	
}
