focus_tree = {

	id = vatican_focus
	
	country = {
		factor = 0
		modifier = {
			add = 20
			tag = HLS
		}
	}
	
	@industrial_tree_very_far_left = 0
	@industrial_tree_far_left = 1
	@industrial_tree_left = 2
	@industrial_tree_center = 3
	@industrial_tree_right = 4
	@industrial_tree_far_right = 5
	@industrial_tree_very_far_right = 6
	
	@birth_rate_tree_left = 8
	@birth_rate_tree_center = 9
	@birth_rate_tree_right = 10
	@birth_rate_tree_far_right = 11
	
	@political_tree_very_far_left = 12
	@political_tree_far_left = 13
	@political_tree_left = 14
	@political_tree_center = 15
	@political_tree_right = 16
	@political_tree_far_right = 17
	@political_tree_very_far_right = 18
	@political_tree_incredibly_far_right = 19
	
	@ideology_tree_start = 33
	@ideology_tree_individual_freedoms = 30
	@ideology_tree_national_strength = 36
	@ideology_tree_path_of_democratic_progress = 22
	@ideology_tree_path_of_democratic_freedom = 27
	@ideology_tree_path_of_democratic_values = 31
	@ideology_tree_path_of_order = 39
	@ideology_tree_fascist_nationalist_finisher = 37
	
	@ideology_tree_socialist = 20
	@ideology_tree_progressive = 22
	@ideology_tree_social_democrat = 24
	@ideology_tree_social_liberal = 26
	@ideology_tree_libertarian = 28
	@ideology_tree_conservative = 30
	@ideology_tree_reactionary = 32
	@ideology_tree_communist = 34
	@ideology_tree_fascist = 36
	@ideology_tree_nationalist = 38
	@ideology_tree_monarchist = 40
	@ideology_tree_islamist = 42
	
	@army_tree_left = 44
	@army_tree_center = 45
	@army_tree_right = 46
	@navy_tree_left = 48
	@navy_tree_center = 49
	@navy_tree_right = 50
	@navy_tree_dockyards = 52
	@air_tree_left = 54
	@air_tree_center = 55
	@air_tree_right = 56
	@air_tree_very_far_right = 58
	
	focus = {
		id = HLS_industrial_focus
		icon = production
		x = @industrial_tree_center
		y = 0
		cost = 10
		
		completion_reward = {
			add_tech_bonus = {
				name = industry_bonus
				bonus = 0.35
				uses = 2
				category = industry
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_political_focus
		icon = demand_territory
		x = @political_tree_center
		y = 0
		cost = 10
		
		completion_reward = {
			add_political_power = 100
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_army_focus
		icon = infantry_allies
		x = @army_tree_center
		y = 0
		cost = 10
		
		completion_reward = {
			army_experience = 5
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_naval_focus
		icon = navy
		x = @navy_tree_center
		y = 0
		cost = 10

		available = {
			any_state = {
				is_coastal = yes
				is_owned_by = HLS
				is_controlled_by = HLS
			}
		}
		
		completion_reward = {
			navy_experience = 5
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_focus
		icon = airforce
		x = @air_tree_center
		y = 0
		cost = 10
		
		completion_reward = {
			air_experience = 5
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_military_industry_1
		icon = industry_military
		x = @industrial_tree_very_far_left
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_industrial_focus
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_civilian_industry_1
		icon = industry_civilian
		x = @industrial_tree_left
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_industrial_focus
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_infrastructure_1
		icon = infrastructure
		x = @industrial_tree_right
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_industrial_focus
		}
		
		completion_reward = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_resource_focus
		icon = construction2
		x = @industrial_tree_very_far_right
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_industrial_focus
		}
		
		completion_reward = {
			add_political_power = 25
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_internal_politics
		icon = improve_relations
		x = @political_tree_very_far_left
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_political_focus
		}
		
		completion_reward = {
			add_political_power = 75
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_foreign_politics
		icon = major_alliance
		x = @political_tree_very_far_right
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_political_focus
		}
		
		completion_reward = {
			add_political_power = 75
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_army_training_1
		icon = infantry_allies
		x = @army_tree_left
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_army_focus
		}
		
		completion_reward = {
			army_experience = 10
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_military_officer_schools
		icon = army_officers
		x = @army_tree_right
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_army_focus
		}
		
		completion_reward = {
			add_ideas = idea_focus_army_officer_school
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_naval_training_1
		icon = navy2
		x = @navy_tree_left
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_naval_focus
		}
		
		completion_reward = {
			navy_experience = 10
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_small_ship_program
		icon = cruisers
		x = @navy_tree_right
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_naval_focus
		}
		
		completion_reward = {
			navy_experience = 10
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_dockyards_1
		icon = naval_dockyards
		x = @navy_tree_dockyards
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_naval_focus
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = dockyard
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_fighter_production
		icon = fighter
		x = @air_tree_left
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_air_focus
		}
		
		completion_reward = {
			add_ideas = idea_focus_generic_fighter_focus
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_bases_1
		icon = air_production
		x = @air_tree_right
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_air_focus
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_industrial_development
		icon = construction
		x = @industrial_tree_center
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_infrastructure_1
			focus = HLS_civilian_industry_1
			focus = HLS_military_industry_1
		}
		
		completion_reward = {
			add_ideas = idea_focus_industrial_development_program
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_demographic_studies
		icon = consumer_goods
		x = @birth_rate_tree_center
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_internal_politics
		}
		
		completion_reward = {
			add_political_power = 25
		}
	}
	
	focus = {
		id = HLS_secure_national_unity
		icon = national_unity
		x = @birth_rate_tree_far_right
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_internal_politics
		}
		
		completion_reward = {
			add_stability = 0.05
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_recruit_more_administrators
		icon = intelligence_exchange
		x = @political_tree_far_left
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_internal_politics
		}
		
		completion_reward = {
			add_political_power = 15
			add_stability = 0.05
			ruling_party_support_+5 = yes
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_recruit_more_diplomats
		icon = intelligence_exchange
		x = @political_tree_far_right
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_foreign_politics
		}
		
		completion_reward = {
			add_political_power = 50
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_international_alliances
		icon = alliance
		x = @political_tree_incredibly_far_right
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_foreign_politics
		}
		
		completion_reward = {
			set_rule = { can_create_factions = yes }
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	
	
	focus = {
		id = HLS_artillery_focus
		icon = artillery
		x = @army_tree_center
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_army_training_1
			focus = HLS_military_officer_schools
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = artillery_bonus
				bonus = 0.25
				uses = 3
				category = artillery
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
#	focus = {
#		id = HLS_naval_bases_1
#		icon = navy
#		x = @navy_tree_left
#		y = 2
#		cost = 10
#		
#		prerequisite = {
#			focus = HLS_naval_training_1
#		}
#		
#		completion_reward = {
#			navy_experience = 10
#		}
#		
#		ai_will_do = {
#			factor = 10
#		}
#	}
	
	focus = {
		id = HLS_destroyer_program
		icon = anti_submarine
		x = @navy_tree_center
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_naval_training_1
			focus = HLS_small_ship_program
			focus = HLS_dockyards_1
		}
		
		completion_reward = {
			navy_experience = 10
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_dockyards_2
		icon = naval_dockyards
		x = @navy_tree_dockyards
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_dockyards_1
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = dockyard
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_bomber_production
		icon = bomber
		x = @air_tree_left
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_fighter_production
		}
		
		completion_reward = {
			add_ideas = idea_focus_generic_bomber_focus
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_training_1
		icon = airforce
		x = @air_tree_right
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_air_bases_1
		}
		
		completion_reward = {
			air_experience = 15
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_bases_2
		icon = air_production
		x = @air_tree_very_far_right
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_air_bases_1
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = air_base
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_military_industry_2
		icon = industry_military
		x = @industrial_tree_very_far_left
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_industrial_development
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_civilian_industry_2
		icon = industry_civilian
		x = @industrial_tree_left
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_industrial_development
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_infrastructure_2
		icon = infrastructure
		x = @industrial_tree_right
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_industrial_development
		}
		
		completion_reward = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_traditional_values
		icon = demand_territory2
		x = @birth_rate_tree_left
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_demographic_studies
		}
		
		available = {
			NOT = { has_government = social_democrat }
			NOT = { has_government = progressive }
			NOT = { has_government = democratic_socialist }
			NOT = { has_government = communist }
		}
		
		mutually_exclusive = {
			focus = HLS_female_workforce
		}
		
		completion_reward = {
			add_ideas = idea_focus_male_workforce
			add_stability = -0.05
			if = {
				limit = { has_democratic_form_of_government = yes }
				add_popularity = {
					ideology = conservative
					popularity = 0.04
				}
				add_popularity = {
					ideology = reactionary
					popularity = 0.04
				}
			}
			if = {
				limit = { has_democratic_form_of_government = no }
				add_popularity = {
					ideology = fascist
					popularity = 0.04
				}
				add_popularity = {
					ideology = nationalist
					popularity = 0.04
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_female_workforce
		icon = national_unity
		x = @birth_rate_tree_right
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_demographic_studies
		}
		prerequisite = {
			focus = HLS_secure_national_unity
		}
		
		available = {
			NOT = { has_government = islamist }
		}
		
		mutually_exclusive = {
			focus = HLS_traditional_values
		}
		
		completion_reward = {
			add_ideas = idea_focus_equal_workforce
			if = {
				limit = { has_democratic_form_of_government = yes }
				add_popularity = {
					ideology = progressive
					popularity = 0.04
				}
				add_popularity = {
					ideology = democratic_socialist
					popularity = 0.04
				}
			}
			if = {
				limit = { has_democratic_form_of_government = no }
				add_popularity = {
					ideology = communist
					popularity = 0.06
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_invest_in_public_service
		icon = construction3
		x = @political_tree_very_far_left
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_recruit_more_administrators
		}
		
		completion_reward = {
			add_ideas = idea_focus_generic_public_service_investment
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_education_reform
		icon = construction2
		x = @political_tree_left
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_recruit_more_administrators
		}
		
		completion_reward = {
			add_ideas = idea_focus_generic_education_reform
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_isolation
		icon = neutrality
		x = @political_tree_right
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_recruit_more_diplomats
		}
		
		mutually_exclusive = {
			focus = HLS_intervention
		}
		
		completion_reward = {
			if = {
				limit = { 
					has_idea = neutrality_idea 
				}
				add_political_power = 100
				add_stability = 0.05
			}
			if = {
				limit = { 
					NOT = { has_idea = neutrality_idea }
					NOT = { has_idea = austrian_neutrality }
				}
				add_ideas = neutrality_idea
			}
			if = {	#Pretty much specific to Austria.
				limit = {
					has_idea = austrian_neutrality
				}
				remove_ideas = austrian_neutrality
				add_ideas = neutrality_idea
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_intervention
		icon = forceful_treaty
		x = @political_tree_very_far_right
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_recruit_more_diplomats
		}
		
		mutually_exclusive = {
			focus = HLS_isolation
		}
		
		completion_reward = {
			if = {
				limit = { 
					NOT = { has_idea = neutrality_idea } 
					NOT = { has_idea = austrian_neutrality } 
				}
				add_political_power = 25
				army_experience = 10
				navy_experience = 10
				air_experience = 10
			}
			if = {
				limit = { has_idea = austrian_neutrality }
				remove_ideas = austrian_neutrality
				add_political_power = -20
			}
			if = {
				limit = { has_idea = neutrality_idea }
				remove_ideas = neutrality_idea
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	
	
	focus = {
		id = HLS_army_training_2
		icon = infantry_allies
		x = @army_tree_left
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_army_training_1
		}
		
		completion_reward = {
			army_experience = 20
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_armor_focus
		icon = tank
		x = @army_tree_right
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_artillery_focus
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = tank_bonus
				bonus = 0.25
				uses = 2
				category = armor
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_naval_training_2
		icon = navy2
		x = @navy_tree_left
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_naval_training_1
		}
		
		completion_reward = {
			navy_experience = 15
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_submarine_program
		icon = submarines
		x = @navy_tree_right
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_destroyer_program
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = sub_bonus
				bonus = 0.4
				uses = 2
				category = ss_tech
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_dockyards_3
		icon = naval_dockyards
		x = @navy_tree_dockyards
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_dockyards_2
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = dockyard
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_force_military_school
		icon = air_defense
		x = @air_tree_center
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_bomber_production
			focus = HLS_air_training_1
		}
		
		completion_reward = {
			add_ideas = idea_focus_air_force_military_school
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_military_industry_3
		icon = industry_military
		x = @industrial_tree_very_far_left
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_military_industry_2
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_civilian_industry_3
		icon = industry_civilian
		x = @industrial_tree_left
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_civilian_industry_2
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_infrastructure_3
		icon = infrastructure
		x = @industrial_tree_right
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_infrastructure_2
		}
		
		completion_reward = {
			random_owned_state = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_steel_factories
		icon = production2
		x = @industrial_tree_very_far_right
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_resource_focus
		}
		
		available = {
			num_of_civilian_factories > 9
		}
		
		completion_reward = {
			if = {
				limit = { 
					num_of_civilian_factories < 20 
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 2 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 19
					num_of_civilian_factories < 30
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 3 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 3 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 29
					num_of_civilian_factories < 40
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 4 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 39
					num_of_civilian_factories < 50
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 5 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 49
					num_of_civilian_factories < 60
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 6 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 59
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = steel amount = 7 }
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_crackdown_on_contraceptives
		icon = propaganda
		x = @birth_rate_tree_left
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_traditional_values
		}
		
		available = {
			NOT = { has_idea = population_growth_explosion }
		}
		
		completion_reward = {
			increase_birth_rate = yes
			add_stability = -0.05
		}
	}
	
	focus = {
		id = HLS_birth_control_programs
		icon = radar
		x = @birth_rate_tree_right
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_female_workforce
		}
		
		available = {
			NOT = { has_idea = population_growth_decline }
		}
		
		completion_reward = {
			lower_birth_rate = yes
			add_stability = 0.05
		}
	}
	
	focus = {
		id = HLS_research_incentives
		icon = research
		x = @political_tree_very_far_left
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_invest_in_public_service
		}
		
		completion_reward = {
			add_ideas = idea_focus_generic_encouraged_private_research
			add_ideas = idea_focus_generic_census_reform
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_expand_the_secret_services
		icon = intelligence_exchange
		x = @political_tree_left
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_education_reform
		}
		
		completion_reward = {
			add_ideas = idea_focus_expanded_secret_services
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_destroy_foreign_influence
		icon = destroy_establishment
		x = @political_tree_right
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_isolation
		}
		
		completion_reward = {
			add_ideas = idea_focus_destroyed_foreign_influence
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_volunteer_corps
		icon = infantry_commonwealth
		x = @political_tree_very_far_right
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_intervention
		}
		
		completion_reward = {
			add_ideas = idea_focus_volunteer_corps
		}
		
		ai_will_do = {
			factor = 10
		}
	}
		
		
	focus = {
		id = HLS_land_doctrine_1
		icon = army_doctrine
		x = @army_tree_center
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_army_training_2
			focus = HLS_armor_focus
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.3
				uses = 1
				category = land_doctrine
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_cruiser_program
		icon = cruisers
		x = @navy_tree_center
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_naval_training_2
			focus = HLS_submarine_program
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = carrier_bonus
				bonus = 0.4
				uses = 1
				category = ca_tech
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_doctrine_1
		icon = air_doctrine
		x = @air_tree_left
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_air_force_military_school
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = air_doc_bonus
				bonus = 0.25
				uses = 2
				category = air_doctrine
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_safety_reforms
		icon = bombs
		x = @air_tree_right
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_air_force_military_school
		}
		
		completion_reward = {
			air_experience = 5
			add_ideas = generic_air_force_safety_reforms
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_military_industry_4
		icon = industry_military
		x = @industrial_tree_very_far_left
		y = 5
		cost = 15
		
		prerequisite = {
			focus = HLS_military_industry_3
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_civilian_industry_4
		icon = industry_civilian
		x = @industrial_tree_left
		y = 5
		cost = 15
		
		prerequisite = {
			focus = HLS_civilian_industry_3
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_synthetic_oil
		icon = oil_production
		x = @industrial_tree_right
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_steel_factories
		}
		
		available = {
			num_of_civilian_factories > 9
		}
		
		completion_reward = {
			if = {
				limit = { 
					num_of_civilian_factories < 20 
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 2 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 19
					num_of_civilian_factories < 30
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 3 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 3 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 29
					num_of_civilian_factories < 40
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 4 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 39
					num_of_civilian_factories < 50
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 5 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 49
					num_of_civilian_factories < 60
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 6 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 59
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = oil amount = 7 }
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_aluminium_factories
		icon = production
		x = @industrial_tree_very_far_right
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_steel_factories
		}
		
		available = {
			num_of_civilian_factories > 9
		}
		
		completion_reward = {
			if = {
				limit = { 
					num_of_civilian_factories < 20 
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 2 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 19
					num_of_civilian_factories < 30
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 3 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 3 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 29
					num_of_civilian_factories < 40
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 4 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 39
					num_of_civilian_factories < 50
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 5 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 5 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 49
					num_of_civilian_factories < 60
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 6 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 6 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 59
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 7 }
				}
				random_owned_state = { 
					add_resource = { type = aluminium amount = 7 }
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_extra_research_slot
		icon = research
		x = @political_tree_far_left
		y = 5
		cost = 25
		
		prerequisite = {
			focus = HLS_research_incentives
		}
		prerequisite = {
			focus = HLS_expand_the_secret_services
		}
		
		completion_reward = {
			add_research_slot = 1
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_defensive_constructions
		icon = defence
		x = @political_tree_right
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_destroy_foreign_influence
		}
		
		completion_reward = {
			add_ideas = ENG_defensive_constructions_idea
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_political_influence_abroad
		icon = territorial_claims
		x = @political_tree_very_far_right
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_volunteer_corps
		}
		
		completion_reward = {
			if = {
				limit = { has_government = islamist }
				every_neighbor_country = {
					add_popularity = { ideology = islamist popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = fascist }
				every_neighbor_country = {
					add_popularity = { ideology = fascist popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = nationalist }
				every_neighbor_country = {
					add_popularity = { ideology = nationalist popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = monarchist }
				every_neighbor_country = {
					add_popularity = { ideology = monarchist popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = reactionary }
				every_neighbor_country = {
					add_popularity = { ideology = reactionary popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = conservative }
				every_neighbor_country = {
					add_popularity = { ideology = conservative popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = market_liberal }
				every_neighbor_country = {
					add_popularity = { ideology = market_liberal popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = social_liberal }
				every_neighbor_country = {
					add_popularity = { ideology = social_liberal popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = social_democrat }
				every_neighbor_country = {
					add_popularity = { ideology = social_democrat popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = progressive }
				every_neighbor_country = {
					add_popularity = { ideology = progressive popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = democratic_socialist }
				every_neighbor_country = {
					add_popularity = { ideology = democratic_socialist popularity = 0.05 }
				}	
			}
			if = {
				limit = { has_government = communist }
				every_neighbor_country = {
					add_popularity = { ideology = communist popularity = 0.05 }
				}	
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	
	focus = {
		id = HLS_army_training_3
		icon = infantry_allies
		x = @army_tree_left
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_army_training_2
		}
		
		completion_reward = {
			army_experience = 25
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_recruitment_strategies
		icon = infantry_japan
		x = @army_tree_right
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_land_doctrine_1
		}
		
		completion_reward = {
			add_ideas = idea_focus_new_recruitment_strategies
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_naval_doctrine_focus
		icon = naval_doctrine
		x = @navy_tree_left
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_cruiser_program
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = nav_doctrine_bonus
				bonus = 0.3
				uses = 2
				category = naval_doctrine
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_carrier_program
		icon = carriers
		x = @navy_tree_right
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_cruiser_program
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = carrier_bonus
				bonus = 0.25
				uses = 1
				category = cv_tech
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_air_doctrine_2
		icon = air_doctrine
		x = @air_tree_left
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_air_doctrine_1
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = air_doc_bonus
				bonus = 0.3
				uses = 2
				category = air_doctrine
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_military_industry_5
		icon = industry_military
		x = @industrial_tree_very_far_left
		y = 6
		cost = 20
		
		prerequisite = {
			focus = HLS_military_industry_4
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				add_extra_state_shared_building_slots = 1
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_civilian_industry_5
		icon = industry_civilian
		x = @industrial_tree_left
		y = 6
		cost = 15
		
		prerequisite = {
			focus = HLS_civilian_industry_4
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}					
				}
			}
		}
		
		completion_reward = {
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_synthetic_rubber
		icon = oil_production
		x = @industrial_tree_right
		y = 6
		cost = 10
		
		prerequisite = {
			focus = HLS_synthetic_oil
		}
		
		available = {
			num_of_civilian_factories > 14
		}
		
		completion_reward = {
			if = {
				limit = { 
					num_of_civilian_factories < 20 
				}
				random_owned_state = { 
					add_resource = { type = rubber amount = 2 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 19
					num_of_civilian_factories < 30
				}
				random_owned_state = { 
					add_resource = { type = rubber amount = 3 }
				}
				random_owned_state = { 
					add_resource = { type = rubber amount = 3 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 29
				}
				random_owned_state = { 
					add_resource = { type = rubber amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = rubber amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = rubber amount = 4 }
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_rare_metals
		icon = production2
		x = @industrial_tree_very_far_right
		y = 6
		cost = 10
		
		prerequisite = {
			focus = HLS_aluminium_factories
		}
		
		available = {
			num_of_civilian_factories > 14
		}
		
		completion_reward = {
			if = {
				limit = { 
					num_of_civilian_factories < 20 
				}
				random_owned_state = { 
					add_resource = { type = chromium amount = 2 }
					add_resource = { type = tungsten amount = 2 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 19
					num_of_civilian_factories < 30
				}
				random_owned_state = { 
					add_resource = { type = chromium amount = 3 }
					add_resource = { type = tungsten amount = 3 }
				}
				random_owned_state = { 
					add_resource = { type = chromium amount = 3 }
					add_resource = { type = tungsten amount = 3 }
				}
			}
			if = {
				limit = { 
					num_of_civilian_factories > 29
				}
				random_owned_state = { 
					add_resource = { type = chromium amount = 4 }
					add_resource = { type = tungsten amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = chromium amount = 4 }
					add_resource = { type = tungsten amount = 4 }
				}
				random_owned_state = { 
					add_resource = { type = chromium amount = 4 }
					add_resource = { type = tungsten amount = 4 }
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}

####################################################################################################################################################################################################################################################################
####################################################################################################################################################################################################################################################################
####################################################################################################################################################################################################################################################################
####################################################################################################################################################################################################################################################################



	focus = {
		id = HLS_status_quo
		icon = improve_relations
		x = 22
		y = 0
		cost = 5
		mutually_exclusive = { focus = HLS_road_to_greatness }	
		
		completion_reward = {
			add_political_power = 150
			add_stability = 0.2
		}
		
		ai_will_do = {
			factor = 100
		}
	}
	
	focus = {
		id = HLS_road_to_greatness
		icon = demand_territory
		x = 27
		y = 0
		cost = 10
		mutually_exclusive = { focus = HLS_status_quo }		

		completion_reward = {
			add_political_power = 25
			ITA = {
				add_opinion_modifier = {
					target = HLS
					modifier = we_are_the_true_vatican
				}
			}
			remove_ideas = neutrality_idea
			add_stability = -0.15
			add_war_support = 0.15
		}
		
		ai_will_do = {
			factor = 0
		}
	}
	
	
	focus = {
		id = HLS_swiss_guard
		icon = military_mission
		x = 22
		y = 1
		cost = 5
		
		prerequisite = {
			focus = HLS_road_to_greatness
			focus = HLS_status_quo
		}

		bypass = {
			NOT = { country_exists = SWI}
		}
		
		available = { NOT = { has_war_with = SWI } }
		
		completion_reward = {
		hidden_effect = { 
			add_manpower = 25
			load_oob = HLS_swiss_guard_oob 
		}
		custom_effect_tooltip = HLS_swiss_guard_tooltip
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_italy_our_puppet
		icon = align_to_italy
		x = 25
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_road_to_greatness
		}

		completion_reward = {
			puppet = ITA
		}
		
		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = HLS_retake_rome
		icon = political_pressure_green
		x = 25
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_italy_our_puppet
		}

		completion_reward = {
			transfer_state = 2
			add_state_core = 2
		}
		
		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = HLS_italian_integration
		icon = monarchy5
		x = 25
		y = 3
		cost = 10
		
		prerequisite = { focus = HLS_retake_rome }

		completion_reward = {
			add_stability = -0.05
			ITA = {
				country_event = { days = 1 id = vatican_events.1 }
			}
			add_state_core = 156
			add_state_core = 157
			add_state_core = 158
			add_state_core = 159
			add_state_core = 160	
			add_state_core = 161
			add_state_core = 162
			add_state_core = 2
			add_state_core = 117
			add_state_core = 115
			add_state_core = 114
			set_cosmetic_tag = HLS_Empire
			hidden_effect = {
				increase_birth_rate = yes
				global_every_army_leader = { 
					limit = { 
						OWNER = { tag = ITA }
					}
					set_nationality = HLS 
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = HLS_rebuild_italy
		icon = construction2
		x = 23
		y = 4
		cost = 10
		
		prerequisite = { focus = HLS_italian_integration }

		available = {
			ITA = { exists = no }
		}

		completion_reward = {
			every_owned_state = { add_extra_state_shared_building_slots = 1 }
			add_stability = 0.02
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_reinstate_latin_language
		icon = constitution
		x = 25
		y = 4
		cost = 10
		
		prerequisite = { focus = HLS_italian_integration }

		available = {
			ITA = { exists = no }
		}

		completion_reward = {
			add_stability = 0.05
			add_political_power = -50
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	
	focus = {
		id = HLS_the_rise_of_christianity
		icon = monarchy3
		x = 28
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_road_to_greatness
		}
		
		mutually_exclusive = { focus = HLS_a_dark_path }	

		completion_reward = {
			add_manpower = 5000
			835 = { add_manpower = 425 }
			add_political_power = 50
			add_war_support = 0.1
		}
		
		ai_will_do = {
			factor = 40
		}
	}

	focus = {
		id = HLS_new_alliance
		icon = major_alliance
		x = 32
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_the_rise_of_christianity
			focus = HLS_a_dark_path
		}
			

		completion_reward = {
			if = {
				limit = { 
					OR = {
						has_government = islamist
						has_completed_focus = HLS_a_dark_path
					}
				}
				create_faction = "vatican_islamist_alliance"
			}
			
			if = {
				limit = { 
					has_government = monarchist
					NOT = { has_completed_focus = HLS_a_dark_path }
					}
				create_faction = "vatican_holy_christian_alliance"
			}
			#add_to_faction = { 
			#	every_country = {
			#		limit = {
			#			any_country = {
			#				is_puppet_of = HLS
			#			}
			#		}
			#	}
			#}
			
		}
		
		ai_will_do = {
			factor = 40
		}
	}
	
	focus = {
		id = HLS_religious_recruits
		icon = entente
		x = 32
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_new_alliance
		}

		completion_reward = {
			add_ideas = idea_HLS_religious_recruits
		}
		
		ai_will_do = {
			factor = 40
		}
	}
	

	focus = {
		id = HLS_restore_roman_empire
		icon = roman_empire_fascism
		x = 27
		y = 2
		cost = 3
		
		prerequisite = { focus = HLS_the_rise_of_christianity }
		prerequisite = { focus = HLS_italy_our_puppet }
		
		completion_reward = {
		    add_political_power = 50
			
		}

		ai_will_do = {
			factor = 5
		}
	}
	
	
	focus = {
		id = HLS_divide_et_impera
		icon = fascism2
		x = 27
		y = 3
		cost = 7
		
		prerequisite = {
			focus = HLS_restore_roman_empire
		}
		

		completion_reward = {
		    add_ideas = ITA_divide_et_impera
			
		}

		ai_will_do = {
			factor = 5
		}
	}
	
	
	focus = {
		id = HLS_strike_gaul
		icon = attack_france
		x = 27
		y = 4
		cost = 10
		
		prerequisite = {
		    focus = HLS_divide_et_impera
		}
		
		bypass = {
		    AND = {
			    OR = {
			        has_war_with = FRA 
			        FRA = {
			            NOT = { owns_state = 16 }
			        }
			        NOT = { country_exists = FRA }
			        HLS = { is_in_faction_with = FRA }
			    }
				OR = {
			        has_war_with = SAM
			        SAM = {
			            NOT = { owns_state = 854 }
			        }
			        NOT = { country_exists = SAM }
			        HLS = { is_in_faction_with = SAM }
			    }
			    OR = {
				    has_war_with = SWI
			        SWI = {
			            NOT = { owns_state = 151 }
			        }
			        NOT = { country_exists = SWI }
			        HLS = { is_in_faction_with = SWI }
		        }
				OR = {
				    has_war_with = BEL
			        BEL = {
			            NOT = { owns_state = 6 }
			        }
			        NOT = { country_exists = BEL }
			        HLS = { is_in_faction_with = BEL }
		        }
				OR = {
				    has_war_with = FLN
			        FLN = {
			            NOT = { owns_state = 6 }
			        }
			        NOT = { country_exists = FLN }
			        HLS = { is_in_faction_with = FLN }
		        }
				OR = {
				    has_war_with = WLN
			        WLN = {
			            NOT = { owns_state = 34 }
			        }
			        NOT = { country_exists = WLN }
			        HLS = { is_in_faction_with = WLN }
		        }
				OR = {
				    has_war_with = LUX
			        LUX = {
			            NOT = { owns_state = 8 }
			        }
			        NOT = { country_exists = LUX }
			        HLS = { is_in_faction_with = LUX }
		        }
				OR = {
				    has_war_with = CRS
			        CRS = {
			            NOT = { owns_state = 1 }
			        }
			        NOT = { country_exists = CRS }
			        HLS = { is_in_faction_with = CRS }
		        }
				OR = {
				    has_war_with = BRI
			        BRI = {
			            NOT = { owns_state = 14 }
			        }
			        NOT = { country_exists = BRI }
			        HLS = { is_in_faction_with = BRI }
		        }
				OR = {
				    has_war_with = MOC
			        MOC = {
			            NOT = { owns_state = 853 }
			        }
			        NOT = { country_exists = MOC }
			        HLS = { is_in_faction_with = MOC }
		        }
				OR = {
		                has_war_with = ENG
			            ENG = {
			                NOT = { owns_state = 126 }
			            }
			            NOT = { country_exists = ENG }
			            HLS = { is_in_faction_with = ENG }
			        }
					OR = {
			    	    has_war_with = SPR
			            SPR = {
			                NOT = { owns_state = 41 }
			            }
			            NOT = { country_exists = SPR }
			            HLS = { is_in_faction_with = SPR }
			    	}
			    	OR = {
			    	    has_war_with = POR
			            POR = {
			                NOT = { owns_state = 112 }
			            }
			            NOT = { country_exists = POR }
			            HLS = { is_in_faction_with = POR }
			    	}
		    		OR = {
		    		    has_war_with = BSQ
		    	        BSQ = {
		    	            NOT = { owns_state = 172 }
		    	        }
		    	        NOT = { country_exists = BSQ }
		    	        HLS = { is_in_faction_with = BSQ }
		    		}
		    		OR = {
		    		    has_war_with = CAT
		    	        CAT = {
		    	            NOT = { owns_state = 165 }
		    	        }
		    	        NOT = { country_exists = CAT }
		    	        HLS = { is_in_faction_with = CAT }
			    	}

				
		    }
		}
		
		completion_reward = {
		    if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = FRA }
			            FRA = {
			                owns_state = 16
			            }
			            country_exists = FRA
			            NOT = { is_in_faction_with = FRA }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = FRA
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = SAM }
			            SAM = {
			                owns_state = 854
			            }
			            country_exists = SAM
			            NOT = { is_in_faction_with = SAM }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = SAM
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = SWI }
			            SWI = {
			                owns_state = 151
			            }
			            country_exists = SWI
			            NOT = { is_in_faction_with = SWI }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = SWI
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = BEL }
			            BEL = {
			                owns_state = 6
			            }
			            country_exists = BEL
			            NOT = { is_in_faction_with = BEL }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = BEL
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = FLN }
			            FLN = {
			                owns_state = 6
			            }
			            country_exists = FLN
			            NOT = { is_in_faction_with = FLN }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = FLN
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = WLN }
			            WLN = {
			                owns_state = 34
			            }
			            country_exists = WLN
			            NOT = { is_in_faction_with = WLN }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = WLN
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = LUX }
			            LUX = {
			                owns_state = 8
			            }
			            country_exists = LUX
			            NOT = { is_in_faction_with = LUX }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = LUX
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = CRS }
			            CRS = {
			                owns_state = 1
			            }
			            country_exists = CRS
			            NOT = { is_in_faction_with = CRS }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = CRS
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = BRI }
			            BRI = {
			                owns_state = 14
			            }
			            country_exists = BRI
			            NOT = { is_in_faction_with = BRI }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = BRI
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = MOC }
			            MOC = {
			                owns_state = 853
			            }
			            country_exists = MOC
			            NOT = { is_in_faction_with = MOC }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = MOC
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = ENG }
			            ENG = {
			                owns_state = 126
			            }
			            country_exists = ENG
			            NOT = { is_in_faction_with = ENG }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = ENG
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = SPR }
			            SPR = {
			                owns_state = 41
			            }
			            country_exists = SPR
			            NOT = { is_in_faction_with = SPR }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = SPR
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = POR }
			            POR = {
			                owns_state = 112
			            }
			            country_exists = POR
			            NOT = { is_in_faction_with = POR }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = POR
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = BSQ }
			            BSQ = {
			                owns_state = 172
			            }
			            country_exists = BSQ
			            NOT = { is_in_faction_with = BSQ }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = BSQ
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = CAT }
			            CAT = {
			                owns_state = 165
			            }
			            country_exists = CAT
			            NOT = { is_in_faction_with = CAT }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = CAT
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = ENG }
			            ENG = {
			                owns_state = 118
			            }
			            country_exists = ENG
			            NOT = { is_in_faction_with = ENG }
				    }
				}
				add_state_claim = 118
			}
		}
	}
	
	focus = {
		id = HLS_retake_african_coast
		icon = demand_territory
		x = 27
		y = 5
		cost = 10
	    
		prerequisite = {
		    focus = HLS_strike_gaul
		}
		
		completion_reward = {
		    add_state_claim = 461
			add_state_claim = 290
			add_state_claim = 459
			add_state_claim = 460
			add_state_claim = 458
			add_state_claim = 665
			add_state_claim = 661
			add_state_claim = 662
			add_state_claim = 449
			add_state_claim = 448
			add_state_claim = 450
			add_state_claim = 663
			add_state_claim = 451
			add_state_claim = 452
			add_state_claim = 447
			add_state_claim = 446
			add_state_claim = 813
			add_state_claim = 457
			add_state_claim = 453
			add_state_claim = 812
			add_state_claim = 811
			add_state_claim = 454
			add_state_claim = 810
			add_state_claim = 455
			add_state_claim = 553
			add_state_claim = 554
			add_state_claim = 677
			add_state_claim = 680
			add_state_claim = 675
			add_state_claim = 291
			add_state_claim = 676
			add_state_claim = 815
			add_state_claim = 656
			
			every_country = {
				limit = {
					OR = {
						owns_state = 461
						owns_state = 290
						owns_state = 459
						owns_state = 460
						owns_state = 458
						owns_state = 665
						owns_state = 661
						owns_state = 662
						owns_state = 449
						owns_state = 448
						owns_state = 450
						owns_state = 663
						owns_state = 451
						owns_state = 452
						owns_state = 447
						owns_state = 446
						owns_state = 813
						owns_state = 457
						owns_state = 453
						owns_state = 812
			            owns_state = 811
			            owns_state = 454
			            owns_state = 810
			            owns_state = 455
			            owns_state = 553
			            owns_state = 554
			            owns_state = 677
			            owns_state = 680
			            owns_state = 675
			            owns_state = 291
			            owns_state = 676
			            owns_state = 815
			            owns_state = 656
					}
				}
				
				add_opinion_modifier = {
					target = HLS
					modifier = declaration_of_hostility
				}
				hidden_effect = {
					remove_opinion_modifier = {
						target = HLS
						modifier = declaration_of_friendship
					}
				}
			}
		}
	}
	
	
	focus = {
		id = HLS_recover_balkans
		icon = demand_territory2
		x = 27
		y = 6
		cost = 10
		
		bypass = {
		    AND = {
		        OR = {
				    has_war_with = SLV
			        SLV = {
			            NOT = { owns_state = 102 }
			        }
			        NOT = { country_exists = SLV }
			        HLS = { is_in_faction_with = SLV }
				}
				OR = {
				    has_war_with = CRO
			        CRO = {
			            NOT = { owns_state = 109 }
			        }
			        NOT = { country_exists = CRO }
			        HLS = { is_in_faction_with = CRO }
				}
				OR = {
				    has_war_with = BOS
			        BOS = {
			            NOT = { owns_state = 104 }
			        }
			        NOT = { country_exists = BOS }
			        HLS = { is_in_faction_with = BOS }
				}
				OR = {
				    has_war_with = SER
			        SER = {
			            NOT = { owns_state = 107 }
			        }
			        NOT = { country_exists = SER }
			        HLS = { is_in_faction_with = SER }
				}
				OR = {
				    has_war_with = MNT
			        MNT = {
			            NOT = { owns_state = 105 }
			        }
			        NOT = { country_exists = MNT }
			        HLS = { is_in_faction_with = MNT }
				}
				OR = {
				    has_war_with = ALB
			        ALB = {
			            NOT = { owns_state = 44 }
			        }
			        NOT = { country_exists = ALB }
			        HLS = { is_in_faction_with = ALB }
				}
				OR = {
				    has_war_with = BUL
			        BUL = {
			            NOT = { owns_state = 48 }
			        }
			        NOT = { country_exists = BUL }
			        HLS = { is_in_faction_with = BUL }
				}
				OR = {
				    has_war_with = MAC
			        MAC = {
			            NOT = { owns_state = 106 }
			        }
			        NOT = { country_exists = MAC }
			        HLS = { is_in_faction_with = MAC }
				}
				OR = {
				    has_war_with = GRE
			        GRE = {
			            NOT = { owns_state = 47 }
			        }
			        NOT = { country_exists = GRE }
			        HLS = { is_in_faction_with = GRE }
				}
				OR = {
				    has_war_with = HUN
			        HUN = {
			            NOT = { owns_state = 43 }
			        }
			        NOT = { country_exists = HUN }
			        HLS = { is_in_faction_with = HUN }
				}
				OR = {
				    has_war_with = ROM
			        ROM = {
			            NOT = { owns_state = 46 }
			        }
			        NOT = { country_exists = ROM }
			        HLS = { is_in_faction_with = ROM }
				}
				OR = {
				    has_war_with = KOS
			        KOS = {
			            NOT = { owns_state = 785 }
			        }
			        NOT = { country_exists = KOS }
			        HLS = { is_in_faction_with = KOS }
				}
				OR = {
				    has_war_with = AUS
			        AUS = {
			            NOT = { owns_state = 4 }
			        }
			        NOT = { country_exists = AUS }
			        HLS = { is_in_faction_with = AUS }
				}
			}
		}
		
		prerequisite = {
		    focus = HLS_retake_african_coast
		}
		
		completion_reward = {
		    if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = SLV }
			            SLV = {
			                owns_state = 102
			            }
			            country_exists = SLV
			            NOT = { is_in_faction_with = SLV }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = SLV
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = CRO }
			            CRO = {
			                owns_state = 109
			            }
			            country_exists = CRO
			            NOT = { is_in_faction_with = CRO }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = CRO
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = BOS }
			            BOS = {
			                owns_state = 104
			            }
			            country_exists = BOS
			            NOT = { is_in_faction_with = BOS }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = BOS
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = SER }
			            SER = {
			                owns_state = 107
			            }
			            country_exists = SER
			            NOT = { is_in_faction_with = SER }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = SER
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = MNT }
			            MNT = {
			                owns_state = 105
			            }
			            country_exists = MNT
			            NOT = { is_in_faction_with = MNT }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = MNT
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = ALB }
			            ALB = {
			                owns_state = 44
			            }
			            country_exists = ALB
			            NOT = { is_in_faction_with = ALB }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = ALB
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = BUL }
			            BUL = {
			                owns_state = 48
			            }
			            country_exists = BUL
			            NOT = { is_in_faction_with = BUL }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = BUL
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = MAC }
			            MAC = {
			                owns_state = 106
			            }
			            country_exists = MAC
			            NOT = { is_in_faction_with = MAC }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = MAC
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = GRE }
			            GRE = {
			                owns_state = 47
			            }
			            country_exists = GRE
			            NOT = { is_in_faction_with = GRE }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = GRE
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = HUN }
			            HUN = {
			                owns_state = 43
			            }
			            country_exists = HUN
			            NOT = { is_in_faction_with = HUN }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = HUN
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = ROM }
			            ROM = {
			                owns_state = 46
			            }
			            country_exists = ROM
			            NOT = { is_in_faction_with = ROM }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = ROM
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = KOS }
			            KOS = {
			                owns_state = 785
			            }
			            country_exists = KOS
			            NOT = { is_in_faction_with = KOS }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = KOS
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = AUS }
			            AUS = {
			                owns_state = 4
			            }
			            country_exists = AUS
			            NOT = { is_in_faction_with = AUS }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = AUS
				}
			}
		}
	}
	
	focus = {
		id = HLS_recover_anatolia
		icon = demand_territory
		x = 27
		y = 7
		cost = 10
		
		bypass = {
		    AND = {
		        OR = {
				    has_war_with = TUR
			        TUR = {
			            NOT = { owns_state = 49 }
			        }
			        NOT = { country_exists = TUR }
			        HLS = { is_in_faction_with = TUR }
				}
				OR = {
				    has_war_with = CYP
			        CYP = {
			            NOT = { owns_state = 183 }
			        }
			        NOT = { country_exists = CYP }
			        HLS = { is_in_faction_with = CYP }
				}
				OR = {
				    has_war_with = NCY
			        NCY = {
			            NOT = { owns_state = 836 }
			        }
			        NOT = { country_exists = NCY }
			        HLS = { is_in_faction_with = NCY }
				}
				OR = {
				    has_war_with = ARM
			        ARM = {
			            NOT = { owns_state = 230 }
			        }
			        NOT = { country_exists = ARM }
			        HLS = { is_in_faction_with = ARM }
				}
				OR = {
				    has_war_with = AZR
			        AZR = {
			            NOT = { owns_state = 229 }
			        }
			        NOT = { country_exists = AZR }
			        HLS = { is_in_faction_with = AZR }
				}
				OR = {
				    has_war_with = GEO
			        GEO = {
			            NOT = { owns_state = 231 }
			        }
			        NOT = { country_exists = GEO }
			        HLS = { is_in_faction_with = GEO }
				}
			}
		}
		
		prerequisite = {
		    focus = HLS_recover_balkans
		}
		
		completion_reward = {
		    if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = TUR }
			            TUR = {
			                owns_state = 49
			            }
			            country_exists = TUR
			            NOT = { is_in_faction_with = TUR }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = TUR
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = CYP }
			            CYP = {
			                owns_state = 183
			            }
			            country_exists = CYP
			            NOT = { is_in_faction_with = CYP }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = CYP
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = NCY }
			            NCY = {
			                owns_state = 836
			            }
			            country_exists = NCY
			            NOT = { is_in_faction_with = NCY }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = NCY
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = ARM }
			            ARM = {
			                owns_state = 230
			            }
			            country_exists = ARM
			            NOT = { is_in_faction_with = ARM }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = ARM
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = AZR }
			            AZR = {
			                owns_state = 229
			            }
			            country_exists = AZR
			            NOT = { is_in_faction_with = AZR }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = AZR
				}
			}
			if = {
			    limit = {
				    AND = {
					    NOT = { has_war_with = GEO }
			            GEO = {
			                owns_state = 231
			            }
			            country_exists = GEO
			            NOT = { is_in_faction_with = GEO }
				    }
				}
				create_wargoal = {
				    type = annex_everything
					target = GEO
				}
			}
		}
	}
	
	
	focus = {
		id = HLS_holy_soldiers
		icon = national_greatness
		x = 29
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_the_rise_of_christianity
		}
		

		completion_reward = {
			add_ideas = idea_HLS_holy_soldiers
		}

		ai_will_do = {
			factor = 5
		}
	}
	
	
	focus = {
		id = HLS_anti_islamist_crusade
		icon = attack_pakistan
		x = 29
		y = 3
		cost = 15
		
		prerequisite = {
			focus = HLS_holy_soldiers
		}
		prerequisite = {
			focus = HLS_new_alliance
		}
		
		available = {
			hidden_trigger = { 
				has_idea = idea_HLS_rejected_islam
				NOT = { has_idea = idea_HLS_accepted_islam }
			}
			custom_trigger_tooltip = { tooltip = HLS_anti_islamist_crusade_custom_trigger has_idea = idea_HLS_rejected_islam NOT = { has_idea = idea_HLS_accepted_islam } }
		}

		completion_reward = {
			every_country = { 
				limit = { has_government = islamist }
				country_event = { days = 1 id = vatican_events.4 }
			 }
			add_war_support = 0.15
			add_stability = -0.05
		}

		ai_will_do = {
			factor = 5
		}
	}

	
	focus = {
		id = HLS_retake_the_holy_land
		icon = territory_or_war
		x = 29
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_anti_islamist_crusade
		}
		

		completion_reward = {
				create_wargoal = { type = annex_everything target = PAL }
				create_wargoal = { type = annex_everything target = ISR }
				create_wargoal = { type = annex_everything target = JOR }
				create_wargoal = { type = annex_everything target = LEB }
				create_wargoal = { type = annex_everything target = SYR }
				add_war_support = 0.3
		}

		ai_will_do = {
			factor = 5
		}
	}
	

	focus = {
		id = HLS_second_anti_islamist_crusade
		icon = attack_pakistan
		x = 29
		y = 5
		cost = 10
		
		prerequisite = {
			focus = HLS_retake_the_holy_land
		}
		
		available = {
			any_country = { has_government = islamist }
			hidden_trigger = { 
				has_idea = idea_HLS_rejected_islam
				NOT = { has_idea = idea_HLS_accepted_islam }
			}
			custom_trigger_tooltip = { tooltip = HLS_anti_islamist_crusade_custom_trigger has_idea = idea_HLS_rejected_islam NOT = { has_idea = idea_HLS_accepted_islam } }
		}
		
		completion_reward = {
			every_country = { 
				limit = { has_government = islamist }
				country_event = { days = 1 id = vatican_events.4 }
			 }
			add_war_support = 0.1
			add_stability = -0.05
		}

		ai_will_do = {
			factor = 5
		}
	}

	focus = {
		id = HLS_a_dark_path
		icon = align_to_pakistan
		x = 35
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_road_to_greatness
		}

		available = {
			hidden_trigger = { 
				NOT = { has_idea = idea_HLS_rejected_islam }
 			}					
			custom_trigger_tooltip = { tooltip = HLS_a_dark_path_custom_trigger NOT = { has_idea = idea_HLS_rejected_islam } }
		}

		mutually_exclusive = { focus = HLS_the_rise_of_christianity }	

		completion_reward = {
			add_popularity = { ideology = islamist popularity = 0.5 }
			835 = { add_manpower = 5000 }
			if = {
				limit = { NOT = { has_government = islamist } }
				add_stability = -0.5
			}
			swap_ideas = { remove_idea = idea_HLS_holy_see add_idea = idea_HLS_rise_of_islam } 
		}
		ai_will_do = {
			factor = 5
		}
	}


	focus = {
		id = HLS_take_jerusalem
		icon = attack_israel
		x = 35
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_a_dark_path
		}
		
		completion_reward = {
			create_wargoal = { type = annex_everything target = ISR }
			add_stability = 0.1
			add_war_support = 0.15
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_anti_america
		icon = attack_america
		x = 35
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_take_jerusalem
		}
		
		completion_reward = {
			HLS = { 
				add_opinion_modifier = { target = USA modifier = rival }
				add_opinion_modifier = { target = USA modifier = embargo }
				add_stability = 0.1
				add_war_support = 0.1
			}
			create_wargoal = { type = annex_everything target = USA }
			USA = { 
				add_opinion_modifier = { target = HLS modifier = rival }
				add_opinion_modifier = { target = HLS modifier = embargo }
				add_stability = -0.05
				add_war_support = 0.1
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}

	
	focus = {
		id = HLS_aid_our_brethren
		icon = skull
		x = 36
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_a_dark_path
		}
		prerequisite = {
			focus = HLS_new_alliance
		}
		
		completion_reward = {
			every_country = {
				limit = {
					has_government = islamist
				}
				country_event = { id = vatican_events.10 }
				add_stability = 0.05
				add_war_support = 0.1
			}
			add_manpower = 10000
			add_stability = 0.15
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	
	
	focus = {
		id = HLS_allahs_will
		icon = skull
		x = 37
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_a_dark_path
		}
		
		completion_reward = {
			add_ideas  = idea_HLS_allahs_will
			add_manpower = 20000
			add_war_support = 0.15
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	
	focus = {
		id = HLS_jihad
		icon = skull2
		x = 37
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_allahs_will
		}
		
		completion_reward = {
			add_war_support = 0.40
			add_stability = -0.10
			add_ideas = idea_focus_generic_jihad
			#Trigger the global news event.
			news_event = news.2
			#If the faction is not ideal, leave it.
			if = {
				limit = {
					is_in_faction = yes
					is_faction_leader = no
					any_country = {
						is_in_faction_with = ROOT
						OR = {
							NOT = { has_government = islamist }
							islamist < 0.25
						}
					}
				}
				random_country = {
					limit = {
						is_in_faction_with = ROOT
						is_faction_leader = yes
					}
					remove_from_faction = ROOT
				}
			}
			#Everybody should hate them; except for Islamists of their confession
			if = {
				limit = { 
					OR = {
						has_country_flag = sunni_islam 
						AND = {	#The rare case of Ibadi or Bug.
							NOT = { has_country_flag = sunni_islam }
							NOT = { has_country_flag = shia_islam }
						}
					}
				}
				every_country = {
					limit = {
						OR = {
							has_country_flag = shia_islam
							NOT = { has_government = islamist }
						}
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = terrorist_menace
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = terrorist_menace_trade
					}
				}
			}
			if = {
				limit = { 
					has_country_flag = shia_islam 
				}
				every_country = {
					limit = {
						OR = {
							has_country_flag = sunni_islam
							NOT = { has_government = islamist }
						}
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = terrorist_menace
					}
					add_opinion_modifier = {
						target = ROOT
						modifier = terrorist_menace_trade
					}
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = HLS_improve_the_city
		icon = construction
		x = 40
		y = 0
		cost = 10
		
		completion_reward = {
			add_stability = 0.10
			835 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_strengthen_the_walls
		icon = city_fort
		x = 40
		y = 1
		cost = 10
		
		prerequisite = {
			focus = HLS_improve_the_city
		}
		
		completion_reward = {
			835 = {
				add_building_construction = {
					type = bunker
					province = 13205
					level = 3
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_vatican_factories
		icon = construction3
		x = 40
		y = 2
		cost = 10
		
		prerequisite = {
			focus = HLS_strengthen_the_walls
		}
		
		completion_reward = {
			add_stability = -0.02
			835 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_heavy_restructuring
		icon = money
		x = 40
		y = 3
		cost = 20
		
		prerequisite = {
			focus = HLS_vatican_factories
		}
		
		mutually_exclusive = { focus = HLS_vatican_fortress }
		
		available = {
			has_political_power > 100
			has_stability > 0.5
			has_war = no
		}
		
		completion_reward = {
			add_political_power = -150
			add_stability = 0.12
			835 = {
				add_manpower = 600
				add_extra_state_shared_building_slots = 8
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 4
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 4
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_vatican_fortress
		icon = defence
		x = 42
		y = 3
		cost = 10
		
		prerequisite = {
			focus = HLS_vatican_factories
		}
		
		mutually_exclusive = { focus = HLS_heavy_restructuring }
		
		available = {
			OR = {
				threat > 0.1
				has_war = yes
			}
		}
		
		completion_reward = {
			add_political_power = -50
			add_ideas = idea_HLS_fortress_vatican
			835 = {
				add_manpower = -100
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = bunker
					province = 13205
					level = 4
					instant_build = yes
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	
	focus = {
		id = HLS_refurbish_the_vatican_library
		icon = self_management
		x = 41
		y = 4
		cost = 10
		
		prerequisite = {
			focus = HLS_vatican_fortress
			focus = HLS_heavy_restructuring 
		}
		
		completion_reward = {
			add_political_power = -75
			add_stability = 0.05
			add_research_slot = 1
			swap_ideas = { remove_idea = idea_HLS_vatican_library add_idea = idea_HLS_refurbished_vatican_library }
		}
		
		ai_will_do = {
			factor = 10
		}
	}
	

########################################################################### End

}

