### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}

focus_tree = {
	id = iraq_focus

	country = {
		factor = 0

		modifier = {
			add = 50
			tag = IRQ
			has_dlc = "Graveyard of Empires"
		}
	}

	default = no

	continuous_focus_position = { x = 50 y = 1750 }

	shared_focus = SSB_the_saadabad_pact

	initial_show_position = {
	    focus = IRQ_rally_behind_the_hashemite_dynasty
	}


	# Start of the Focus Tree


	### INDUSTRY ###

	focus = {
		id = IRQ_decouple_from_the_pound
		icon = GFX_focus_IRQ_decouple_from_the_pound
		#prerequisite = { focus = }
		#mutually_exclusive = { focus = }
		x = 0
		y = 0
		#relative_position_id = 

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			#add_stability = -0.05

			IF = {
				limit = {
					ENG = {
						exists = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				ENG = {
					add_opinion_modifier = {
						target = ROOT
						modifier = IRQ_decoupled_from_the_pound
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}	
				}
				prioritize = { 291 1011 676 } 
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_idea = export_focus
				}
				swap_ideas = {
					remove_idea = export_focus
					add_idea = free_trade
				}	
			}
			ELSE_IF = {
				limit = {
					has_idea = limited_exports
				}
				swap_ideas = {
					remove_idea = limited_exports
					add_idea = export_focus
				}	
			}

			add_ideas = IRQ_iraq_currency_board_idea
			
		}
	}

	focus = {
		id = IRQ_construct_the_kut_barrage
		icon = GFX_focus_IRQ_construct_the_kut_barrage
		prerequisite = { focus = IRQ_decouple_from_the_pound }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_decouple_from_the_pound

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			1011 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			1011 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 78
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}
			
			custom_effect_tooltip = newline_tt
			custom_effect_tooltip = can_flood_plains_tt #Narratively speaking this would work slightly better in Extensive Irrigation Projects, however we include it here so that it can be used on a reasonably appropriate historical timeline by the AI.
		}
	}

	focus = {
		id = IRQ_strengthen_mesopotamian_farming
		icon = GFX_focus_generic_farmland
		prerequisite = { focus = IRQ_construct_the_kut_barrage }
		#mutually_exclusive = { focus = }
		x = 0
		y = 3
		relative_position_id = IRQ_construct_the_kut_barrage

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {	
				limit = {
					has_idea = IRQ_iraq_currency_board_idea_3
				}
				swap_ideas = {
					remove_idea = IRQ_iraq_currency_board_idea_3
					add_idea = IRQ_iraq_currency_board_idea_4
				}
			}
			ELSE = {
				swap_ideas = {
					remove_idea = IRQ_iraq_currency_board_idea
					add_idea = IRQ_iraq_currency_board_idea_2
				}
			}
			
		}
	}

	focus = {
		id = IRQ_extensive_irrigation_projects
		icon = GFX_focus_generic_land_reclamation
		prerequisite = { focus = IRQ_construct_the_kut_barrage }
		#mutually_exclusive = { focus = }
		x = -1
		y = 2
		relative_position_id = IRQ_construct_the_kut_barrage

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			291 = {
				is_owned_by = ROOT
				is_fully_controlled_by = ROOT
			}
			1011 = {
				is_owned_by = ROOT
				is_fully_controlled_by = ROOT
			}
			676 = {
				is_owned_by = ROOT
				is_fully_controlled_by = ROOT
			}
			1010 = {
				is_owned_by = ROOT
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			291 = {
				add_extra_state_shared_building_slots = 2
			}
			1011 = {
				add_extra_state_shared_building_slots = 2
			}
			676 = {
				add_extra_state_shared_building_slots = 2
			}
			1010 = {
				add_extra_state_shared_building_slots = 1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						680 = {
							is_controlled_by = ROOT
						}
					}
				}
				custom_effect_tooltip = IRQ_extensive_irrigation_projects_680_tt
			}
			ELSE_IF = {
				limit = {
					680 = {
						is_controlled_by = ROOT
					}
				}
				680 = {
					add_extra_state_shared_building_slots = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						413 = {
							is_controlled_by = ROOT
						}
					}
				}
				custom_effect_tooltip = IRQ_extensive_irrigation_projects_413_tt
			}
			ELSE_IF = {
				limit = {
					413 = {
						is_controlled_by = ROOT
					}
				}
				413 = {
					add_extra_state_shared_building_slots = 2
				}
			}
		}
	}

	focus = {
		id = IRQ_rural_electrification
		icon = GFX_focus_generic_energy
		prerequisite = { focus = IRQ_construct_the_kut_barrage }
		#mutually_exclusive = { focus = }
		x = 1
		y = 2
		relative_position_id = IRQ_construct_the_kut_barrage

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					infrastructure < 4
				}
				prioritize = { 676 1011 } 
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}	
			}	
			random_owned_controlled_state = {
				limit = {
					infrastructure < 4
				}
				prioritize = { 1010 } 
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}	
			}	
			random_owned_controlled_state = {
				limit = {
					infrastructure < 5
				}
				prioritize = { 291 } 
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			IRQ_agrarian_society_modifier_level_down = yes

		}
	}

	focus = {
		id = IRQ_found_the_iraqi_state_railways
		icon = {
		    trigger = { 
		    	OR = {
		    		has_cosmetic_tag = IRQ_kurdistan_tag 
		    		has_cosmetic_tag = greater_kurdistan 
		    	}
		    }
		    value = GFX_focus_IRQ_found_the_iraqi_state_railways_alt
		}
		icon = {
		    value = GFX_focus_IRQ_found_the_iraqi_state_railways
		}
		prerequisite = { focus = IRQ_decouple_from_the_pound }
		#mutually_exclusive = { focus = }
		x = -2
		y = 1
		relative_position_id = IRQ_decouple_from_the_pound

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					NOT = { has_tech = basic_train }
				}
				set_technology = { 
					basic_train = 1
					popup = yes
				}
			}
			add_equipment_to_stockpile = { 
				type = train_equipment_1
				amount = 15 
				producer = ENG
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = IRQ_state_railways_company
			
		}
	}

	focus = {
		id = IRQ_finish_the_berlin_baghdad_railway
		icon = GFX_focus_IRQ_train #GFX_focus_generic_railroad
		prerequisite = { focus = IRQ_found_the_iraqi_state_railways }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_found_the_iraqi_state_railways

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			291 = {
				is_fully_controlled_by = ROOT
			}
			1010 = {
				is_fully_controlled_by = ROOT
			}
			676 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					1010 = {
						infrastructure < 5
					}
				}
				1010 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			IF = {
				limit = {
					1010 = {
						12413 = {
							supply_node < 1
						}
					}
				}
				1010 = {
					add_building_construction = {
					    type = supply_node
					    level = 1
					    instant_build = yes
					    province = 12413
					}
				}
			}

			# Connects Tikrit to Rumadiyah
			build_railway = {
			    level = 1
			    path = { 3795 12413 }
			    start_province = 3795
			    target_province = 12413
			}

			# Connects Tikrit to Erbil
			build_railway = {
			    level = 1
			    path = { 3795 8123 3916 }
			    start_province = 3795
			    target_province = 3916
			}

			IF = {
				limit = {
					677 = {
						OWNER = {
							NOT = {
								has_war_with = ROOT
							}
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				# Connects Mosul to Aleppo through Qamishli
				build_railway = {
				    level = 1
				    path = { 10106 10804 1549 1578 1634 1606 7671 12473 }
				    start_province = 10106
				    target_province = 12473
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IRQ_agrarian_society_modifier_level_down = yes
			
		}
	}

	focus = {
		id = IRQ_purchase_foreign_equipment
		icon = GFX_goal_generic_production2
		prerequisite = { focus = IRQ_decouple_from_the_pound }
		#mutually_exclusive = { focus = }
		x = -4
		y = 1
		relative_position_id = IRQ_decouple_from_the_pound

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_tech_bonus = {
				name = IRQ_purchase_foreign_equipment
				bonus = 0.5
				uses = 2
				category = industry
			}		
			
		}
	}

	focus = {
		id = IRQ_found_southern_steel_plants
		icon = GFX_focus_generic_steel
		prerequisite = { focus = IRQ_purchase_foreign_equipment }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_purchase_foreign_equipment

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			1011 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			1011 = {
				add_resource = {
					type = steel
					amount = 8
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IRQ_agrarian_society_modifier_level_down = yes
			
		}
	}

	focus = {
		id = IRQ_found_the_state_company_for_iron_and_steel
		icon = {
		    trigger = { 
		    	OR = {
		    		has_cosmetic_tag = IRQ_kurdistan_tag 
		    		has_cosmetic_tag = greater_kurdistan 
		    	}
		    }
		    value = GFX_focus_IRQ_found_the_state_company_for_iron_and_steel_alt
		}
		icon = {
		    value = GFX_focus_IRQ_found_the_state_company_for_iron_and_steel
		}
		dynamic = yes
		prerequisite = { focus = IRQ_found_southern_steel_plants }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_found_southern_steel_plants

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			1011 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			1011 = {
				add_resource = {
					type = steel
					amount = 12
				}	
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = IRQ_state_company_for_iron_and_steel
			
		}
	}

	focus = {
		id = IRQ_baghdad_colleges_of_engineering_and_education
		icon = {
		    trigger = { 
		    	OR = {
		    		has_cosmetic_tag = IRQ_kurdistan_tag 
		    		has_cosmetic_tag = greater_kurdistan 
		    	}
		    }
		    value = GFX_focus_IRQ_baghdad_colleges_of_engineering_and_education_alt
		}
		icon = {
		    value = GFX_focus_IRQ_baghdad_colleges_of_engineering_and_education
		}
		dynamic = yes
		prerequisite = { focus = IRQ_decouple_from_the_pound }
		#mutually_exclusive = { focus = }
		x = 2
		y = 1
		relative_position_id = IRQ_decouple_from_the_pound

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			industrial_complex > 4
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_research_slot = 1
			
		}
	}

	focus = {
		id = IRQ_strengthen_the_iraqi_dinar
		icon = GFX_focus_IRQ_strengthen_the_iraqi_dinar
		prerequisite = { focus = IRQ_decouple_from_the_pound }
		#mutually_exclusive = { focus = }
		x = 4
		y = 1
		relative_position_id = IRQ_decouple_from_the_pound

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_timed_idea = {
				idea = IRQ_strenghtened_the_dinar
				days = 420
			}	
			
		}
	}

	focus = {
		id = IRQ_heavy_industry_investments
		icon = GFX_focus_generic_industry_2
		prerequisite = { focus = IRQ_strengthen_the_iraqi_dinar }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_strengthen_the_iraqi_dinar

		cost = 10

		ai_will_do = {
			base = 1
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 1011 } 
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}	
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 291 } 
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}	
			}	

		}
	}

	focus = {
		id = IRQ_local_arms_industry
		icon = GFX_focus_generic_reorient_production
		prerequisite = { focus = IRQ_heavy_industry_investments }
		mutually_exclusive = { focus = IRQ_invite_foreign_arms_corporations }
		x = -1
		y = 1
		relative_position_id = IRQ_heavy_industry_investments

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}	
				}
				prioritize = { 291 } 
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}	
			}

			IF = {
				limit = {
					has_idea = IRQ_iraq_currency_board_idea_2
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = IRQ_iraq_currency_board_idea_2
					add_idea = IRQ_iraq_currency_board_idea_4
				}	
			}
			ELSE = {
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = IRQ_iraq_currency_board_idea
					add_idea = IRQ_iraq_currency_board_idea_3
				}
			}
			
		}
	}

	focus = {
		id = IRQ_invite_foreign_arms_corporations
		icon = GFX_focus_generic_american_investments
		prerequisite = { focus = IRQ_heavy_industry_investments }
		mutually_exclusive = { focus = IRQ_local_arms_industry }
		x = 1
		y = 1
		relative_position_id = IRQ_heavy_industry_investments

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_offsite_building = {
				type = arms_factory
				level = 3
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = IRQ_foreign_industrial_monopolies
			
		}
	}

	focus = {
		id = IRQ_construct_the_dukan_dam
		icon = GFX_focus_generic_hydroelectric_energy
		prerequisite = { focus = IRQ_heavy_industry_investments }
		prerequisite = { focus = IRQ_baghdad_colleges_of_engineering_and_education }
		#mutually_exclusive = { focus = }
		x = 0
		y = 3
		relative_position_id = IRQ_baghdad_colleges_of_engineering_and_education

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			676 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			676 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 6826
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}

		}
	}

	focus = {
		id = IRQ_forceful_industrialization
		icon = GFX_focus_generic_full_employment
		prerequisite = { focus = IRQ_local_arms_industry focus = IRQ_invite_foreign_arms_corporations }
		prerequisite = { focus = IRQ_construct_the_dukan_dam }
		#mutually_exclusive = { focus = }
		x = 1
		y = 2
		relative_position_id = IRQ_local_arms_industry

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_timed_idea = {
				idea = IRQ_recovering_from_forceful_industrialization
				days = 365
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}	
				}
				prioritize = { 291 1011 676 } 
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			IRQ_agrarian_society_modifier_level_down = yes

		}
	}

	


	focus = {
		id = IRQ_nationalize_the_anglo_iraqi_oil_company
		icon = GFX_focus_IRQ_nationalize_the_anglo_iraqi_oil_company
		#prerequisite = { focus = IRQ_civ_research }
		mutually_exclusive = { focus = IRQ_anglo_iraqi_oil_expansion }
		x = -2
		y = 2
		relative_position_id = IRQ_strengthen_mesopotamian_farming

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			has_army_manpower = { size > 100000 }
			NOT = { has_country_flag = IRQ_is_kurdistan }

			NOT = {
				ENG = { is_subject = yes }
				has_war_with = ENG
				ENG = { exists = no }
			}
		}

		bypass = {
			ENG = {
				NOT = {
					has_resources_rights = {
						state = 291
						resources = { oil }
					}
				}
				NOT = {
					has_resources_rights = {
						state = 676
						resources = { oil }
					}
				}
				NOT = {
					has_resources_rights = {
						state = 1010
						resources = { oil }
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_political_power = 75

			IF = {
				limit = {
					ENG = {
						exists = yes
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				ENG = { 
					remove_resource_rights = 676
					remove_resource_rights = 291
					remove_resource_rights = 1010
					diplomatic_relation = { 
						country = ROOT 
						relation = guarantee 
						active = no
					} 
					add_ai_strategy = {
						type = antagonize 
						id = ROOT
					}
					add_ai_strategy = {
						type = conquer 
						id = ROOT
					}
				}
				ENG = {
					add_opinion_modifier = {
						target = ROOT
						modifier = IRQ_nationalized_our_oil
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = IRQ_iraq_petrolium_company
			
		}
	}

	focus = {
		id = IRQ_anglo_iraqi_oil_expansion
		icon = GFX_focus_IRQ_anglo_iraqi_oil_expansion
		#prerequisite = { focus = IRQ_civ_research }
		mutually_exclusive = { focus = IRQ_nationalize_the_anglo_iraqi_oil_company }
		x = 2
		y = 2
		relative_position_id = IRQ_strengthen_mesopotamian_farming

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			NOT = { has_completed_focus = IRQ_revoke_anglo_iraq_treaty }
			NOT = { has_country_flag = IRQ_is_kurdistan }
			291 = {
				is_owned_and_controlled_by = ROOT
			}
			676 = {
				is_owned_and_controlled_by = ROOT
			}
			NOT = {
				ENG = { is_subject = yes }
				has_war_with = ENG
				ENG = { exists = no }
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = IRQ_expanded_anglo_iraqi_oil_company
				}	
				add_ai_strategy = {
					type = befriend
					id = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			291 = {
				add_resource = {
					type = oil
					amount = 8
				}	
			}
			IF = {
				limit = {
					291 = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}	
					}
				}
				291 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}	
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			676 = {
				add_resource = {
					type = oil
					amount = 6
				}	
			}
			#IF = {
			#	limit = {
			#		676 = {
			#			free_building_slots = {
			#				building = industrial_complex
			#				size > 0
			#				include_locked = yes
			#			}	
			#		}
			#	}
			#	676 = {
			#		add_extra_state_shared_building_slots = 1
			#		add_building_construction = {
			#			type = industrial_complex
			#			level = 1
			#			instant_build = yes
			#		}	
			#	}
			#}
			
		}
	}

	focus = {
		id = IRQ_form_opec
		icon = GFX_focus_PER_establish_opec
		prerequisite = { focus = IRQ_nationalize_the_anglo_iraqi_oil_company }
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = IRQ_nationalize_the_anglo_iraqi_oil_company

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			#is_in_faction = no  # Should not require this
			is_subject = no #This however should be required
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					OR = {
						state = 291
						state = 676
						state = 1011
						state = 1010
					}
				}
				prioritize = { 676 }
				add_resource = {
					type = oil
					amount = 8
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			set_rule = { 
				can_create_factions = yes 
			}	
			IF = {
				limit = {
					is_in_faction = no
				}
				create_faction_from_template = {
					template = faction_template_regional
					name = PER_opec
					icon = GFX_faction_logo_generic_15
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ARM_calouste_gulbenkian
			
		}
	}

	focus = {
		id = IRQ_demand_greater_stake_in_the_company
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		prerequisite = { focus = IRQ_anglo_iraqi_oil_expansion }
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = IRQ_anglo_iraqi_oil_expansion

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			NOT = { has_country_flag = IRQ_is_kurdistan }
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					ENG = {
						exists = yes
					}
				} 
				ENG = { 
					remove_resource_rights = 676
					remove_resource_rights = 291
					remove_resource_rights = 1010
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_ideas = IRQ_anglo_iraqi_oil_company

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = IRQ_iraq_petrolium_company
			add_offsite_building = {
				type = industrial_complex
				level = 2
			}
		}
	}

	focus = {
		id = IRQ_expand_oil_production
		icon = GFX_focus_generic_resource_extraction
		prerequisite = { focus = IRQ_anglo_iraqi_oil_expansion focus = IRQ_nationalize_the_anglo_iraqi_oil_company }
		#mutually_exclusive = { focus = }
		x = -2
		y = 1
		relative_position_id = IRQ_anglo_iraqi_oil_expansion

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			NOT = { has_country_flag = IRQ_is_kurdistan }
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_tech_bonus = {
				name = IRQ_expand_oil_production
				bonus = 0.75
				uses = 1
				category = synth_resources
			}

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				prioritize = { 291 }
				add_resource = {
					type = oil
					amount = 10
				}	
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				prioritize = { 676 }
				add_resource = {
					type = oil
					amount = 10
				}	
			}	
			
		}
	}

	focus = {
		id = IRQ_export_infrastructure
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = IRQ_expand_oil_production }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_expand_oil_production

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			NOT = { has_country_flag = IRQ_is_kurdistan }
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_ideas = IRQ_export_economy_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			every_owned_state = {   
				limit = {
					infrastructure < 5
					is_controlled_by = ROOT 
				}
				random_select_amount = 3
				add_building_construction = {
					type = infrastructure 
					level = 1
					instant_build = yes
				}
			}

		}
	}



	#### MILITARY ####

	focus = {
		id = IRQ_royal_iraqi_army
		icon = {
		    trigger = { 
		    	OR = {
		    		has_cosmetic_tag = IRQ_kurdistan_tag 
		    		has_cosmetic_tag = greater_kurdistan 
		    	}
		    }
		    value = GFX_focus_IRQ_royal_iraqi_army_alt
		}
		icon = {
		    value = GFX_focus_IRQ_royal_iraqi_army
		}
		#prerequisite = { focus = }
		#mutually_exclusive = { focus = }
		x = 16
		y = 0
		relative_position_id = IRQ_decouple_from_the_pound

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IRQ_modify_army_modifier_version = yes
			add_to_variable = { 
				IRQ_conscription_factor = 0.05
				tooltip = conscription_factor_tt
			}
			add_to_variable = { 
				IRQ_experience_gain_army_factor = 0.03
				tooltip = experience_gain_army_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			army_experience = 50
			
		}
	}

	focus = {
		id = IRQ_infantry_focus
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = IRQ_royal_iraqi_army }
		#mutually_exclusive = { focus = }
		x = -2
		y = 1
		relative_position_id = IRQ_royal_iraqi_army

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IRQ_modify_army_modifier_version = yes
			add_to_variable = { 
				IRQ_army_core_defence_factor = 0.1
				tooltip = army_core_defence_factor_tt
			}
			add_to_variable = { 
				IRQ_army_core_attack_factor = 0.05
				tooltip = army_core_attack_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}	
				}
				prioritize = { 291 } 
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}	
			}

		}
	}

	focus = {
		id = IRQ_scavenging
		icon = GFX_focus_AFG_scavenging 
		prerequisite = { focus = IRQ_infantry_focus }
		x = -2
		y = 1
		relative_position_id = IRQ_infantry_focus
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
		}
		
		search_filters = {  }

		completion_reward = {

			add_ideas = IRQ_scavenging_tactics_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			random_army_leader = {			
				limit = {
					NOT = {
						has_trait = scavenger
					}
				}
				add_trait = { trait = scavenger }
			}

			random_army_leader = {			
				limit = {
					NOT = {
						has_trait = scavenger
					}
				}
				add_trait = { trait = scavenger}
			}

		}
	}

	focus = {
		id = IRQ_modernization
		icon = GFX_focus_generic_combined_arms
		prerequisite = { focus = IRQ_royal_iraqi_army }
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = IRQ_royal_iraqi_army

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_tech_bonus = {
				name = IRQ_modernization
				bonus = 0.4
				uses = 3
				category = infantry_weapons
				category = motorized_equipment
				category = artillery
				category = support_tech
			}	
			
		}
	}

	focus = {
		id = IRQ_cavalry_integration
		icon = GFX_focus_URG_turmoil_of_paso_morlan
		prerequisite = { focus = IRQ_infantry_focus }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_infantry_focus

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IRQ_modify_army_modifier_version = yes
			add_to_variable = { 
				IRQ_modifier_army_sub_unit_cavalry_attack_factor = 0.1
				tooltip = cavalry_attack_factor_tt
			}	
			add_to_variable = { 
				IRQ_modifier_army_sub_unit_cavalry_speed_factor = 0.05
				tooltip = modifier_army_sub_unit_cavalry_speed_factor_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = IRQ_cavalry_integration
				bonus = 0.5
				uses = 2
				category = support_tech
			}		

		}
	}

	focus = {
		id = IRQ_expand_camel_corps
		icon = GFX_focus_generic_camel_corps
		prerequisite = { focus = IRQ_cavalry_integration }
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = IRQ_cavalry_integration

		allow_branch = {
			has_dlc = "Battle for the Bosporus"
		}

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			division_template = {
				name = "Camel Corps" 			# Tank Battalion

				division_names_group = IRQ_CAV_01

				regiments = {
					camelry = { x = 0 y = 0 } 
					camelry = { x = 0 y = 1 } 
					camelry = { x = 1 y = 0 } 
					camelry = { x = 1 y = 1 }
				}
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "division_template = \"Camel Corps\" start_experience_factor = 0.05 start_equipment_factor = 1"
					owner = IRQ
					count = 2
				}
			}
		}
	}

	focus = {
		id = IRQ_purchase_mechanized_equipment
		icon = GFX_focus_generic_purchase_mechanized_equipment
		prerequisite = { focus = IRQ_modernization }
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = IRQ_modernization

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IRQ_modify_army_modifier_version = yes
			add_to_variable = { 
				IRQ_motorized_attack_factor = 0.05
				tooltip = motorized_attack_factor_tt
			}
			IF = {
				limit = {
					has_idea = IRQ_anglo_iraqi_treaty
				}
				IF = {
					limit = {
						ENG = {
							has_tech = mechanised_infantry
						}
					}
					add_equipment_to_stockpile = { 
						type = mechanized_equipment_1
						amount = 200
						producer = ENG
					}
				}
				ELSE = {
					add_equipment_to_stockpile = { 
						type = motorized_equipment_1
						amount = 200
						producer = ENG
					}
				}
			}
			ELSE_IF = {
				limit = {
					NOT = { has_war_with = ITA }
				}
				IF = {
					limit = {
						ITA = {
							has_tech = mechanised_infantry
						}
					}
					add_equipment_to_stockpile = { 
						type = mechanized_equipment_1
						amount = 200
						producer = ITA
					}
				}
				ELSE = {
					add_equipment_to_stockpile = { 
						type = motorized_equipment_1
						amount = 200
						producer = ITA
					}
				}
			}
			ELSE = {
				add_equipment_to_stockpile = { 
					type = motorized_equipment_1
					amount = 200
					producer = IRQ
				}
			}			
		}
	}

	focus = {
		id = IRQ_purchase_armored_equipment
		icon = GFX_focus_generic_tankette
		prerequisite = { focus = IRQ_modernization }
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = IRQ_modernization

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = light_tank_chassis
					seller_tags = { ITA ENG } 
				}
				IF = {
					limit = {
						has_dlc = "No Step Back"
					}
					add_equipment_to_stockpile = { 
						type = light_tank_chassis_1
						amount = 400
						producer = ITA
					}
				}
				ELSE = {
					add_equipment_to_stockpile = { 
						type = light_tank_equipment_1
						amount = 400
						producer = ITA
					}
				}
			}
			ELSE_IF = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = { 
					type = light_tank_chassis_1
					amount = 700
					producer = ITA
				}
			}
			ELSE = {
				add_equipment_to_stockpile = { 
					type = light_tank_equipment_1
					amount = 700
					producer = ITA
				}
			}		
		}
	}

	focus = {
		id = IRQ_approach_tribes_for_support
		icon = GFX_focus_IRQ_approach_tribes_for_support
		prerequisite = { focus = IRQ_royal_iraqi_army }
		#mutually_exclusive = { focus = }
		x = 3
		y = 1
		relative_position_id = IRQ_royal_iraqi_army

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_manpower = 35000

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = IRQ_armed_tribes_idea
			
		}
	}

	focus = {
		id = IRQ_invest_in_ordnance_mountain_howitzers
		icon = GFX_focus_SMB_mountain_guns
		prerequisite = { focus = IRQ_royal_iraqi_army }
		#mutually_exclusive = { focus = }
		x = -5
		y = 1
		relative_position_id = IRQ_royal_iraqi_army

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = mountain_guns_tt
			hidden_effect = {
			    set_technology = {
			        mountain_gun = 1
			        popup = no
			    }
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_equipment_subsidy = {
					cic = 1500
					equipment_type = artillery_equipment
					seller_tags = { ENG } 
				}	
			}
			
		}
	}

	focus = {
		id = IRQ_training
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = IRQ_cavalry_integration focus = IRQ_purchase_mechanized_equipment focus = IRQ_purchase_armored_equipment }
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = IRQ_purchase_mechanized_equipment

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IRQ_modify_army_modifier_version = yes
			add_to_variable = { 
				IRQ_conscription_factor = 0.05
				tooltip = conscription_factor_tt
			}
			add_to_variable = { 
				IRQ_training_time_factor = -0.05
				tooltip = training_time_factor_tt
			}
			add_to_variable = { 
				IRQ_army_org_factor = 0.05
				tooltip = army_org_factor_tt
			}

		}
	}

	focus = {
		id = IRQ_army_research_bonus
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = IRQ_training }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_training

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_doctrine_cost_reduction = {
				cost_reduction = 0.5
				name = IRQ_army_research_bonus
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_research_slot = 1
		}
	}

	focus = {
		id = IRQ_project_babylon_focus
		icon = GFX_focus_generic_railway_gun
		prerequisite = { focus = IRQ_army_research_bonus }
		#mutually_exclusive = { focus = }
		x = 0
		y = 3
		relative_position_id = IRQ_army_research_bonus

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			any_owned_state = {
				nuclear_facility < 1
				air_facility < 1
				land_facility < 1
				naval_facility < 1
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			
			random_owned_controlled_state = {
				limit = {
					land_facility < 1
					air_facility < 1
					nuclear_facility < 1
					naval_facility < 1
				}
				prioritize = { 1011 }
				construct_building_in_random_province = {
					land_facility = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = IRQ_project_babylon_focus
				bonus = 0.5
				uses = 1
				category = artillery
			}
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}

		}
	}

  	focus = {
		id = IRQ_form_the_independent_mechanized_brigade
		icon = GFX_focus_generic_mechanized
		prerequisite = { focus = IRQ_purchase_mechanized_equipment focus = IRQ_purchase_armored_equipment }
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = IRQ_purchase_mechanized_equipment

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			has_tech = mechanised_infantry
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_tech_bonus = {
				name = IRQ_form_the_independent_mechanized_brigade
				ahead_reduction = 1
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			IRQ_modify_army_modifier_version = yes
			add_to_variable = { 
				IRQ_mechanized_attack_factor = 0.05
				tooltip = mechanized_attack_factor_tt
			}			
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = IRQ_form_the_independent_mechanized_brigade_tt
			division_template = {
				name = "Al-Mechanikiyah"
				is_locked = no
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 }
					mot_recon = { x = 0 y = 2}					
				}
				regiments = {
					mechanized = { x = 0 y = 0 }
					mechanized = { x = 0 y = 1 }
					mechanized = { x = 0 y = 2 }
					mechanized = { x = 1 y = 0 }
					mechanized = { x = 1 y = 1 }
					mechanized = { x = 2 y = 0 }
					mechanized = { x = 2 y = 1 }
				}
			}	
			random_owned_controlled_state = {

				create_unit = {
					division = "division_template = \"Al-Mechanikiyah\" start_experience_factor = 0.05 start_equipment_factor = 1"
					owner = IRQ
					count = 1
				}
			}

			if = { #If IRQ hasnt researched mech1 start_equipment_factor wont will the div above as expected, causing an error. This will fill the template instead by adding it to the stockpile if it doesnt exsits. If u change the template you need to either add or remove how much u give.
				limit = {
					NOT = { has_tech = mechanised_infantry }		
				}
				add_equipment_to_stockpile = { 
					type = mechanized_equipment_1
					amount = 280
					#producer = GER
				}
			}					
		}
	}

	focus = {
		id = IRQ_expand_habbaniya_airbase
		icon = GFX_focus_IRQ_airforce
		prerequisite = { focus = IRQ_royal_iraqi_army }
		#mutually_exclusive = { focus = }
		x = -7
		y = 1
		relative_position_id = IRQ_royal_iraqi_army

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			291 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {
			291 = {
				NOT = { is_owned_by = ROOT }
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_AIR_XP }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					291 = {
						air_base < 9
					}
				}
				291 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}	
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			air_experience = 50

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = IRQ_aircraft_organization

				mio:IRQ_aircraft_organization = {
					add_mio_size = 2
				}

			}
			
		}
	}

	focus = {
		id = IRQ_independent_flight_schools
		icon = GFX_focus_SOV_flying_clubs
		prerequisite = { focus = IRQ_expand_habbaniya_airbase }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_expand_habbaniya_airbase

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			if = {
				limit = {
					has_completed_focus = IRQ_kurdish_revolt
				}
				add_dynamic_modifier = {
					modifier = IRQ_air_force_modifier_KUR
				}
			}
			else = {
				add_dynamic_modifier = {
					modifier = IRQ_air_force_modifier_IRQ
				}
			}
		}
	}

	focus = {
		id = IRQ_purchase_british_aircraft
		icon = GFX_focus_generic_air_partners
		prerequisite = { focus = IRQ_independent_flight_schools }
		mutually_exclusive = { focus = IRQ_purchase_alternative_aricraft }
		x = -1
		y = 1
		relative_position_id = IRQ_independent_flight_schools

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
		    country_exists = ENG
		    NOT = { has_war_with = ENG }
		    ENG = {
		        has_capitulated = no
		        OR = {
		        	has_design_based_on = small_plane_airframe
		        	has_tech = fighter1
		        }
		    }
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY  }
		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
		# dear content designer or modder who stumbled across this
		# this is genuinely the worst code i have written in my entire life
		# do not read this
		# do not try to understand it
		# do not try to fix it
		# you will have an aneurism
		# - lily
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = IRQ_purchase_british_aircraft_AAT_tt
				###
				IF = {
					limit = {
						has_idea = IRQ_anglo_iraqi_treaty
					}
					add_equipment_subsidy = {
						cic = 1000
						equipment_type = small_plane_airframe
						seller_tags = { ENG } 
					}
				}
				ELSE = {
					add_equipment_subsidy = {
						cic = 500
						equipment_type = small_plane_airframe
						seller_tags = { ENG } 
					}
				}

				###
				IF = {
					limit = {
						has_idea = IRQ_anglo_iraqi_treaty
					}
					IF = {
						limit = {
							has_dlc = "By Blood Alone"
						}
						IF = {
							limit = {
								has_equipment = {
									small_plane_airframe_1 > 0
								}
							}
							add_equipment_to_stockpile = { 
								type = small_plane_airframe_1
								amount = 50
								producer = ENG
							}
						}
						ELSE = {
							add_equipment_to_stockpile = { 
								type = small_plane_airframe_0
								amount = 50
								producer = ENG
							}
						}
					}
					ELSE = {
						add_equipment_to_stockpile = { 
							type = fighter_equipment_1
							amount = 50
							producer = ENG
						}
					}
				}
				ELSE = {
					IF = {
						limit = {
							has_dlc = "By Blood Alone"
						}
						IF = {
							limit = {
								has_equipment = {
									small_plane_airframe_1 > 0
								}
							}
							add_equipment_to_stockpile = { 
								type = small_plane_airframe_1
								amount = 50
								producer = ENG
							}
						}
						ELSE = {
							add_equipment_to_stockpile = { 
								type = small_plane_airframe_0
								amount = 50
								producer = ENG
							}
						}
					}
					ELSE = {
						add_equipment_to_stockpile = { 
							type = fighter_equipment_1
							amount = 25
							producer = ENG
						}
					}
				}

			}
			ELSE_IF = {
				limit = {
					has_idea = IRQ_anglo_iraqi_treaty
				}
				custom_effect_tooltip = IRQ_purchase_british_aircraft_treaty_tt
				IF = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					IF = {
						limit = {
							has_equipment = {
								small_plane_airframe_1 > 0
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_1
							amount = 100
							producer = ENG
						}
					}
					ELSE = {
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_0
							amount = 100
							producer = ENG
						}
					}
				}
				ELSE = {
					add_equipment_to_stockpile = { 
						type = fighter_equipment_1
						amount = 100
						producer = ENG
					}
				}
			}
			ELSE = {
				IF = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					IF = {
						limit = {
							has_equipment = {
								small_plane_airframe_1 > 0
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_1
							amount = 50
							producer = ENG
						}
					}
					ELSE = {
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_0
							amount = 50
							producer = ENG
						}
					}
				}
				ELSE = {
					add_equipment_to_stockpile = { 
						type = fighter_equipment_1
						amount = 50
						producer = ENG
					}
				}
			}
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = IRQ_purchased_our_equipment
				}
				IF = {
					limit = {
						has_government = democratic
					}
					ROOT = {
						add_popularity = {
							ideology = democratic
							popularity = 0.025
						}
					}
				}
			}			
		}
	}

	focus = {
		id = IRQ_purchase_alternative_aricraft
		icon = GFX_focus_SMB_purchase_aircraft
		prerequisite = { focus = IRQ_independent_flight_schools }
		mutually_exclusive = { focus = IRQ_purchase_british_aircraft }
		x = 1
		y = 1
		relative_position_id = IRQ_independent_flight_schools

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = small_plane_airframe
					seller_tags = { ITA } 
				}
				IF = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					add_equipment_to_stockpile = { 
						type = small_plane_airframe_0
						amount = 30
						producer = ITA
					}
				}
				ELSE = {
					add_equipment_to_stockpile = { 
						type = fighter_equipment_0
						amount = 30
						producer = ITA
					}
				}
			}
			ELSE_IF = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_equipment_to_stockpile = { 
					type = small_plane_airframe_0
					amount = 55
					producer = ITA
				}
			}
			ELSE = {
				add_equipment_to_stockpile = { 
					type = fighter_equipment_0
					amount = 55
					producer = ITA
				}
			}
			ITA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = IRQ_purchased_our_equipment
				}
				IF = {
					limit = {
						has_government = fascism
					}
					ROOT = {
						add_popularity = {
							ideology = fascism
							popularity = 0.025
						}
					}
				}
			}
		}
	}

	focus = {
		id = IRQ_bomber_training
		icon = GFX_focus_usa_escort_fighters
		prerequisite = { focus = IRQ_purchase_alternative_aricraft focus = IRQ_purchase_british_aircraft }
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = IRQ_purchase_british_aircraft

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_AIR_XP }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			air_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt
			IRQ_modify_air_force_modifier_version = yes
		
			add_to_variable = { 
				IRQ_air_strategic_bomber_bombing_factor = 0.1
				tooltip = air_strategic_bomber_bombing_factor_tt
			}		
			add_to_variable = { 
				IRQ_air_range_factor = 0.1
				tooltip = air_range_factor_tt
			}	
			add_to_variable = { 
				IRQ_air_cas_efficiency = 0.1
				tooltip = air_cas_efficiency_tt
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = IRQ_close_air_support_aircraft_organization

				mio:IRQ_close_air_support_aircraft_organization = {
					add_mio_size = 2
				}

			}	

		}
	}

	focus = {
		id = IRQ_naval_air_support
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = IRQ_purchase_alternative_aricraft focus = IRQ_purchase_british_aircraft }
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = IRQ_purchase_british_aircraft

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			air_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			IRQ_modify_air_force_modifier_version =  yes
			add_to_variable = { 
				IRQ_air_nav_efficiency = 0.1
				tooltip = air_nav_efficiency_tt
			}
			IF = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				IF = {
					limit = {
						NOT = {
							has_tech = air_torpedoe_1
						}
					}
					set_technology = {
						air_torpedoe_1 = 1
						popup = yes
					}	
				}
			}
			ELSE = {
				IF = {
					limit = {
						NOT = {
							has_tech = naval_bomber1
						}
					}
					set_technology = {
						naval_bomber1 = 1
						popup = yes
					}
				}
			}	

		}
	}

	focus = {
		id = IRQ_fighter_training
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = IRQ_purchase_alternative_aricraft focus = IRQ_purchase_british_aircraft }
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = IRQ_purchase_alternative_aricraft

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			air_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			IRQ_modify_air_force_modifier_version = yes
			add_to_variable = { 
				IRQ_air_agility_factor = 0.1
				tooltip = air_agility_factor_tt
			}
			add_to_variable = { 
				IRQ_air_ace_generation_chance_factor = 0.05
				tooltip = air_ace_generation_chance_factor_tt
			}
			add_to_variable = {
				IRQ_air_superiority_efficiency = 0.1
				tooltip = air_superiority_efficiency_tt
			}		

		}
	}
	
	focus = {
		id = IRQ_air_research_bonus
		icon = GFX_focus_generic_aircraft_production
		prerequisite = { focus = IRQ_fighter_training focus = IRQ_naval_air_support focus = IRQ_bomber_training }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_naval_air_support

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			any_owned_state = {
				nuclear_facility < 1
				air_facility < 1
				land_facility < 1
				naval_facility < 1
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }
		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			
			random_owned_controlled_state = {
				limit = {
					can_construct_building = air_facility
				}
				prioritize = { 1010 }
				construct_building_in_random_province = {
					air_facility = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = IRQ_air_research_bonus
				bonus = 0.5
				uses = 1
				category = light_air
			}	
			add_tech_bonus = {
				name = IRQ_air_research_bonus
				bonus = 0.5
				uses = 1
				category = medium_air
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = IRQ_multi_role_aircraft_organization

				mio:IRQ_multi_role_aircraft_organization = {
					add_mio_size = 2
				}

			}

		}
	}

	focus = {
		id = IRQ_special_projects
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = IRQ_air_research_bonus }
		prerequisite = { focus = IRQ_army_research_bonus }
		#mutually_exclusive = { focus = }
		x = -2
		y = 2
		relative_position_id = IRQ_army_research_bonus

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			any_owned_state = {
				nuclear_facility < 1
				air_facility < 1
				land_facility < 1
				naval_facility < 1
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			
			random_owned_controlled_state = {
				limit = {
					can_construct_building = nuclear_facility
				}
				prioritize = { 291 }
				construct_building_in_random_province = {
					nuclear_facility = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					NOT = { has_tech = atomic_research }
				}
				add_tech_bonus = {
					name = IRQ_special_projects
					bonus = 0.5
					uses = 1
					category = nuclear
				}
			}
			else = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.25
				}
			}
			
		}
	}

	focus = {
		id = IRQ_special_forces
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = IRQ_army_research_bonus }
		#mutually_exclusive = { focus = }
		x = 2
		y = 2
		relative_position_id = IRQ_army_research_bonus

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_potential_special_forces_tree = yes
				add_doctrine_cost_reduction = {
					name = IRQ_special_forces
					cost_reduction = 0.25
					uses = 1
					category = special_forces_doctrine
				}
				add_tech_bonus = {
					name = IRQ_special_forces
					bonus = 0.5
					uses = 1
					category = cat_special_forces_generic
				}	
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			ELSE = {
				add_tech_bonus = {
					name = IRQ_special_forces
					bonus = 0.5
					uses = 2
					category = cat_special_forces_generic
				}	
				custom_effect_tooltip = generic_skip_one_line_tt	
			}	

			IRQ_modify_air_force_modifier_version = yes
			add_to_variable = { 
				IRQ_special_forces_cap = 0.15 
				tooltip = special_forces_cap_tt 
			}			
		}
	}

	focus = {
		id = IRQ_establish_iraqi_coastal_defense_force
		icon = {
		    trigger = { 
		    	OR = {
		    		has_cosmetic_tag = IRQ_kurdistan_tag 
		    		has_cosmetic_tag = greater_kurdistan 
		    	}
		    }
		    value = GFX_focus_IRQ_navy_alt
		}
		icon = {
		    value = GFX_focus_IRQ_navy
		}
		prerequisite = { focus = IRQ_royal_iraqi_army }
		#mutually_exclusive = { focus = }
		x = 5
		y = 1
		relative_position_id = IRQ_royal_iraqi_army

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_NAVY_XP }

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			if = {
				limit = {
					has_completed_focus = IRQ_kurdish_revolt
				}
				add_dynamic_modifier = {
					modifier = IRQ_navy_modifier_KUR
				}
			}
			else = {
				add_dynamic_modifier = {
					modifier = IRQ_navy_modifier_IRQ
				}
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = IRQ_naval_organization

				mio:IRQ_naval_organization = {
					add_mio_size = 2
				}

			}

		}
	}

	focus = {
		id = IRQ_invite_foreign_advisors
		icon = GFX_focus_generic_naval_discipline
		prerequisite = { focus = IRQ_establish_iraqi_coastal_defense_force }
		#mutually_exclusive = { focus = }
		x = -1
		y = 1
		relative_position_id = IRQ_establish_iraqi_coastal_defense_force

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IRQ_modify_navy_modifier_version = yes
			add_to_variable = { 
				IRQ_navy_spirit_category_type_cost_factor = -0.1
				tooltip = navy_spirit_category_type_cost_factor_tt
			}
			add_to_variable = { 
				IRQ_naval_coordination = 0.1
				tooltip = naval_coordination_tt
			}
			add_to_variable = { 
				IRQ_naval_accidents_chance = -0.1
				tooltip = naval_accidents_chance_tt
			}
		}
	}

	#focus = {
	#	id = IRQ_invite_foreign_corporations
	#	#icon = GFX_focus_hun_elect_a_king
	#	prerequisite = { focus = IRQ_establish_iraqi_coastal_defense_force }
	#	#mutually_exclusive = { focus = }
	#	x = 1
	#	y = 1
	#	relative_position_id = IRQ_establish_iraqi_coastal_defense_force
#
	#	cost = 10
#
	#	ai_will_do = {
	#		base = 1
	#	}
#
	#	available = {
	#		
	#	}
#
	#	bypass = {
#
	#	}
#
	#	search_filters = { }
#
	#	cancel_if_invalid = yes
	#	continue_if_invalid = no
	#	available_if_capitulated = no
#
	#	completion_reward = {
#
	#		
	#	}
	#}

	focus = {
		id = IRQ_purchase_small_ships
		icon = GFX_focus_SWE_italian_destroyers
		prerequisite = { focus = IRQ_invite_foreign_advisors }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_invite_foreign_advisors

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = ETH_purchase_obsolete_ships_tt
			set_country_flag = generic_purchase_old_ships_flag			
		}
	}

	focus = {
		id = IRQ_create_repair_yards
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = IRQ_establish_iraqi_coastal_defense_force }
		#mutually_exclusive = { focus = }
		x = 1
		y = 1
		relative_position_id = IRQ_establish_iraqi_coastal_defense_force

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			1011 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			1011 = {
				IF = {
					limit = { naval_base < 8 }
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = {
							all_provinces = yes
							limit_to_coastal = yes
					    }
					}
				}
				IF = {
					limit = { 
						dockyard < 8
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
					
				}
			}

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = IRQ_submarine_organization

				mio:IRQ_submarine_organization = {
					add_mio_size = 2
				}

			}

		}
	}

	focus = {
		id = IRQ_navy_research_bonus
		icon = GFX_focus_generic_navy_research_bonus
		prerequisite = { focus = IRQ_purchase_small_ships }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_purchase_small_ships

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			set_technology = { coastal_defense_ships = 1 }
			add_tech_bonus = {
				name = IRQ_navy_research_bonus
				bonus = 1.0
				uses = 1
				category = ss_tech
			}
			add_tech_bonus = {
				name = IRQ_navy_research_bonus
				bonus = 1.0
				uses = 1
				category = ca_tech
			}			
		}
	}

	focus = {
		id = IRQ_develop_the_kuwaiti_port
		icon = GFX_focus_POL_develop_polish_shipbuilding
		prerequisite = { focus = IRQ_create_repair_yards }
		#mutually_exclusive = { focus = }
		x = 0
		y = 1
		relative_position_id = IRQ_create_repair_yards

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			656 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			656 = {
				IF = {
					limit = { naval_base < 8 }
					hidden_effect = {
						add_building_construction = {
							type = naval_base
							level = 1
							instant_build = yes
							province = {
								all_provinces = yes
								limit_to_coastal = yes
						    }
						}
					}
					custom_effect_tooltip = IRQ_develop_the_kuwaiti_port_tt
				}
				IF = {
					limit = { 
						dockyard < 8
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
					
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IRQ_modify_navy_modifier_version = yes
			add_to_variable = {
				IRQ_navy_refit_speed = 0.1
				tooltip = refit_speed_tt
			}
			add_to_variable = {
				IRQ_navy_repair_speed_factor = 0.25
				tooltip = repair_speed_factor_tt
			}	

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = IRQ_kuwait_dockyards_organization

				mio:IRQ_kuwait_dockyards_organization = {
					add_mio_size = 2
				}

			}

		}
	}



	### Hashemite/Golden Square Branches ###

	focus = {
		id = IRQ_rally_behind_the_hashemite_dynasty
		icon = GFX_focus_IRQ_rally_behind_the_hashemite_dynasty
		#prerequisite = { focus = }
		mutually_exclusive = { focus = IRQ_party_of_national_brotherhood focus = IRQ_promote_kurdish_culture }
		x = 31
		y = 0
		#relative_position_id = IRQ_ensure_sunni_dominance

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = IRQ_promote_kurdish_culture
				}
			}
		}

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_STABILITY }
		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_stability = 0.1
			add_political_power = 100
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes 
			}
		}
	}

	focus = {
		id = IRQ_increase_anglo_iraqi_economic_ties
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = IRQ_rally_behind_the_hashemite_dynasty }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = IRQ_rally_behind_the_hashemite_dynasty

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = IRQ_purchased_our_equipment
				}
			}
			add_offsite_building = {
				type = industrial_complex
				level = 2
			}
		}
	}

	focus = {
		id = IRQ_raf_levies_focus
		icon = GFX_focus_generic_air_bases
		prerequisite = { focus = IRQ_increase_anglo_iraqi_economic_ties focus = IRQ_bakr_sidqi_coup }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = IRQ_increase_anglo_iraqi_economic_ties

		cost = 10

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_AIR_XP }

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					NOT = {
						has_tech = tech_support
					}
				}
				set_technology = {
					tech_support = 1
					popup = no
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			air_experience = 15

			custom_effect_tooltip = generic_skip_one_line_tt

			division_template = {
				name = "RAF Levy"
				is_locked = no
				template_counter = 98
				role = garrison
				support = {
					engineer = { x = 0 y = 0 }			
				}
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
				}
				override_model = commonwealth_gfx_infantry_entity
			}
			random_owned_controlled_state = {
				create_unit = {
					division = "division_template = \"RAF Levy\" start_experience_factor = 0.05 start_equipment_factor = 1"
					owner = IRQ
					count = 3
				}
			}
		}
	}

	focus = {
		id = IRQ_kurdish_outreach
		icon = GFX_focus_generic_befriend_kurdistan
		prerequisite = { focus = IRQ_increase_anglo_iraqi_economic_ties }
		#mutually_exclusive = { focus =  }
		x = -2
		y = 1
		relative_position_id = IRQ_increase_anglo_iraqi_economic_ties

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			has_stability > 0.5
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					676 = {
						has_dynamic_modifier = { modifier = KUR_resistance_modifier }
					}
				}
				676 = {
					remove_dynamic_modifier = { modifier = KUR_resistance_modifier }
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = IRQ_muhammad_amin_zaki
		}
	}

	focus = {
		id = IRQ_assasination_of_sidqi
		icon = GFX_focus_IRQ_assasination_of_sidqi
		prerequisite = { focus = IRQ_raf_levies_focus focus = IRQ_increase_italian_business_relations }
		mutually_exclusive = { focus = IRQ_attempted_assasination_of_sidqi }
		x = 0
		y = 1
		relative_position_id = IRQ_raf_levies_focus

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				has_country_leader = {
					ruling_only = yes
					character = IRQ_hikmat_suleiman
				}
				NOT = {
					has_idea = IRQ_ghazi_i
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = IRQ_nuri_as_said
						}
						has_country_leader = {
							ruling_only = yes
							character = IRQ_abd_al_ilah 
						}	
					}
				}
				IRQ_nuri_as_said = {
					add_country_leader_role = {
						country_leader = {
							ideology = despotism
							expire = "1965.1.1.1"
							traits = { IRQ_british_lackey }
						}
						promote_leader = yes
					} 
				}
			}
			
			IF = {
				limit = {
					has_idea = IRQ_bakr_sidqi_pm
				}
				remove_ideas = IRQ_bakr_sidqi_pm
			}
			retire_character = IRQ_bakr_sidqi

			custom_effect_tooltip = generic_skip_one_line_tt

			add_war_support = 0.05
			add_stability = 0.1

		}
	}

	focus = {
		id = IRQ_eliminate_the_golden_square
		icon = GFX_focus_generic_anti_fascist_diplomacy
		prerequisite = { focus = IRQ_assasination_of_sidqi focus = IRQ_attempted_assasination_of_sidqi }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = IRQ_assasination_of_sidqi

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			NOT = {
				has_completed_focus = IRQ_strengthen_the_golden_square
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			remove_ideas = IRQ_golden_square

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 100

			custom_effect_tooltip = generic_skip_one_line_tt

			every_character = {
				limit = {
					has_character_flag = IRQ_golden_square_char
				}
				retire = yes
			}

		}
	}

	focus = {
		id = IRQ_embargo_the_axis_powers
		icon = GFX_focus_ITA_liberation_or_death
		prerequisite = { focus = IRQ_eliminate_the_golden_square }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = IRQ_eliminate_the_golden_square

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			NOT = { 
				OR = {
					has_war_with = GER 
					is_in_faction_with = GER
				}
			}
			GER = {
				exists = yes
				has_war_with = ENG
				is_faction_leader = yes
			}			
		}

		bypass = {
			OR = {
				has_war_with = GER
				is_in_faction_with = ENG 
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			every_other_country = {
				limit = {
					is_in_faction_with = GER
				}
				ROOT = { send_embargo = PREV }
			}
			ENG = {
				add_opinion_modifier = {
					modifier = IRQ_embargoed_axis
					target = ROOT
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			add_equipment_to_stockpile = { 
				type = convoy_1
				amount = 50 
				producer = GER
			}	

		}
	}

	focus = {
		id = IRQ_support_the_allied_war_effort
		icon = GFX_focus_ARG_join_the_allies
		prerequisite = { focus = IRQ_embargo_the_axis_powers focus = IRQ_restore_regent }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 2
		relative_position_id = IRQ_embargo_the_axis_powers

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
			NOT = { has_government = fascism}
		}

		bypass = {
			OR = {
				ENG = {
					is_faction_leader = yes
					is_in_faction_with = ROOT
					has_government = democratic
				}
				USA = {
					is_faction_leader = yes
					is_in_faction_with = ROOT
					has_government = democratic
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = { 
					ENG = {
						exists = yes
						has_government = democratic
						is_faction_leader = yes
					}					
				}
				ENG = {
					country_event = { id = generic.2 hours = 4 }
				} 
			}
			ELSE_IF = {
				limit = { 
					USA = {
						exists = yes
						has_government = democratic
						is_faction_leader = yes
					}					
				}
				USA = {
					country_event = { id = generic.2 hours = 4 }
				} 
			}	
			ELSE = {
				set_rule = {
					can_create_factions = yes
				}
				set_rule = {
					can_send_volunteers = yes
				}
			}

		}
	}

	focus = {
		id = IRQ_arab_league
		icon = GFX_focus_IRQ_arab_league
		prerequisite = { focus = IRQ_embargo_the_axis_powers focus = IRQ_revoke_anglo_iraq_treaty }
		#mutually_exclusive = { focus =  }
		x = 6
		y = 1
		relative_position_id = IRQ_embargo_the_axis_powers
		mutually_exclusive = { focus = IRQ_join_axis focus = IRQ_restore_regent }
		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				is_in_faction = no
				AND = {
					is_in_faction = yes
					is_faction_leader = no
					has_war = no
				}
			}
			is_subject = no
			NOT = {
				has_completed_focus = IRQ_curtail_arabism
			}
		}

		bypass = {
			is_faction_leader = yes
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					is_in_faction = yes
					is_faction_leader = no
					has_war = no
				}
				leave_faction = yes
			}
			set_rule = {
				can_create_factions = yes
			}
			create_faction_from_template = {
				template = faction_template_AFG_united_islamic_world_faction
				name = IRQ_arab_league_faction
				icon = GFX_faction_logo_generic_10
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			set_rule = {
				can_send_volunteers = yes
			}	

		}
	}

	focus = {
		id = IRQ_arab_league_economic_cooperation
		icon = GFX_focus_BRA_reach_out_to_military_dem
		prerequisite = { focus = IRQ_arab_league }
		x = 0
		y = 1
		relative_position_id = IRQ_arab_league

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
			is_faction_leader = yes
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = IRQ_arab_league_economic_cooperation_tt
			hidden_effect = {
				IF = {
					limit = {
						country_exists = KUW
						KUW = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = JOR
						JOR = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = SYR
						SYR = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = PAL
						PAL = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = BHR
						BHR = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = SAU
						SAU = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = QAT
						QAT = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = UAE
						UAE = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = OMA
						OMA = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = IMO
						IMO = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = YEM
						YEM = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = FSA
						FSA = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = EGY
						EGY = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = SUD
						SUD = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = LBA
						LBA = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = ALG
						ALG = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = TUN
						TUN = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = MOR
						MOR = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = RIF
						RIF = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = WES
						WES = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = MRT
						MRT = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
				IF = {
					limit = {
						country_exists = LEB
						LEB = { has_opinion = { target = IRQ value > 85 } }
					}
					add_offsite_building = { type = industrial_complex level = 1 }
				}
			}

		}
	}

	focus = {
		id = IRQ_protector_of_the_gulf
		icon = GFX_focus_IRQ_protector_of_the_gulf
		prerequisite = { focus = IRQ_support_the_allied_war_effort }
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = IRQ_support_the_allied_war_effort

		cost = 10

		ai_will_do = {
			base = 0
		}

		available = {
			is_subject = no
			NOT = {
				656 = {
					OWNER = {
						has_war_with = ROOT
					}
				}
			}
		}

		bypass = {
			656 = {
				is_owned_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					KUW = { 
						exists = yes
						is_subject = yes
					}
				}
				KUW = {
					OVERLORD = {
						country_event = {
							id = IRQ_political_events.50
							hours = 1
						}
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					puppet = KUW
				}
			}
			ELSE = {
				656 = {
					OWNER = {
						country_event = {
							id = IRQ_political_events.50
							hours = 1
						}
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					every_state = {
						limit = {
							is_core_of = KUW
						}
						transfer_state_to = ROOT
					}
				}
			}			
		}
	}

	focus = {
		id = IRQ_renegotiate_treaty
		icon = GFX_focus_IRQ_discuss_a_new_treaty
		prerequisite = { focus = IRQ_support_the_allied_war_effort focus = IRQ_a_new_caliph focus = IRQ_hashemite_arab_federation }
		#mutually_exclusive = { focus =  }
		x = -5
		y = 2
		relative_position_id = IRQ_support_the_allied_war_effort

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			NOT = {
				has_war_with = ENG
			}
			has_idea = IRQ_anglo_iraqi_treaty
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			swap_ideas = {
				remove_idea = IRQ_anglo_iraqi_treaty
				add_idea = IRQ_anglo_iraqi_mutual_defense_agreement
			}
			give_guarantee = ENG
			ENG = {
				give_guarantee = ROOT
			}						
		}
	}

	#focus = {
	#	id = IRQ_negotiate_kuwait
	#	icon = GFX_focus_PLACEHOLDER
	#	prerequisite = { focus = IRQ_support_the_allied_war_effort }
	#	#mutually_exclusive = { focus =  }
	#	x = 2
	#	y = 1
	#	relative_position_id = IRQ_support_the_allied_war_effort
#
	#	cost = 10
#
	#	ai_will_do = {
	#		base = 1
	#	}
#
	#	available = {
	#		
	#	}
#
	#	bypass = {
#
	#	}
#
	#	search_filters = { }
#
	#	cancel_if_invalid = yes
	#	continue_if_invalid = no
	#	available_if_capitulated = no
#
	#	completion_reward = {
#
	#		
	#	}
	#}

	focus = {
		id = IRQ_allied_training
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = IRQ_support_the_allied_war_effort }
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = IRQ_support_the_allied_war_effort

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP	FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP }

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				is_in_faction_with = ENG
				has_government = democratic
			}
			has_war_with_major = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			army_experience = 20
			air_experience = 20
			navy_experience = 10

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_war_with = GER
				}
				add_ideas = IRQ_GER_attack_bonus
			}
			IF = {
				limit = {
					has_war_with = ITA
				}
				add_ideas = IRQ_ITA_attack_bonus
			}
			IF = {
				limit = {
					NOT = {
						has_war_with = ITA
						has_war_with = GER
					}
				}
				add_ideas = IRQ_generic_attack_bonus
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = IRQ_harry_george_smart

		}
	}

	focus = {
		id = IRQ_reach_out_to_jordan
		icon = GFX_focus_IRQ_reach_out_to_jordan
		prerequisite = { focus = IRQ_increase_anglo_iraqi_economic_ties }
		#mutually_exclusive = { focus =  }
		x = -5
		y = 1
		relative_position_id = IRQ_increase_anglo_iraqi_economic_ties

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_army_manpower = { size > 30000 }
			OR = {
				455 = { is_owned_and_controlled_by = ENG }
				JOR = { is_subject_of = ENG }
			}
			has_idea = IRQ_anglo_iraqi_treaty
		}

		bypass = {
			NOT = {
				OR = {
					455 = { is_owned_and_controlled_by = ENG }
					JOR = { is_subject_of = ENG }
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			ENG = {
				country_event = {
					id = IRQ_political_events.16
					hours = 1
				}
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			set_cosmetic_tag = IRQ_kingdom_of_iraq_tag

		}
	}

	focus = {
		id = IRQ_regional_economic_integration
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = IRQ_reach_out_to_jordan }
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = IRQ_reach_out_to_jordan

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			291 = {
				build_railway = {
					level = 2
					path = {
						3795 12413 1631 4440 1544 4574
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

		}
	}

	focus = {
		id = IRQ_regional_military_integration
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = IRQ_reach_out_to_jordan }
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = IRQ_reach_out_to_jordan

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			army_experience = 20

			custom_effect_tooltip = generic_skip_one_line_tt

			ETH_add_random_mil_factory_effect = yes
			IF = { 
				limit = {
					OR = {
						455 = {
							is_owned_and_controlled_by = ROOT
						}
						JOR = { is_subject_of = ROOT }
					}
				}
				455 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			ELSE = {
				custom_effect_tooltip = IRQ_regional_military_integration_tt
			}	
					
		}
	}

	focus = {
		id = IRQ_demand_palestine
		icon = GFX_focus_IRQ_demand_palestine
		prerequisite = { focus = IRQ_regional_military_integration }
		prerequisite = { focus = IRQ_regional_economic_integration}
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = IRQ_regional_military_integration

		cost = 10

		ai_will_do = {
			base = 1
		}

		will_lead_to_war_with = PAL
		will_lead_to_war_with = ENG

		available = {
			is_subject = no
			has_army_manpower = { size > 45000 }
			OR = {
				454 = { is_owned_and_controlled_by = ENG }
				AND = {
					PAL = { is_subject_of = ENG }
					454 = { is_owned_and_controlled_by = PAL }
				}
			}
		}

		bypass = {
			NOT = {
				454 = { is_owned_and_controlled_by = ENG }
				PAL = { is_subject_of = ENG }
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_STABILITY }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			ENG = {
				country_event = {
					id = IRQ_political_events.21
					hours = 1
				}
			}

		}
	}

	focus = {
		id = IRQ_commander_of_the_faithful
		icon = GFX_focus_TUR_loosen_the_laws_on_secularism
		prerequisite = { focus = IRQ_demand_palestine }
		#mutually_exclusive = { focus =  }
		x = -3
		y = 1
		relative_position_id = IRQ_demand_palestine

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_country_leader = {
				ruling_only = yes
				character = IRQ_abd_al_ilah
			}	
		}

		bypass = {
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = IRQ_abd_al_illah_fm_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = IRQ_command_of_the_faithful

		}
	}

	focus = {
		id = IRQ_increase_prime_ministers_powers
		icon = GFX_focus_ARG_defense_and_democracy
		prerequisite = { focus = IRQ_demand_palestine }
		#mutually_exclusive = { focus =  }
		x = 3
		y = 1
		relative_position_id = IRQ_demand_palestine

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_country_flag = IRQ_regent_turned_down_absolute_powers
			NOT = {
				has_country_leader = {
					ruling_only = yes
					character = IRQ_abd_al_ilah
				}	
				has_government = democratic
			}
		}

		bypass = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_stability = 0.15

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = {
				ideology = democratic 
				popularity = 0.25
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			set_politics = {
				ruling_party = democratic
				elections_allowed = yes
				last_election = "1936.01.01"
				election_frequency = 48
			}	

			hidden_effect = {
				drop_cosmetic_tag = yes
				set_cosmetic_tag = IRQ_constitutional_monarchy_iraq
			}

		}
	}

	focus = {
		id = IRQ_demand_syria_hashemite
		icon = GFX_focus_IRQ_IRQ_demand_syria_hashemite
		prerequisite = { focus = IRQ_demand_palestine }
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = IRQ_demand_palestine

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			680 = {
				is_controlled_by = OWNER
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
				OR = {
					any_country = {
						original_tag = FRA
						owns_state = 680
					}
					owner = {
						is_subject = yes
						overlord = {
							original_tag = FRA
						}
					}
				}
			} 
			554 = {
				is_controlled_by = OWNER
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
			677 = {
				is_controlled_by = OWNER
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
			799 = {
				is_controlled_by = OWNER
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
		}

		bypass = {
			AND = {
				680 = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				} 
				554 = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
				677 = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					SYR = { 
						exists = yes
						is_subject = yes
					}
				}
				SYR = {
					OVERLORD = {
						country_event = {
							id = IRQ_political_events.40
							hours = 1
						}
					}
				}
			}
			ELSE = {
				554 = {
					OWNER = {
						country_event = {
							id = IRQ_political_events.40
							hours = 1
						}
					}
				}
			}			
		}
	}
	focus = {
		id = IRQ_hashemite_arab_federation
		icon = GFX_focus_IRQ_hashemite_arab_federation
		prerequisite = { focus = IRQ_demand_syria_hashemite }
		mutually_exclusive = { focus = IRQ_a_new_caliph }
		x = 0
		y = 1
		relative_position_id = IRQ_demand_syria_hashemite

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			291 = { 
				is_owned_by = ROOT
			}
			856 = {
				OR = {
					is_owned_by = ROOT
					OWNER = { is_subject_of = ROOT }
				}
			}
			455 = {
				OR = {
					is_owned_by = ROOT
					OWNER = { is_subject_of = ROOT }
				}
			}
			554 = {
				OR = {
					is_owned_by = ROOT
					OWNER = { is_subject_of = ROOT }
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			hidden_effect = { drop_cosmetic_tag = yes }
			set_cosmetic_tag = IRQ_hashemite_arab_federation
			custom_effect_tooltip = generic_skip_one_line_tt
			679 = { add_core_of = ROOT }
			855 = { add_core_of = ROOT }
			856 = { add_core_of = ROOT }
			454 = { add_core_of = ROOT }
			455 = { add_core_of = ROOT }
			680 = { add_core_of = ROOT }
			677 = { add_core_of = ROOT }
			554 = { add_core_of = ROOT }
			799 = { add_core_of = ROOT }
		}
	}

	focus = {
		id = IRQ_expand_membership
		icon = GFX_focus_IRQ_expand_membership
		prerequisite = { focus = IRQ_hashemite_arab_federation }
		#mutually_exclusive = { focus = IRQ_hashemite_arab_federation }
		x = 0
		y = 1
		relative_position_id = IRQ_hashemite_arab_federation

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = IRQ_expand_membership_tt
		}
	}

	focus = {
		id = IRQ_restoration_of_hejaz
		icon = GFX_focus_IRQ_restoration_of_hejaz
		prerequisite = { focus = IRQ_demand_palestine }
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = IRQ_demand_palestine

		cost = 10

		will_lead_to_war_with = SAU

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				679 = { NOT = { is_owned_by = ROOT } }
				855 = { NOT = { is_owned_by = ROOT } }
				856 = { NOT = { is_owned_by = ROOT } }
			}
		}

		bypass = {
			679 = { 
				OR = {
					is_owned_by = ROOT
					OWNER = { is_subject_of = ROOT }
				}
			}
			855 = { 
				OR = {
					is_owned_by = ROOT
					OWNER = { is_subject_of = ROOT }
				}
			}
			856 = { 
				OR = {
					is_owned_by = ROOT
					OWNER = { is_subject_of = ROOT }
				}
			}			
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_state = {
				limit = {
					OR = {
						state = 679
						state = 855
						state = 856
					}
				}
				add_core_of = ROOT
				OWNER = {
					ROOT = {
						create_wargoal = {
							target = PREV
							type = take_core_state #This requires cores
						}
					}
				}
			}	
		}
	}

	focus = {
		id = IRQ_a_new_caliph
		icon = GFX_focus_IRQ_a_new_caliph
		prerequisite = { focus = IRQ_restoration_of_hejaz }
		mutually_exclusive = { focus = IRQ_hashemite_arab_federation }
		x = 0
		y = 1
		relative_position_id = IRQ_restoration_of_hejaz

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = IRQ_abd_al_ilah
			}	
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			hidden_effect = { drop_cosmetic_tag = yes }
			set_cosmetic_tag = IRQ_hashemite_caliphate
			add_country_leader_trait = IRQ_hashemite_caliph
			add_political_power = 100
			every_other_country = {
				limit = {
					is_subject_of = ROOT
					is_ai = yes
					OR = {
						original_tag = SAU
						original_tag = JOR
						original_tag = KUW
						original_tag = PAL
						original_tag = SYR
						original_tag = LEB
					}
				}
				ROOT = {
					annex_country = { target = PREV transfer_troops = yes }
				}
			}
		}
	}

	focus = {
		id = IRQ_unite_mashriq
		icon = GFX_focus_IRQ_unite_mashriq
		prerequisite = { focus = IRQ_a_new_caliph }
		#mutually_exclusive = { focus = IRQ_hashemite_arab_federation }
		x = 0
		y = 1
		relative_position_id = IRQ_a_new_caliph

		will_lead_to_war_with = PAL
		will_lead_to_war_with = ENG
		will_lead_to_war_with = ISR
		will_lead_to_war_with = LEB
		will_lead_to_war_with = SYR
		will_lead_to_war_with = SAU
		will_lead_to_war_with = OMA
		will_lead_to_war_with = IMO
		will_lead_to_war_with = YEM
		will_lead_to_war_with = FSA
		will_lead_to_war_with = KUW

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_state = {
				limit = {
					NOT = { is_core_of = ROOT }
					OR = {
						region = 28
						region = 232
						region = 237
						region = 196
						region = 236
						region = 238
						region = 128
					}
				}
				add_core_of = ROOT
				IF = {
					limit = {
						OWNER = {
							NOT = {
								tag = IRQ
								is_subject_of = IRQ
							}
						}
					}
					IRQ = {
						create_wargoal = {
							target = PREV.OWNER
							type = take_core_state
						}
					}
				}
			}
		}
	}

	#focus = {
	#	id = IRQ_discuss_a_new_treaty
	#	icon = GFX_focus_generic_treaty
	#	prerequisite = { focus = IRQ_a_new_caliph focus = #IRQ_hashemite_arab_federation }
	#	#mutually_exclusive = { focus = IRQ_hashemite_arab_federation }
	#	x = 1
	#	y = 2
	#	relative_position_id = IRQ_a_new_caliph
#
	#	cost = 10
#
	#	ai_will_do = {
	#		base = 1
	#	}
#
	#	available = {
	#		
	#	}
#
	#	bypass = {
#
	#	}
#
	#	search_filters = { }
#
	#	cancel_if_invalid = yes
	#	continue_if_invalid = no
	#	available_if_capitulated = no
#
	#	completion_reward = {
	#		remove_ideas = IRQ_anglo_iraqi_treaty
	#		custom_effect_tooltip = generic_skip_one_line_tt
	#		custom_effect_tooltip = IRQ_revoke_anglo_iraq_treaty_tt
	#		ENG = {
	#			country_event = {
	#				id = IRQ_political_events.10
	#				hours = 1
	#			}
	#		}
	#	}
	#}

	focus = {
		id = IRQ_unite_maghreb
		icon = GFX_focus_IRQ_unite_maghreb
		prerequisite = { focus = IRQ_a_new_caliph }
		#mutually_exclusive = { focus = IRQ_hashemite_arab_federation }
		x = -2
		y = 1
		relative_position_id = IRQ_a_new_caliph

		will_lead_to_war_with = ENG
		will_lead_to_war_with = EGY
		will_lead_to_war_with = LBA
		will_lead_to_war_with = ITA
		will_lead_to_war_with = FRA
		will_lead_to_war_with = ALG
		will_lead_to_war_with = TUN

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_state = {
				limit = {
					NOT = { is_core_of = ROOT }
					OR = {
						region = 225
						region = 126
						region = 182
					}
				}
				add_core_of = ROOT

				hidden_effect = {
					ROOT = {
						create_wargoal = {
							target = PREV.OWNER
							type = take_core_state
						}
					}
				}
				ROOT = {
					custom_effect_tooltip = IRQ_unite_maghreb_tt
				}
			}
		}
	}

	focus = {
		id = IRQ_restore_al_andalus
		icon = GFX_focus_generic_attack_nationalist_spain_focus
		prerequisite = { focus = IRQ_unite_maghreb }
		#mutually_exclusive = { focus = IRQ_hashemite_arab_federation }
		x = 0
		y = 1
		relative_position_id = IRQ_unite_maghreb

		will_lead_to_war_with = RIF
		will_lead_to_war_with = MOR
		will_lead_to_war_with = SPR
		will_lead_to_war_with = POR

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			any_other_country = {
				original_tag = SPR
				NOT = {
					is_in_faction_with = ROOT
				}	
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_state = {
				limit = {
					NOT = { is_core_of = ROOT }
					OR = {
						region = 210
						region = 41
						region = 209
					}
				}
				add_core_of = ROOT
				hidden_effect = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								target = PREV
								type = take_core_state
							}
						}
					}
				}
				ROOT = {
					custom_effect_tooltip = IRQ_unite_maghreb_tt
				}
			}
		}
	}
	
	
	focus = {
		id = IRQ_party_of_national_brotherhood
		icon = GFX_focus_IRQ_party_of_national_brotherhood
		#prerequisite = { focus = }
		mutually_exclusive = { focus = IRQ_rally_behind_the_hashemite_dynasty focus = IRQ_promote_kurdish_culture }
		x = 4
		y = 0
		relative_position_id = IRQ_rally_behind_the_hashemite_dynasty

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = IRQ_promote_kurdish_culture
				}
			}
		}

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes 
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_war_support = 0.1

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = IRQ_artisans_society_trade_union_idea

			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes 
			}

		}
	}

	focus = {
		id = IRQ_bakr_sidqi_coup
		icon = GFX_focus_IRQ_bakr_sidqi_coup
		prerequisite = { focus = IRQ_party_of_national_brotherhood }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = IRQ_party_of_national_brotherhood

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			retire_country_leader = yes

			IRQ_hikmat_suleiman = {
				add_country_leader_role = {
					country_leader = {
						ideology = despotism
						expire = "1965.1.1.1"
						traits = { IRQ_social_reformer_pm }
					}
					promote_leader = yes
				} 
			}

			set_country_flag = IRQ_bakr_coup_happened
			custom_effect_tooltip = IRQ_bakr_sidqi_tt
			add_ideas = IRQ_bakr_sidqi_pm

			custom_effect_tooltip = generic_skip_one_line_tt

			add_political_power = 100

		}
	}

	focus = {
		id = IRQ_increase_italian_business_relations
		icon = GFX_focus_BRA_joint_italian_motor_development
		prerequisite = { focus = IRQ_bakr_sidqi_coup }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = IRQ_bakr_sidqi_coup

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			ITA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = IRQ_purchased_our_equipment
				}
			}
			add_equipment_to_stockpile = {
				type = motorized_equipment_1
				amount = 200
				producer = ITA
			}
			IF = {
				limit = {
						has_dlc = "La Resistance"
				}
				set_technology = { 
					armored_car1 = 1 
					popup = no
				}
				add_equipment_to_stockpile = { 
					type = gw_armored_car_equipment 
					amount = 200 
					producer = ITA
				}
			}
		}
	}

	focus = {
		id = IRQ_al_muthanna_club
		icon = GFX_focus_ITA_generic_fascist_workers
		prerequisite = { focus = IRQ_bakr_sidqi_coup }
		#mutually_exclusive = { focus = IRQ_curtail_arabism }
		x = 2
		y = 1
		relative_position_id = IRQ_bakr_sidqi_coup

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				has_government = fascism
				has_government = neutrality
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_ideas = IRQ_al_muthanna_club_idea

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = IRQ_saib_shawkat

		}
	}

	focus = {
		id = IRQ_attempted_assasination_of_sidqi
		icon = GFX_focus_IRQ_attempted_assasination_of_sidqi
		prerequisite = { focus = IRQ_increase_italian_business_relations }
		mutually_exclusive = { focus = IRQ_assasination_of_sidqi }
		x = 0
		y = 1
		relative_position_id = IRQ_increase_italian_business_relations

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = IRQ_political_events.70
			}	

		}
	}	

	focus = {
		id = IRQ_curtail_arabism
		icon = GFX_focus_IRQ_curtail_arabism
		prerequisite = { focus = IRQ_attempted_assasination_of_sidqi }
		mutually_exclusive = { focus = IRQ_strengthen_the_golden_square }
		x = 11
		y = 1
		relative_position_id = IRQ_attempted_assasination_of_sidqi

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_STABILITY }
		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_ideas = IRQ_pan_arab_crackdown

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_idea = IRQ_bakr_sidqi_pm
				}
				remove_ideas = IRQ_bakr_sidqi_pm
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IRQ_bakr_sidqi = {
				add_country_leader_role = {
					country_leader = {
						ideology = despotism
						expire = "1965.1.1.1"
						traits = { dictator }
					}
					promote_leader = yes
				} 
			}

		}
	}

	focus = {
		id = IRQ_strengthen_relations_with_iran
		icon = GFX_focus_generic_befriend_iran
		prerequisite = { focus = IRQ_curtail_arabism }
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = IRQ_curtail_arabism

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			PER = {
				exists = yes
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			PER = {
				add_opinion_modifier = {
					target = ROOT
					modifier = IRQ_better_relations
				}
			}
			add_offsite_building = {
				type = industrial_complex
				level = 1
			}		
		}
	}

	focus = {
		id = IRQ_strengthen_relations_with_turkey
		icon = GFX_focus_generic_befriend_turkey
		prerequisite = { focus = IRQ_curtail_arabism }
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = IRQ_curtail_arabism

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			TUR = {
				exists = yes
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			TUR = {
				add_opinion_modifier = {
					target = ROOT
					modifier = IRQ_better_relations
				}
			}
			add_offsite_building = {
				type = industrial_complex
				level = 1
			}				
		}
	}

	focus = {
		id = IRQ_encourage_federalism
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = IRQ_curtail_arabism }
		x = 3
		y = 1
		relative_position_id = IRQ_curtail_arabism

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_WAR_SUPPORT }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					676 = {
						has_dynamic_modifier = { modifier = KUR_resistance_modifier }
					}
				}
				676 = {
					remove_dynamic_modifier = { modifier = KUR_resistance_modifier }
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_stability = 0.1
			add_war_support = 0.1

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = IRQ_muhammad_amin_zaki

		}
	}

	focus = {
		id = IRQ_reapproachment_with_the_tribes
		icon = GFX_focus_generic_concessions
		prerequisite = { focus = IRQ_encourage_federalism }
		x = 0
		y = 1
		relative_position_id = IRQ_encourage_federalism

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			add_timed_idea = {
				idea = IRQ_appeasing_the_local_tribes_idea
				days = 360
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = IRQ_reapproachment_with_the_tribes_tt

		}
	}

	focus = {
		id = IRQ_anti_western_alliance
		icon = GFX_focus_TUR_treaty_of_saadabad
		prerequisite = { focus = IRQ_strengthen_relations_with_iran focus = IRQ_strengthen_relations_with_turkey }
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = IRQ_strengthen_relations_with_iran

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			set_rule = {
				can_create_factions = yes
			}
			create_faction_from_template = {
				template = faction_template_regional
				name = IRQ_meto
				icon = GFX_faction_logo_generic_15
			}

			IF = {
				limit = {
					has_completed_focus = IRQ_strengthen_relations_with_iran
					NOT = { 
						OR = {
							has_war_with = PER 
							is_in_faction_with = PER
						}
					}
				}
				custom_effect_tooltip = IRQ_anti_western_alliance_per_tt
				hidden_effect = {
					PER = {
						country_event = {
							id = generic.5
							hours = 1
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}		
			IF = {
				limit = {
					has_completed_focus = IRQ_strengthen_relations_with_turkey
					NOT = { 
						OR = {
							has_war_with = TUR 
							is_in_faction_with = TUR
						}
					}
				}
				custom_effect_tooltip = IRQ_anti_western_alliance_tur_tt
				hidden_effect = {
					TUR = {
						country_event = {
							id = generic.5
							hours = 1
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_political_power = 100

		}
	}

	focus = {
		id = IRQ_carve_up_syria
		icon = GFX_focus_generic_attack_syria
		prerequisite = { focus = IRQ_anti_western_alliance }
		#mutually_exclusive = { focus =  }
		x = 3
		y = 1
		relative_position_id = IRQ_anti_western_alliance

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			SYR = {
				exists = yes
				OR = {
					OVERLORD = {
						original_tag = FRA
					}
					is_subject = no
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			680 = { add_claim_by = ROOT }
			554 = { add_claim_by = ROOT }
			677 = { add_claim_by = ROOT }
			create_wargoal = {
				type = take_claimed_state
				target = SYR
			}		
		}
	}

	focus = {
		id = IRQ_status_of_lebanon
		icon = GFX_focus_generic_attack_lebanon
		prerequisite = { focus = IRQ_carve_up_syria }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 1
		relative_position_id = IRQ_carve_up_syria

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			NOT = { 
				is_in_faction_with = LEB 
				553 = {
					is_owned_by = ROOT
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			553 = { add_claim_by = ROOT }
			create_wargoal = {
				type = take_claimed_state
				target = LEB
				generator = { 553 }
			}
		}
	}

	focus = {
		id = IRQ_align_afghanistan_fasc
		icon = GFX_focus_generic_befriend_afghanistan
		prerequisite = { focus = IRQ_anti_western_alliance }
		#mutually_exclusive = { focus =  }
		x = 1
		y = 1
		relative_position_id = IRQ_anti_western_alliance

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_faction_leader = yes
			is_subject = no
			AFG = {
				exists = yes
				is_subject = no
			}
		}

		bypass = {
			is_in_faction_with = AFG
			OR = {
				AFG = { exists = no }
				AFG = { is_subject = yes }
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = IRQ_align_afghanistan_fasc_tt
			hidden_effect = {
				AFG = {
					country_event = {
						id = generic.5
						hours = 1
					}
				}
			}

		}
	}

	focus = {
		id = IRQ_greater_iraq
		icon = GFX_focus_IRQ_greater_iraq
		prerequisite = { focus = IRQ_carve_up_syria focus = IRQ_take_advantage_of_british_weakness }
		#mutually_exclusive = { focus =  }
		x = 0
		y = 2
		relative_position_id = IRQ_align_afghanistan_fasc

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			any_controlled_state = {
				is_core_of = SYR
			}
			656 ={
				is_controlled_by = ROOT
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			hidden_effect = { drop_cosmetic_tag = yes }
			set_cosmetic_tag = IRQ_greater_iraq_tag
			custom_effect_tooltip = IRQ_greater_iraq_tt
		}
	}

	focus = {
		id = IRQ_take_advantage_of_british_weakness
		icon = GFX_focus_attack_britain
		prerequisite = { focus = IRQ_anti_western_alliance }
		#mutually_exclusive = { focus =  }
		x = -1
		y = 1
		relative_position_id = IRQ_anti_western_alliance

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			ENG = { 
				has_war = yes 
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}

		bypass = {
			has_war_with = ENG
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			create_wargoal = {
				target = ENG
				type = liberate_wargoal
				generator = { 656 765 658 455 454 }
			}		

			custom_effect_tooltip = generic_skip_one_line_tt

			remove_ideas = IRQ_anglo_iraqi_treaty	
			ENG = {
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
					active = no
				}
			}
			
		}
	}

	focus = {
		id = IRQ_strengthen_the_golden_square
		icon = GFX_focus_TUR_support_the_golden_square
		prerequisite = { focus = IRQ_attempted_assasination_of_sidqi focus = IRQ_assasination_of_sidqi }
		mutually_exclusive = { focus = IRQ_curtail_arabism }
		x = 0
		y = 1
		relative_position_id = IRQ_attempted_assasination_of_sidqi

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			fascism > 0.25
			NOT = {
				has_completed_focus = IRQ_eliminate_the_golden_square
			}
		}

		bypass = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			swap_ideas = {
				remove_idea = IRQ_golden_square
				add_idea = IRQ_golden_square_strong
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_government = fascism
					}
				}
				set_politics = {
					ruling_party = fascism
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			
			every_character = {
				limit = {
					has_character_flag = IRQ_golden_square_char
					is_corps_commander = yes
				}
				add_trait = { trait = politically_connected }
			}		

			custom_effect_tooltip = generic_skip_one_line_tt

			country_event = {
				id = IRQ_political_events.71
			}	

		}
	}	

	focus = {
		id = IRQ_iraqi_al_futuwwa
		icon = GFX_focus_generic_fascist_troops
		prerequisite = { focus = IRQ_strengthen_the_golden_square focus = IRQ_curtail_arabism }
		#mutually_exclusive = { focus = IRQ_curtail_arabism }
		x = 7
		y = 1
		relative_position_id = IRQ_strengthen_the_golden_square

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_completed_focus = IRQ_curtail_arabism
				}
				add_ideas = IRQ_iraqi_al_futuwwa_no_fascism_idea
			}
			ELSE = {
				add_ideas = IRQ_iraqi_al_futuwwa_idea
			}
			

		}
	}

	focus = {
		id = IRQ_fligerfuhrer_irak
		icon = GFX_focus_IRQ_fligerfuhrer_irak
		prerequisite = { focus = IRQ_strengthen_the_golden_square }
		x = 4
		y = 1
		relative_position_id = IRQ_strengthen_the_golden_square

		cost = 2

		ai_will_do = {
			base = 1
		}

		available = {
			GER = {
				exists = yes
				has_war_with = ENG
			}			
			OR = {
				has_war_with = ENG
				NOT = { has_idea = IRQ_anglo_iraqi_treaty }
			}
			has_government = fascism
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_equipment_to_stockpile = { 
					type = small_plane_airframe_1
					amount = 100
					producer = GER
				}
			}
			ELSE = {
				add_equipment_to_stockpile = { 
					type = fighter_equipment_1
					amount = 100
					producer = GER
				}
			}
			add_manpower = 2200		
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = IRQ_werner_junck	
		}
	}

	focus = {
		id = IRQ_request_syria_from_vichy
		icon = GFX_focus_generic_attack_vichy_france
		prerequisite = { focus = IRQ_fligerfuhrer_irak }
		x = 0
		y = 1
		relative_position_id = IRQ_fligerfuhrer_irak

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_government = fascism
			NOT = {
				hidden_trigger = {
					has_war_with = 680.OWNER
					has_war_with = 554.OWNER
					has_war_with = 677.OWNER
					has_war_with = 799.OWNER
				}
				custom_trigger_tooltip = {
					tooltip = AT_PEACE_WITH_SYRIA_OWNER_TT
					has_war_with = 680.OWNER
					has_war_with = 554.OWNER
					has_war_with = 677.OWNER
					has_war_with = 799.OWNER
				}
				
			}
			680 = {
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			} 
			554 = {
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
			677 = {
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
			799 = {
				NOT = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
		}

		bypass = {
			AND = {
				680 = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				} 
				554 = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
				677 = {
					OR = {
						is_owned_by = ROOT
						OWNER = { is_subject_of = ROOT }
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					SYR = { 
						exists = yes
						is_subject = yes
					}
				}
				SYR = {
					OVERLORD = {
						country_event = {
							id = IRQ_political_events.40
							hours = 1
						}
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					puppet = SYR 
				}
			}
			ELSE = {
				554 = {
					OWNER = {
						country_event = {
							id = IRQ_political_events.40
							hours = 1
						}
					}
				}
				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = {
					every_state = {
						limit = {
							is_core_of = SYR
						}
						transfer_state_to = ROOT
					}
				}
			}
		}
	}

	focus = {
		id = IRQ_rally_the_arab_world
		icon = GFX_focus_IRQ_rally_the_arab_world
		prerequisite = { focus = IRQ_strengthen_the_golden_square }
		x = 6
		y = 2
		relative_position_id = IRQ_strengthen_the_golden_square

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_WAR_SUPPORT }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = IRQ_rally_the_arab_world_idea
		}
	}

	focus = {
		id = IRQ_arab_free_legion
		icon = GFX_focus_IRQ_arab_free_legion
		prerequisite = { focus = IRQ_rally_the_arab_world }
		#mutually_exclusive = { focus =  }
		x = 2
		y = 1
		relative_position_id = IRQ_rally_the_arab_world

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				has_government = fascism
				has_government = neutrality
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MILITARY_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_tech = tech_support
					}
				}
				set_technology = {
					tech_support = 1
					popup = no
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			custom_effect_tooltip = IRQ_arab_free_legion_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			set_rule = {
				can_send_volunteers = yes
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			division_template = {
				name = "Arab Free Legion"
				is_locked = yes
				template_counter = 101
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 }
					mot_recon = { x = 0 y = 2}					
				}
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }
				}
				override_model = IRQ_infantry_alt_0_entity
			}	
			random_owned_controlled_state = {
				IRQ_create_arab_free_legion_div = yes
			}	

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = IRQ_fawsi_al_kaukji

		}
	}

	focus = {
		id = IRQ_regime_change_in_arabia
		icon = GFX_focus_ETH_an_arabic_base
		prerequisite = { focus = IRQ_rally_the_arab_world }
		x = 0
		y = 1
		relative_position_id = IRQ_rally_the_arab_world

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_government = fascism
			SAU = {
				exists = yes
				NOT = {
					is_subject_of = ROOT
				}
			}
		}

		bypass = {
			SAU = {
				OR = {
					is_subject_of = ROOT
					exists = no
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				target = SAU
				type = puppet_wargoal_focus
			}			
		}
	}

	focus = {
		id = IRQ_iran_ultimatum
		icon = GFX_focus_generic_attack_iran
		prerequisite = { focus = IRQ_rally_the_arab_world }
		x = -2
		y = 1
		relative_position_id = IRQ_rally_the_arab_world
		will_lead_to_war_with = PER
		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_government = fascism
			PER = {
				exists = yes
				NOT = {
					is_subject_of = ROOT
					has_war_with = ROOT
				}
				421 = {
					is_owned_by = PER
					is_controlled_by = PER
				}
				413 = {
					is_owned_by = PER
					is_controlled_by = PER
				}
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			421 = { add_claim_by = ROOT }
			413 = { add_claim_by = ROOT }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = IRQ_iran_ultimatum_tt

			PER = {
				country_event = {
					id = IRQ_political_events.12
					hours = 1
				}
			}

		}
	}

	focus = {
		id = IRQ_liberate_levant
		icon = GFX_focus_IRQ_liberate_levant
		prerequisite = { focus = IRQ_regime_change_in_arabia }
		x = -1
		y = 1
		relative_position_id = IRQ_regime_change_in_arabia

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_government = fascism
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_state = {
				limit = {
					NOT = { is_owned_by = ROOT }
					region = 232					
				}
				OWNER = {
					ROOT = {
						IF = {
							limit = {
								NOT = {
									ROOT = { has_wargoal_against = PREV }
								}
							}
							create_wargoal = {
								target = PREV
								type = liberate_wargoal
							}
						}
					}
				}
			}			
		}
	}

 		focus = {
		id = IRQ_liberate_north_africa
		icon = GFX_focus_IRQ_liberate_north_africa
		prerequisite = { focus = IRQ_regime_change_in_arabia }
		x = 1
		y = 1
		relative_position_id = IRQ_regime_change_in_arabia

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_government = fascism
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_state = {
				limit = {
					NOT = { is_owned_by = ROOT }
					OR = {
						region = 225
						region = 126
						region = 182
						region = 128
					}
				}
				OWNER = {
					ROOT = {
						IF = {
							limit = {
								NOT = {
									ROOT = { has_wargoal_against = PREV }
								}
							}
							create_wargoal = {
								target = PREV
								type = liberate_wargoal
							}
						}
					}
				}
			}			
		}
	}

	focus = {
		id = IRQ_proclaim_united_arab_republic
		icon = GFX_focus_IRQ_proclaim_united_arab_republic
		prerequisite = { focus = IRQ_regime_change_in_arabia }
		x = 0
		y = 2
		relative_position_id = IRQ_regime_change_in_arabia

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
			has_government = fascism
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			hidden_effect = { drop_cosmetic_tag = yes }
			set_cosmetic_tag = IRQ_united_arab_republic	
			custom_effect_tooltip = IRQ_arab_republic_core_tt		
		}
	}

	focus = {
		id = IRQ_revoke_anglo_iraq_treaty
		icon = GFX_focus_attack_britain
		prerequisite = { focus = IRQ_strengthen_the_golden_square }
		x = 0
		y = 1
		relative_position_id = IRQ_strengthen_the_golden_square

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			is_subject = no
		}

		bypass = {
			OR = {
				NOT = {
					has_idea = IRQ_anglo_iraqi_treaty
				}
				is_subject = yes
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			remove_ideas = IRQ_anglo_iraqi_treaty
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = IRQ_revoke_anglo_iraq_treaty_tt
			ENG = {
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
					active = no
				}
                diplomatic_relation = {
                    country = ROOT
                    relation = military_access
                    active = no
                }
                diplomatic_relation = { 
                	country = ROOT
                	relation = air_base_access 	
                	active = no
                }
				add_ai_strategy = {
					type = conquer 
					id = FROM
					value = 100
				}
				add_ai_strategy = {
					type = declare_war
					id = FROM
					value = 100
				}
				country_event = {
					id = IRQ_political_events.10
					hours = 1
				}
			}
		}
	}

	focus = {
		id = IRQ_join_axis
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = IRQ_revoke_anglo_iraq_treaty }
		x = 0
		y = 1
		relative_position_id = IRQ_revoke_anglo_iraq_treaty
		mutually_exclusive = { focus = IRQ_restore_regent focus = IRQ_arab_league }
		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {
			has_government = fascism
			GER = {
				has_government = fascism
			}
			is_in_faction = no
			is_subject = no
		}

		bypass = {
			is_in_faction_with = GER
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			GER = {
				country_event = { id = generic.2 hours = 4 }
			}
		}
	}

	focus = {
		id = IRQ_seek_axis_investment
		icon = GFX_focus_BRA_acquire_german_tanks
		prerequisite = { focus = IRQ_join_axis }
		x = 0
		y = 1
		relative_position_id = IRQ_join_axis

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				has_government = fascism
				is_in_faction_with = GER
			}
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			ETH_add_random_mil_factory_effect = yes
			IF = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_equipment_to_stockpile = { 
					type = light_tank_chassis_1
					amount = 200
					producer = GER
				}
			}
			ELSE = {
				add_equipment_to_stockpile = { 
					type = light_tank_equipment_1
					amount = 200
					producer = GER
				}
			}
			
		}
	}

	focus = {
		id = IRQ_axis_training
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = IRQ_seek_axis_investment }
		x = -1
		y = 1
		relative_position_id = IRQ_seek_axis_investment

		cost = 10

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP }

		ai_will_do = {
			base = 1
		}

		available = {
			OR = {
				has_government = fascism
				is_in_faction_with = GER
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			army_experience = 25
			air_experience = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_war_with = ENG
				}
				add_ideas = IRQ_ENG_attack_bonus
			}
			IF = {
				limit = {
					has_war_with = USA
				}
				add_ideas = IRQ_USA_attack_bonus
			}
			IF = {
				limit = {
					NOT = {
						OR = {
							has_war_with = USA
							has_war_with = ENG
						}
					}
				}
				add_ideas = IRQ_generic_attack_bonus_axis
			}			
		}
	}
	
	focus = {
		id = IRQ_invite_oil_mission
		icon = GFX_focus_generic_resource_extraction
		prerequisite = { focus = IRQ_seek_axis_investment }
		x = 1
		y = 1
		relative_position_id = IRQ_seek_axis_investment

		cost = 10

		search_filters = { FOCUS_FILTER_INDUSTRY }

		ai_will_do = {
			base = 1
		}

		available = {
			is_in_faction_with = GER
			676 = { 
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = IRQ_invite_oil_mission_ctt
			
			hidden_effect = {
				GER = {
					country_event = {
						id = IRQ_political_events.74
					}	
				}
			}
			
			effect_tooltip = {
				add_equipment_to_stockpile = { 
					type = infantry_equipment_1
					amount = 3000
					producer = GER
				}
				
				add_equipment_to_stockpile = { 
					type = artillery_equipment_1
					amount = 300
					producer = GER
				}
			}
		}
	}

	focus = {
		id = IRQ_restore_regent
		icon = GFX_focus_IRQ_restore_regent
		prerequisite = { focus = IRQ_revoke_anglo_iraq_treaty }
		x = -2
		y = 1
		relative_position_id = IRQ_revoke_anglo_iraq_treaty
		mutually_exclusive = { focus = IRQ_join_axis focus = IRQ_arab_league }

		cost = 2

		ai_will_do = {
			base = 1
		}

		available = {
			has_war_with = ENG
			ENG = {
				is_subject = no
				is_faction_leader = yes
			}
			any_owned_state = {
				NOT = { is_controlled_by = ROOT }
			}
			is_subject = no
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			ENG = {
				country_event = {
					id = IRQ_political_events.60
					hours = 1
				}
			}
		}
	}

	focus = {
		id = IRQ_refuge_for_the_grand_mufti
		icon = GFX_focus_IRQ_refuge_for_the_grand_mufti
		prerequisite = { focus = IRQ_attempted_assasination_of_sidqi focus = IRQ_assasination_of_sidqi}
		x = -2
		y = 1
		relative_position_id = IRQ_attempted_assasination_of_sidqi

		cost = 10

		ai_will_do = {
			base = 1
		}

		available = {
			has_global_flag = the_1936_PAL_revolt_has_happened
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_political_power = 120
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = PAL_amin_al_husseini 			
		}
	}	



	#### SHIA POLITICAL BRANCHES ####




#	focus = {
#		id = IRQ_unify_the_shia_tribes
#		#icon = GFX_focus_hun_elect_a_king
#		#prerequisite = { focus = }
#		#mutually_exclusive = { focus = IRQ_ensure_sunni_dominance }
#		x = 50
#		y = 0
#		#relative_position_id = IRQ_ensure_sunni_dominance
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_sway_the_rural_shia_communities
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_unify_the_shia_tribes }
#		#mutually_exclusive = { focus = }
#		x = -2
#		y = 1
#		relative_position_id = IRQ_unify_the_shia_tribes
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_sway_the_urban_shia_communities
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_unify_the_shia_tribes }
#		#mutually_exclusive = { focus = }
#		x = 2
#		y = 1
#		relative_position_id = IRQ_unify_the_shia_tribes
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_ingratiate_ourselves_to_the_british
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_sway_the_rural_shia_communities }
#		prerequisite = { focus = IRQ_sway_the_urban_shia_communities }
#		mutually_exclusive = { focus = IRQ_shia_seek_foreign_support }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_sway_the_rural_shia_communities
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_shia_seek_foreign_support
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_sway_the_rural_shia_communities }
#		prerequisite = { focus = IRQ_sway_the_urban_shia_communities }
#		mutually_exclusive = { focus = IRQ_ingratiate_ourselves_to_the_british }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_sway_the_urban_shia_communities
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_launch_the_revolt
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_shia_seek_foreign_support focus = IRQ_ingratiate_ourselves_to_the_british }
#		#mutually_exclusive = { focus = }
#		x = 2
#		y = 1
#		relative_position_id = IRQ_ingratiate_ourselves_to_the_british
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			custom_effect_tooltip = available_political_advisor
#			show_ideas_tooltip = IRQ_muhammad_husayn_kashif_al_ghita
#		}
#	}
#
#	focus = {
#		id = IRQ_displace_the_sunni_elite
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_launch_the_revolt }
#		mutually_exclusive = { focus = IRQ_reaproachment_with_sunni_iraqis }
#		x = -5
#		y = 1
#		relative_position_id = IRQ_launch_the_revolt
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_reaproachment_with_sunni_iraqis
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_launch_the_revolt }
#		mutually_exclusive = { focus = IRQ_displace_the_sunni_elite }
#		x = 5
#		y = 1
#		relative_position_id = IRQ_launch_the_revolt
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			custom_effect_tooltip = available_political_advisor
#			show_ideas_tooltip = PAL_amin_al_husseini 
#		}
#	}
#
#	focus = {
#		id = IRQ_declare_an_islamic_republic
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_displace_the_sunni_elite }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_displace_the_sunni_elite
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_demand_british_withdrawal
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_declare_an_islamic_republic }
#		mutually_exclusive = { focus = IRQ_a_deal_with_the_devil }
#		x = -1
#		y = 1
#		relative_position_id = IRQ_declare_an_islamic_republic
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_a_deal_with_the_devil
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_declare_an_islamic_republic }
#		mutually_exclusive = { focus = IRQ_demand_british_withdrawal }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_declare_an_islamic_republic
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_political_reform
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_reaproachment_with_sunni_iraqis }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_reaproachment_with_sunni_iraqis
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_hold_new_elections
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_political_reform }
#		mutually_exclusive = { focus = IRQ_maintain_our_grasp_on_power }
#		x = -1
#		y = 1
#		relative_position_id = IRQ_political_reform
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			set_politics = {
#				ruling_party = democratic
#				elections_allowed = yes
#			}	
#
#			set_cosmetic_tag = IRQ_republic_of_iraq
#
#		}
#	}
#
#	focus = {
#		id = IRQ_maintain_our_grasp_on_power
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_political_reform }
#		mutually_exclusive = { focus = IRQ_hold_new_elections }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_political_reform
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_cultural_revolution
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_demand_british_withdrawal focus = IRQ_a_deal_with_the_devil }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_demand_british_withdrawal
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_religious_leadership
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_demand_british_withdrawal focus = IRQ_a_deal_with_the_devil }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_a_deal_with_the_devil
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_rebuild_the_house_of_wisdom
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_cultural_revolution }
#		prerequisite = { focus = IRQ_religious_leadership }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_religious_leadership
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_build_economic_ties_with_our_neighbors
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_cultural_revolution }
#		prerequisite = { focus = IRQ_religious_leadership }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_cultural_revolution
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_finance_through_exports
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_build_economic_ties_with_our_neighbors }
#		prerequisite = { focus = IRQ_rebuild_the_house_of_wisdom }
#		#mutually_exclusive = { focus = }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_build_economic_ties_with_our_neighbors
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_shia_todo_focus
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_finance_through_exports }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_finance_through_exports
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_revolution_in_the_levant
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_shia_todo_focus }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_shia_todo_focus
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_united_arab_republic
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_hold_new_elections focus = IRQ_maintain_our_grasp_on_power }
#		#mutually_exclusive = { focus = }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_hold_new_elections 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_increased_intelligence_funding
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_united_arab_republic }
#		#mutually_exclusive = { focus = }
#		x = -1
#		y = 1
#		relative_position_id = IRQ_united_arab_republic 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_establish_a_repulican_guard
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_united_arab_republic }
#		#mutually_exclusive = { focus = }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_united_arab_republic 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_support_regional_resistance_groups
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_establish_a_repulican_guard }
#		prerequisite = { focus = IRQ_increased_intelligence_funding }
#		#mutually_exclusive = { focus = }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_increased_intelligence_funding 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_embargo_imperial_powers
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_support_regional_resistance_groups }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_support_regional_resistance_groups 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_new_foreign_policy
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_demand_british_withdrawal focus = IRQ_a_deal_with_the_devil focus = IRQ_hold_new_elections focus = #IRQ_maintain_our_grasp_on_power }
#		#mutually_exclusive = { focus = }
#		x = 4
#		y = 1
#		relative_position_id = IRQ_a_deal_with_the_devil 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_pursue_regime_change_in_iran
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_new_foreign_policy  }
#		mutually_exclusive = { focus = IRQ_iraqi_iranian_non_agression_pact }
#		x = -1
#		y = 1
#		relative_position_id = IRQ_new_foreign_policy 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_iraqi_iranian_non_agression_pact
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_new_foreign_policy  }
#		mutually_exclusive = { focus = IRQ_pursue_regime_change_in_iran }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_new_foreign_policy 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_pursue_an_iraqi_iranian_alliance
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_iraqi_iranian_non_agression_pact  }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_iraqi_iranian_non_agression_pact 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_support_the_iranian_revolution
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_pursue_regime_change_in_iran  }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_pursue_regime_change_in_iran 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_shia_unification
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_support_the_iranian_revolution focus = IRQ_pursue_an_iraqi_iranian_alliance  }
#		#mutually_exclusive = { focus = }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_support_the_iranian_revolution 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_revenge_for_1258
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_new_foreign_policy }
#		prerequisite = { focus = IRQ_rebuild_the_house_of_wisdom }
#		#mutually_exclusive = { focus = }
#		x = 1
#		y = 1
#		relative_position_id = IRQ_rebuild_the_house_of_wisdom 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_secure_arabia
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_shia_unification }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 1
#		relative_position_id = IRQ_shia_unification 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_align_afghanistan
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_shia_unification }
#		#mutually_exclusive = { focus = }
#		x = -2
#		y = 1
#		relative_position_id = IRQ_shia_unification 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_stir_resistance_in_the_raj
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_shia_unification }
#		#mutually_exclusive = { focus = }
#		x = 2
#		y = 1
#		relative_position_id = IRQ_shia_unification 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}
#
#	focus = {
#		id = IRQ_a_new_islamic_golden_age
#		#icon = GFX_focus_hun_elect_a_king
#		prerequisite = { focus = IRQ_revolution_in_the_levant }
#		prerequisite = { focus = IRQ_revenge_for_1258 }
#		prerequisite = { focus = IRQ_secure_arabia }
#		#mutually_exclusive = { focus = }
#		x = 0
#		y = 3
#		relative_position_id = IRQ_revenge_for_1258 
#
#		cost = 10
#
#		ai_will_do = {
#			base = 1
#		}
#
#		available = {
#			
#		}
#
#		bypass = {
#
#		}
#
#		search_filters = { }
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		completion_reward = {
#
#			
#		}
#	}


	focus = {
		id = IRQ_promote_kurdish_culture
		icon = GFX_focus_IRQ_promote_kurdish_culture
		#prerequisite = { focus = }
		mutually_exclusive = { focus = IRQ_rally_behind_the_hashemite_dynasty focus = IRQ_party_of_national_brotherhood }
		x = 19
		y = 0
		relative_position_id = IRQ_party_of_national_brotherhood

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = IRQ_party_of_national_brotherhood
					has_completed_focus = IRQ_rally_behind_the_hashemite_dynasty
				}
			}
		}

		offset = {
			x = -26
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = IRQ_promote_kurdish_culture
			}
		}
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			any_owned_state = {
				is_core_of = KUR
			}
			KUR = {
				exists = no
			}
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			add_political_power = 150
			add_stability = -0.05
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = IRQ_muhammad_amin_zaki
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes 
			}
		}
	}
	
	focus = {
		id = IRQ_kurdish_democratic
		icon = GFX_focus_IRQ_kurdish_democratic
		prerequisite = { focus = IRQ_promote_kurdish_culture}
		x = -1
		y = 1
		relative_position_id = IRQ_promote_kurdish_culture
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			any_owned_state = {
				is_core_of = KUR
			}
		}
	
		bypass = {
		}
	
		search_filters = { FOCUS_FILTER_POLITICAL }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {

			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}

			add_stability = -0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = COG_when_the_war_for_independence_starts_tt
			effect_tooltip = {
				add_political_power = 150
				add_stability = 0.1
			}

		}
	}

	focus = {
		id = IRQ_kurdish_socialist
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = IRQ_promote_kurdish_culture}
		x = 1
		y = 1
		relative_position_id = IRQ_promote_kurdish_culture
	
		cost = 5
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			any_owned_state = {
				is_core_of = KUR
			}
			any_country_with_original_tag = {
				original_tag_to_check = SOV
				exists = yes
				has_government = communism
				NOT = {
					has_subject = ROOT
				}
			}
		}
	
		bypass = {
		}
	
		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_INDUSTRY }
		search_filters = { FOCUS_FILTER_MANPOWER }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			add_popularity = {
				ideology = SOV
				popularity = 0.1
			}	
			add_stability = -0.05

			custom_effect_tooltip = generic_skip_one_line_tt
			
			random_country = {
				limit = {
					original_tag = SOV
					has_government = communism
				}
				country_event = {
					id = IRQ_kurdistan_events.1
					hours = 12
					random_hours = 24
				}	
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = if_they_accept
			custom_effect_tooltip = COG_when_the_war_for_independence_starts_tt
			effect_tooltip = {
				add_offsite_building = {
					type = industrial_complex
					level = 1
				}	
				add_offsite_building = {
					type = arms_factory
					level = 1
				}	
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 500
					producer = SOV
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 250
					producer = SOV
				}
				add_equipment_to_stockpile = { 
					type = artillery_equipment
					amount = 150
					producer = SOV
				}
				add_manpower = 15000
			}
		}
	}


	focus = {
		id = IRQ_kurdish_revolt
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = IRQ_kurdish_socialist focus = IRQ_kurdish_democratic }
		x = -1
		y = 1
		relative_position_id = IRQ_kurdish_socialist
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			any_owned_state = {
				is_core_of = KUR
			}
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_POLITICAL }
		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			
				custom_effect_tooltip = IRQ_kurdish_revolt_tt
				if = {
					limit = {
						has_dynamic_modifier = {
							modifier = IRQ_royal_army_modifier_IRQ
						}
					}

					remove_dynamic_modifier = {
						modifier = IRQ_royal_army_modifier_IRQ
					}
					add_dynamic_modifier = {
						modifier = IRQ_royal_army_modifier_KUR
					}
				}

				if = {
					limit = {
						has_dynamic_modifier = {
							modifier = IRQ_air_force_modifier_IRQ
						}
					}
					remove_dynamic_modifier = {
						modifier = IRQ_air_force_modifier_IRQ
					}
					add_dynamic_modifier = {
						modifier = IRQ_air_force_modifier_KUR
					}
				}

				if = {
					limit = {
						has_dynamic_modifier = {
							modifier = IRQ_navy_modifier_IRQ
						}
					}

					remove_dynamic_modifier = {
						modifier = IRQ_navy_modifier_IRQ
					}
					add_dynamic_modifier = {
						modifier = IRQ_navy_modifier_KUR
					}
				}

				hidden_effect = {

					start_civil_war = {
					    ideology = neutrality
					    ruling_party = democratic
					    size = 0.5
					    army_ratio = 0.4
					    navy_ratio = 0.5
					    air_ratio = 0.5
					    keep_all_characters = yes
					    states = all
					    states_filter = {
					        OR = {
					        	state = 291
					        	state = 1010
					        	state = 675
					        	state = 1011
					        }
					        is_controlled_by = ROOT
					    }

				    	PREV = {  # Original country
				            IRQ_ghazi_i = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_faisal_ii = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_bakr_sidqi = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_salah_al_din_al_sabbagh = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_fawsi_al_kaukji = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_sharaf_bin_rajeh = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_saib_shawkat = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_hamdi_al_pachachi = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
				            IRQ_naji_al_suwaidi = { # Character
				                set_nationality = PREV.PREV
				                # Transfers to breakaway
				            }
			        	}
			        	IF = {
			        		limit = {
			        			PREV.PREV = {
			        				NOT = {
			        					has_country_leader = {
			        						ruling_only = yes
			        						character = IRQ_ghazi_i
			        					}
			        				}
			        				has_civil_war = yes
			        			}
			        		}
			        		PREV.PREV = {
			        			promote_character = {
			        				character = IRQ_ghazi_i
			        				ideology = despotism
			        			}
			        		}
			        	}

			        	PREV.PREV = {

			        		delete_unit_template_and_units = {
			        			division_template = "Firqat Aljaysh Aleiraqii"
			        			disband = yes #if yes, will refund equipment/manpower.
			        		}

			        		division_template = {
			        		    name = "Firqat Aljaysh Aleiraqii"
			        		    is_locked = yes
			        		    division_names_group = IRQ_INF_01
								role = infantry
			        		    priority = 0
			        		    regiments = {
			        		        infantry = { x = 0 y = 0 }
			        		        infantry = { x = 0 y = 1 }
			        		        infantry = { x = 0 y = 2 }
			        		        infantry = { x = 0 y = 3 }
			        		        infantry = { x = 1 y = 0 }
			        		        infantry = { x = 1 y = 1 }
			        		    }
			        		    support = {
			        		    }
			        		}
			        		random_state = {
			        			limit = {
			        				state = 291
			        			}
			        			create_unit = {
			        			    division = "name = \"1 Firqat Aljaysh Aleiraqii\" division_template = \"Firqat Aljaysh Aleiraqii\" start_experience_factor = 0.5 start_equipment_factor = 0.5"
			        			    owner = PREV
			        			}
			        		}
			        		random_state = {
			        			limit = {
			        				state = 1011
			        			}
			        			create_unit = {
			        			    division = "name = \"2 Firqat Aljaysh Aleiraqii\" division_template = \"Firqat Aljaysh Aleiraqii\" start_experience_factor = 0.5 start_equipment_factor = 0.5"
			        			    owner = PREV
			        			}
			        		}
			        	}
				        
			        	PREV.PREV = {
			        		add_ideas = IRQ_anglo_iraqi_treaty
			        	}
			        	ROOT = {
			        		remove_ideas = IRQ_anglo_iraqi_treaty
			        	}

			        	PREV.PREV = {
			        		add_ideas = IRQ_golden_square
			        	}
			        	ROOT = {
			        		remove_ideas = IRQ_golden_square
			        	}

					}
				}

			custom_effect_tooltip = generic_skip_one_line_tt

			676 = {
				remove_dynamic_modifier = { modifier = KUR_resistance_modifier }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_country_leader_role = {
			    character = IRQ_ahmed_barzani
			    promote_leader = yes
			    country_leader = {
			        ideology = conservatism
			        expire = "1965.1.1.1"
			        traits = { guerilla_warfare_expert }
			    }
			}
			hidden_effect = {
				add_country_leader_role = {
				    character = IRQ_ahmed_barzani
				    promote_leader = yes
				    country_leader = {
				        ideology = despotism
				        expire = "1965.1.1.1"
				        traits = { guerilla_warfare_expert }
				    }
				}
			}

			set_party_name = {
			    ideology = democratic
			    long_name = IRQ_kurd_democratic_party_long
			    name = IRQ_kurd_democratic_party
			}
			set_party_name = {
			    ideology = communism
			    long_name = IRQ_kurd_communism_party_long
			    name = IRQ_kurd_communism_party
			}
			set_party_name = {
			    ideology = neutrality
			    long_name = IRQ_kurd_neutrality_party_long
			    name = IRQ_kurd_neutrality_party
			}
			set_cosmetic_tag = IRQ_kurdistan_tag # was KUR
			set_country_flag = IRQ_is_kurdistan
			every_state = {
				limit = {
					is_core_of = KUR
				}
				add_core_of = ROOT
			}
			hidden_effect = {
				KUR = {
					KUR_ferzende_bege_haseni = { set_nationality = ROOT }
					KUR_ishan_nuri = { set_nationality = ROOT }
				}
				IF = {
					limit = {
						KUR = {
							exists = no
						}
					}
					every_state = {
						limit = {
							is_core_of = KUR
						}
						remove_core_of = KUR
					}
					every_state = {
						limit = {
							is_claimed_by = KUR
						}
						remove_claim_by = KUR
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			ENG = { 
				remove_resource_rights = 676
				remove_resource_rights = 291
				remove_resource_rights = 1010
				diplomatic_relation = { 
					country = ROOT 
					relation = guarantee 
					active = no
				} 
				add_ai_strategy = {
					type = antagonize 
					id = ROOT
				}
				add_ai_strategy = {
					type = conquer 
					id = ROOT
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_country_flag = IRQ_kurdistan_revolt_will_get_soviet_aid_flag
				}
				add_offsite_building = {
					type = industrial_complex
					level = 1
				}	
				add_offsite_building = {
					type = arms_factory
					level = 1
				}	
				add_equipment_to_stockpile = { 
					type = infantry_equipment
					amount = 500
					producer = SOV
				}	
				add_equipment_to_stockpile = { 
					type = support_equipment
					amount = 250
					producer = SOV
				}
				add_equipment_to_stockpile = { 
					type = artillery_equipment
					amount = 150
					producer = SOV
				}
				add_manpower = 15000
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			IF = {
				limit = {
					has_completed_focus = IRQ_kurdish_democratic
				}
				add_political_power = 150
				add_stability = 0.1
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			hidden_effect = {
				delete_unit_template_and_units = {
					division_template = "Milîsên Barzan"
					disband = yes #if yes, will refund equipment/manpower.
				}

				division_template = {
				    name = "Milîsên Barzan"
				    is_locked = no
				    division_names_group = IRQ_INF_01
					role = garrison
				    priority = 0
				    regiments = {
				        militia = { x = 0 y = 0 }
				        militia = { x = 0 y = 1 }
				        militia = { x = 0 y = 2 }
				        militia = { x = 0 y = 3 }
				        militia = { x = 1 y = 0 }
				        militia = { x = 1 y = 1 }
				    }
				    support = {
				    }
				}
				random_state = {
					limit = {
						is_fully_controlled_by = ROOT
					}
					create_unit = {
					    division = "name = \"1 Milîsên Barzan\" division_template = \"Milîsên Barzan\" start_experience_factor = 0.5 start_equipment_factor = 0.6"
					    owner = PREV
					}
					create_unit = {
					    division = "name = \"2 Milîsên Barzan\" division_template = \"Milîsên Barzan\" start_experience_factor = 0.5 start_equipment_factor = 0.6"
					    owner = PREV
					}
					create_unit = {
					    division = "name = \"3 Milîsên Barzan\" division_template = \"Milîsên Barzan\" start_experience_factor = 0.5 start_equipment_factor = 0.6"
					    owner = PREV
					}
				}

				set_global_flag = kurdistan_exists_flag
				set_country_flag = IRQ_has_become_kurdistan_flag

			}

		}
	}

	focus = {
		id = IRQ_kurdish_language
		icon = GFX_focus_research
		prerequisite = { focus = IRQ_kurdish_revolt }
		x = 1
		y = 1
		relative_position_id = IRQ_kurdish_revolt
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			has_civil_war = no
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_RESEARCH }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = IRQ_kurdish_industry
		icon = GFX_focus_ARG_women_in_industry
		prerequisite = { focus = IRQ_kurdish_language }
		x = 0
		y = 1
		relative_position_id = IRQ_kurdish_language
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_INDUSTRY }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}	
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}	
			}

			hidden_effect = {
				country_event = {
					id = IRQ_kurdistan_events.4
					days = 30
				}
			}	
		}
	}

	focus = {
		id = IRQ_kurdish_oil
		icon = GFX_focus_generic_resource_extraction
		prerequisite = { focus = IRQ_kurdish_industry }
		x = 0
		y = 1
		relative_position_id = IRQ_kurdish_industry
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			676 = { is_owned_and_controlled_by = ROOT }
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_INDUSTRY }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			676 = {
				add_resource = {
					type = oil
					amount = 12
				}
			}
			add_offsite_building = {
				type = industrial_complex
				level = 1
			}	
		}
	}

	focus = {
		id = IRQ_kurdish_form_the_peshmerga
		icon = GFX_focus_IRQ_kurdish_form_the_peshmerga
		prerequisite = { focus = IRQ_kurdish_revolt }
		x = -1
		y = 1
		relative_position_id = IRQ_kurdish_revolt
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_INDUSTRY }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}	
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = IRQ_effectivize_the_production_line
		icon = GFX_focus_generic_tank_production
		prerequisite = { focus = IRQ_kurdish_form_the_peshmerga }
		x = -2
		y = 1
		relative_position_id = IRQ_kurdish_form_the_peshmerga

		cost = 5

		ai_will_do = {
			base = 1
		}

		available = {

		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = IRQ_effectivizing_our_production_line
		}
	}

	focus = {
		id = IRQ_kurdish_women_in_military
		icon = GFX_focus_SOV_women_in_aviation
		prerequisite = { focus = IRQ_kurdish_form_the_peshmerga }
		x = 0
		y = 1
		relative_position_id = IRQ_kurdish_form_the_peshmerga
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_MANPOWER }
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			add_ideas = COG_women_in_the_military_idea
		}
	}

	#focus = {
	#	id = IRQ_kurdish_support_resistance
	#	icon = GFX_focus_generic_support_the_left_right
	#	prerequisite = { focus = IRQ_kurdish_form_the_peshmerga }
	#	x = 1
	#	y = 1
	#	relative_position_id = IRQ_kurdish_form_the_peshmerga
	#
	#	cost = 10
	#
	#	ai_will_do = {
	#		base = 1
	#	}
	#
	#	available = {
	#		
	#	}
	#
	#	bypass = {
	#
	#	}
	#
	#	search_filters = { }
	#
	#	cancel_if_invalid = yes
	#	continue_if_invalid = no
	#	available_if_capitulated = no
	#
	#	completion_reward = {
	#		
	#	}
	#}

	focus = {
		id = IRQ_kurdish_reject_ankara_treaty
		icon = GFX_focus_renounce_the_treaty_of_trianon
		prerequisite = { focus = IRQ_kurdish_industry }
		prerequisite = { focus = IRQ_kurdish_women_in_military }
		x = 0
		y = 1
		relative_position_id = IRQ_kurdish_women_in_military
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			has_civil_war = no
			OR = {
				TUR = {
					exists = yes
				}
				PER = {
					exists = yes
				}
			}
		}
	
		bypass = {
			TUR = { exists = no }
			PER = { exists = no }
		}
	
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
		search_filters = { FOCUS_FILTER_POLITICAL }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			add_ideas = KUR_rejected_ankara_treaty
			every_country = {
				limit = {
					OR = {
						tag = PER
						tag = TUR
					}
				}
				news_event = {
					id = GOE_IRQ_news.2
					hours = 1
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = KUR_wants_our_territory
				}
			}
		}
	}

	focus = {
		id = IRQ_further_ussr_support
		icon = GFX_goal_support_communism
		prerequisite = { focus = IRQ_kurdish_reject_ankara_treaty }
		x = 0
		y = 1
		relative_position_id = IRQ_kurdish_reject_ankara_treaty

		cost = 5

		available = {
			is_subject = no
			has_completed_focus = IRQ_kurdish_socialist
		}

		bypass = {
			OR = {
				any_country = {
					original_tag = SOV
					is_in_faction_with = ROOT
					exists = yes
				}
				ROOT = {
					is_in_faction = yes
				}
			}
		}

		search_filters = {FOCUS_FILTER_POLITICAL}

		completion_reward = {
			if = {
				limit = {
					any_country = {
						original_tag = SOV
						is_faction_leader = yes
						has_government = communism
					}
				}

				random_other_country = {
					limit = {
						original_tag = SOV
						is_faction_leader = yes
						has_government = communism
					}
					country_event = {
						id = generic.2
						hours = 6
					}

					add_ai_strategy = { 
						type = alliance
						id = ROOT
						value = 1000
					}

					ROOT = {
						add_ai_strategy = { 
							type = alliance
							id = PREV
							value = 1000
						}
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_politics = {
				ruling_party = communism
				elections_allowed = no
			}
			add_country_leader_role = {
			    character = IRQ_mustafa_barzani
			    promote_leader = yes
			    country_leader = {
			        ideology = stalinism
			        expire = "1965.1.1.1"
			        traits = { guerilla_warfare_expert }
			    }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			every_country = {
				limit = {
					has_government = communism
				}

				add_opinion_modifier = {
					target = ROOT
					modifier = medium_increase
				}
			}
		}
	}

	focus = {
		id = IRQ_support_from_skies_above
		icon = GFX_focus_generic_cas_aircraft
		prerequisite = { focus = IRQ_kurdish_reject_ankara_treaty }
		x = -1
		y = 2
		relative_position_id = IRQ_kurdish_reject_ankara_treaty

		cost = 10

		available = {

		}

		bypass = {

		}

		search_filters = {FOCUS_FILTER_AIR_XP FOCUS_FILTER_RESEARCH}

		completion_reward = {
			air_experience = 50

			add_tech_bonus = {
				name = IRQ_support_from_above
				bonus = 0.5
				uses = 1
				category = plane_modules_tech
			}

			

			if = {
				limit = {
					is_in_faction_with = SOV
					SOV = {
						OR = { 
							has_design_based_on = small_plane_cas_airframe
							has_tech = CAS1
						}
					}
				}

				if = {
					limit = {
						has_dlc = "By Blood Alone"

					}

					add_equipment_to_stockpile = { 
						type = small_plane_cas_airframe_1
						amount = 100
						producer = SOV
					}
				}

				else_if = {
					add_equipment_to_stockpile = {
						type = CAS_equipment_1
						amount = 100
						producer = SOV
					}
				}
			}
			else = {
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = IRQ_support_from_skies_above_tt
			}
		}
	}

	focus = {
		id = IRQ_support_from_the_mountains
		icon = GFX_focus_SMB_a_land_of_mountains
		prerequisite = { focus = IRQ_kurdish_reject_ankara_treaty }
		x = 1
		y = 2
		relative_position_id = IRQ_kurdish_reject_ankara_treaty

		cost = 10

		available = {

		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_tech_bonus = {
				name = IRQ_support_from_the_mountains
				bonus = 0.2
				uses = 2
				category = mountaineers_tech
			}

			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				add_doctrine_cost_reduction = {
					name = IRQ_support_from_the_mountains
					cost_reduction = 0.2
					uses = 2
					category = cat_mountaineers_doctrine
				}
			}
			

			custom_effect_tooltip = ROM_mountain_artillery_tech_tt
			hidden_effect = { 
				set_technology = { 
					mountain_gun = 1 
					popup = no
				} 
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_osterreichische_gebirgsjager_tt
			hidden_effect = { 
				set_technology = { 
					mountain_defensive_training = 1 
					popup = no
				} 
			}
		}
	}

	focus = {
		id = IRQ_kurdish_attack_turkey
		icon = GFX_focus_generic_attack_turkey
		prerequisite = { focus = IRQ_support_from_skies_above focus = IRQ_support_from_the_mountains }
		x = -1
		y = 3
		relative_position_id = IRQ_kurdish_reject_ankara_treaty
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			is_subject = no
			TUR = {
				any_owned_state = {
					is_core_of = TUR
				}
			}
		}
	
		bypass = {
			352 = { is_owned_by = ROOT }
			350 = { is_owned_by = ROOT }
			800 = { is_owned_by = ROOT }
			353 = { is_owned_by = ROOT }
			344 = { is_owned_by = ROOT } 
		}
	
		search_filters = { FOCUS_FILTER_POLITICAL }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		will_lead_to_war_with = TUR
		completion_reward = {
			create_wargoal = {
				target = TUR
				type = take_core_state
			}
		}
	}

	focus = {
		id = IRQ_kurdish_attack_iran
		icon = GFX_focus_generic_attack_iran
		prerequisite = { focus = IRQ_support_from_skies_above focus = IRQ_support_from_the_mountains }
		x = 1
		y = 3
		relative_position_id = IRQ_kurdish_reject_ankara_treaty
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			is_subject = no
			PER = {
				any_owned_state = {
					is_core_of = PER
				}
			}
		}
	
		bypass = {
			1000 = { is_owned_by = ROOT }
			419 = { is_owned_by = ROOT }
			1001 = { is_owned_by = ROOT }
			421 = { is_owned_by = ROOT }
		}
	
		search_filters = { FOCUS_FILTER_POLITICAL }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		will_lead_to_war_with = PER
		completion_reward = {
			create_wargoal = {
				target = PER
				type = take_core_state
			}
		}
	}

	focus = {
		id = IRQ_kurdish_united
		icon = GFX_focus_IRQ_kurdistan_united
		prerequisite = { focus = IRQ_kurdish_attack_iran }
		prerequisite = { focus = IRQ_kurdish_attack_turkey}
		x = -1
		y = 1
		relative_position_id = IRQ_kurdish_attack_iran
	
		cost = 10
	
		ai_will_do = {
			base = 1
		}
	
		available = {
			controls_state = 352
			controls_state = 350
			controls_state = 800
			controls_state = 353
			controls_state = 1000
			controls_state = 419
			controls_state = 1001
			controls_state = 421
			controls_State = 680
		}
	
		bypass = {
	
		}
	
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
	
		completion_reward = {
			set_cosmetic_tag = greater_kurdistan
			add_ideas = KUR_united_idea
		}
	}

}
