### 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 = british_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = ENG
		}
	}
	default = no

	focus = {
		id = crypto_bomb_focus
		available = {
				has_war_with = GER
				POL = {
					NOT = { is_in_faction_with = GER } #We assume POL will help vs Germany unless they are allied to them
				}
			}
		
		bypass = {
			OR = {
				AND = {
					has_war_with = GER
					POL = {
							is_in_faction_with = GER # If POL is in GER's faction, no help for us
						}
				}
				AND = {
					has_war = yes
					is_in_faction_with = USA
				}
				GER = { exists = no }
			}
		}
		
		icon = GFX_focus_generic_cryptologic_bomb
		x = 0
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				add_tech_bonus = {
					name = codebreaking_bonus
					bonus = 1.0
					uses = 3
					category = decryption_tech
					category = computing_tech
				}
			}
			else = {
				hidden_effect = {
					set_technology = { lar_decryption_bonus_tech = 1 }
				}
				custom_effect_tooltip = lar_decryption_bonus_tt
			}
		}
	}
	
	focus = {
		id = tizard_mission_focus
		available = {				
			has_government = democratic
			any_other_country = {
				has_war_with = ROOT
				NOT = { has_government = democratic }
				num_of_factories > 30
			}
			NOt = {
				has_war_with = USA
			}
			USA = { 
				has_government = ROOT
				has_war = no
				NOT = {
					OR = {
						has_idea = undisturbed_isolation
						has_idea = isolation
					}
				}
			}
			
		} 
		prerequisite = { focus = crypto_bomb_focus }
		prerequisite = { focus = radar_focus }
		icon = GFX_goal_generic_scientific_exchange
		x = 0
		y = 3
		relative_position_id = crypto_bomb_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_RESEARCH}	
		completion_reward = {
			USA = {
				country_event = {
					id = britain.1
					hours = 12
				}	
			}
			custom_effect_tooltip = if_they_accept
			effect_tooltip = {
				add_breakthrough_progress = {
					specialization = specialization_air
					value = 0.75
				}
				add_tech_bonus = {
					name = tizard_mission_focus
					bonus = 0.5 # was 1
					category = light_fighter
				}
				add_tech_bonus = {
					name = tizard_mission_focus
					bonus = 0.5 # was 1
					uses = 1 # was 2
					category = radar_tech
				}
				custom_effect_tooltip =  generic_skip_one_line_tt
				USA = {
					add_breakthrough_progress = {
						specialization = specialization_air
						value = 0.75
					}
					add_tech_bonus = {
						name = tizard_mission_focus
						uses = 1
						bonus = 1
						category = light_fighter
					}
				}
			}
		}
	}
	focus = {
		id = maud_focus
		available = { is_in_faction_with = USA }
		prerequisite = { focus = tizard_mission_focus }
		icon = GFX_focus_wonderweapons
		x = 0
		y = 1
		relative_position_id = tizard_mission_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.75
			}

			add_tech_bonus = {
				name = maud_focus
				bonus = 0.75 # was 1
				uses = 1
				category = nuclear
			}

		}
	}
	
	
	focus = {
		id = limited_rearmament_focus
		icon = GFX_goal_generic_build_tank
		x = 5
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}

		bypass = {
			custom_trigger_tooltip =  {
				tooltip = construction_effort_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
			}
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = ENG_limited_rearmament_focus_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = ENG_limited_rearmament_focus_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = ENG_limited_rearmament_focus_2IC
			}
		}
	}

	focus = {
		id = ENG_motorized_focus
		prerequisite = { focus = limited_rearmament_focus }
		available = { 			
		}
		icon = GFX_goal_generic_army_motorized
		x = 0
		y = 1
		relative_position_id = limited_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = armor_bonus
				bonus = 1.0
				uses = 1
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = ENG_tank_focus
		prerequisite = { focus = ENG_motorized_focus }
		icon = GFX_goal_generic_army_tanks
		x = 0
		y = 1
		relative_position_id = ENG_motorized_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_RESEARCH}
		available_if_capitulated = yes
		
		completion_reward = {
			add_tech_bonus = {
				name = armor_bonus
				bonus = 1.0
				uses = 1
				category = armor
			}
		}
	}

	focus = {
		id = ENG_expand_the_secret_intelligence_service_focus 

		prerequisite = { focus = limited_rearmament_focus }

		dynamic = yes

		available = {
		} 

		allow_branch = {
			has_dlc = "La Resistance"
		}

		icon = GFX_focus_generic_secret_service_agency

		x = 2
		y = 1
		relative_position_id = limited_rearmament_focus

		cost = 10

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_intelligence_agency = no
				}
				create_intelligence_agency = yes
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_ideas = ENG_mi6_ns

		}
	}
	
	focus = {
		id = air_defense_focus
		prerequisite = { focus = limited_rearmament_focus }
		available = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				OR = {
					threat > 0.05
					has_war = yes
					has_idea = ENG_no_further_appeasement_idea
					NOT = { has_government = democratic }
				}
			}
			if = {
				limit = {
					NOT = { has_dlc = "Man the Guns" }
				}
				OR = {
					threat > 0.05
					has_war = yes
					NOT = { has_government = democratic }
				}
			}
		}

		continue_if_invalid = yes
		available_if_capitulated = yes

		icon = GFX_goal_generic_construct_military
		x = -4
		y = 1
		relative_position_id = limited_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		bypass = {
			custom_trigger_tooltip =  {
				tooltip = air_defense_focus_bypass_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = anti_air_building
							size > 0
						}
					}
				}
			}
		}

		complete_tooltip = {
			air_experience = 25
			if = {
				limit = { has_country_flag = air_defense_focus_built_max }
				custom_effect_tooltip = air_defense_focus_tt			
			}
			if = {
				limit = { NOT = { has_country_flag = air_defense_focus_built_max } }
				every_state = {
					limit = { has_state_flag = ENG_air_defense_focus_built_2 }
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}
			}
		}

		completion_reward = {
			air_experience = 25
			if = {
				limit = {
					NOT = {
						OR = {
							123 = {
								free_building_slots = {
									building = anti_air_building
									size > 1
								}
							}
							125 = {
								free_building_slots = {
									building = anti_air_building
									size > 1
								}
							}
							127 = {
								free_building_slots = {
									building = anti_air_building
									size > 1
								}
							}
						}
					}
					NOT = {
						any_owned_state = {
							free_building_slots = {
								building = anti_air_building
								size > 1
							}
							OR = {
								region = 1
								region = 2
								region = 3
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = anti_air_building
							size > 1
						}
					}
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
					set_state_flag = ENG_air_defense_focus_built_2
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = anti_air_building
							size > 1
						}			
					}
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
					set_state_flag = ENG_air_defense_focus_built_2
				}
			}
			if = {
				limit = {
					NOT = {
						OR = {
							123 = {
								free_building_slots = {
									building = anti_air_building
									size > 1
								}
							}
							125 = {
								free_building_slots = {
									building = anti_air_building
									size > 1
								}
							}
							127 = {
								free_building_slots = {
									building = anti_air_building
									size > 1
								}
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = anti_air_building
							size > 1
						}
						OR = {
							region = 1
							region = 2
							region = 3
						}
					}
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
					set_state_flag = ENG_air_defense_focus_built_2
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = anti_air_building
							size > 1
						}
						OR = {
							region = 1
							region = 2
							region = 3
						}						
					}
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
					set_state_flag = ENG_air_defense_focus_built_2
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = anti_air_building
							size > 1
						}
						OR = {
							region = 1
							region = 2
							region = 3
						}						
					}
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
					set_state_flag = ENG_air_defense_focus_built_2
				}
			}			
			if = {
				limit = {
					OR = {
						123 = {
							free_building_slots = {
								building = anti_air_building
								size > 1
							}
						}
						125 = {
							free_building_slots = {
								building = anti_air_building
								size > 1
							}
						}
						127 = {
							free_building_slots = {
								building = anti_air_building
								size > 1
							}
						}
					}
				}
				custom_effect_tooltip = air_defense_focus_tt
				hidden_effect = {
					123 = {
						add_building_construction = {
							type = anti_air_building
							level = 5
							instant_build = yes
						}
					}
					125 = {
						add_building_construction = {
							type = anti_air_building
							level = 5
							instant_build = yes
						}
					}
					127 = {
						add_building_construction = {
							type = anti_air_building
							level = 5
							instant_build = yes
						}
					}
					set_country_flag = air_defense_focus_built_max
				}
			}
		}
	}

	focus = {
		id = radar_focus
		prerequisite = { focus = air_defense_focus }
		icon = GFX_goal_generic_radar
		x = 0
		y = 1
		relative_position_id = air_defense_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			air_experience = 25
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}
			add_tech_bonus = {
				name = radar_focus
				bonus = 1
				uses = 1 # was 3
				category = radar_tech
			}
		}
	}
	
	focus = {
		id = shadow_scheme_focus

		prerequisite = { focus = limited_rearmament_focus }

		available = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				OR = {
					threat > 0.05
					has_war = yes
					has_idea = ENG_no_further_appeasement_idea
					NOT = { has_government = democratic }
				}
			}
			if = {
				limit = {
					NOT = { has_dlc = "Man the Guns" }
				}
				OR = {
					threat > 0.05
					has_war = yes
					NOT = { has_government = democratic }
				}
			}
		}

		continue_if_invalid = yes
		available_if_capitulated = yes
		
		icon = GFX_goal_generic_construct_mil_factory

		x = -2
		y = 1
		relative_position_id = limited_rearmament_focus

		cost = 10

		ai_will_do = {
			factor = 1
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }	

		completion_reward = {
			custom_effect_tooltip = shadow_scheme_focus_tt
			IF = {
				limit = {
					NOT = {
						has_idea = ENG_prepare_for_the_inevitable_idea
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_ideas = wartime_industry_focus
			}
			ELSE = {
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = {
					remove_idea = ENG_prepare_for_the_inevitable_idea
					add_idea = ENG_prepare_for_the_inevitable_and_wartime_industry_idea
				}	
			}
		}
	}

	focus = {
		id = uk_industrial_focus
		text = industrial_effort
		prerequisite = { focus = shadow_scheme_focus }
		icon = GFX_goal_generic_construct_civ_factory
		x = 0
		y = 1
		relative_position_id = shadow_scheme_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1.0
				uses = 2
				category = industry
			}
		}
	}

	focus = {
		id = ENG_vickers_experimental_facility_focus 

		prerequisite = { focus = uk_industrial_focus }

		dynamic = yes

		available = {
			126 = {
				is_fully_controlled_by = ROOT
			}
		} 

		icon = GFX_focus_generic_aircraft_production

		x = 1
		y = 2
		
		relative_position_id = uk_industrial_focus

		cost = 5

		available_if_capitulated = no

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.5
			}
			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			
			custom_effect_tooltip = ENG_vickers_experimental_facility_focus_tt
			hidden_effect = {
				IF = {
					limit = { 
						126 = {
							is_fully_controlled_by = ROOT
							air_facility < 1
							land_facility < 1
							naval_facility < 1
							nuclear_facility < 1
						}
					}

					126 = {
						add_building_construction = {
							type = air_facility
							level = 1
							instant_build = yes
							province = 11333 # South London
						}
					}
				}
			}

		}
	}

	focus = {
		id = uk_extra_tech_slot
		text = extra_tech_slot
		icon = GFX_focus_research
		prerequisite = { focus = uk_industrial_focus }
		x = 0
		y = 1
		relative_position_id = uk_industrial_focus
		cost = 10

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_research_slot = 1
		}
	}
	
	focus = {
		id = general_rearmament_focus
		prerequisite = { focus = limited_rearmament_focus }
		available = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				OR = {
					threat > 0.1 
					has_war = yes
					has_idea = ENG_no_further_appeasement_idea
					NOT = { has_government = democratic }
				}
			}
			if = {
				limit = {
					NOT = { has_dlc = "Man the Guns" }
				}
				OR = {
					threat > 0.1 
					has_war = yes
					NOT = { has_government = democratic }
				}
			}
		}

		continue_if_invalid = yes

		icon = GFX_goal_generic_consumer_goods
		x = 5
		y = 1
		relative_position_id = limited_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}	
		completion_reward = {
			add_ideas = british_austerity_idea
		}
	}

	focus = {
		id = ENG_special_air_service
		prerequisite = { focus = general_rearmament_focus }
		available = { 
			
		}

		continue_if_invalid = yes

		icon = GFX_focus_eng_special_air_service
		x = 0
		y = 1
		relative_position_id = general_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_ideas = ENG_special_air_service_idea
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ENG_david_stirling
		}
	}
	
	focus = {
		id = ENG_parachute_regiments
		prerequisite = { focus = ENG_special_air_service }
		allow_branch = {
			has_dlc = "Arms Against Tyranny"
		}
		continue_if_invalid = yes

		icon = GFX_focus_generic_paratrooper
		x = 0
		y = 1
		relative_position_id = ENG_special_air_service
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_potential_special_forces_tree = yes
			add_doctrine_cost_reduction = {
				name = ENG_parachute_regiments
				cost_reduction = 0.25
				uses = 2
				category = special_forces_doctrine
			}
		}
	}
	
	focus = {
		id = royal_ordinance_focus
		available = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				OR = {
					any_other_country = {
						has_war_with = ROOT
						num_of_factories > 30
					}
					GER = {
						has_completed_focus = GER_remilitarize_the_rhineland
					}
					threat > 0.2
					has_idea = ENG_no_further_appeasement_idea
					NOT = { has_government = democratic }
				}
			}
			if = {
				limit = {
					NOT = { has_dlc = "Man the Guns" }
				}
				OR = {
					any_other_country = {
						has_war_with = ROOT
						num_of_factories > 30
					}
					GER = {
						has_completed_focus = GER_remilitarize_the_rhineland
					}
					threat > 0.2
					NOT = { has_government = democratic }
				}
			}
		} #at war with major or ger in rhineland or high threat
		prerequisite = { focus = uk_industrial_focus }
		icon = GFX_goal_generic_construct_mil_factory
		x = -1
		y = 2
		relative_position_id = uk_industrial_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		continue_if_invalid = yes

		bypass = {
			custom_trigger_tooltip =  {
				tooltip = production_effort_tt
				NOT = {
					any_owned_state = {
						is_in_home_area = yes
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
			}
		}
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = royal_ordinance_focus_2AF }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			
		}

		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = royal_ordinance_focus_2AF
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = royal_ordinance_focus_2AF
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = royal_ordinance_focus_2AF
			}
		}
	}
	
	focus = {
		id = uk_small_arms_focus
		prerequisite = { focus = royal_ordinance_focus }
		icon = GFX_goal_generic_production2
		x = 1
		y = 1
		relative_position_id = royal_ordinance_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_ideas = british_arms_discount
		}
	}

	focus = {
		id = UK_secret_focus
		prerequisite = { focus = royal_ordinance_focus }
		prerequisite = { focus = maud_focus }
		icon = GFX_goal_generic_secret_weapon
		x = -1
		y = 1
		relative_position_id = royal_ordinance_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {

			add_ideas = generic_secret_weapons_ns
			add_tech_bonus = {
				name = UK_secret_focus
				bonus = 0.5 # was 1
				uses = 1 # was 2
				category = rocketry
			}
			add_tech_bonus = {
				name = UK_secret_focus
				bonus = 0.5 # was 1
				uses = 1
				category = nuclear
			}
		}
	}

	focus = {
		id = air_rearmament_focus
		prerequisite = { focus = general_rearmament_focus }
		icon = GFX_goal_generic_air_doctrine
		x = -2
		y = 2
		relative_position_id = general_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 3
		}

		bypass = {
			custom_trigger_tooltip =  {
				tooltip = air_focus_bypass_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
				}
			}
		}

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = air_rearmament_focus_2AirBase }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}		
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					OR = {
						region = 1
						region = 2
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = air_rearmament_focus_2AirBase
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					OR = {
						region = 1
						region = 2
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}			
				set_state_flag = air_rearmament_focus_2AirBase
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					OR = {
						region = 1
						region = 2
						region = 3
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}			
				set_state_flag = air_rearmament_focus_2AirBase
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					OR = {
						region = 1
						region = 2
						region = 3
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}			
				set_state_flag = air_rearmament_focus_2AirBase
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					OR = {
						region = 1
						region = 2
						region = 3
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}			
				set_state_flag = air_rearmament_focus_2AirBase
			}

			if = {
				limit = {
					NOT = {
						any_owned_state = {
							free_building_slots = {
								building = air_base
								size > 1
							}
							OR = {
								region = 1
								region = 2
								region = 3
							}
						}			
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}			
					set_state_flag = air_rearmament_focus_2AirBase
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}			
					set_state_flag = air_rearmament_focus_2AirBase
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}			
					set_state_flag = air_rearmament_focus_2AirBase
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}			
					set_state_flag = air_rearmament_focus_2AirBase
				}
			}
		}
	}

	focus = {
		id = ENG_chiefs_of_staff_committee
		prerequisite = { focus = air_rearmament_focus }
		prerequisite = { focus = naval_rearmament_focus }
		available = { 
			
		}

		continue_if_invalid = yes

		icon = GFX_focus_eng_chiefs_of_staff_committee
		x = 2
		y = 1
		relative_position_id = air_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			army_experience = 10
			navy_experience = 10
			air_experience = 10
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = ENG_chiefs_of_staff_committee_idea
		}
	}

	focus = {
		id = fighter_command_focus
		prerequisite = { focus = air_rearmament_focus }
		icon = GFX_goal_generic_air_fighter
		x = -1
		y = 2
		relative_position_id = air_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 3
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "By Blood Alone" }
				}
				air_experience = 25
				add_tech_bonus = {
					name = fighter_command_focus
					bonus = 1.0
					uses = 2
					category = light_fighter
					category = cat_heavy_fighter
				}
			}
			else_if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				air_experience = 25
				add_tech_bonus = {
					name = fighter_command_focus
					bonus = 1.0
					uses = 1
					category = light_fighter
					category = cat_heavy_fighter
				}
				add_doctrine_cost_reduction = {
					name = ENG_fighter_command_focus #land_doc_bonus
					cost_reduction = 0.5
					uses = 1
					category = air_doctrine
				}
			}
		}
	}
	focus = {
		id = bomber_command_focus
		prerequisite = { focus = air_rearmament_focus }
		icon = GFX_goal_generic_air_bomber
		x = 0
		y = 1
		relative_position_id = air_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "By Blood Alone" }
				}
				air_experience = 25
				add_tech_bonus = {
					name = bomber_command_focus
					bonus = 1.0
					uses = 2
					category = cat_strategic_bomber
					category = tactical_bomber
				}
			}
			else_if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				air_experience = 25
				add_tech_bonus = {
					name = bomber_command_focus
					bonus = 1.0
					uses = 1
					category = cat_strategic_bomber
					category = tactical_bomber
				}
				add_doctrine_cost_reduction = {
					name = bomber_command_focus #land_doc_bonus
					cost_reduction = 0.5
					uses = 1
					category = air_doctrine
				}
			}
		}
	}
	focus = {
		id = coastal_command_focus
		prerequisite = { focus = air_rearmament_focus }
		icon = GFX_goal_generic_air_naval_bomber
		x = 1
		y = 2
		relative_position_id = air_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "By Blood Alone" }
				}
				air_experience = 25
				add_tech_bonus = {
					name = coastal_command_focus
					bonus = 1.0
					uses = 2
					category = naval_bomber
					category = cas_bomber
				}
			}
			else_if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				air_experience = 25
				add_tech_bonus = {
					name = coastal_command_focus
					bonus = 1.0
					uses = 1
					category = naval_bomber
					category = cas_bomber
				}
				add_doctrine_cost_reduction = {
					name = ENG_coastal_command_focus #land_doc_bonus
					cost_reduction = 0.5
					uses = 1
					category = air_doctrine
				}
			}
		}
	}
	focus = {
		id = aircraft_production_focus
		prerequisite = { focus = fighter_command_focus focus = bomber_command_focus focus = coastal_command_focus }
		icon = GFX_goal_generic_air_production
		x = 1
		y = 1
		relative_position_id = fighter_command_focus
		cost = 10
		ai_will_do = {
			factor = 3
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_ideas = british_fighter_discount
		}
	}
	focus = {
		id = uk_jet_focus
		prerequisite = { focus = aircraft_production_focus }
		icon = GFX_goal_generic_build_airforce
		x = 0
		y = 1
		relative_position_id = aircraft_production_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 1
			}

			add_tech_bonus = {
				name = uk_jet_focus
				bonus = 1.0
				uses = 2 # was 4 
				category = jet_technology
			}

		}
	}

	focus = {
		id = naval_rearmament_focus
		prerequisite = { focus = general_rearmament_focus }
		icon = GFX_goal_generic_construct_naval_dockyard 
		x = 2
		y = 2
		relative_position_id = general_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		bypass = {
			custom_trigger_tooltip =  {
				tooltip = naval_effort_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
				}
			}
		}

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = ENG_naval_rearmament_focus_1dockyard }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			navy_experience = 50
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				set_state_flag = ENG_naval_rearmament_focus_1dockyard
			}
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				set_state_flag = ENG_naval_rearmament_focus_1dockyard
			}
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				set_state_flag = ENG_naval_rearmament_focus_1dockyard
			}
		}
	}

	focus = {
		id = ENG_anti_non_contact_committee
		prerequisite = { focus = naval_rearmament_focus }
		icon = GFX_goal_generic_occupy_states_coastal
		x = 2
		y = 1
		relative_position_id = naval_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			has_dlc = "Man the Guns"
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = ENG_anti_non_contact_committee
				bonus = 1.0
				uses = 1
				category = naval_minelaying
			}
			add_tech_bonus = {
				name = ENG_anti_non_contact_committee
				bonus = 1.0
				uses = 2
				category = naval_minesweeping
			}
		}
	}

	focus = {
		id = ENG_secure_the_imperial_shipping_routes
		prerequisite = { focus = naval_rearmament_focus }
		prerequisite = { focus = uk_service_focus }
		icon = GFX_focus_generic_cruiser2
		x = 3
		y = 2
		offset = {
			x = -1
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = naval_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = no
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = ENG_secure_the_imperial_shipping_routes
				bonus = 1.0
				uses = 2
				category = cl_tech
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = ENG_secure_the_imperial_shipping_routes
		}
	}

	focus = {
		id = uk_destroyer_focus
		prerequisite = { focus = naval_rearmament_focus }
		icon = GFX_focus_generic_destroyer
		x = -1
		y = 2
		relative_position_id = naval_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = dd_bonus
				bonus = 1.0
				uses = 2
				category = dd_tech
			}
		}
	}

	focus = {
		id = ENG_a_s_warfare
		prerequisite = { focus = uk_destroyer_focus }
		icon = GFX_goal_generic_navy_anti_submarine
		x = 0
		y = 2
		relative_position_id = uk_destroyer_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		allow_branch = {
			has_dlc = "Man the Guns"
		}
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = ENG_asw_warfare
				bonus = 1.0
				ahead_reduction = 2
				uses = 2
				category = asw_tech
			}	
		}
	}

	focus = {
		id = uk_convoy_focus
		prerequisite = { focus = uk_destroyer_focus }
		icon = GFX_goal_generic_navy_cruiser
		x = -1
		y = 1
		relative_position_id = uk_destroyer_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = british_convoy_discount
		}
	}

	focus = {
		id = ENG_anti_submarine_training_school
		prerequisite = { focus = uk_convoy_focus }
		icon = GFX_goal_generic_navy_doctrines_tactics
		x = 0
		y = 2
		offset = {
			x = 0
			y = -1
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = uk_convoy_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = ENG_anti_submarine_training_school
				cost_reduction = 0.35
				uses = 2
				category = convoy_defense_tree
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = ENG_anti_submarine_training_school
		}
	}

	focus = {
		id = uk_waves_focus
		prerequisite = { focus = naval_rearmament_focus }
		icon = GFX_goal_generic_navy_doctrines_tactics
		x = 1
		y = 2
		relative_position_id = naval_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = uk_waves_focus
				cost_reduction = 0.5
				uses = 3
				category = naval_doctrine
			}
		}
	}
	focus = {
		id = uk_carrier_focus
		prerequisite = { focus = uk_waves_focus }
		mutually_exclusive = { focus = uk_battleship_focus }
		icon = GFX_goal_generic_navy_carrier
		x = -1
		y = 1
		relative_position_id = uk_waves_focus
		cost = 10
		ai_will_do = {
			factor = 0.25
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = uk_carrier_focus
				bonus = 1.0
				uses = 2
				category = cv_tech
			}
			
		}
	}
	focus = {
		id = uk_battleship_focus
		prerequisite = { focus = uk_waves_focus }
		mutually_exclusive = { focus = uk_carrier_focus }
		icon = GFX_goal_generic_navy_battleship
		x = 1
		y = 1
		relative_position_id = uk_waves_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = uk_battleship_focus
				bonus = 1.0
				uses = 2
				category = bb_tech
			}
		}
	}
	focus = {
		id = uk_amphibious_focus
		prerequisite = { focus = naval_rearmament_focus }
		icon = GFX_goal_generic_amphibious_assault
		x = 0
		y = 1
		relative_position_id = naval_rearmament_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes	
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = uk_amphibious_focus
				bonus = 1.0
				uses = 1
				category = marine_tech
			}
			add_tech_bonus = {
				name = uk_amphibious_focus
				bonus = 1.0
				uses = 2
				category = tp_tech
			}
		}
	}

	focus = {
		id = ENG_expand_the_repair_yards
		prerequisite = { focus = uk_battleship_focus focus = uk_carrier_focus }
		icon = GFX_goal_generic_production
		x = -1
		y = 1
		relative_position_id = uk_battleship_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			has_dlc = "Man the Guns"
		}

		available_if_capitulated = yes

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = ENG_expand_the_repair_yards_2dockyard }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = ENG_expand_the_repair_yards_2dockyard
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = ENG_expand_the_repair_yards
		}
	}

	focus = {
		id = ENG_vanguard
		prerequisite = { focus = uk_battleship_focus }
		icon = GFX_focus_generic_navy_battleship2
		x = 0
		y = 2
		relative_position_id = uk_battleship_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			has_dlc = "Man the Guns"
		}

		available = {
			date > 1944.1.1
			has_tech = advanced_ship_hull_heavy
			has_full_control_of_state = 133
			#has_tech = improved_heavy_battery
			#has_tech = dp_light_battery_3
			#has_tech = antiair5
		}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			create_equipment_variant = {
				name = "Vanguard"
				type = ship_hull_heavy_4
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_heavy_battery_3
					fixed_ship_anti_air_slot = ship_anti_air_4
					fixed_ship_fire_control_system_slot = ship_fire_control_system_3
					fixed_ship_radar_slot = ship_radar_3
					fixed_ship_engine_slot = heavy_ship_engine_4
					fixed_ship_secondaries_slot = dp_ship_secondaries_3
					fixed_ship_armor_slot = ship_armor_bb_3
					front_1_custom_slot = ship_heavy_battery_3
					mid_1_custom_slot = ship_anti_air_4
					mid_2_custom_slot = dp_ship_secondaries_3
					mid_3_custom_slot = ship_airplane_launcher_2
					rear_1_custom_slot = ship_heavy_battery_3
				}
			}
			if = {
				limit = {
					NOT = { has_government = communism }
				}
				133 = {
					custom_effect_tooltip = ENG_vanguard_tt_hms
				}
				hidden_effect = { load_oob = "ENG_vanguard_hms" }
			}
			if = {
				limit = {
					has_government = communism
				}
				133 = {
					custom_effect_tooltip = ENG_vanguard_tt_communism
				}
				hidden_effect = { load_oob = "ENG_vanguard_communist" }
			}
		}
	}
	
	#focus = {
	#	id = uk_embargo_focus
	#	available = { threat > 0.1 }
	#	icon = GFX_goal_support_democracy
	#	x = 12
	#	y = 0
	#	cost = 10
	#	ai_will_do = {
	#		factor = 1
	#	}	
	#	completion_reward = {
	#		every_other_country = {
	#			limit = { NOT = { has_government = democratic } }
	#			add_opinion_modifier = { target = ENG modifier = minor_sanctions }
	#			add_opinion_modifier = { target = ENG modifier = minor_sanctions_relations } 
	#		}
	#	}
	#}

	### EMPIRE ###

	focus = {
		id = uk_empire_focus 
		mutually_exclusive = { focus = ENG_revisit_colonial_policy }
		available = {
			NOT = { has_government = communism }
			num_subjects > 0
		} 

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

		icon = GFX_goal_generic_national_unity
		x = 29
		y = 0
		offset = {
			x = -2
			y = 0
			trigger = {
				OR = {
					NOT = { has_dlc = "Man the Guns" }
					AND = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
						has_completed_focus = uk_empire_focus
					}
				}
			}
		}
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_completed_focus = ENG_concessions_to_the_trade_unions
			}
		}	

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_stability = 0.1
			custom_effect_tooltip = ENG_concessions_to_the_trade_unions_tt_2
			hidden_effect = {
				if = {
					limit = {
						has_dlc = "Man the Guns"
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = uk_service_focus 
		prerequisite = { focus = uk_empire_focus }
		available = {
			
		} 
		icon = GFX_goal_generic_position_armies
		x = -2
		y = 1
		offset = {
			x = 2
			y = 0
			trigger = {
				OR = {
					NOT = { has_dlc = "Man the Guns" }
					AND = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
						has_completed_focus = uk_empire_focus
					}
				}
			}
		}
		relative_position_id = uk_empire_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			navy_experience = 25
			air_experience = 25
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = ENG_service_overseas_idea
		}
	}

	focus = {
		id = uk_mediterranean_focus 
		prerequisite = { focus = uk_service_focus }
		available = {
			447 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		} 
		icon = GFX_goal_generic_construct_military
		x = 5
		y = 1
		relative_position_id = uk_service_focus
		cost = 10
		completion_reward = {
			if = {
				limit = {
					has_idea = ENG_fortify_the_empire_1
				}
				swap_ideas = {
					remove_idea = ENG_fortify_the_empire_1
					add_idea = ENG_fortify_the_empire_2
				}
			}
			if = {
				limit = {
					NOT = { has_idea = ENG_fortify_the_empire_1 }
					NOT = { has_idea = ENG_fortify_the_empire_2 }
				}
				add_ideas = ENG_fortify_the_empire_1
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			447 = {
				IF = {
					limit = {
						447 = {
							free_building_slots = {
								building = coastal_bunker
								size > 2
								province = 4076
							}
						}
					}
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = 4076
						instant_build = yes
					}
				}

				IF = {
					limit = {
						447 = {
							free_building_slots = {
								building = naval_base
								size > 1
								province = 4076
							}
						}
					}
					add_building_construction = {
						type = naval_base
						level = 2
						province = 4076
						instant_build = yes
					}
				}

				IF = {
					limit = {
						447 = {
							free_building_slots = {
								building = air_base
								size > 3
							}
						}
					}
					add_building_construction = {
						type = air_base
						level = 3
						instant_build = yes
					}
				}
				
				
				
			}
		}
	}
	focus = {
		id = uk_rock_focus 
		prerequisite = { focus = uk_mediterranean_focus }
		mutually_exclusive = { focus = uk_spain_focus }
		available = {
			118 = { is_owned_and_controlled_by = ENG }
		} 
		icon = GFX_goal_generic_construct_military
		x = -3
		y = 1
		relative_position_id = uk_mediterranean_focus
		cost = 10
		completion_reward = {
			118 = {
				IF = {
					limit = {
						118 = {
							free_building_slots = {
								building = bunker
								size > 3
								province = 4135
							}
						}
					}
					add_building_construction = {
						type = bunker
						level = 4
						province = 4135
						instant_build = yes
					}
				}
				
				IF = {
					limit = {
						118 = {
							free_building_slots = {
								building = coastal_bunker
								size > 0
								province = 4135
							}
						}
					}
					add_building_construction = {
						type = coastal_bunker
						level = 1
						province = 4135
						instant_build = yes
					}
				}
				
				IF = {
					limit = {
						118 = {
							free_building_slots = {
								building = air_base
								size > 2
								
							}
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
				
				IF = {
					limit = {
						118 = {
							free_building_slots = {
								building = anti_air_building
								size > 2
							}
						}
					}
					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}
				
				
			}
		}
	}

	focus = {
		id = uk_spain_focus

		prerequisite = { focus = uk_mediterranean_focus }

		mutually_exclusive = { focus = uk_rock_focus }

		available = {
			any_other_country = {
				original_tag = SPR
				exists = yes
				has_war = no
				NOT = { is_in_faction_with = ENG }
				is_subject = no
			}
			NOT = { has_government = communism }
		} #SPA/SPR not in a faction
		
		icon = GFX_focus_generic_befriend_republican_spain_focus

		x = -1
		y = 1
		relative_position_id = uk_mediterranean_focus

		cost = 10

		ai_will_do = {
			factor = 1
		}

		search_filters = { FOCUS_FILTER_POLITICAL }	

		completion_reward = {
			# + relations with SPA/SPR - they become more democratic and like fascist/commies less
			if = {
				limit = {
					has_government = democratic
				}
				every_other_country = {
					limit = {
						original_tag = SPR
					}
					add_opinion_modifier = { target = ENG modifier = democratic_leanings_good }
					add_timed_idea = { idea = democratic_influence days = 1095 }
					country_event = { id = generic.1 }
					every_other_country = {
						limit = { 
							NOT = { has_government = democratic }
							num_of_factories > 30
						}
						add_opinion_modifier = { target = PREV modifier = democratic_leanings_bad }
					}
				}
			}
			if = {
				limit = {
					has_government = fascism
				}
				every_other_country = {
					limit = {
						original_tag = SPR
					}
					add_opinion_modifier = { target = ENG modifier = fascism_leanings_good }
					add_timed_idea = { idea = fascist_influence days = 1095 }
					country_event = { id = generic.1 }
					every_other_country = {
						limit = { 
							NOT = { has_government = fascism }
							num_of_factories > 30
						}
						add_opinion_modifier = { target = PREV modifier = fascism_leanings_bad }
					}
				}
			}
			if = {
				limit = {
					has_government = neutrality
					NOT = {
						has_completed_focus = SPR_regional_defense_council_of_aragon
					}
				}
				every_other_country = {
					limit = {
						original_tag = SPR
					}
					add_opinion_modifier = { target = ENG modifier = neutrality_leanings_good }
					add_timed_idea = { idea = neutrality_influence days = 1095 }
					country_event = { id = generic.1 }
					every_other_country = {
						limit = { 
							NOT = { has_government = fascism }
							num_of_factories > 30
						}
						add_opinion_modifier = { target = PREV modifier = neutrality_leanings_bad }
					}
				}
			}
			hidden_effect = {
				news_event = { hours = 5 id = news.224 }
			}
		}
	}

	focus = {
		id = uk_protect_suez
		prerequisite = { focus = uk_mediterranean_focus }
		icon = GFX_goal_generic_defence
		x = 0
		y = 2
		relative_position_id = uk_mediterranean_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available = {
			447 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}

		available_if_capitulated = yes

		 
		bypass = {
			447 = {
				free_building_slots = {
					building = coastal_bunker
					size < 2
					province = 4076
				}
				free_building_slots = {
					building = anti_air_building
					size < 2
				}
				free_building_slots = {
					building = air_base
					size < 3
				}
				free_building_slots = {
					building = bunker
					size < 2
					province = 1071
				}
			}
		}

		completion_reward = {
			447 = {
				IF = {
					limit = {
						447 = {
							free_building_slots = {
								building = coastal_bunker
								size > 1
								province = 4076
							}
						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 4076
						instant_build = yes
					}
				}

				IF = {
					limit = {
						447 = {
							free_building_slots = {
								building = anti_air_building
								size > 2
							}
						}
					}
					add_building_construction = {
						type = air_base
						level = 3
						instant_build = yes
					}
				}

				IF = {
					limit = {
						free_building_slots = {
							building = bunker
							size > 1 
							province = 1071
						}
					}
					
					add_building_construction = {
						type = bunker
						level = 2
						province = 1071
						instant_build = yes
					}
				}
				
				IF = {
					limit = {
						free_building_slots = {
							building = anti_air_building
							size > 1 
						}
					}

					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = uk_balkan_strategy
		prerequisite = { focus = uk_protect_suez }
		prerequisite = { focus = uk_malta_focus }
		icon = GFX_goal_generic_improve_relations
		available = {
			has_government = democratic
		}
		bypass = {
			NOT = {
				country_exists = YUG
				country_exists = GRE
				country_exists = ROM
				country_exists = BUL
				country_exists = HUN
			}
		}
		x = 1
		y = 1
		relative_position_id = uk_protect_suez
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			every_country = {
				limit = {
					OR = {
						tag = YUG
						tag = GRE
						tag = ROM
					}
					NOT = {
						OR = {
							AND = {
								is_in_faction_with = GER
								GER = { has_government = fascism }
							}
							AND = {
								is_in_faction_with = ITA
								ITA = { has_government = fascism }
							}
							GRE = { 
								has_country_flag = GRE_britain_rebuffed
							}
						}
					}
				}
				country_event = { id = generic.19 }
				add_offsite_building = { type = arms_factory level = 2 }
			}
			YUG = { add_opinion_modifier = { target = ENG modifier = balkan_strategy_good } }
			GRE = { add_opinion_modifier = { target = ENG modifier = balkan_strategy_good } }
			ROM = { add_opinion_modifier = { target = ENG modifier = balkan_strategy_good } }
			BUL = { add_opinion_modifier = { target = ENG modifier = balkan_strategy_bad } }
			HUN = { add_opinion_modifier = { target = ENG modifier = balkan_strategy_bad } }
			hidden_effect = {
				news_event = {
					hours = 6 id = news.228
				}
			}
			if = {
				limit = {
					has_dlc = "Death or Dishonor"
				}
				country_event = {
					id = DOD_yugoslavia.40
					days = 5
				}
			}
		}
	}

	focus = {
		id = uk_sanction_italy_focus
		available = {
			ITA = {
				ENG_focus_available_embargo_sanction = yes
			}	
		}
		bypass = {
			has_war_with = ITA
		}
		prerequisite = { focus = uk_balkan_strategy }
		icon = GFX_goal_generic_trade
		x = 0
		y = 1
		relative_position_id = uk_balkan_strategy
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			ITA = {
				add_opinion_modifier = { target = ENG modifier = embargo }
				add_opinion_modifier = { target = ENG modifier = sanctions_relations } 
			}
		}
	}
	focus = {
		id = ENG_war_with_italy
		available = {
			has_offensive_war = no
			ITA = {
				ENG_focus_available_war = yes
			}	
		}
		bypass = {
			has_war_with = ITA
		}
		will_lead_to_war_with = ITA
		prerequisite = { focus = uk_sanction_italy_focus }
		icon = GFX_focus_attack_italy
		x = 0
		y = 1
		relative_position_id = uk_sanction_italy_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ITA
				expire = 0
			} 
		}
	}	

	focus = {
		id = uk_turkey_focus

		prerequisite = { focus = uk_protect_suez }

		mutually_exclusive = { focus = uk_greece_focus }

		available = {
			TUR = {
				exists = yes
				has_war = no
				NOT = { is_in_faction_with = ENG }
				is_subject = no
			}
			NOT = { has_government = communism }
		} #TUR not in a faction
		
		icon = GFX_focus_generic_befriend_turkey

		x = -3
		y = 1
		relative_position_id = uk_protect_suez

		cost = 10

		ai_will_do = {
			factor = 1
		}	

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			# + relations with TUR - they become more democratic and like fascist/commies less
			if = {
				limit = { has_government = democratic }
				TUR = {
					add_opinion_modifier = { target = ENG modifier = democratic_leanings_good }
					add_timed_idea = { idea = democratic_influence days = 1095 }
					country_event = { id = generic.1 }
				}
				every_other_country = {
					limit = { 
						NOT = { has_government = democratic }
						num_of_factories > 30
					}
					add_opinion_modifier = { target = TUR modifier = democratic_leanings_bad }
				}
			}
			if = {
				limit = { has_government = fascism }
				TUR = {
					add_opinion_modifier = { target = ENG modifier = fascism_leanings_good }
					add_timed_idea = { idea = fascist_influence days = 1095 }
					country_event = { id = generic.1 }
				}
				every_other_country = {
					limit = { 
						NOT = { has_government = fascism }
						num_of_factories > 30
					}
					add_opinion_modifier = { target = TUR modifier = fascism_leanings_bad }
				}
			}
			if = {
				limit = { has_government = neutrality }
				TUR = {
					add_opinion_modifier = { target = ENG modifier = neutrality_leanings_good }
					add_timed_idea = { idea = neutrality_influence days = 1095 }
					country_event = { id = generic.1 }
				}
				every_other_country = {
					limit = { 
						NOT = { has_government = neutrality }
						num_of_factories > 30
					}
					add_opinion_modifier = { target = TUR modifier = neutrality_leanings_bad }
				}
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.225 }
			}
		}
	}

	focus = {
		id = uk_greece_focus 

		prerequisite = { focus = uk_protect_suez } 

		mutually_exclusive = { focus = uk_turkey_focus }

		available = {
			GRE = {
				exists = yes
				has_war = no
				NOT = { is_in_faction_with = ENG }
				is_subject = no
			}
			NOT = { has_government = communism }
		} 

		icon = GFX_focus_generic_befriend_greece

		x = -1
		y = 1
		relative_position_id = uk_protect_suez

		cost = 10

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = { has_government = democratic }
				GRE = {
					add_opinion_modifier = { target = ENG modifier = democratic_leanings_good }
					add_timed_idea = { idea = democratic_influence days = 1095 }
					country_event = { id = generic.1 }
				}
				every_other_country = {
					limit = { 
						NOT = { has_government = democratic }
						num_of_factories > 30
					}
					add_opinion_modifier = { target = GRE modifier = democratic_leanings_bad }
				}
			}
			if = {
				limit = { has_government = fascism }
				GRE = {
					add_opinion_modifier = { target = ENG modifier = fascism_leanings_good }
					add_timed_idea = { idea = fascist_influence days = 1095 }
					country_event = { id = generic.1 }
				}
				every_other_country = {
					limit = { 
						NOT = { has_government = fascism }
						num_of_factories > 30
					}
					add_opinion_modifier = { target = GRE modifier = fascism_leanings_bad }
				}
			}
			if = {
				limit = { has_government = neutrality }
				GRE = {
					add_opinion_modifier = { target = ENG modifier = neutrality_leanings_good }
					add_timed_idea = { idea = neutrality_influence days = 1095 }
					country_event = { id = generic.1 }
				}
				every_other_country = {
					limit = { 
						NOT = { has_government = neutrality }
						num_of_factories > 30
					}
					add_opinion_modifier = { target = GRE modifier = neutrality_leanings_bad }
				}
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.226 }
			}
		}
	}

	focus = {
		id = uk_malta_focus 
		prerequisite = { focus = uk_mediterranean_focus }
		available = {
			116 = { is_owned_and_controlled_by = ENG }
		}		
		icon = GFX_focus_generic_coastal_fort
		x = 2
		y = 2
		relative_position_id = uk_mediterranean_focus
		cost = 10

		available_if_capitulated = yes

		bypass = {
			116 = {
				free_building_slots = {
					building = coastal_bunker
					size < 2
					province = 12003
				}
				free_building_slots = {
					building = air_base
					size < 1
				}
			}
		}

		completion_reward = {
			116 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = coastal_bunker
					level = 2
					province = 12003
					instant_build = yes
				}
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
		}
	}

	### DECOLONIZATION ###

	focus = {
		id = ENG_revisit_colonial_policy
		mutually_exclusive = { focus = uk_empire_focus }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = uk_empire_focus
				}
			}
		}

		available = { 
			is_subject = no
			OR = {
				has_government = democratic
				has_government = communism
			}
		}

		continue_if_invalid = yes

		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		x = 34
		y = 0

		offset = {
			x = -16
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_revisit_colonial_policy
			}
		}

		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_completed_focus = ENG_global_defense
					has_country_leader = {
					    character = ENG_winston_churchill
					    ruling_only = yes
					}
				}
			}
		}	
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_stability = -0.05
			add_popularity = { ideology = communism popularity = 0.05 }
			add_political_power = 80
			custom_effect_tooltip = ENG_concessions_to_the_trade_unions_tt_2
			hidden_effect = { news_event = { id = mtg_news.14 days = 1 } }
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = ENG_guide_the_colonies
		prerequisite = { focus = ENG_revisit_colonial_policy }
		available = { 
			is_subject = no
			num_subjects > 0
		}
		bypass = {
			num_subjects < 1
		}

		continue_if_invalid = yes

		icon = GFX_focus_chi_british_cooperation
		x = 3
		y = 1
		relative_position_id = ENG_revisit_colonial_policy

		offset = {
			x = -3
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_revisit_colonial_policy
			}
		}

		cost = 10
		ai_will_do = {
			factor = 1
		}	
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_political_power = 60
			CAN = {
				if = {
					limit = {
						is_subject_of = ENG
					}
					add_stability = 0.05
					add_opinion_modifier = { target = ENG modifier = ENG_guiding_the_colonies }
					add_ideas = ENG_guided_by_britain_1
					hidden_effect = { country_event = { id =  mtg_britain.17 hours = 6 } }
				}
			}
			SAF = {
				if = {
					limit = {
						is_subject_of = ENG
					}
					add_stability = 0.05
					add_opinion_modifier = { target = ENG modifier = ENG_guiding_the_colonies }
					add_ideas = ENG_guided_by_britain_1
					hidden_effect = { country_event = { id =  mtg_britain.17 hours = 6 } }
				}
			}
			AST = {
				if = {
					limit = {
						is_subject_of = ENG
					}
					add_stability = 0.05
					add_opinion_modifier = { target = ENG modifier = ENG_guiding_the_colonies }
					add_ideas = ENG_guided_by_britain_1
					hidden_effect = { country_event = { id =  mtg_britain.17 hours = 6 } }
				}
			}
			NZL = {
				if = {
					limit = {
						is_subject_of = ENG
					}
					add_stability = 0.05
					add_opinion_modifier = { target = ENG modifier = ENG_guiding_the_colonies }
					add_ideas = ENG_guided_by_britain_1
					hidden_effect = { country_event = { id =  mtg_britain.17 hours = 6 } }
				}
			}
			MAL = {
				if = {
					limit = {
						is_subject_of = ENG
					}
					add_stability = 0.05
					add_opinion_modifier = { target = ENG modifier = ENG_guiding_the_colonies }
					add_ideas = ENG_guided_by_britain_2
					hidden_effect = { country_event = { id =  mtg_britain.17 hours = 6 } }
				}
			}
			BRM = {
				if = {
					limit = {
						is_subject_of = ENG
					}
					add_stability = 0.05
					add_opinion_modifier = { target = ENG modifier = ENG_guiding_the_colonies }
					add_ideas = ENG_guided_by_britain_2
					hidden_effect = { country_event = { id =  mtg_britain.17 hours = 6 } }
				}
			}
		}
	}

	focus = {
		id = ENG_towards_dominion_independence
		prerequisite = { focus = ENG_guide_the_colonies }
		available = { 
			is_subject = no
			OR = {
				CAN = { is_subject_of = ENG }
				SAF = { is_subject_of = ENG }
				AST = { is_subject_of = ENG }
				NZL = { is_subject_of = ENG }
			}
		}
		bypass = {
			OR = {
				AND = {
					CAN = { is_subject = no }
					SAF = { is_subject = no }
					AST = { is_subject = no }
					NZL = { is_subject = no }
				}
				has_completed_focus = ENG_bring_the_dominions_back_into_the_fold
			}
		}

		continue_if_invalid = yes

		icon = GFX_goal_tfv_sever_ties_with_uk
		x = -1
		y = 1
		relative_position_id = ENG_guide_the_colonies
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_political_power = 100
			add_manpower = 100000
			CAN = {
				if = {
					limit = {
						is_subject_of = ENG
						has_idea = ENG_guided_by_britain_1
					}
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_1
						add_idea = ENG_guided_by_britain_2
					}
					hidden_effect = { country_event = { id =  mtg_britain.18 hours = 6 } }
				}
			}
			SAF = {
				if = {
					limit = {
						is_subject_of = ENG
						has_idea = ENG_guided_by_britain_1
					}
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_1
						add_idea = ENG_guided_by_britain_2
					}
					hidden_effect = { country_event = { id =  mtg_britain.18 hours = 6 } }
				}
			}
			AST = {
				if = {
					limit = {
						is_subject_of = ENG
						has_idea = ENG_guided_by_britain_1
					}
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_1
						add_idea = ENG_guided_by_britain_2
					}
					hidden_effect = { country_event = { id =  mtg_britain.18 hours = 6 } }
				}
			}
			NZL = {
				if = {
					limit = {
						is_subject_of = ENG
						has_idea = ENG_guided_by_britain_1
					}
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_1
						add_idea = ENG_guided_by_britain_2
					}
					hidden_effect = { country_event = { id =  mtg_britain.18 hours = 6 } }
				}
			}
		}
	}

	focus = {
		id = ENG_foundations_for_an_indian_state
		prerequisite = { focus = ENG_towards_dominion_independence }
		available = {
			is_subject = no
			OR = {
				RAJ = { is_subject_of = ENG }
				hidden_trigger = { 
					if = {
						limit = {
							has_dlc = "Graveyard of Empires"
							has_event_target = UK_INDIA
						} 
						event_target:UK_INDIA = { is_subject_of = ENG } 
					}
				}
			}
		}
		bypass = {
			RAJ = { is_subject = no }
				if = {
					limit = {
						has_dlc = "Graveyard of Empires"
						has_event_target = UK_INDIA
					}

					event_target:UK_INDIA = {
						exists = no
						NOT = { is_subject_of = ROOT }
					}
				}
			}

		continue_if_invalid = yes

		icon = GFX_focus_RAJ_all_india_forward_bloc
		x = -1
		y = 1
		relative_position_id = ENG_towards_dominion_independence
		cost = 10
		ai_will_do = {
			factor = 1
		}	

		complete_tooltip = {
			RAJ = {
				every_state = {
					limit = { has_state_flag = ENG_foundations_for_an_indian_state_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
		}
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_political_power = 60

			IF = {
				limit = {
					has_dlc = "Graveyard of Empires"
					has_event_target = UK_INDIA
					event_target:UK_INDIA = {
						exists = yes
					}
				}
				event_target:UK_INDIA = {
					IF = {
						limit = { is_subject_of = ENG }
						add_stability = 0.05
						add_opinion_modifier = { target = ENG modifier = 	ENG_guiding_the_colonies }
						add_ideas = ENG_guided_by_britain_raj_1
						hidden_effect = { country_event = { id = mtg_britain.19 hours 	= 6 } }
						random_owned_controlled_state = {
							limit = {
								free_building_slots = {
									building = industrial_complex
									size > 1
									include_locked = yes
								}
								is_core_of = PREV
							}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
								type = industrial_complex
								level = 2
								instant_build = yes
							}
							set_state_flag = ENG_foundations_for_an_indian_state_2IC
						}
						random_owned_controlled_state = {
							limit = {
								free_building_slots = {
									building = industrial_complex
									size > 1
									include_locked = yes
								}
								is_core_of = PREV
							}
							add_extra_state_shared_building_slots = 2
							add_building_construction = {
								type = industrial_complex
								level = 2
								instant_build = yes
							}
							set_state_flag = ENG_foundations_for_an_indian_state_2IC
						}
					}
				}
			}
			RAJ = {
				if = {
					limit = { is_subject_of = ENG }
					add_stability = 0.05
					add_opinion_modifier = { target = ENG modifier = ENG_guiding_the_colonies }
					add_ideas = ENG_guided_by_britain_raj_1
					hidden_effect = { country_event = { id = mtg_britain.19 hours = 6 } }
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
							is_core_of = PREV
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = industrial_complex
							level = 2
							instant_build = yes
						}
						set_state_flag = ENG_foundations_for_an_indian_state_2IC
					}
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = industrial_complex
								size > 1
								include_locked = yes
							}
							is_core_of = PREV
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = industrial_complex
							level = 2
							instant_build = yes
						}
						set_state_flag = ENG_foundations_for_an_indian_state_2IC
					}
				}
			}
		}
	}

	focus = {
		id = ENG_the_three_nation_solution
		prerequisite = { focus = ENG_foundations_for_an_indian_state }
		available = { 
			is_subject = no
			RAJ = { is_subject_of = ENG }
		}
		bypass = {
		}

		continue_if_invalid = yes

		icon = GFX_focus_RAJ_two_nation_theory
		x = 1
		y = 1
		relative_position_id = ENG_foundations_for_an_indian_state
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		allow_branch = { NOT = { has_dlc = "Graveyard of Empires" } } #this focus is totally incompatible with GoE
		completion_reward = {
			RAJ = {
				if = {
					limit = {
						has_full_control_of_state = 444
						has_full_control_of_state = 443
						has_full_control_of_state = 445
						has_full_control_of_state = 440
						has_full_control_of_state = 442
						has_full_control_of_state = 441
						has_full_control_of_state = 430
					}
					effect_tooltip = {
						add_opinion_modifier = { target = ENG modifier = ENG_three_nation_solution }
						release = BAN
						ENG = { set_autonomy = { target = BAN autonomy_state = autonomy_colony } }
						BAN = {
							add_ideas = ENG_guided_by_britain_raj_1
							hidden_effect = {
								set_politics = {
									ruling_party = democratic
									last_election = "1936.1.1"
									election_frequency = 48
									elections_allowed = yes
								}
								set_popularities = {
									democratic = 65
									fascism = 10
									communism =  2
									neutrality = 23
								}
								every_other_country = {
									limit = {
										has_war_with = ENG
									}
									BAN = {
										add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
									}
								}
							}
						}
						release = PAK
						ENG = { set_autonomy = { target = PAK autonomy_state = autonomy_colony } }
						PAK = {
							add_ideas = ENG_guided_by_britain_raj_1
							hidden_effect = {
								set_politics = {
									ruling_party = neutrality
									last_election = "1935.11.14"
									election_frequency = 48
									elections_allowed = no
								}
								set_popularities = {
									democratic = 17
									fascism = 2
									communism = 1
									neutrality = 80
								}
								every_other_country = {
									limit = {
										has_war_with = ENG
									}
									PAK = {
										add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
									}
								}
							}
						}
					}
					hidden_effect = {
						country_event = { id = mtg_britain.20 hours = 6 }
					}
				}
			}
		}
	}

	focus = {
		id = ENG_towards_indian_independence
		prerequisite = { focus = ENG_foundations_for_an_indian_state }
		available = { 
			is_subject = no
			if = {
				limit = {
					has_dlc = "Graveyard of Empires"
					has_event_target = UK_INDIA
				}
				event_target:UK_INDIA = {
					is_subject_of = ROOT
				}
			}
			else = {
				RAJ = { is_subject_of = ENG }
			}
			hidden_trigger = {
					if = {
						limit = {
							has_dlc = "Graveyard of Empires"
							has_event_target = UK_INDIA
						}
						event_target:UK_INDIA = { is_subject_of = ENG }
					}
				}
			}
		bypass = {
			OR = {
				RAJ = { is_subject = no }
				has_completed_focus = ENG_reclaim_the_jewel_in_the_crown
			}
			if = {
					limit = {
						has_dlc = "Graveyard of Empires"
						has_event_target = UK_INDIA
					}
					event_target:UK_INDIA = {
						exists = no
						NOT = { is_subject_of = ROOT }
					}
				}
			}

		continue_if_invalid = yes

		icon = GFX_goal_tfv_sever_ties_with_uk
		x = 0
		y = 2
		relative_position_id = ENG_foundations_for_an_indian_state
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_political_power = 150
			add_manpower = 150000

			IF = {
				limit = {
					has_dlc = "Graveyard of Empires"
					has_event_target = UK_INDIA
					event_target:UK_INDIA = {
						exists = yes
					}
				}
				event_target:UK_INDIA = { 
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_RAJ_1
						add_idea = ENG_guided_by_britain_RAJ_2
					}
					drop_cosmetic_tag = yes
					retire_country_leader = yes
					hidden_effect = { country_event = { id = mtg_britain.21 hours = 6 } }
				}
			}

			IF = {
				limit = {
					has_event_target = UK_INDIA
					event_target:UK_INDIA = {
						exists = yes
					}
				}
				RAJ = {
				remove_ideas = ENG_guided_by_britain_RAJ_1
			}
		}

			ELSE = {
				RAJ = {
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_RAJ_1
						add_idea = ENG_guided_by_britain_RAJ_2
					}
					hidden_effect = { country_event = { id = mtg_britain.21  hours = 6 	} }
				}
			}

			if = {
				limit = {
					country_exists = PAK
				}
				PAK = {
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_RAJ_1
						add_idea = ENG_guided_by_britain_RAJ_2
					}
					hidden_effect = { country_event = { id = mtg_britain.21  hours = 6 } }
				}
			}
			if = {
				limit = {
					country_exists = BAN
				}
				BAN = {
					swap_ideas = {
						remove_idea = ENG_guided_by_britain_RAJ_1
						add_idea = ENG_guided_by_britain_RAJ_2
					}
					hidden_effect = { country_event = { id = mtg_britain.21  hours = 6 } }
				}
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
					RAJ = {
						is_subject = yes
						NOT = {
							has_autonomy_state = autonomy_dominion
							has_autonomy_state = autonomy_satellite
						}
					}
				}
				if = {
					limit = {
						NOT = {
							has_completed_focus = ENG_organize_the_blackshirts
							has_government = fascism
						}
					}
					set_autonomy = { target = RAJ autonomy_state = autonomy_dominion }
				}
				else = {
					set_autonomy = { target = RAJ autonomy_state = autonomy_satellite }
				}
			}



			if = {
				limit = {
					has_dlc = "Together for Victory"
					BAN = {
						is_subject = yes
						NOT = { has_autonomy_state = autonomy_dominion }
					}
				}
				set_autonomy = { target = BAN autonomy_state = autonomy_dominion }
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
					PAK = {
						is_subject = yes
						NOT = { has_autonomy_state = autonomy_dominion }
					}
				}
				set_autonomy = { target = PAK autonomy_state = autonomy_dominion }
			}
			if = {
				limit = {
					NOT = { has_dlc = "Graveyard of Empires" }
				}
				RAJ = {
					drop_cosmetic_tag = yes
					retire_country_leader = yes
				}
			}

		}
	}

	focus = {
		id = ENG_withdraw_from_contested_territories
		prerequisite = { focus = ENG_guide_the_colonies }
		available = { 
			is_subject = no
			OR = {
				has_full_control_of_state = 659
				has_full_control_of_state = 326
				has_full_control_of_state = 332
				has_full_control_of_state = 331
				has_full_control_of_state = 119
				has_full_control_of_state = 118
				has_full_control_of_state = 906
				has_full_control_of_state = 696
				has_full_control_of_state = 720
				has_full_control_of_state = 270
				
			}
		}
		bypass = {
			NOT = {
				OR = {
					owns_state = 659
					owns_state = 326
					owns_state = 332
					owns_state = 331
					owns_state = 119
					owns_state = 118
					owns_state = 906
				}
			}
		}

		continue_if_invalid = yes

		icon = GFX_goal_generic_position_armies
		x = 1
		y = 1
		relative_position_id = ENG_guide_the_colonies
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_stability = -0.15
			add_manpower = 25000
			if = {
				limit = {
					has_full_control_of_state = 659
				}
				YEM = {
					transfer_state = 659
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
				659 = {
					add_core_of = FSA
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 906
				}
				YEM = {
					transfer_state = 906
					IF = {
						limit = {
							YEM = { NOT = { has_opinion_modifier = ENG_returned_our_territory} }
						}
						add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 992
				}
				YEM = {
					transfer_state = 992
					IF = {
						limit = {
							YEM = { NOT = { has_opinion_modifier = ENG_returned_our_territory} }
						}
						add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
					}
				}
			}
			if = {
				limit = {
					RAJ = {
						has_full_control_of_state = 992
						is_subject_of = ROOT
					}
				}
				YEM = {
					transfer_state = 992
					IF = {
						limit = {
							YEM = { NOT = { has_opinion_modifier = ENG_returned_our_territory} }
						}
						add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
						add_opinion_modifier = { target = RAJ modifier = ENG_returned_our_territory }
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 326
				}
				event_target:WTT_current_china_leader = {
					transfer_state = 326
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 332
				}
				CAN = {
					transfer_state = 332
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 331
				}
				CAN = {
					transfer_state = 331
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 299
					has_full_control_of_state = 720
				}
				ARG = {
					transfer_state = 299
					299 = { add_core_of = ARG }
					transfer_state = 720
					720 = { add_core_of = ARG }
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 696
				}
				MEX = {
					transfer_state = 696
					696 = { add_core_of = MEX }
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 270
				}
				CHL = {
					transfer_state = 270
					270 = { add_core_of = CHL }
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 119
				}
				IRE = {
					transfer_state = 119
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 118
				}
				random_other_country = {
					limit = {
						original_tag = SPR
						if = {
							limit = {
								country_exists = SPD
							}
							tag = SPD
						}
						else_if = {
							limit = {
								country_exists = SPA
							}
							tag = SPA
						}
						else_if = {
							limit = {
								country_exists = SPB
							}
							tag = SPB
						}
						else_if = {
							limit = {
								country_exists = SPC
							}
							tag = SPC
						}
					}
					transfer_state = 118
					118 = { add_core_of = PREV }
					if = {
						limit = {
							NOT = { has_global_flag = scw_over }
						}
						every_other_country = {
							limit = {
								original_tag = SPR
								exists = yes
							}
							118 = { add_core_of = PREV }
						}
					}
					add_opinion_modifier = { target = ENG modifier = ENG_returned_our_territory }
				}
			}
		}
	}

	focus = {
		id = ENG_self_government_for_the_mediterranean
		prerequisite = { focus = ENG_withdraw_from_contested_territories }
		available = { 
			is_subject = no
			OR = {
			has_full_control_of_state = 116
			has_full_control_of_state = 183
		}
		}
		bypass = {
			NOT = {
				AND = {
					owns_state = 116
					owns_state = 183
		}
			}
		}

		continue_if_invalid = no

		icon = GFX_focus_generic_self_management
		x = -1
		y = 1
		relative_position_id = ENG_withdraw_from_contested_territories
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_political_power = 25
			add_manpower = 10000
			if = {
				limit = {
					has_full_control_of_state = 116
				}
				release = MLT
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = MLT autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = MLT
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						MLT = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 183
				}
				release = CYP
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = CYP autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = CYP
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						CYP = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
		}
	}

	focus = {
		id = ENG_self_government_for_africa
		prerequisite = { focus = ENG_self_government_for_the_mediterranean }
		available = { 
			is_subject = no
			OR = {
				has_full_control_of_state = 767
				has_full_control_of_state = 551
				has_full_control_of_state = 549
				has_full_control_of_state = 269
				has_full_control_of_state = 548
				has_full_control_of_state = 547
				has_full_control_of_state = 903
				has_full_control_of_state = 904
				has_full_control_of_state = 905
				has_full_control_of_state = 546
				has_full_control_of_state = 771
				has_full_control_of_state = 981
				has_full_control_of_state = 770
				has_full_control_of_state = 545
				has_full_control_of_state = 542
				has_full_control_of_state = 558
				has_full_control_of_state = 900
				has_full_control_of_state = 901
				has_full_control_of_state = 902
				has_full_control_of_state = 274
				has_full_control_of_state = 700
				has_full_control_of_state = 701
				has_full_control_of_state = 883
				has_full_control_of_state = 884
				has_full_control_of_state = 885
				has_full_control_of_state = 886
				has_full_control_of_state = 887
			}
		}

		bypass = {
			#NOT = {
			#	AND = {
					NOT = { owns_state = 767 }
					NOT = { owns_state = 551 }
					NOT = { owns_state = 549 }
					NOT = { owns_state = 269 }
					NOT = { owns_state = 548 }
					NOT = { owns_state = 547 }
					NOT = { owns_state = 903 }
					NOT = { owns_state = 904 }
					NOT = { owns_state = 905 }
					NOT = { owns_state = 546 }
					NOT = { owns_state = 771 }
					NOT = { owns_state = 981 }
					NOT = { owns_state = 770 }
					NOT = { owns_state = 545 }
					NOT = { owns_state = 542 }
					NOT = { owns_state = 558 }
					NOT = { owns_state = 900 }
					NOT = { owns_state = 901 }
					NOT = { owns_state = 902 }
					NOT = { owns_state = 274 }
					NOT = { owns_state = 700 }
					NOT = { owns_state = 883 }
					NOT = { owns_state = 884 }
					NOT = { owns_state = 885 }
					NOT = { owns_state = 886 }
					NOT = { owns_state = 887 }
				#}
			#}
		}

		continue_if_invalid = no

		icon = GFX_focus_generic_self_management
		x = 0
		y = 2
		relative_position_id = ENG_self_government_for_the_mediterranean
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_political_power = 100
			add_manpower = 100000
			if = {
				limit = {
					has_full_control_of_state = 767
					has_full_control_of_state = 551
					has_full_control_of_state = 549
					has_full_control_of_state = 883
					has_full_control_of_state = 884
					has_full_control_of_state = 885
					has_full_control_of_state = 886
					has_full_control_of_state = 887
				}
				release = SUD
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = SUD autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = SUD
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						SUD = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			# Kenya
			if = {
				limit = {
					OR = {
						has_full_control_of_state = 547
						has_full_control_of_state = 903
						has_full_control_of_state = 904
						has_full_control_of_state = 905
					}
					KEN = { exists = no }
				}
				effect_tooltip = {
					release = KEN 
				}
				hidden_effect = {
					every_owned_state = {
						limit = {
							is_core_of = KEN 
						}
						KEN = { transfer_state = PREV }
					}
				}
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = KEN autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = KEN
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						KEN = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 269
				}
				release = SOM
				if = {
					limit = {
						SOM = { is_subject = no }
					}
					if = {
						limit = {
							has_dlc = "Together for Victory"
						}
						set_autonomy = { target = SOM autonomy_state = autonomy_dominion }
					}
					if = {
						limit = {
							NOT = { has_dlc = "Together for Victory" }
						}
						puppet = SOM
					}
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						SOM = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 548
				}
				release = UGA
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = UGA autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = UGA
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						UGA = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 546
				}
				release = TZN
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = TZN autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = TZN
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						TZN = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 771
					has_full_control_of_state = 981
				}
				release = ZAM
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = ZAM autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = ZAM
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						ZAM = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 770
				}
				release = MLW
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = MLW autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = MLW
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						MLW = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 545
				}
				release = ZIM
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = ZIM autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = ZIM
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						ZIM = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 542
				}
				release = BOT
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = BOT autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = BOT
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						BOT = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 558
					has_full_control_of_state = 900
					has_full_control_of_state = 901
					has_full_control_of_state = 902
				}
				release = NGA
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = NGA autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = NGA
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						NGA = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 274
				}
				release = GHA
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = GHA autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = GHA
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						GHA = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 700
				}
				release = SIE
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = SIE autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = SIE
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						SIE = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 701
				}
				release = GAM
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = GAM autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = GAM
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						GAM = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
		}
	}

	focus = {
		id = ENG_self_government_for_the_middle_east
		prerequisite = { focus = ENG_withdraw_from_contested_territories }
		available = { 
			is_subject = no
			OR = {
				has_full_control_of_state = 454
				has_full_control_of_state = 455
				has_full_control_of_state = 453
				has_full_control_of_state = 452
				has_full_control_of_state = 447
				has_full_control_of_state = 446
				has_full_control_of_state = 907
				has_full_control_of_state = 457
				has_full_control_of_state = 456
				has_full_control_of_state = 656
				has_full_control_of_state = 765
				has_full_control_of_state = 1014
				has_full_control_of_state = 658
				has_full_control_of_state = 992
			}
		}
		bypass = {
			NOT = {
				OR = {
					owns_state = 454
					owns_state = 455
					owns_state = 453
					owns_state = 452
					owns_state = 447
					owns_state = 446
					owns_state = 907
					owns_state = 457
					owns_state = 456
					owns_state = 656
					owns_state = 765
					owns_state = 658
					owns_state = 992
					owns_state = 1014
				}
			}
		}

		continue_if_invalid = no

		icon = GFX_focus_generic_self_management
		x = 1
		y = 1
		relative_position_id = ENG_withdraw_from_contested_territories
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }	
		completion_reward = {
			add_political_power = 50
			add_manpower = 50000
			if = {
				limit = {
					has_full_control_of_state = 454
					date < 1939.01.01
				}
				release = PAL
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = PAL autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = PAL
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						PAL = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 454
					date > 1939.01.01
				}
				release = ISR
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = ISR autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = ISR
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						ISR = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
					PAL = {
						is_subject_of = ENG
						NOT = { has_autonomy_state = autonomy_dominion }
					}
				}
				set_autonomy = { target = PAL autonomy_state = autonomy_dominion }
				PAL = {
					drop_cosmetic_tag = yes
					retire_country_leader = yes
				}
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
					KUW = {
						is_subject_of = ENG
					}
				}
				KUW = {
					drop_cosmetic_tag = yes
				}
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
					JOR = {
						is_subject_of = ENG
					}
				}
				JOR = {
					drop_cosmetic_tag = yes
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 455
				}
				release = JOR
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = JOR autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = JOR
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						JOR = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 453
					has_full_control_of_state = 452
					has_full_control_of_state = 447
					has_full_control_of_state = 446
					has_full_control_of_state = 457
					has_full_control_of_state = 456
				}
				release = EGY
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = EGY autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = EGY
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						EGY = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 656
				}
				release = KUW
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = KUW autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = KUW
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						KUW = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 765
				}
				release = QAT
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = QAT autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = QAT
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						QAT = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 1014
				}
				release = BHR
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = BHR autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = BHR
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						BHR = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 658
				}
				release = UAE
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = UAE autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = UAE
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						UAE = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
		}
	}

	focus = {
		id = ENG_self_government_for_the_americas
		prerequisite = { focus = ENG_self_government_for_the_middle_east }
		available = { 
			is_subject = no
			OR = {
			has_full_control_of_state = 311
			has_full_control_of_state = 690
			has_full_control_of_state = 693
			has_full_control_of_state = 689
			has_full_control_of_state = 691
			has_full_control_of_state = 692
			has_full_control_of_state = 308
			has_full_control_of_state = 687
		}
		}
		bypass = {
			NOT = {
				AND = {
					owns_state = 311
					owns_state = 690
					owns_state = 693
					owns_state = 689
					owns_state = 691
					owns_state = 692
					owns_state = 308
					owns_state = 687
		}
			}
		}

		continue_if_invalid = no

		icon = GFX_focus_generic_self_management
		x = 0
		y = 1
		relative_position_id = ENG_self_government_for_the_middle_east
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_political_power = 50
			add_manpower = 50000
			if = {
				limit = {
					has_full_control_of_state = 311
				}
				release = BLZ
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = BLZ autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = BLZ
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						BLZ = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 690
					has_full_control_of_state = 693
				}
				release = BAH
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = BAH autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = BAH
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						BAH = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 689
				}
				release = JAM
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = JAM autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = JAM
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						JAM = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 691
				}
				release = TRI
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = TRI autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = TRI
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						TRI = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 692
					has_full_control_of_state = 308
				}
				release = BAS
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = BAS autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = BAS
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						BAS = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 687
				}
				release = GYA
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = GYA autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = GYA
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						GYA = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
		}
	}

	focus = {
		id = ENG_self_government_for_asia
		prerequisite = { focus = ENG_self_government_for_the_americas }
		available = { 
			is_subject = no
			OR = {
				has_full_control_of_state = 422
				has_full_control_of_state = 281
				has_full_control_of_state = 636
				has_full_control_of_state = 643
				has_full_control_of_state = 639
				has_full_control_of_state = 725
				has_full_control_of_state = 711
				has_full_control_of_state = 712
				OR = {
					RAJ = {
						is_subject_of = ENG
						has_full_control_of_state = 640
						has_full_control_of_state = 288
					}
					BRM = {
						is_subject_of = ENG
						has_full_control_of_state = 640
						has_full_control_of_state = 288
					}
					RAJ = { NOT = { is_subject_of = ENG } }
					ENG = {
						has_full_control_of_state = 640
						has_full_control_of_state = 288
					}
				}
			}
		}
		bypass = {
			NOT = {
				AND = {
					owns_state = 422
					owns_state = 281
					owns_state = 636
					owns_state = 643
					owns_state = 639
					owns_state = 725
					owns_state = 711
					owns_state = 712
					OR = {
						RAJ = {
							is_subject_of = ENG
							owns_state = 640
							owns_state = 288
						}
						BRM = {
							is_subject_of = ENG
							owns_state = 640
							owns_state = 288
						}
						RAJ = { is_subject = no }
						ENG = {
							owns_state = 640
							owns_state = 288
						}
					}
				}
			}
		}

		continue_if_invalid = no

		icon = GFX_focus_generic_self_management
		x = 0
		y = 1
		relative_position_id = ENG_self_government_for_the_americas
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_political_power = 75
			add_manpower = 75000
			if = {
				limit = {
					has_full_control_of_state = 422
				}
				release = SRL
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = SRL autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = SRL
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						SRL = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 281
				}
				release = MLD
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = MLD autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = MLD
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						MLD = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 636
					has_full_control_of_state = 643
					has_full_control_of_state = 639
					has_full_control_of_state = 725
				}
				release = FIJ
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = FIJ autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = FIJ
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						FIJ = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					RAJ = {
						has_full_control_of_state = 640
						has_full_control_of_state = 288
						is_subject = yes
					}
				}
				RAJ = { release = BRM }
				if = {
					limit = {
						has_dlc = "Together for Victory"
					}
					set_autonomy = { target = BRM autonomy_state = autonomy_dominion }
				}
				if = {
					limit = {
						NOT = { has_dlc = "Together for Victory" }
					}
					puppet = BRM
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ENG
						}
						BRM = {
							add_to_war = { targeted_alliance = ENG enemy = PREV hostility_reason = asked_to_join }
						}
					}
				}
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
					MAL = {
						is_subject_of = ENG
						NOT = { has_autonomy_state = autonomy_dominion }
					}
				}
				set_autonomy = { target = MAL autonomy_state = autonomy_dominion }
			}
			MAL = {
				drop_cosmetic_tag = yes
				retire_country_leader = yes
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
					BRM = {
						is_subject_of = ENG
						NOT = { has_autonomy_state = autonomy_dominion }
					}
				}
				set_autonomy = { target = BRM autonomy_state = autonomy_dominion }
			}
			BRM = {
				drop_cosmetic_tag = yes
				retire_country_leader = yes
			}
			RAJ = {
				transfer_state = 733
			}
			AST = {
				transfer_state = 711
				transfer_state = 712
			}
		}
	}

	focus = {
		id = ENG_decolonization
		prerequisite = { focus = ENG_self_government_for_africa }
		prerequisite = { focus = ENG_self_government_for_asia }
		prerequisite = { focus = ENG_towards_indian_independence }
		available = { 
			is_subject = no
		}
		bypass = {
			num_subjects < 1
		}

		continue_if_invalid = yes

		icon = GFX_focus_eng_decolonization
		x = 0
		y = 1
		relative_position_id = ENG_self_government_for_africa
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY}
		completion_reward = {
			set_global_flag = ENG_decolonized
			add_stability = 0.1
			add_popularity = { ideology = communism popularity = 0.05 }
			add_political_power = 100
			add_manpower = 100000
			every_other_country = {
				limit = {
					is_subject_of = ENG
					has_idea = ENG_guided_by_britain_2
				}
				remove_ideas = ENG_guided_by_britain_2
				if = {
					limit = {
						NOT = { has_country_flag = ENG_remain_as_puppet }
					}
					ROOT = { 

						if = {
							limit = {
								has_dlc = "Graveyard of Empires"
								PREV = {
									original_tag = RAJ
								}
							}
							PREV = {
								country_event = { id = GOE_RAJ.30 hours = 2 }
							}
						}
						else = {
							set_autonomy = { target = PREV autonomy_state = autonomy_free }
						}

					}
					if = {
						limit = {
							NOT = { surrender_progress > 0.1 }
						}
						random = {
							chance = 75
							every_enemy_country = {
								limit = {
									has_war_with = PREV
									NOT = {
										original_tag = RAJ
										RAJ = { NOT = { has_country_flag = RAJ_mughal_uprising } }
									}
								}
								white_peace = PREV
							}
							leave_faction = yes
							remove_from_tech_sharing_group = commonwealth_research
							set_country_flag = ENG_decolonization_left_faction
							add_ai_strategy = {
								type = alliance
								id = ENG
								value = -200
							}
							if = {
								limit = {
									original_tag = CAN
								}
								drop_cosmetic_tag = yes
							}
						}
					}
				}
			}
			every_other_country = {
				limit = {
					is_subject_of = ENG
					has_idea = ENG_guided_by_britain_raj_2
				}
				remove_ideas = ENG_guided_by_britain_raj_2
				if = {
					limit = {
						NOT = { has_country_flag = ENG_remain_as_puppet }
					}
						ROOT = { 
							if = {
							limit = {
								has_dlc = "Graveyard of Empires"
								PREV = {
									original_tag = RAJ
								}
							}
							PREV = {
								country_event = { id = GOE_RAJ.30 hours = 2 }
							}
						}
						else = {
							set_autonomy = { target = PREV autonomy_state = autonomy_free }
						}

					}
					if = {
						limit = {
							NOT = { surrender_progress > 0.1 }
						}
						random = {
							chance = 75
							every_enemy_country = {
								limit = {
									has_war_with = PREV
									NOT = {
										original_tag = RAJ
										RAJ = { NOT = { has_country_flag = RAJ_mughal_uprising } }
									}
								}
								white_peace = PREV
							}
							leave_faction = yes
							remove_from_tech_sharing_group = commonwealth_research
							set_country_flag = ENG_decolonization_left_faction
							add_ai_strategy = {
								type = alliance
								id = ENG
								value = -200
							}
						}
					}
				}
				hidden_effect = {
					if = {
						limit = {
							has_dlc = "Together for Victory"
							ENG = { has_completed_focus = ENG_the_three_nation_solution }
							OR = {
								has_idea = RAJ_marginalized_muslim_community
								has_idea = RAJ_marginalized_muslim_community_angry
							}
						}
						remove_ideas = RAJ_marginalized_muslim_community
						remove_ideas = RAJ_marginalized_muslim_community_angry
						add_ideas = RAJ_marginalized_muslim_community_happy
					}
				}
			}
			every_other_country = {
				limit = {
					is_subject_of = ENG
					NOT = {
						OR = {
							tag = CAN
							tag = SAF
							tag = RAJ
							tag = AST
							tag = NZL
							tag = MAL
						}
					}
					OR = {
						has_government = ROOT
						has_government = neutrality
					}
				}
				ROOT = {
					if = {
						limit = {
							has_dlc = "Graveyard of Empires"
							PREV = {
								original_tag = RAJ
							}
						}
						PREV = {
							country_event = { id = GOE_RAJ.30 hours = 2 }
						}
					}
					else = {
						set_autonomy = { target = PREV autonomy_state = autonomy_free }
					}
				}
				if = {
					limit = {
						NOT = { surrender_progress > 0.1 }
					}
					random = {
						chance = 50
						every_enemy_country = {
							limit = {
								has_war_with = PREV
								NOT = {
									original_tag = RAJ
									RAJ = { NOT = { has_country_flag = RAJ_mughal_uprising } }
								}
							}
							white_peace = PREV
						}
						leave_faction = yes
						set_country_flag = ENG_decolonization_left_faction
						add_ai_strategy = {
							type = alliance
							id = ENG
							value = -200
						}
					}
				}
			}
			every_other_country = {
				limit = {
					is_subject_of = ENG
					NOT = {
						OR = {
							tag = CAN
							tag = SAF
							tag = RAJ
							tag = AST
							tag = NZL
							tag = MAL
						}
					}
					NOT = {
						OR = {
							has_government = ROOT
							has_government = neutrality
						}
					}
				}
				ROOT = {
					if = {
						limit = {
							has_dlc = "Graveyard of Empires"
							PREV = {
								original_tag = RAJ
							}
						}
						PREV = {
							country_event = { id = GOE_RAJ.30 hours = 2 }
						}
					}
					else = {
						set_autonomy = { target = PREV autonomy_state = autonomy_free }
					}
				}
				if = {
					limit = {
						NOT = { surrender_progress > 0.1 }
					}
					random = {
						chance = 50
						every_enemy_country = {
							limit = {
								has_war_with = PREV
								NOT = {
									original_tag = RAJ
									RAJ = { NOT = { has_country_flag = RAJ_mughal_uprising } }
								}
							}
							white_peace = PREV
						}
						leave_faction = yes
						set_country_flag = ENG_decolonization_left_faction
						add_ai_strategy = {
							type = alliance
							id = ENG
							value = -200
						}
					}
				}
			}
			if = {
				limit = {
					NOT = { is_in_faction_with = CAN }
					NOT = { is_in_faction_with = SAF }
					NOT = { is_in_faction_with = RAJ }
					NOT = { is_in_faction_with = AST }
					NOT = { is_in_faction_with = NZL }
				}
				remove_from_tech_sharing_group = commonwealth_research
			}
			if = {
				limit = {
					has_war = yes
				}
				if = {
					limit = {
						CAN = {
							has_war_together_with = ENG
							has_country_flag = ENG_decolonization_left_faction
						}
					}
					CAN = { create_faction = ENG_coalition_of_free_commonwealth_states }
				}
				else_if = {
					limit = {
						AST = {
							has_war_together_with = ENG
							has_country_flag = ENG_decolonization_left_faction
						}
					}
					AST = { create_faction = ENG_coalition_of_free_commonwealth_states }
				}
				else_if = {
					limit = {
						RAJ = {
							has_war_together_with = ENG
							has_country_flag = ENG_decolonization_left_faction
						}
					}
					RAJ = { create_faction = ENG_coalition_of_free_commonwealth_states }
				}
				else_if = {
					limit = {
						SAF = {
							has_war_together_with = ENG
							has_country_flag = ENG_decolonization_left_faction
						}
					}
					SAF = { create_faction = ENG_coalition_of_free_commonwealth_states }
				}
				else_if = {
					limit = {
						NZL = {
							has_war_together_with = ENG
							has_country_flag = ENG_decolonization_left_faction
						}
					}
					NZL = { create_faction = ENG_coalition_of_free_commonwealth_states }
				}
				else_if = {
					limit = {
						NOT = {
							CAN = {
								has_war_together_with = ENG
								has_country_flag = ENG_decolonization_left_faction
							}
						}
						NOT = {
							AST = {
								has_war_together_with = ENG
								has_country_flag = ENG_decolonization_left_faction
							}
						}
						NOT = {
							RAJ = {
								has_war_together_with = ENG
								has_country_flag = ENG_decolonization_left_faction
							}
						}
						NOT = {
							SAF = {
								has_war_together_with = ENG
								has_country_flag = ENG_decolonization_left_faction
							}
						}
						NOT = {
							NZL = {
								has_war_together_with = ENG
								has_country_flag = ENG_decolonization_left_faction
							}
						}
					}
					random_other_country = {
						limit = {
							NOT = {
								OR = {
									tag = CAN
									tag = SAF
									tag = RAJ
									tag = AST
									tag = NZL
								}
							}
							has_country_flag = ENG_decolonization_left_faction
						}
						create_faction = ENG_coalition_of_free_commonwealth_states
					}
				}
				every_other_country = {
					limit = {
						has_country_flag = ENG_decolonization_left_faction
					}
					random_other_country = {
						limit = {
							has_country_flag = ENG_decolonization_left_faction
							is_faction_leader = yes
						}
						add_to_faction = PREV
					}
				}
			}
			IF = {
				limit = {
					IRQ = {
						has_idea = IRQ_anglo_iraqi_treaty
					}
				}
				IRQ = {
					remove_ideas = IRQ_anglo_iraqi_treaty
				}
			}
			clr_country_flag = ENG_switched_to_communism_civil_war_flag
			custom_effect_tooltip = ENG_concessions_to_the_trade_unions_tt_2
			hidden_effect = { news_event = { id = mtg_news.15 days = 1 } }
		}
	}

	### END OF DECOLONIZATION ###
	
	focus = {
		id = uk_colonial_focus 
		prerequisite = { focus = uk_service_focus }
		icon = GFX_focus_research2
		x = -5
		y = 1
		relative_position_id = uk_service_focus
		cost = 10

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_ideas = { ENG_colonial_elite }
		}
	}

	focus = {
		id = uk_asia_focus 
		prerequisite = { focus = uk_colonial_focus }
		
		available = {
			336 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
			326 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}

		icon = GFX_goal_generic_construct_civilian
		x = -4
		y = 1
		relative_position_id = uk_colonial_focus
		cost = 10

		available_if_capitulated = yes

		bypass = {
			336 = {
				free_building_slots = {
					building = dockyard
					size < 1
					include_locked = yes
				}				
			}
			326 = {
				free_building_slots = {
					building = industrial_complex
					size < 1
					include_locked = yes
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			if = {
				limit = {
					has_idea = ENG_fortify_the_empire_1
				}
				swap_ideas = {
					remove_idea = ENG_fortify_the_empire_1
					add_idea = ENG_fortify_the_empire_2
				}
			}
			if = {
				limit = {
					NOT = { has_idea = ENG_fortify_the_empire_1 }
					NOT = { has_idea = ENG_fortify_the_empire_2 }
				}
				add_ideas = ENG_fortify_the_empire_1
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			336 = {
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								tag = ENG
								is_subject_of = ENG
							}
						}
						OWNER = {
							OR = {
								tag = ENG
								is_subject_of = ENG
							}
						}
					} 
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
							type = dockyard
							level = 1
							instant_build = yes
					}
				}
			}
			326 = {
				if = {
					limit = {
						CONTROLLER = {
							OR = {
								tag = ENG
								is_subject_of = ENG
							}
						}
						OWNER = {
							OR = {
								tag = ENG
								is_subject_of = ENG
							}
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = uk_burma_focus
		prerequisite = { focus = uk_asia_focus } 
		available = {
			CHI = { 
				has_war_with = JAP 
				NOT = { has_war_with = ENG }
			}
			JAP = { NOT = { is_in_faction_with = ENG } }
		}

		bypass = {
			CHI = { exists = no }
		}

		icon = GFX_goal_generic_construct_infrastructure
		x = -2
		y = 1
		relative_position_id = uk_asia_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		bypass = {
			640 = {
				free_building_slots = {
					building = infrastructure
					size < 1
				}
			}
			325 = {
				free_building_slots = {
					building = infrastructure
					size < 1
				}
			}
			601 = {
				free_building_slots = {
					building = infrastructure
					size < 2
				}
				free_building_slots = {
					building = air_base
					size < 1
				}
				free_building_slots = {
					building = arms_factory
					size < 1
					include_locked = yes
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			640 = {
				if = {
					limit = { 
						OR = { 
							ENG = { controls_state = 640 }
							any_other_country = {
								is_in_faction_with = ENG
								controls_state = 640
							} 
						}
					}
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}
			325 = {
				if = {
					limit = { 
					OR = { 
							CHI = { controls_state = 325 }
							any_other_country = {
								is_in_faction_with = CHI
								controls_state = 640
							} 
						}
					}
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}
			601 = {
				if = {
					limit = { 
						OR = { 
							CHI = { controls_state = 601 }
							any_other_country = {
								is_in_faction_with = CHI
								controls_state = 601
							} 
						} }
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = 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_war_support = 0.05
			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = {
					has_dlc = "Waking the Tiger"
				}
				unlock_decision_tooltip = CHI_expand_the_burma_road
			}
			CHI = {
				add_opinion_modifier = { target = ENG modifier = burma_road_good } 
				country_event = britain.4
			}
			YUN = {
				add_opinion_modifier = { target = ENG modifier = burma_road_good } 
				country_event = britain.5
			}
			JAP = {
				add_opinion_modifier = { target = ENG modifier = burma_road_bad } 
			} 
		}
	}
	focus = {
		id = uk_sanction_japan_focus
		available = {
			JAP = { 
				ENG_focus_available_embargo_sanction = yes
			}	
			has_government = democratic
		}
		bypass = {
			has_war_with = JAP
		}
		prerequisite = { focus = uk_burma_focus }
		icon = GFX_goal_generic_trade
		x = 0
		y = 2
		relative_position_id = uk_burma_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			JAP = {
				add_opinion_modifier = { target = ENG modifier = embargo }
				add_opinion_modifier = { target = ENG modifier = sanctions_relations } 
			}
		}
	}
	focus = {
		id = ENG_war_with_japan
		available = {
			has_offensive_war = no
			JAP = {
				ENG_focus_available_war = yes
			}	
			has_government = democratic
		}
		bypass = {
			has_war_with = JAP
		}
		will_lead_to_war_with = JAP
		prerequisite = { focus = uk_sanction_japan_focus }
		prerequisite = { focus = peninsular_focus }
		prerequisite = { focus = hk_air_focus }
		icon = GFX_focus_attack_japan
		x = 2
		y = 1
		relative_position_id = uk_sanction_japan_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = JAP
				expire = 0
			} 
		}
	}


	focus = {
		id = singapore_focus
		prerequisite = { focus = uk_asia_focus }
		icon = GFX_goal_generic_fortify_city
		x = 0
		y = 1
		relative_position_id = uk_asia_focus
		cost = 10

		available = {
			336 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}

		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = { 
			navy_experience = 25
			336 = {
				add_extra_state_shared_building_slots = 1

				IF = {
					limit = {
						336 = {
							free_building_slots = {
								building = coastal_bunker
								size > 2
								province = 12299
							}
						}
					}
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = 12299
						instant_build = yes
					}
				}
				
				if = {
					limit = {
						CONTROLLER = {
							NOT = { tag = ENG }
						}
					}
					CONTROLLER = {
						add_autonomy_ratio = {
							value = -0.02
							localization = singapore_focus
						}
					}
				}
			}
		}
	}
	focus = {
		id = sp_landward_forts_focus
		prerequisite = { focus = singapore_focus }
		icon = GFX_goal_generic_construct_military
		x = 0
		y = 1
		relative_position_id = singapore_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		available = {
			336 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}


		available_if_capitulated = yes

		bypass = {
			336 = {
				free_building_slots = {
					building = anti_air_building
					size < 2
				}

				free_building_slots = {
					building = bunker
					size < 4
					province = 12299
				}
			}
		}

		completion_reward = {
			336 = {
				add_extra_state_shared_building_slots = 1

				IF = {
					limit = {
						336 = {
							free_building_slots = {
								building = bunker
								size > 3
								province = 12299
							}
						}
					}
					add_building_construction = {
						type = bunker
						level = 4
						province = 12299
						instant_build = yes
					}
				}

				IF = {
					limit = {
						336 = {
							free_building_slots = {
								building = anti_air_building
								size > 1
							}
						}
					}

					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}
				
				
				if = {
					limit = {
						CONTROLLER = {
							NOT = { tag = ENG }
						}
					}
					CONTROLLER = {
						add_autonomy_ratio = {
							value = -0.02
							localization = sp_landward_forts_focus
						}
					}
				}
			}
		}
	}
	focus = {
		id = peninsular_focus
		prerequisite = { focus = sp_landward_forts_focus }
		icon = GFX_goal_generic_construction2
		x = 0
		y = 1
		relative_position_id = sp_landward_forts_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		available = {
			336 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}

		available_if_capitulated = yes

		completion_reward = {
			336 = {
				add_building_construction = {
					type = bunker
					level = 3
					province = 7329
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 4310
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 3
					province = 7342
					instant_build = yes
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				if = {
					limit = {
						CONTROLLER = {
							NOT = { tag = ENG }
						}
					}
					CONTROLLER = {
						add_autonomy_ratio = {
							value = -0.02
							localization = peninsular_focus
						}
					}
				}
			}
		}
	}
	focus = {
		id = hongkong_focus
		prerequisite = { focus = uk_asia_focus }
		icon = GFX_goal_generic_fortify_city
		x = 2
		y = 1
		relative_position_id = uk_asia_focus
		cost = 10
		ai_will_do = {
			factor = 0.25
		}
		available = { 
			326 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			326 = {
				add_extra_state_shared_building_slots = 1

				IF = {
					limit = {
						326 = {
							free_building_slots = {
								building = coastal_bunker
								size > 2
								province = 10062
							}
						}
					}
					add_building_construction = {
						type = coastal_bunker
						level = 3
						province = 10062
						instant_build = yes
					}
				}
				
			}
		}
	}
	focus = {
		id = hk_landward_forts_focus
		prerequisite = { focus = hongkong_focus }
		icon = GFX_goal_generic_construct_military
		x = 0
		y = 1
		relative_position_id = hongkong_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		available = {
			326 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}

		available_if_capitulated = yes

		bypass = {
			326 = { 
				free_building_slots = {
					building = anti_air_building
					size < 2
				}

				free_building_slots = {
					building = bunker
					size < 4
					province = 10062
				}
			}
		}

		completion_reward = { 
			326 = {
				add_extra_state_shared_building_slots = 1

				IF = {
					limit = {
						326 = {
							free_building_slots = {
								building = bunker
								size > 3
								province = 10062
							}
						}
					}

					add_building_construction = {
						type = bunker
						level = 4
						province = 10062
						instant_build = yes
					}
				}

				IF = {
					limit = {
						326 = {
							free_building_slots = {
								building = anti_air_building
								size > 1
							}
						}
					}

					add_building_construction = {
						type = anti_air_building
						level = 2				
						instant_build = yes
					}
				}
				
				
			}
		}
	}
	focus = {
		id = hk_air_focus
		prerequisite = { focus = hk_landward_forts_focus }
		icon = GFX_goal_generic_construct_civilian
		x = 0
		y = 1
		relative_position_id = hk_landward_forts_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		available = {
			326 = {
				CONTROLLER = {
					OR = {
						tag = ENG
						is_subject_of = ENG
					}
				}
			}
		}

		available_if_capitulated = yes

		bypass = {
			326 = { 
				free_building_slots = {
					building = anti_air_building
					size < 2
				} 
				free_building_slots = {
					building = air_base
					size < 2
				}
			}
		}
		completion_reward = {
			326 = {

				IF = {
					limit = {
						326 = {
							free_building_slots = {
								building = anti_air_building
								size > 1 
							}
						}
					}

					add_building_construction = {
						type = anti_air_building
						level = 2
						instant_build = yes
					}
				}

				IF = {
					limit = {
						326 = {
							free_building_slots = {
								building = air_base
								size > 1
							}
						}
					}

					add_building_construction = {
						type = air_base
						level = 4
						instant_build = yes
					}
				}
			}
		}
	}
	
	focus = {
		id = uk_china_focus 

		prerequisite = { focus = hk_air_focus  }

		available = {
			CHI = { exists = yes }
			has_government = democratic
		} 

		cancel = {
			CHI = { exists = no }
		}

		icon = GFX_focus_chi_cooperation_with_the_nationalists

		x = 0
		y = 1
		relative_position_id = hk_air_focus

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			event_target:WTT_current_china_leader = {
				add_offsite_building = { type = arms_factory level = 2 }
				add_opinion_modifier = { target = ENG modifier = democratic_leanings_good }
				add_timed_idea = { idea = democratic_influence days = 1095 }
				country_event = { id = generic.1 }
				set_country_flag = ENG_influenced_by_britain_flag
			}
			every_other_country = {
				limit = { 
					NOT = { has_government = democratic }
					num_of_factories > 30
				}
				add_opinion_modifier = { target = CHI modifier = democratic_leanings_bad }
			}
		}
	}
	
	focus = {
		id = uk_commonwealth_focus 
		prerequisite = { focus = uk_colonial_focus }

		available = {
			OR = {
				any_country = {
					original_tag = NZL
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = SAF
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = RAJ
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = AST
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = CAN
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = MAL
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = PAL
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = JOR
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = KUW
					is_in_faction_with = ROOT
				}
				any_country = {
					original_tag = BRM
					is_in_faction_with = ROOT
				}
			}
		}

		bypass = {
			CAN = {
				exists = no
			}
			SAF = {
				exists = no
			}
			RAJ = {
				exists = no
			}
			AST = {
				exists = no
			}
			NZL = {
				exists = no
			}
			MAL = {
				exists = no
			}
			PAL = {
				exists = no
			}
			JOR = {
				exists = no
			}
			KUW = {
				exists = no
			}
			BRM = {
				exists = no
			}
			NOT = {
				any_state = {
					OR = {
						is_core_of = ENG
						is_core_of = CAN
						is_core_of = SAF
						is_core_of = AST
						is_core_of = NZL
						is_core_of = RAJ
						is_core_of = MAL
						is_core_of = BRM
					}
					NOT = { state = 320 }
					NOT = { state = 321 }
					OWNER = {
						NOT = { tag = ENG }
					}
				}
			}
		}

		icon = GFX_goal_tfv_strengthen_commonwealth_ties

		x = 4
		y = 1
		relative_position_id = uk_colonial_focus

		cost = 5

		available_if_capitulated = yes

		completion_reward = {
			random_country = {
				limit = {
					original_tag = CAN
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = AST
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = RAJ
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = NZL
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = SAF
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = MAL
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = PAL
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = JOR
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = KUW
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
			random_country = {
				limit = {
					original_tag = BRM
					exists = yes
					is_in_faction_with = ROOT
				}
				add_political_power = 50
				add_opinion_modifier = { target = ENG modifier = ENG_commonwealth_ties }
			}
		}
	}

	focus = {
		id = ENG_british_commonwealth_air_training_plan
		prerequisite = { focus = uk_commonwealth_focus }
		icon = GFX_goal_generic_air_fighter2
		x = -1
		y = 1
		relative_position_id = uk_commonwealth_focus
		cost = 10
		ai_will_do = {
			factor = 3
		}

		available = {
			OR = {
				CAN = { is_in_faction_with = ENG }
				SAF = { is_in_faction_with = ENG }
				RAJ = { is_in_faction_with = ENG }
				AST = { is_in_faction_with = ENG }
				NZL = { is_in_faction_with = ENG }
			}
		}

		bypass = {
		}

		completion_reward = {
			add_ideas = ENG_british_commonwealth_air_training_plan
			custom_effect_tooltip = generic_skip_one_line_tt
			every_country = {
				limit = {
					is_subject_of = ROOT
					NOT = { original_tag = SAF }
				}
				add_ideas = ENG_british_commonwealth_air_training_plan
			}
			SAF = {
				if = {
					limit = {
						is_subject_of = ROOT
					}
					add_ideas = ENG_joint_air_training_scheme
				}
			}
		}
	}

	focus = {
		id = uk_india_focus 
		prerequisite = { focus = uk_commonwealth_focus }
		available = {
			any_country = {
				original_tag = RAJ
				is_in_faction_with = ROOT
			}
		} 
		icon = GFX_goal_generic_construct_civ_factory
		x = -3
		y = 1
		relative_position_id = uk_commonwealth_focus
		cost = 10

		available_if_capitulated = yes

		bypass = {
			RAJ = {
				custom_trigger_tooltip = {
					tooltip = construction_effort_tt
					all_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size < 1
							include_locked = yes
						}
					}
				}
			}
		}

		complete_tooltip = {
			random_country = {
				limit = {
					original_tag = RAJ
					is_in_faction_with = ROOT
				}
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				every_state = { limit = { has_state_flag = ENG_uk_india_focus_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_india_focus_1IC }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				ENG_viceroy_reduce_autonomy_effect = yes
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			RAJ = {
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				random_owned_controlled_state = {
					limit = {
						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
					}
					set_state_flag = ENG_uk_india_focus_2IC
				}
				random_owned_controlled_state = {
					limit = {
						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
					}
					set_state_flag = ENG_uk_india_focus_2IC
				}
				random_owned_controlled_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
					}
					set_state_flag = ENG_uk_india_focus_1IC
				}
				ENG_viceroy_reduce_autonomy_effect = yes
			}
		}
	}
	
	focus = {
		id = uk_free_india_focus 
		prerequisite = { focus = uk_india_focus }
		mutually_exclusive = { focus = ENG_indian_autonomy }
		available = {
			if = {
				limit = { has_dlc = "Together for Victory" }
				OR = {
					AND = {
						date > 1943.10.01
						RAJ = {
							is_subject_of = ENG
							has_war = no
						}
					}
					AND = {
						NOT = { has_government = democratic }
						RAJ = {
							is_subject_of = ENG
							has_war = no
						}
					}
				}
				else = {				
					has_global_flag = indian_national_army_setup
					has_government = democratic
					RAJ = {
						is_puppet_of = ENG
					}
				}
			}
		} #counters JAP's indian army focus
		icon = GFX_goal_generic_improve_relations
		x = -1
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = uk_india_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			if = {
				limit = { has_dlc = "Together for Victory" }
				ROOT = {
					set_autonomy = {
						target = RAJ
						autonomy_state = autonomy_free
					}
				}
				else = {					
					set_global_flag = indian_independence_promised
					add_timed_idea = { idea = indian_independence_promised_idea days = 1460 }
					RAJ = {
						remove_ideas = RAJ_azad_hind
					}				
				}
			}
		}
	}
	
	
	focus = {
		id = uk_australia_focus 
		prerequisite = { focus = uk_commonwealth_focus }
		available = {
			any_country = {
				original_tag = AST
				is_in_faction_with = ROOT
			}
		}

		bypass = {
			OR = {
				AST = { exists = no }
				AST = {
					custom_trigger_tooltip = {
						tooltip = construction_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = industrial_complex
								size < 1
								include_locked = yes
							}
						}
					}
					custom_trigger_tooltip = {
						tooltip = naval_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = dockyard
								size < 1
								include_locked = yes
							}
						}
					}
				}
			}
		}
		icon = GFX_goal_generic_construct_civilian
		x = 1
		y = 1
		relative_position_id = uk_commonwealth_focus
		cost = 10

		available_if_capitulated = yes

		complete_tooltip = {
			random_country = {
				limit = {
					original_tag = AST
					is_in_faction_with = ROOT
				}
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				every_state = { limit = { has_state_flag = ENG_uk_australia_focus_1IC }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_australia_focus_2dockyards }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_australia_focus_1dockyard }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_australia_focus
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			AST = {
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				random_owned_controlled_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
					}
					set_state_flag = ENG_uk_australia_focus_1IC
				}
				random_owned_controlled_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
					}
					set_state_flag = ENG_uk_australia_focus_1IC
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
					set_state_flag = ENG_uk_australia_focus_2dockyards
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						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
					}
					set_state_flag = ENG_uk_australia_focus_1dockyard
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_australia_focus
				}
			}
		}
	}


	focus = {
		id = uk_new_zealand_focus 
		prerequisite = { focus = uk_australia_focus }
		available = {
			any_country = {
				original_tag = NZL
				is_in_faction_with = ROOT
			}
		}
		bypass = {
			OR = {
				NZL = { exists = no }
				NZL = {
					custom_trigger_tooltip = {
						tooltip = construction_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = industrial_complex
								size < 1
								include_locked = yes
							}
						}
					}
					custom_trigger_tooltip = {
						tooltip = naval_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = dockyard
								size < 1
								include_locked = yes
							}
						}
					}
				}
			}
		}
		icon = GFX_goal_generic_construction
		x = 0
		y = 1
		relative_position_id = uk_australia_focus
		cost = 10

		available_if_capitulated = yes

		complete_tooltip = {
			random_country = {
				limit = {
					original_tag = NZL
					is_in_faction_with = ROOT
				}
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				every_state = { limit = { has_state_flag = ENG_uk_new_zealand_focus_1IC }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_new_zealand_focus_2dockyards }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_new_zealand_focus_1dockyard }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_new_zealand_focus
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			NZL = {
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				random_owned_controlled_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
					}
					set_state_flag = ENG_uk_new_zealand_focus_1IC
				}
				random_owned_controlled_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
					}
					set_state_flag = ENG_uk_new_zealand_focus_1IC
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
					set_state_flag = ENG_uk_new_zealand_focus_2dockyards
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						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
					}
					set_state_flag = ENG_uk_new_zealand_focus_1dockyard
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_new_zealand_focus
				}
			}
		}
	}


	focus = {
		id = uk_canada_focus 
		prerequisite = { focus = uk_commonwealth_focus }
		available = {
			any_country = {
				original_tag = CAN
				is_in_faction_with = ROOT
			}
		}
		bypass = {
			OR = {
				CAN = { exists = no }
				CAN = {
					custom_trigger_tooltip = {
						tooltip = construction_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = industrial_complex
								size < 1
								include_locked = yes
							}
						}
					}
					custom_trigger_tooltip = {
						tooltip = naval_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = dockyard
								size < 1
								include_locked = yes
							}
						}
					}
				}
			}
		}
		icon = GFX_goal_generic_construct_civ_factory
		x = 0
		y = 3
		relative_position_id = uk_commonwealth_focus
		cost = 10

		available_if_capitulated = yes

		complete_tooltip = {
			random_country = {
				limit = {
					original_tag = CAN
					is_in_faction_with = ROOT
				}
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				every_state = { limit = { has_state_flag = ENG_uk_canada_focus_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_canada_focus_1IC }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_canada_focus_1dockyard }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_canada_focus
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			CAN = {
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				random_owned_controlled_state = {
					limit = {
						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
					}
					set_state_flag = ENG_uk_canada_focus_2IC
				}
				random_owned_controlled_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
					}
					set_state_flag = ENG_uk_canada_focus_1IC
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						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
					}
					set_state_flag = ENG_uk_canada_focus_1dockyard
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						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
					}
					set_state_flag = ENG_uk_canada_focus_1dockyard
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_canada_focus
				}
			}
		}
	}

	focus = {
		id = uk_south_africa_focus
		prerequisite = { focus = uk_commonwealth_focus }
		available = {
			any_country = {
				original_tag = SAF
				is_in_faction_with = ROOT
			}
		}
		bypass = {
			OR = {
				SAF = { exists = no }
				SAF = {
					custom_trigger_tooltip = {
						tooltip = construction_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = industrial_complex
								size < 1
								include_locked = yes
							}
						}
					}
					custom_trigger_tooltip = {
						tooltip = naval_effort_tt
						all_owned_state = {
							free_building_slots = {
								building = dockyard
								size < 1
								include_locked = yes
							}
						}
					}
				}
			}
		}
		icon = GFX_goal_generic_construct_civ_factory
		x = 2
		y = 3
		relative_position_id = uk_commonwealth_focus
		cost = 10

		available_if_capitulated = yes

		complete_tooltip = {
			random_country = {
				limit = {
					original_tag = SAF
					is_in_faction_with = ROOT
				}
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				every_state = { limit = { has_state_flag = ENG_uk_south_africa_focus_2IC }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_south_africa_focus_1IC }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				every_state = { limit = { has_state_flag = ENG_uk_south_africa_focus_1dockyard }
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_south_africa_focus
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			SAF = {
				add_opinion_modifier = { target = ENG modifier = aided_industry }
				random_owned_controlled_state = {
					limit = {
						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
					}
					set_state_flag = ENG_uk_south_africa_focus_2IC
				}
				random_owned_controlled_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
					}
					set_state_flag = ENG_uk_south_africa_focus_1IC
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						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
					}
					set_state_flag = ENG_uk_south_africa_focus_1dockyard
				}
				random_owned_controlled_state = {
					limit = {
						is_coastal = yes
						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
					}
					set_state_flag = ENG_uk_south_africa_focus_1dockyard
				}
				add_autonomy_ratio = {
					value = -0.05
					localization = uk_south_africa_focus
				}
			}
		}
	}

	focus = {
		id = ENG_indian_autonomy
		prerequisite = { focus = uk_india_focus }
		mutually_exclusive = { focus = uk_free_india_focus }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = ENG_revisit_colonial_policy
				}
			}
		}

		available = { 	
			RAJ = {
				is_subject_of = ENG
			}
		}

		continue_if_invalid = no

		icon = GFX_focus_RAJ_british_investors

		x = 1
		y = 1
		relative_position_id = uk_india_focus
		cost = 10
		ai_will_do = {
			factor = 1
			#modifier = {
			#	factor = 0
			#}
		}	
		completion_reward = {
			set_autonomy = {
				target = RAJ
				autonomy_state = autonomy_dominion
				end_wars = no 
				end_civil_wars = no
			}
			RAJ = { add_timed_idea = { idea = ENG_indian_autonomy_RAJ_idea days = 730 } }
			custom_effect_tooltip = ENG_indian_autonomy_tt
		}
	}

	focus = {
		id = ENG_imperial_conference
		prerequisite = { focus = uk_canada_focus }
		prerequisite = { focus = uk_new_zealand_focus }
		prerequisite = { focus = uk_south_africa_focus }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = ENG_revisit_colonial_policy
				}
			}
		}

		available = {
			CAN = {
				OR = {
					AND = {
						is_subject_of = ENG
						has_government = ROOT
					}
					exists = no
				}
			}
			SAF = {
				OR = {
					AND = {
						is_subject_of = ENG
						has_government = ROOT
					}
					exists = no
				}
			}
			AST = {
				OR = {
					AND = {
						is_subject_of = ENG
						has_government = ROOT
					}
					exists = no
				}
			}
			NZL = {
				OR = {
					AND = {
						is_subject_of = ENG
						has_government = ROOT
					}
					exists = no
				}
			}
			NOT = {
				any_state = {
					OR = {
						is_core_of = ENG
						is_core_of = CAN
						is_core_of = SAF
						is_core_of = AST
						is_core_of = NZL
					}
					NOT = { state = 331 }
					OWNER = {
						NOT = {
							OR = {
								tag = ENG
								tag = CAN
								tag = SAF
								tag = AST
								tag = NZL
							}
						}
					}
				}
			}

		}

		bypass = {
			CAN = {
				exists = no
			}
			SAF = {
				exists = no
			}
			RAJ = {
				OR = {
					exists = no
					NOT = { is_subject_of = ENG }
				}
			}
			AST = {
				exists = no
			}
			NZL = {
				exists = no
			}
			NOT = {
				any_state = {
					OR = {
						is_core_of = ENG
						is_core_of = CAN
						is_core_of = SAF
						is_core_of = AST
						is_core_of = NZL
					}
					OWNER = {
						NOT = { tag = ENG }
					}
				}
			}
		}

		continue_if_invalid = no

		icon = GFX_goal_generic_national_unity

		x = 0
		y = 2
		relative_position_id = uk_new_zealand_focus
		cost = 10
		ai_will_do = {
			factor = 1
			#modifier = {
			#	factor = 0
			#}
		}
		search_filters = {FOCUS_FILTER_POLITICAL}	
		completion_reward = {
			add_political_power = 120
			custom_effect_tooltip = generic_skip_one_line_tt
			every_country = {
				limit = {
					OR = {
						tag = ENG
						AND = {
							is_subject_of = ENG
							tag = CAN
						}
						AND = {
							is_subject_of = ENG
							tag = SAF
						}
						AND = {
							is_subject_of = ENG
							tag = RAJ
						}
						AND = {
							is_subject_of = ENG
							tag = AST
						}
						AND = {
							is_subject_of = ENG
							tag = NZL
						}
					}
				}
				country_event = { id = mtg_britain.82 hours = 6 }
			}
			hidden_effect = { news_event = { id = mtg_news.13 days = 1 } }
			custom_effect_tooltip = ENG_imperial_conference_tt
			custom_effect_tooltip = ENG_indian_autonomy_tt
		}
	}

	focus = {
		id = ENG_imperial_federation
		prerequisite = { focus = ENG_imperial_conference }
		available = {
			if = {
				limit = {
					has_dlc = "Together for Victory"
					has_dlc = "Death or Dishonor"
				}
				CAN = {
					OR = {
						AND = {
							is_subject_of = ENG
							OR = {
								has_autonomy_state = autonomy_integrated_puppet
								has_autonomy_state = autonomy_reichskommissariat
							}
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = CAN
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				SAF = {
					OR = {
						AND = {
							is_subject_of = ENG
							OR = {
								has_autonomy_state = autonomy_integrated_puppet
								has_autonomy_state = autonomy_reichskommissariat
							}
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = SAF
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				if = {
					limit = {
						RAJ = { has_country_flag = ENG_accepted_federation }
					}
					RAJ = {
						OR = {
							AND = {
								is_subject_of = ENG
								OR = {
									has_autonomy_state = autonomy_integrated_puppet
									has_autonomy_state = autonomy_reichskommissariat
									ROOT = { has_country_leader_with_trait = viceroy_emeritus }
								}
							}
							AND = {
								exists = no
								NOT = {
									any_state = {
										is_core_of = RAJ
										NOT = { state = 320 }
										NOT = { state = 321 }
										NOT = { is_owned_by = ROOT }
									}
								}
							}
						}
					}
				}
				AST = {
					OR = {
						AND = {
							is_subject_of = ENG
							OR = {
								has_autonomy_state = autonomy_integrated_puppet
								has_autonomy_state = autonomy_reichskommissariat
							}
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = AST
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				NZL = {
					OR = {
						AND = {
							is_subject_of = ENG
							OR = {
								has_autonomy_state = autonomy_integrated_puppet
								has_autonomy_state = autonomy_reichskommissariat
							}
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = NZL
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
			}
			else_if = {
				limit = {
					has_dlc = "Together for Victory"
					NOT = { has_dlc = "Death or Dishonor" }
				}
				CAN = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_integrated_puppet
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = CAN
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				SAF = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_integrated_puppet
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = SAF
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				if = {
					limit = {
						RAJ = { has_country_flag = ENG_accepted_federation }
					}
					RAJ = {
						OR = {
							AND = {
								is_subject_of = ENG
								has_autonomy_state = autonomy_integrated_puppet
							}
							AND = {
								exists = no
								NOT = {
									any_state = {
										is_core_of = RAJ
										NOT = { state = 320 }
										NOT = { state = 321 }
										NOT = { is_owned_by = ROOT }
									}
								}
							}
						}
					}
				}
				AST = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_integrated_puppet
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = AST
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				NZL = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_integrated_puppet
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = NZL
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
			}
			else_if = {
				limit = {
					NOT = { has_dlc = "Together for Victory" }
					has_dlc = "Death or Dishonor"
					has_government = fascism
				}
				CAN = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_reichskommissariat
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = CAN
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				SAF = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_reichskommissariat
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = SAF
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				if = {
					limit = {
						RAJ = { has_country_flag = ENG_accepted_federation }
					}
					RAJ = {
						OR = {
							AND = {
								is_subject_of = ENG
								has_autonomy_state = autonomy_reichskommissariat
							}
							AND = {
								exists = no
								NOT = {
									any_state = {
										is_core_of = RAJ
										NOT = { state = 320 }
										NOT = { state = 321 }
										NOT = { is_owned_by = ROOT }
									}
								}
							}
						}
					}
				}
				AST = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_reichskommissariat
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = AST
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				NZL = {
					OR = {
						AND = {
							is_subject_of = ENG
							has_autonomy_state = autonomy_reichskommissariat
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = NZL
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
			}
			else = {
				CAN = {
					OR = {
						AND = {
							is_subject_of = ENG
							compare_autonomy_progress_ratio < 0.1
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = CAN
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				SAF = {
					OR = {
						AND = {
							is_subject_of = ENG
							compare_autonomy_progress_ratio < 0.1
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = SAF
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				if = {
					limit = {
						RAJ = { has_country_flag = ENG_accepted_federation }
					}
					RAJ = {
						OR = {
							AND = {
								is_subject_of = ENG
								compare_autonomy_progress_ratio < 0.1
							}
							AND = {
								exists = no
								NOT = {
									any_state = {
										is_core_of = RAJ
										NOT = { state = 320 }
										NOT = { state = 321 }
										NOT = { is_owned_by = ROOT }
									}
								}
							}
						}
					}
				}
				AST = {
					OR = {
						AND = {
							is_subject_of = ENG
							compare_autonomy_progress_ratio < 0.1
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = AST
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
				NZL = {
					OR = {
						AND = {
							is_subject_of = ENG
							compare_autonomy_progress_ratio < 0.1
						}
						AND = {
							exists = no
							NOT = {
								any_state = {
									is_core_of = NZL
									NOT = { is_owned_by = ROOT }
								}
							}
						}
					}
				}
			}
			if = {
				limit = {
					OR = {
						CAN = { exists = yes }
						SAF = { exists = yes }
						AST = { exists = yes }
						NZL = { exists = yes }
					}
				}
				has_country_flag = ENG_dominions_accepted_federation
			}
		}

		icon = GFX_focus_eng_imperial_federation

		x = 0
		y = 1
		relative_position_id = ENG_imperial_conference
		cost = 10
		ai_will_do = {
			factor = 1
			#modifier = {
			#	factor = 0
			#}
		}
		search_filters = {FOCUS_FILTER_ANNEXATION}	
		completion_reward = {
			if = {
				limit = {
					RAJ = {
						NOT = { is_subject_of = ENG }
					}
				}
				set_cosmetic_tag = ENG_imperial_federation_unified
				news_event = { id = mtg_news.8 days = 1 }
			}
			if = {
				limit = {
					RAJ = {
						is_subject_of = ENG
					}
				}
				set_cosmetic_tag = ENG_imperial_federation_india_unified
				news_event = { id = mtg_news.9 days = 1 }
			}
			CAN = {
				every_unit_leader = {
					set_nationality = ENG
				}
			}
			annex_country = {
			    target = CAN
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = CAN
				}
				add_core_of = ENG
			}
			SAF = {
				every_unit_leader = {
					set_nationality = ENG
				}
			}
			annex_country = {
			    target = SAF
			    transfer_troops = yes
			}
			if = {
				limit = {
					SAF = { has_completed_focus = SAF_police_windhoek }
				}
				every_state = {
					limit = {
						is_core_of = SAF
						NOT = { state = 275 }
					}
					add_core_of = ENG
				}
			}
			if = {
				limit = {
					RAJ = { has_country_flag = ENG_accepted_federation }
				}
				RAJ = {
					every_unit_leader = {
						set_nationality = ENG
					}
				}
				annex_country = {
				    target = RAJ
				    transfer_troops = yes
				}
				if = {
					limit = {
						ROOT = { has_country_leader_with_trait = viceroy_emeritus }
					}
					custom_effect_tooltip = viceroy_emeritus_downside_tt
					every_state = {
						limit = { 
							OR = {
								is_owned_by = ROOT
								is_owned_by = RAJ #For the tooltip
							}
							is_core_of = RAJ 
							NOT = { is_core_of = ROOT }
						}
						add_resistance = 15
					}
				}
			}
			AST = {
				every_unit_leader = {
					set_nationality = ENG
				}
			}
			annex_country = {
			    target = AST
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = AST
				}
				add_core_of = ENG
			}
			NZL = {
				every_unit_leader = {
					set_nationality = ENG
				}
			}
			annex_country = {
			    target = NZL
			    transfer_troops = yes
			}
			every_state = {
				limit = {
					is_core_of = NZL
				}
				add_core_of = ENG
			}
			MAL = {
				every_unit_leader = {
					set_nationality = ENG
				}
			}
			annex_country = {
			    target = MAL
			    transfer_troops = yes
			}
		}
	}

	### DEMOCRATIC BRANCH - STEADY AS SHE GOES ###

	focus = {
		id = ENG_steady_as_she_goes
		mutually_exclusive = { focus = ENG_a_change_in_course }
		icon = GFX_goal_support_democracy

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

		x = 14
		y = 0
		relative_position_id = ENG_revisit_colonial_policy

		offset = {
			x = -7
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		offset = {
			x = -5
			y = 0
			trigger = {
				has_dlc = "Man the Guns"
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = uk_empire_focus
			}
		}
		offset = {
			x = -3
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_revisit_colonial_policy
			}
		}
		offset = {
			x = -4
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_global_defense
			}
		}
		offset = {
			x = -1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_home_defence
			}
		}

		cost = 5
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_country_flag = ENG_abdication_crisis_normal_marriage
					has_country_flag = ENG_abdication_crisis_morganatic_marriage
				}
			}
		}

		available = { 
			if = {
				limit = {
					NOT = { has_country_flag = ENG_abdication_crisis_changed_mind }
				}
				NOT = { has_country_flag = edward_viii_refused_to_abdicate_flag }
			}
		}
		cancel_if_invalid = yes

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}	
		completion_reward = {
			add_timed_idea = { idea = ENG_steady_as_she_goes_idea days = 365 }
			hidden_effect = {
				if = {
					limit = {
						has_dlc = "Man the Guns"
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	### GLOBAL DEFENSE BRANCH ###

	focus = {
		id = ENG_global_defense
		prerequisite = { focus = ENG_steady_as_she_goes }
		mutually_exclusive = { focus = ENG_home_defence }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = ENG_home_defence
						has_completed_focus = ENG_a_change_in_course
					}
				}
			}
		}

		available = {

		}

		continue_if_invalid = yes

		icon = GFX_focus_eng_global_defense
		x = -4
		y = 1
		relative_position_id = ENG_steady_as_she_goes

		offset = {
			x = 4
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_global_defense
			}
		}

		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_completed_focus = ENG_revisit_colonial_policy
			}
		}	
		completion_reward = {
			# Singapore
			336 = {
				if = {
					limit = {
						OR = {
							is_controlled_by = ROOT
							AND = {
								is_controlled_by = MAL
								MAL = { is_in_faction_with = ROOT }
							}
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
					# Singapore
					add_building_construction = {
						type = naval_base
						level = 2
						province = 12299
						instant_build = yes
					}
				}								
			}
			# Egypt
			446 = {
				if = {
					limit = {
						OR = {
							is_controlled_by = ROOT
							AND = {
								is_controlled_by = EGY
								EGY = { is_in_faction_with = ROOT }
							}
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}								
			}
			447 = {
				if = {
					limit = {
						OR = {
							is_controlled_by = ROOT
							AND = {
								is_controlled_by = EGY
								EGY = { is_in_faction_with = ROOT }
							}
						}
					}
					# Alexandria
					add_building_construction = {
						type = naval_base
						level = 2
						province = 4076
						instant_build = yes
					}
				}								
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			# Nova Scotia
			464 = {
				if = {
					limit = {
						OR = {
							is_controlled_by = ROOT
							AND = {
								is_controlled_by = CAN
								CAN = { is_in_faction_with = ROOT }
							}
						}
					}
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
					# Halifax
					add_building_construction = {
						type = naval_base
						level = 2
						province = 7361
						instant_build = yes
					}
				}								
			}
			# Malta
			116 = {
				if = {
					limit = {
						OR = {
							is_controlled_by = ROOT
							AND = {
								is_controlled_by = MLT
								MLT = { is_in_faction_with = ROOT }
							}
						}
					}
					add_building_construction = {
						type = air_base
						level = 1
						instant_build = yes
					}
				}								
			}
			# Gibraltar
			118 = {
				if = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = bunker
							size > 0
							province = 4135
						}
					}
					add_building_construction = {
						type = bunker
						level = 1
						province = 4135
						instant_build = yes
					}
				}								
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = ENG_every_man_will_do_his_duty
		prerequisite = { focus = ENG_global_defense }
		available = { 
			
		}

		continue_if_invalid = yes

		icon = GFX_focus_generic_commonwealth_build_infantry
		x = -1
		y = 1
		relative_position_id = ENG_global_defense
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_stability = -0.10
			remove_ideas = ENG_the_war_to_end_all_wars
		}
	}

	focus = {
		id = ENG_motion_of_no_confidence
		prerequisite = { focus = ENG_global_defense }
		available = { 
			has_country_leader =  {
				character = ENG_neville_chamberlain
				ruling_only = yes
			}
		}
		bypass = {
			OR = {
				has_country_leader =  {
					character = ENG_winston_churchill
					ruling_only = yes
				}
				has_country_leader =  {
					name = "Lord Edward Halifax"
					ruling_only = yes
				}
				NOT = {	has_character = ENG_winston_churchill } #MM: GoE content if he is transferred to India via event chain triggered by focus RAJ_the_jewel_becomes_the_crown
			}
		}

		continue_if_invalid = yes

		icon = GFX_focus_eng_motion_of_no_confidence
		x = 1
		y = 1
		relative_position_id = ENG_global_defense
		cost = 10
		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			add_stability = -0.10
			country_event = { id = mtg_britain.22 }
		}
	}

	focus = {
		id = ENG_no_further_appeasement
		prerequisite = { focus = ENG_every_man_will_do_his_duty }
		prerequisite = { focus = ENG_motion_of_no_confidence }
		available = { 
			is_subject = no
		}

		continue_if_invalid = yes

		icon = GFX_focus_generic_strike_at_democracy1
		x = -1
		y = 1
		relative_position_id = ENG_motion_of_no_confidence
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_stability = -0.10
			custom_effect_tooltip = ENG_no_further_appeasement_tt
			hidden_effect = {
				set_rule = { can_declare_war_on_same_ideology = yes }
				set_rule = { can_puppet = yes }
			}
			set_rule = { can_send_volunteers = yes }
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = ENG_no_further_appeasement_idea
			hidden_effect = { news_event = { id = mtg_news.16 days = 1 } }
		}
	}

	focus = {
		id = ENG_kickstart_the_war_industry
		prerequisite = { focus = ENG_no_further_appeasement }
		available = { 
			
		}

		continue_if_invalid = yes

		icon = GFX_goal_generic_construct_mil_factory
		x = -3
		y = 1
		relative_position_id = ENG_no_further_appeasement
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = kickstart_the_war_industry_2AF }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = kickstart_the_war_industry_2AF
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = kickstart_the_war_industry_2AF
			}
		}
	}

	focus = {
		id = ENG_secure_the_oil_imports

		prerequisite = { focus = ENG_kickstart_the_war_industry }

		available = { 
			is_subject = no
			OR = {
				country_exists = IRQ
				country_exists = PER
				country_exists = HOL
				country_exists = VEN
			}
		}

		will_lead_to_war_with = IRQ
		will_lead_to_war_with = PER
		will_lead_to_war_with = HOL
		will_lead_to_war_with = VEN
		will_lead_to_war_with = CRC

		continue_if_invalid = yes

		icon = GFX_goal_generic_occupy_states_ongoing_war

		x = 0
		y = 1
		relative_position_id = ENG_kickstart_the_war_industry

		cost = 10

		ai_will_do = {
			factor = 1
		}	

		completion_reward = {

			create_wargoal = {
				target = IRQ
				type = puppet_wargoal_focus
				expire = 0
			}

			create_wargoal = {
				target = PER
				type = puppet_wargoal_focus
				expire = 0
			}

			if = {
				limit = {
					695 = { is_owned_by = HOL }
				}
				create_wargoal = {
					target = HOL
					type = take_state_focus
					generator = { 695 }
					expire = 0
				}
			}
			else_if = {
				limit = {
					695 = { is_owned_by = CRC }
				}
				create_wargoal = {
					target = CRC
					type = take_state_focus
					generator = { 695 }
					expire = 0
				}
			}

			add_state_claim = 489
			add_state_claim = 307
			add_state_claim = 309
			add_state_claim = 695
			add_state_claim = 413
			add_state_claim = 412

		}

	}

	focus = {
		id = ENG_maintaining_imperial_integrity
		prerequisite = { focus = ENG_no_further_appeasement }
		mutually_exclusive = { focus = ENG_maintaining_the_balance_of_power }
		available = { 
			is_subject = no
		}
		bypass = {
			NOT = {
				any_country = {
					is_subject_of = ENG
				}
			}
			NOT = {
				focus_progress = {
					focus = ENG_maintaining_the_balance_of_power
					progress > 0
				}
			}
		}

		continue_if_invalid = yes

		icon = GFX_focus_chi_british_cooperation
		x = -1
		y = 1
		relative_position_id = ENG_no_further_appeasement
		cost = 10
		ai_will_do = {
			factor = 10
		}
		search_filters = {FOCUS_FILTER_RESEARCH}	
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = naval_doc_bonus
				cost_reduction = 0.5
				uses = 3
				category = naval_doctrine
			}
			if = {
				limit = {
					has_dlc = "Together for Victory"
				}
				CAN = {
					if = {
						limit = { is_in_faction_with = ENG }
						add_ideas = ENG_maintaining_imperial_integrity_idea
					}
				}
				AST = {
					if = {
						limit = { is_in_faction_with = ENG }
						add_ideas = ENG_maintaining_imperial_integrity_idea
					}
				}
				NZL = {
					if = {
						limit = { is_in_faction_with = ENG }
						add_ideas = ENG_maintaining_imperial_integrity_idea
					}
				}
				SAF = {
					if = {
						limit = { is_in_faction_with = ENG }
						add_ideas = ENG_maintaining_imperial_integrity_idea
					}
				}
				RAJ = {
					if = {
						limit = { is_in_faction_with = ENG }
						add_ideas = ENG_maintaining_imperial_integrity_idea
					}
				}
			}
			FRA = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_maintaining_imperial_integrity }
				}
			}
			ITA = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_maintaining_imperial_integrity }
				}
			}
			USA = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_maintaining_imperial_integrity }
				}
			}
			JAP = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_maintaining_imperial_integrity }
				}
			}
		}
	}

	focus = {
		id = ENG_enforce_the_naval_treaties
		prerequisite = { focus = ENG_maintaining_imperial_integrity }
		available = { 
			is_subject = no
		}

		continue_if_invalid = yes

		icon = GFX_goal_generic_major_war
		x = 0
		y = 1
		relative_position_id = ENG_maintaining_imperial_integrity
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			unlock_decision_category_tooltip = ENG_enforce_the_naval_treaties
			custom_effect_tooltip = ENG_enforce_the_naval_treaties_tt
			hidden_effect = { news_event = { id = mtg_news.17 days = 1 } }
		}
	}

	focus = {
		id = ENG_maintaining_the_balance_of_power
		prerequisite = { focus = ENG_no_further_appeasement }
		mutually_exclusive = { focus = ENG_maintaining_imperial_integrity }
		available = { 
			is_subject = no
		}

		continue_if_invalid = yes

		icon = GFX_goal_generic_neutrality_focus
		x = 1
		y = 1
		relative_position_id = ENG_no_further_appeasement
		cost = 10
		ai_will_do = {
			factor = 10
		}
		search_filters = {FOCUS_FILTER_RESEARCH}	
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = land_doc_bonus
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			GER = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_maintaining_the_balance_of_power_bad }
				}
			}
			SOV = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_maintaining_the_balance_of_power_bad }
				}
			}
			every_other_country = {
				limit = {
					any_owned_state = {
						is_capital = yes
						is_on_continent = europe
					}
					has_government = democratic
				}
				add_opinion_modifier = { target = ENG modifier = ENG_maintaining_the_balance_of_power_good }
			}
			every_other_country = {
				limit = {
					any_owned_state = {
						is_capital = yes
						is_on_continent = europe
					}
					has_added_tension_amount > 0.1
					num_of_factories > 50
				}
				add_opinion_modifier = { target = ENG modifier = ENG_maintaining_the_balance_of_power_bad }
			}
		}
	}

	focus = {
		id = ENG_continental_intervention
		prerequisite = { focus = ENG_maintaining_the_balance_of_power }
		available = { 
			is_subject = no
		}

		continue_if_invalid = yes

		icon = GFX_goal_generic_major_war
		x = 0
		y = 1
		relative_position_id = ENG_maintaining_the_balance_of_power
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			custom_effect_tooltip = ENG_continental_intervention_tt
			every_other_country = {
				limit = {
					any_owned_state = {
						is_capital = yes
						is_on_continent = europe
					}
					NOT = { is_in_faction_with = ROOT }
					has_added_tension_amount > 0.1
					num_of_factories > 50
				}
				ENG = {
					create_wargoal = {
						target = PREV
						type = topple_government
						expire = 0
					}
				}
			}
			hidden_effect = { news_event = { id = mtg_news.18 days = 1 } }
		}
	}

	### HOME DEFENCE BRANCH

	### GERMAN WAR ###

	focus = {
		id = ENG_home_defence
		prerequisite = { focus = ENG_steady_as_she_goes }
		mutually_exclusive = { focus = ENG_global_defense }
		icon = GFX_focus_generic_home_defense

		x = 5
		y = 1
		offset = {
			x = -5
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		offset = {
			x = -5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_dlc = "Man the Guns"
				has_completed_focus = ENG_home_defence
			}
		}
		relative_position_id = ENG_steady_as_she_goes

		cost = 10

		ai_will_do = {
			factor = 1
		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = ENG_global_defense
						has_completed_focus = ENG_a_change_in_course
					}
				}
			}
		}

		search_filters = {FOCUS_FILTER_WAR_SUPPORT}	

		completion_reward = {

			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			# East Anglia
			125 = {
				if = {
					limit = { 
						is_controlled_by = ROOT 
					}
					#Ipswich
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 271
						instant_build = yes
					}
				}
			}
			# Greater London Area
			126 = {
				if = {
					limit = {
						is_controlled_by = ROOT 
					}
					#London
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 11374
						instant_build = yes
					}
				}
			}
			# Sussex
			127 = {
				if = {
					limit = { 
						is_controlled_by = ROOT 
					}

					IF = {
						limit = {
							free_building_slots = {
								building = coastal_bunker
								size > 1
								province = 3501
							}
						}
						#Dover
						add_building_construction = {
							type = coastal_bunker
							level = 2
							province = 3501
							instant_build = yes
						}
					}
					

					IF = {
						limit = {
							free_building_slots = {
								building = coastal_bunker
								size > 1
								province = 9458
							}
						}
						#Portsmouth
						add_building_construction = {
							type = coastal_bunker
							level = 2
							province = 9458
							instant_build = yes
						}
					}
					
				}								
			}
			# Cornwall
			123 = {
				if = {
					limit = { 
						is_controlled_by = ROOT 
						free_building_slots = {
							building = coastal_bunker
							size > 1
							province = 540
						}
					}
					#Plymouth
					add_building_construction = {
						type = coastal_bunker
						level = 2
						province = 540
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = ENG_home_defence_tt

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

		}

	}

	# START IRAQ/IRAN/USSR INTERVENTION #

	focus = {
		id = uk_iraq_focus
		available = {
			IRQ = {
				OR = { 
					communism > 0.2
			 		fascism > 0.2
			 	} 
			}
		} #UK at war with fascist/commie. iraq is fascist/commie

		bypass = {
			IRQ = { exists = no }
		}

		will_lead_to_war_with = IRQ
		prerequisite = { focus = ENG_home_defence }
		icon = GFX_goal_generic_occupy_states_ongoing_war
		x = -6
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = ENG_home_defence
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = take_state_focus
				target = IRQ
				generator = { 291 }
				expire = 0
			}
		}
	}
	focus = {
		id = uk_iran_focus
		prerequisite = { focus = uk_iraq_focus }
		icon = GFX_goal_generic_forceful_treaty
		x = 0
		y = 1
		relative_position_id = uk_iraq_focus
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_civil_war = yes
			}
			modifier = {
				factor = 0
				PER = {
					has_government = ROOT
				}
			}	
		}
		will_lead_to_war_with = PER
		available = {
			country_exists = PER
			NOT = { has_war_with = PER }
			is_subject = no
			any_enemy_country = { is_major = yes }
		}

		bypass = {
			PER = { exists = no }
		}
		
		search_filters = {}

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "Graveyard of Empires"
				}
				PER = {
					set_country_flag = SOV_ultimatum_sent_flag
					country_event = { id = 	PER_foreign_policy_events.1 hours = 16 	random_hours = 8 }
				}
	
				effect_tooltip = {
					custom_effect_tooltip = if_they_accept_tt
					ROOT = {
						puppet = PER
					}
	
					custom_effect_tooltip = if_they_refuse_tt
					effect_tooltip = {
						activate_mission = 	SOV_preparations_for_operation_countenance
						custom_effect_tooltip = 	SOV_preparations_for_operation_countenance_tt
					}
					custom_effect_tooltip = PER_preemptive_invasion_of_iran_tt
				}
			}
			ELSE = {
				create_wargoal = {
					type = take_state_focus
					target = PER
					generator = { 266 }
					expire = 0
				}
			}
		}
	}
	focus = {
		id = ENG_embargo_ussr 
		prerequisite = { focus = uk_iran_focus focus = ENG_no_further_appeasement }

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

		offset = {
			x = 4
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_global_defense
			}
		}

		available = {
			SOV = {
				ENG_focus_available_embargo_sanction = yes
			}			
		} 

		bypass = {
			has_war_with = SOV
		}

		icon = GFX_goal_generic_trade
		x = 0
		y = 1
		relative_position_id = uk_iran_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			send_embargo = SOV
			custom_effect_tooltip = embargo_relation_tt
		}
	}
	focus = {
		id = ENG_war_with_ussr 
		prerequisite = { focus = ENG_embargo_ussr }
		available = {
			has_offensive_war = no
			SOV = {
				ENG_focus_available_war = yes
			}			
		} 
		bypass = {
			has_war_with = SOV
		}
		will_lead_to_war_with = SOV
		icon = GFX_focus_attack_soviet
		x = 0
		y = 1
		relative_position_id = ENG_embargo_ussr
		cost = 10
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = SOV
				expire = 0
			} 
		}
	}

	# END IRAQ/IRAN/USSR INTERVENTION #

	focus = {
		id = ENG_issue_gasmasks
		available = {
			OR = {
				threat > 0.2
				has_war = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = yes

		prerequisite = { focus = ENG_home_defence }
		icon = GFX_goal_generic_construct_military
		x = 4
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = ENG_home_defence
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY}	
		completion_reward = {
			add_war_support = 0.05
			add_stability = 0.1
		}
	}

	focus = {
		id = ENG_military_training_act
		available = {
			OR = {
				threat > 0.5
				has_war = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = yes

		prerequisite = { focus = ENG_issue_gasmasks }
		icon = GFX_focus_generic_commonwealth_build_infantry
		x = 0
		y = 1
		relative_position_id = ENG_issue_gasmasks
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			remove_ideas = ENG_the_war_to_end_all_wars
			set_rule = { can_send_volunteers = yes }
		}
	}

	focus = {
		id = ENG_embargo_germany
		available = {
			GER = {
				ENG_focus_available_embargo_sanction = yes
			}
		}
		bypass = {
			has_war_with = GER
		}

		available_if_capitulated = yes

		prerequisite = { focus = ENG_military_training_act }
		icon = GFX_goal_generic_trade
		x = 0
		y = 1
		relative_position_id = ENG_military_training_act
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			send_embargo = GER
			custom_effect_tooltip = embargo_relation_tt
		}
	}

	focus = {
		id = ENG_war_with_germany
		available = {
			has_war = no
			GER = {
				ENG_focus_available_war = yes
			}
		}
		bypass = {
			has_war_with = GER
		}
		will_lead_to_war_with = GER
		prerequisite = { focus = ENG_embargo_germany }
		icon = GFX_focus_attack_germany
		x = 0
		y = 1
		relative_position_id = ENG_embargo_germany
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = GER
				expire = 0
			} 
		}
	}

	### END ROAD TO WAR WITH GERMANY ###

	### SCANDINAVIAN BRANCH ####

	focus = {
		id = uk_scandinavian_focus
		available = {
			OR = {
				SWE = { 
					exists = yes
					OR = { 
						communism > 0.1
				 		fascism > 0.1
				 	} 
				}
				NOR = { 
					exists = yes
					OR = { 
						communism > 0.1
				 		fascism > 0.1
				 	} 
				}
				DEN = {
					exists = yes
					OR = { 
						communism > 0.1
				 		fascism > 0.1
				 	} 
				}				
			}			
		}
		prerequisite = { focus = ENG_home_defence }
		icon = GFX_goal_generic_position_armies
		x = -3
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = ENG_home_defence
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_named_threat = { threat = 1 name = uk_scandinavian_focus }
			USA = {
				add_opinion_modifier = { target = ENG modifier = scandinavian_intervention } 
			}
			SWE = {
				add_opinion_modifier = { target = ENG modifier = unprovoked_aggression } 
				if = {
					limit = {
						has_war = no
						NOT = { is_in_faction_with = GER }
					}
						country_event = britain.7
				}
			}
			NOR = {
				add_opinion_modifier = { target = ENG modifier = unprovoked_aggression } 
				if = {
					limit = {
						has_war = no
						NOT = { is_in_faction_with = GER }
					}
						country_event = britain.7
				}
			}
			DEN = {
				add_opinion_modifier = { target = ENG modifier = unprovoked_aggression } 
			}
			FIN = {
				add_opinion_modifier = { target = ENG modifier = unprovoked_aggression } 
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.222 }
			}
		}
	}

	focus = {
		id = ENG_swedish_intervention
		available = {
			SWE = {
				exists = yes
				OR = {
					communism > 0.2
					fascism > 0.2
				}
			}		
		}

		will_lead_to_war_with = SWE

		prerequisite = { focus = uk_scandinavian_focus }
		icon = GFX_focus_generic_attack_sweden

		x = -1
		y = 1
		relative_position_id = uk_scandinavian_focus

		cost = 10

		ai_will_do = {
			factor = 1
		}	

		completion_reward = {

			create_wargoal = {
				type = puppet_wargoal_focus
				target = SWE
				expire = 0
			}
			if = {
				limit = { NOT = { has_idea = ENG_continuation_of_politics } }
				add_ideas = ENG_continuation_of_politics
			}
		}

	}

	focus = {
		id = ENG_norwegian_intervention

		available = {
			NOR = {
				exists = yes
				OR = {
					communism > 0.2
					fascism > 0.2
				}
			}
		}	

		will_lead_to_war_with = NOR

		prerequisite = { focus = uk_scandinavian_focus }

		icon = GFX_focus_generic_attack_norway

		x = 0
		y = 2
		relative_position_id = uk_scandinavian_focus

		cost = 10

		ai_will_do = {
			factor = 1
		}	

		completion_reward = {

			create_wargoal = {
				type = puppet_wargoal_focus
				target = NOR
				expire = 0
			}
			if = {
				limit = { NOT = { has_idea = ENG_continuation_of_politics } }
				add_ideas = ENG_continuation_of_politics
			}

		}

	}

	focus = {
		id = ENG_danish_intervention
		available = {
			DEN = {

				exists = yes
				OR = {
					communism > 0.2
					fascism > 0.2
				}
			}
		}	

		will_lead_to_war_with = DEN

		prerequisite = { focus = uk_scandinavian_focus }

		icon = GFX_focus_generic_attack_denmark

		x = 1
		y = 1
		relative_position_id = uk_scandinavian_focus

		cost = 10

		ai_will_do = {
			factor = 1
		}	

		completion_reward = {

			create_wargoal = {
				type = puppet_wargoal_focus
				target = DEN
				expire = 0
			}
			if = {
				limit = { NOT = { has_idea = ENG_continuation_of_politics } }
				add_ideas = ENG_continuation_of_politics
			}

		}

	}

	### END SCANDINAVIAN BRANCH ###

	focus = {
		id = ENG_prepare_for_the_inevitable
		available = {

		}		
		prerequisite = { focus = ENG_home_defence }

		icon = GFX_goal_generic_construction

		x = -1
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = ENG_home_defence

		cost = 10

		ai_will_do = {
			factor = 1
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }	

		completion_reward = {
			IF = {
				limit = {
					NOT = {
						has_idea = wartime_industry_focus
					}
				}
				add_ideas = ENG_prepare_for_the_inevitable_idea
			}
			ELSE = {
				swap_ideas = {
					remove_idea = wartime_industry_focus
					add_idea = ENG_prepare_for_the_inevitable_and_wartime_industry_idea
				}	
			}
		}
	}

	### BENELUX INTERVENTION ###

	focus = {
		id = ENG_benelux_intervention
		available = {
			OR = {
				BEL = {
					exists = yes
					OR = { 
						communism > 0.15
				 		fascism > 0.15
				 	} 
				}
				HOL = { 
					exists = yes
					OR = { 
						communism > 0.15
				 		fascism > 0.15
				 	} 
				}								
			}			
		}
		prerequisite = { focus = ENG_home_defence }
		icon = GFX_goal_generic_position_armies
		x = 1
		y = 1
		offset = {
			x = 1
			y = 0
			trigger = {
				NOT = { has_dlc = "Man the Guns" }
			}
		}
		relative_position_id = ENG_home_defence
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_named_threat = { threat = 1 name = ENG_benelux_intervention }
			USA = {
				add_opinion_modifier = { target = ENG modifier = ENG_benelux_intervention_USA } 
			}
			BEL = {
				add_opinion_modifier = { target = ENG modifier = ENG_benelux_intervention_BEL_HOL } 
			}
			HOL = {
				add_opinion_modifier = { target = ENG modifier = ENG_benelux_intervention_BEL_HOL } 
			}	
			hidden_effect = {
				news_event = { hours = 6 id = news.223 }
			}		
		}
	}

	focus = {
		id = ENG_belgium_security
		available = {
			BEL = {
				exists = yes
				OR = {
					communism > 0.2
					fascism > 0.2
				}
			}
		}		
		prerequisite = { focus = ENG_benelux_intervention }
		icon = GFX_goal_generic_attack_allies
		x = -1
		y = 1
		relative_position_id = ENG_benelux_intervention
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = BEL
				expire = 0
			}
			if = {
				limit = { NOT = { has_idea = ENG_continuation_of_politics } }
				add_ideas = ENG_continuation_of_politics
			}
		}
	}
	focus = {
		id = ENG_dutch_security
		available = {
			HOL = {
				exists = yes
				OR = {
					communism > 0.2
					fascism > 0.2
				}
			}
		}		
		will_lead_to_war_with = HOL
		prerequisite = { focus = ENG_benelux_intervention }
		icon = GFX_goal_generic_attack_allies
		x = 1
		y = 1
		relative_position_id = ENG_benelux_intervention
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = HOL
				expire = 0
			}
			if = {
				limit = { NOT = { has_idea = ENG_continuation_of_politics } }
				add_ideas = ENG_continuation_of_politics
			}
		}
	}

	### END BENELUX INTERVENTION ###
	### END HOME DEFENCE BRANCH ###

	### A CHANGE IN COURSE BRANCH ###

	focus = {
		id = ENG_a_change_in_course
		mutually_exclusive = { focus = ENG_steady_as_she_goes }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = ENG_steady_as_she_goes
				}
			}
		}

		available = {

		}
		icon = GFX_focus_generic_strike_at_democracy2
		x = 18
		y = 0
		relative_position_id = ENG_steady_as_she_goes

		offset = {
			x = -18
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_a_change_in_course
			}
		}

		offset = {
			x = -5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_the_kings_party
			}
		}

		offset = {
			x = -3
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_organize_the_blackshirts
			}
		}

		offset = {
			x = 1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_organize_the_blackshirts
				has_completed_focus = uk_empire_focus
			}
		}

		offset = {
			x = -4
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_concessions_to_the_trade_unions
			}
		}

		cost = 5
		ai_will_do = {
			factor = 1
		}	
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_timed_idea = { idea = ENG_a_change_in_course_idea days = 365 }
			hidden_effect = {
				POL = {
					add_ai_strategy = {
						type = alliance
						id = "ENG"
						value = -200
					}
				}
				POL = {
					add_ai_strategy = {
						type = befriend
						id = "ENG"
						value = -200
					}
				}
				add_ai_strategy = {
					type = alliance
					id = POL
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = POL
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = POL
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = FRA
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = FRA
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = FRA
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = HOL
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = HOL
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = HOL
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = BEL
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = BEL
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = BEL
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = LUX
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = LUX
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = LUX
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = DEN
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = DEN
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = DEN
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = NOR
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = NOR
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = NOR
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = CZE
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = CZE
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = CZE
					value = -200
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	### UNALIGNED BRANCH ###

	focus = {
		id = ENG_the_kings_party
		prerequisite = { focus = ENG_a_change_in_course }
		mutually_exclusive = { focus = ENG_organize_the_blackshirts focus = ENG_concessions_to_the_trade_unions }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = ENG_organize_the_blackshirts
						has_completed_focus = ENG_concessions_to_the_trade_unions
						has_completed_focus = ENG_steady_as_she_goes
					}
				}
			}
		}

		offset = {
			x = 5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_the_kings_party
			}
		}

		available = {
			has_country_flag = edward_viii_married_wallis_simpson
			is_subject = no
			has_war = no
		}

		icon = GFX_focus_eng_the_kings_party

		x = -5
		y = 1
		relative_position_id = ENG_a_change_in_course

		cost = 10

		ai_will_do = {
			factor = 1
		}

		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}	

		completion_reward = {
			set_rule = { can_send_volunteers = yes }
			add_ideas = ENG_the_kings_party_idea
			custom_effect_tooltip = generic_skip_one_line_tt
			set_party_name = { ideology = neutrality long_name = ENG_neutrality_party_kings_party_long name = ENG_neutrality_party_kings_party }
			hidden_effect = {
				kill_country_leader = yes
			}
			set_politics = { ruling_party = neutrality elections_allowed = no }
			add_popularity = { ideology = neutrality popularity = 0.15 }
			custom_effect_tooltip = generic_skip_one_line_tt
			remove_ideas = ENG_king_edward
			create_country_leader = {
				name = "Edward VIII"
				desc = "POLITICS_EDWARD_EDWARD_DESC"
				picture = GFX_portrait_Edward_VIII
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					inexperienced_imperialist
				}
			}

			hidden_effect = { news_event = { id = mtg_news.19 days = 1 } }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ENG_winston_churchill
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ENG_oswald_mosley
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ENG_david_lloyd_george
			hidden_effect = {
				add_ai_strategy = {
					type = contain
					id = GER
					value = -200
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = ENG_reassess_continental_commitments
		prerequisite = { focus = ENG_the_kings_party }
		available = {
			is_subject = no
			NOT = {
				has_war_together_with = FRA 
			}
		}
		icon = GFX_goal_generic_position_armies
		x = -1
		y = 1
		relative_position_id = ENG_the_kings_party
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}	
		completion_reward = {
			remove_ideas = ENG_the_war_to_end_all_wars
			add_war_support = 0.05
			FRA = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_reassessed_continental_committments_bad }
				}
			}
			POL = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_reassessed_continental_committments_bad }
				}
			}
			CZE = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_reassessed_continental_committments_bad }
				}
			}
			HOL = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_reassessed_continental_committments_bad }
				}
			}
			BEL = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_reassessed_continental_committments_bad }
				}
			}
			LUX = {
				if = {
					limit = { NOT = { is_in_faction_with = ENG } }
					add_opinion_modifier = { target = ENG modifier = ENG_reassessed_continental_committments_bad }
				}
			}
			GER = {
				if = {
					limit = {
						OR = {
							has_government = fascism
							has_government = neutrality
						}
					}
					add_opinion_modifier = { target = ENG modifier = ENG_reassessed_continental_committments_good }
				}
			}
		}
	}

	focus = {
		id = ENG_isolate_the_mediterranean_threat
		prerequisite = { focus = ENG_reassess_continental_commitments }
		available = {
			is_subject = no
			NOT = { is_in_faction_with = ITA }
		}
		bypass = {
			OR = {
				NOT = { country_exists = ITA }
				ITA = {
					is_in_faction = yes
					NOT = { is_in_faction_with = GER }
				}
			}
		}
		icon = GFX_goal_generic_forceful_treaty
		x = 0
		y = 1
		relative_position_id = ENG_reassess_continental_commitments
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			GER = { country_event = { id = mtg_britain.23 hours = 6 } }
		}
	}

	focus = {
		id = ENG_alliance_with_germany
		prerequisite = { focus = ENG_isolate_the_mediterranean_threat }
		mutually_exclusive = { focus = ENG_noninterference_treaty_with_germany }
		available = {
			is_subject = no
			country_exists = GER
			NOT = { has_war_with = GER }
			GER = { has_government = fascism }
			NOT = { has_country_flag = ENG_germany_rejected_isolate_the_italian_threat }
		}
		bypass = {
			is_in_faction_with = GER
		}
		icon = GFX_focus_chi_mission_to_germany
		x = -1
		y = 1
		relative_position_id = ENG_isolate_the_mediterranean_threat
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			hidden_effect = {
				set_temp_variable = {
					var = alliance_with_germany_var
					value = party_popularity@democratic
				}
				multiply_temp_variable = {
					var = alliance_with_germany_var
					value = -0.5
				}
			}
			custom_effect_tooltip = ENG_alliance_with_germany_tt
			add_stability = alliance_with_germany_var
			GER = { country_event = { id = mtg_britain.27 hours = 6 } }
		}
	}

	focus = {
		id = ENG_noninterference_treaty_with_germany
		prerequisite = { focus = ENG_isolate_the_mediterranean_threat }
		mutually_exclusive = { focus = ENG_alliance_with_germany }
		available = {
			is_subject = no
			country_exists = GER
			NOT = { has_war_with = GER }
		}
		bypass = {
			NOT = { country_exists = GER }
			has_country_flag = ENG_germany_rejected_isolate_the_italian_threat
			has_non_aggression_pact_with = GER
		}
		icon = GFX_goal_generic_dangerous_deal
		x = 1
		y = 1
		relative_position_id = ENG_isolate_the_mediterranean_threat
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			GER = { country_event = { id = mtg_britain.30 hours = 6 } }
		}
	}

	focus = {
		id = ENG_take_out_the_regia_marina
		prerequisite = { focus = ENG_noninterference_treaty_with_germany focus = ENG_alliance_with_germany }
		available = {
			is_subject = no
			country_exists = ITA
			NOT = { is_in_faction_with = ITA }
		}
		icon = GFX_goal_generic_major_war
		will_lead_to_war_with = ITA
		x = -1
		y = 1
		relative_position_id = ENG_noninterference_treaty_with_germany
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ITA
				expire = 0
			}
		}
	}

	### FASCIST BRANCH ###

	focus = {
		id = ENG_organize_the_blackshirts
		prerequisite = { focus = ENG_a_change_in_course }
		mutually_exclusive = { focus = ENG_the_kings_party focus = ENG_concessions_to_the_trade_unions }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = ENG_the_kings_party
						has_completed_focus = ENG_concessions_to_the_trade_unions
						has_completed_focus = ENG_steady_as_she_goes
					}
				}
			}
		}

		offset = {
			x = 1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_organize_the_blackshirts
			}
		}

		available = {
			is_subject = no
			has_war = no
			if = {
				limit = {
					NOT = { has_country_flag = ENG_abdication_crisis_changed_mind }
				}
				NOT = { has_country_flag = edward_viii_refused_to_abdicate_flag }
			}
		}
		icon = GFX_focus_eng_organise_the_blackshirts
		x = -1
		y = 1
		relative_position_id = ENG_a_change_in_course
		cancel_if_invalid = yes
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_country_flag = ENG_abdication_crisis_normal_marriage
					has_country_flag = ENG_abdication_crisis_morganatic_marriage
				}
			}
		}
		search_filters = {FOCUS_FILTER_POLITICAL}	
		completion_reward = {
			add_political_power = 200
			custom_effect_tooltip = ENG_organize_the_blackshirts_tt
			hidden_effect = {
				news_event = { id = mtg_news.23 days = 1 }
				add_ai_strategy = {
					type = alliance
					id = GRE
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = GRE
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = GRE
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = YUG
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = YUG
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = YUG
					value = -200
				}
				add_ai_strategy = {
					type = contain
					id = ITA
					value = -200
				}
				add_ai_strategy = {
					type = alliance
					id = GER
					value = -50
				}
				add_ai_strategy = {
					type = befriend
					id = GER
					value = -50
				}
				add_ai_strategy = {
					type = protect
					id = GER
					value = -50
				}
				GER = {
					add_ai_strategy = {
						type = alliance
						id = ROOT
						value = -50
					}
					add_ai_strategy = {
						type = befriend
						id = ROOT
						value = -50
					}
					add_ai_strategy = {
						type = protect
						id = ROOT
						value = -50
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = ENG_the_british_path_to_fascism
		prerequisite = { focus = ENG_organize_the_blackshirts }
		available = {
			is_subject = no
			has_government = fascism
		}
		icon = GFX_goal_support_fascism
		x = 1
		y = 1
		relative_position_id = ENG_organize_the_blackshirts
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			remove_ideas = ENG_the_war_to_end_all_wars
			add_stability = 0.05
			add_war_support = 0.05
			GER = {
				if = {
					limit = {
						has_government = fascism
					}
					add_opinion_modifier = { target = ENG modifier = ENG_the_british_path_to_fascism }
				}
			}
		}
	}

	focus = {
		id = ENG_secure_the_italian_alliance
		prerequisite = { focus = ENG_the_british_path_to_fascism }
		available = {
			is_subject = no
			country_exists = ITA
			NOT = { has_war_together_with = FRA }
			NOT = { has_war_with = ITA }
			ITA = { is_in_faction = no }
		}
		bypass = {
			OR = {
				ITA = {	exists = no }
				ITA = { is_subject = yes }
				ITA = { is_in_faction = yes }
				if = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					ITA = {
						OR = {
							has_completed_focus = ITA_defy_the_duce
							custom_trigger_tooltip = {
								tooltip = ITA_RDS_exists_tt
								tag = RDS
							}
						}
					}
				}
			}
		}
		icon = GFX_goal_generic_major_alliance
		x = 0
		y = 1
		relative_position_id = ENG_the_british_path_to_fascism
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_ai_strategy = {
				type = antagonize
				id = GER
				value = 200
			}
			add_ai_strategy = {
				type = alliance
				id = GER
				value = -200
			}
			add_ai_strategy = {
				type = befriend
				id = GER
				value = -200
			}
			add_ai_strategy = {
				type = protect
				id = GER
				value = -200
			}
			GER = {
				add_ai_strategy = {
					type = antagonize
					id = ROOT
					value = 200
				}
				add_ai_strategy = {
					type = alliance
					id = ROOT
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = ROOT
					value = -200
				}
			}
			if = {
				limit = {
					is_in_faction_with = FRA
					has_war = no
				}
				remove_from_faction = FRA
			}
			ITA = {
				if = {
					limit = {
						has_government = fascism
					}
					add_opinion_modifier = { target = ENG modifier = ENG_broke_french_relations }
				}
			}
			ITA = { country_event = { id = mtg_britain.36 hours = 6 } }
		}
	}

	focus = {
		id = ENG_gibraltar_for_spanish_support
		prerequisite = { focus = ENG_secure_the_italian_alliance }
		mutually_exclusive = { focus = ENG_pre_empt_spanish_alignment }
		available = {
			is_subject = no
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				any_country = {
					original_tag = SPR
					has_government = fascism
					exists = yes
					NOT = { is_in_faction_with = ENG }
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = {
					exists = yes
					NOT = { is_in_faction_with = ENG }
				}
			}
			has_global_flag = scw_over
		}
		icon = GFX_goal_generic_dangerous_deal
		x = -1
		y = 1
		relative_position_id = ENG_secure_the_italian_alliance
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				random_country = {
					limit = {
						original_tag = SPR
						has_government = fascism
					}
					country_event = { id = mtg_britain.40 hours = 6 }
				}
			}
			ELSE = {
				SPA = {
					country_event = { id = mtg_britain.40 hours = 6 }
				}
			}
		}
	}

	focus = {
		id = ENG_pre_empt_spanish_alignment
		prerequisite = { focus = ENG_secure_the_italian_alliance }
		mutually_exclusive = { focus = ENG_gibraltar_for_spanish_support }
		available = {
			is_subject = no
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				any_country = {
					original_tag = SPR
					has_government = fascism
					exists = yes
					NOT = { is_in_faction_with = ENG }
					NOT = { has_war_with = ENG }
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				SPA = {
					exists = yes
					NOT = { is_in_faction_with = ENG }
					NOT = { has_war_with = ENG }
				}
			}
			has_global_flag = scw_over
		}
		bypass = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				NOT = {
					any_country = {
						original_tag = SPR
						has_government = fascism
						exists = yes
					}
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				NOT = {
					country_exists = SPA
				}
			}
			has_global_flag = scw_over
		}
		icon = GFX_goal_generic_more_territorial_claims
		x = 1
		y = 1
		relative_position_id = ENG_secure_the_italian_alliance
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				if = {
					limit = {
						NOT = { has_dlc = "La Resistance" }
					}
					any_country = {
						original_tag = SPR
						has_government = fascism
						exists = yes
						is_in_faction_with = GER
					}
				}
				if = {
					limit = {
						has_dlc = "La Resistance"
					}
					SPA = {
						exists = yes
						is_in_faction_with = GER
					}
				}
			}
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				random_country = {
					limit = {
						original_tag = SPR
						has_government = fascism
					}
					ENG = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = PREV
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				ENG = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = SPA
						expire = 0
					}
				}
			}
		}
	}

	focus = {
		id = ENG_prevent_a_continental_hegemony
		prerequisite = { focus = ENG_gibraltar_for_spanish_support focus = ENG_pre_empt_spanish_alignment }
		available = {
			is_subject = no
			country_exists = GER
			NOT = { is_in_faction_with = GER }
		}
		will_lead_to_war_with = GER
		icon = GFX_goal_generic_major_war
		x = 1
		y = 1
		relative_position_id = ENG_gibraltar_for_spanish_support
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = GER
				expire = 0
			}
		}
	}

	focus = {
		id = ENG_enact_the_mosley_manifesto
		prerequisite = { focus = ENG_the_british_path_to_fascism }
		available = {

		}
		icon = GFX_goal_generic_construct_mil_factory
		x = 2
		y = 1
		relative_position_id = ENG_the_british_path_to_fascism
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = enact_the_mosley_memorandum_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = enact_the_mosley_memorandum_2AF }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_idea = limited_exports }
					NOT = { has_idea = closed_economy }
				}
				add_ideas = limited_exports
			}
			add_ideas = ENG_the_mosley_memorandum_idea
			custom_effect_tooltip = generic_skip_one_line_tt
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = enact_the_mosley_memorandum_2IC
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = enact_the_mosley_memorandum_2AF
			}
		}
	}

	### UNALIGNED/FASCIST SHARED PATH ###

	focus = {
		id = ENG_god_save_the_king
		prerequisite = { focus = ENG_the_kings_party focus = ENG_organize_the_blackshirts }
		available = {
			is_subject = no
			OR = {
				has_government = neutrality
				has_government = fascism
			}
		}
		icon = GFX_focus_eng_god_save_the_king
		x = 2
		y = 1
		relative_position_id = ENG_the_kings_party
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT}	
		completion_reward = {
			if = {
				limit = {
					has_country_leader = { ruling_only = yes name = "Edward VIII" }
				}
				add_stability = 0.05
				remove_country_leader_trait = inexperienced_imperialist
				add_country_leader_trait = autocratic_imperialist
			}
			if = {
				limit = {
					NOT = { has_country_leader = { ruling_only = yes name = "Edward VIII" } }
				}
				add_stability = 0.05
				add_war_support = 0.1
			}
		}
	}

	focus = {
		id = ENG_ceylon_forward_operating_base
		prerequisite = { focus = ENG_god_save_the_king }
		available = {
			has_full_control_of_state = 422
			hidden_trigger = {
					if = {
						limit = {
							has_dlc = "Graveyard of Empires"
							has_event_target = UK_INDIA
						}
						event_target:UK_INDIA = { is_subject_of = ENG }
					}
				}
			}
		bypass = {
			OR = {
				RAJ = {
					is_in_faction_with = ENG
					OR = {
						has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
						has_country_flag = britain_enforced_our_loyalty
					}
				}
				has_completed_focus = ENG_towards_indian_independence
				if = {
					limit = {
						has_dlc = "Graveyard of Empires"
						has_event_target = UK_INDIA
					}
					
					event_target:UK_INDIA = {
						exists = no
						NOT = { is_subject_of = ROOT }
					}
				}
			}
		}

		icon = GFX_goal_generic_position_armies
		x = -1
		y = 1
		relative_position_id = ENG_god_save_the_king
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			# Ceylon
			422 = {
				if = {
					limit = {
						is_controlled_by = ROOT
					}
					add_building_construction = {
						type = infrastructure
						level = 3
						instant_build = yes
					}
					add_building_construction = {
						type = air_base
						level = 5
						instant_build = yes
					}
					# Singapore
					add_building_construction = {
						type = naval_base
						level = 5
						province = 7260
						instant_build = yes
					}
				}								
			}
		}
	}

	focus = {
		id = ENG_imperial_conscription
		prerequisite = { focus = ENG_ceylon_forward_operating_base }	
		available = {

		}
		icon = GFX_focus_generic_commonwealth_build_infantry
		x = 0
		y = 2
		relative_position_id = ENG_ceylon_forward_operating_base
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_MANPOWER}	
		completion_reward = {
			add_ideas = ENG_imperial_conscription_idea
			every_country = {
				limit = {
					is_subject_of = ENG
				}
				add_ideas = ENG_imperial_conscription_subject_idea
			}
		}
	}

	focus = {
		id = ENG_reclaim_burma
		prerequisite = { focus = ENG_imperial_conscription }	
		available = {
			is_subject = no
			BRM = {
				exists = yes
				NOT = {
					is_subject_of = ROOT
				}
			}

		}
		bypass = {
			OR = {
				NOT = { country_exists = BRM }
				BRM = {
					is_in_faction_with = ENG
					OR = {
						has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
						has_country_flag = britain_enforced_our_loyalty
					}
				}
				has_completed_focus = ENG_towards_indian_independence
			}
		}
		icon = GFX_goal_generic_occupy_states_ongoing_war
		will_lead_to_war_with = BRM
		x = 1
		y = 2
		relative_position_id = ENG_imperial_conscription
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			every_state = {
				limit = {
					OR = {
						is_core_of = BRM
					}
					NOT = { state = 321 }
					NOT = { state = 320 }
				}
				add_claim_by = ENG
			}
			if = {
				limit = {
					country_exists = BRM
				}
				create_wargoal = {
					type = annex_everything
					target = BRM
					expire = 0
				}
			}
		}
	}

	focus = {
		id = ENG_pre_empt_the_ideological_threat
		prerequisite = { focus = ENG_imperial_conscription focus = ENG_take_out_the_regia_marina }	
		available = {
			is_subject = no
			country_exists = SOV
			NOT = { is_in_faction_with = SOV }
			SOV = { has_government = communism }
		}
		will_lead_to_war_with = SOU
		icon = GFX_focus_attack_soviet
		x = -2
		y = 1
		relative_position_id = ENG_imperial_conscription
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = SOV
				expire = 0
			}
		}
	}

	focus = {
		id = ENG_expose_the_belly_of_the_bear
		prerequisite = { focus = ENG_pre_empt_the_ideological_threat }	
		available = {
			is_subject = no
			OR = {
				AND = {
					country_exists = PER
					NOT = { is_in_faction_with = PER }
				}
				AND = {
					country_exists = AFG
					NOT = { is_in_faction_with = AFG }
				}
			}
		}
		will_lead_to_war_with = PER
		will_lead_to_war_with = AFG
		icon = GFX_focus_eng_expose_the_belly_of_the_bear
		x = -1
		y = 1
		relative_position_id = ENG_pre_empt_the_ideological_threat
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			PER = {
				if = {
					limit = {
						exists = yes
						NOT = { is_in_faction_with = ENG }
					}
					country_event = { id = mtg_britain.79 hours = 6 }
				} 	
			}
			AFG = {
				if = {
					limit = {
						exists = yes
						NOT = { is_in_faction_with = ENG }
					}
					country_event = { id = mtg_britain.79 hours = 6 }
				} 
			}
		}
	}

	focus = {
		id = ENG_reclaim_the_jewel_in_the_crown
		prerequisite = { focus = ENG_imperial_conscription }	
		available = {
			is_subject = no
			if = {
				limit = {
					has_dlc = "Graveyard of Empires"
				}
				RAJ = {
					NOT = { is_subject_of = ENG }
				}
				hidden_trigger = {
					if = {
						limit = {
							has_dlc = "Graveyard of Empires"
							has_event_target = UK_INDIA
						}
						event_target:UK_INDIA = { NOT = {is_subject_of = ENG} }
					}
				}
			}
		}
		bypass = {
			OR = {
				NOT = { country_exists = RAJ }
				RAJ = {
					is_in_faction_with = ENG
					OR = {
						has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
						has_country_flag = britain_enforced_our_loyalty
					}
				}
				has_completed_focus = ENG_towards_indian_independence
			}
			if = {
					limit = {
						has_dlc = "Graveyard of Empires"
						has_event_target = UK_INDIA
					}
					NOT = { country_exists = event_target:UK_INDIA }
					event_target:UK_INDIA = {
						is_in_faction_with = ENG
					}
				}	
			}
		icon = GFX_focus_RAJ_british_investors
		will_lead_to_war_with = RAJ
		will_lead_to_war_with = PAK
		will_lead_to_war_with = BAN
		x = -1
		y = 2
		relative_position_id = ENG_imperial_conscription
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			every_state = {
				limit = {
					OR = {
						is_core_of = PAK
						is_core_of = RAJ
					}
					NOT = { state = 321 }
					NOT = { state = 320 }
				}
				add_claim_by = ENG
			}
			if = {
				limit = {
					country_exists = RAJ
				}
				create_wargoal = {
					type = annex_everything
					target = RAJ
					expire = 0
				}
			}
			if = {
				limit = {
					country_exists = PAK
				}
				create_wargoal = {
					type = annex_everything
					target = PAK
					expire = 0
				}
			}
			if = {
				limit = {
					country_exists = BAN
				}
				create_wargoal = {
					type = annex_everything
					target = BAN
					expire = 0
				}
			}
		}
	}

	focus = {
		id = ENG_consolidate_the_british_isles
		prerequisite = { focus = ENG_god_save_the_king }	
		available = {
			is_subject = no
			country_exists = IRE
			NOT = { is_in_faction_with = IRE }
		}
		bypass = {
			owns_state = 113
			owns_state = 134
			owns_state = 135
			owns_state = 119
			owns_state = 122
			owns_state = 133
			owns_state = 121
			owns_state = 136
			owns_state = 120
		}
		will_lead_to_war_with = IRE
		icon = GFX_goal_generic_occupy_states_ongoing_war
		x = 0
		y = 2
		relative_position_id = ENG_god_save_the_king
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			every_other_country = {
				limit = {
					OR = {
						owns_state = 113
						owns_state = 134
						owns_state = 135
						owns_state = 119
						owns_state = 122
						owns_state = 133
						owns_state = 121
						owns_state = 136
						owns_state = 120
					}
				}
				ENG = {
					add_state_claim = 113
					add_state_claim = 134
					add_state_claim = 135
					create_wargoal = {
						type = annex_everything
						target = PREV
						expire = 0
					}
				}
			}
		}
	}

	focus = {
		id = ENG_unite_the_anglosphere
		#prerequisite = { focus = ENG_consolidate_the_british_isles }
		prerequisite = { focus = ENG_imperial_conscription }
		prerequisite = { focus = ENG_bring_the_dominions_back_into_the_fold }
		available = {
			is_subject = no
			country_exists = USA
			NOT = { is_in_faction_with = USA }
		}
		will_lead_to_war_with = USA
		icon = GFX_focus_eng_unite_the_anglosphere
		x = 1
		y = 2
		relative_position_id = ENG_consolidate_the_british_isles
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			if = {
				limit = {
					owns_state = 113
					owns_state = 134
					owns_state = 135
				}
				113 = { add_core_of = ENG }
				134 = { add_core_of = ENG }
				135 = { add_core_of = ENG }
			}
			create_wargoal = {
				type = annex_everything
				target = USA
				expire = 0
			}
		}
	}

	focus = {
		id = ENG_appeal_to_imperial_loyalists
		prerequisite = { focus = ENG_god_save_the_king }	
		available = {
			is_subject = no
			OR = {
				country_exists = CAN
				country_exists = SAF
				country_exists = AST
				country_exists = NZL
			}
		}
		bypass = {
			OR = {
				AND = {
					is_in_faction_with = CAN
					CAN = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
					is_in_faction_with = SAF
					SAF = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
					is_in_faction_with = AST
					AST = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
					is_in_faction_with = NZL
					NZL = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
				}
				NOT = {
					country_exists = CAN
					country_exists = SAF
					country_exists = AST
					country_exists = NZL
				}
				has_completed_focus = ENG_towards_dominion_independence
			}
		}
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		x = 1
		y = 1
		relative_position_id = ENG_god_save_the_king
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			custom_effect_tooltip = ENG_appeal_to_imperial_loyalists_tt
		}
	}

	focus = {
		id = ENG_bring_the_dominions_back_into_the_fold
		prerequisite = { focus = ENG_appeal_to_imperial_loyalists }	
		available = {
			is_subject = no
		}
		bypass = {
			OR = {
				AND = {
					NOT = { country_exists = CAN }
					NOT = { country_exists = SAF }
					NOT = { country_exists = AST }
					NOT = { country_exists = NZL }
				}
				AND = {
					is_in_faction_with = CAN
					CAN = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
					is_in_faction_with = SAF
					SAF = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
					is_in_faction_with = AST
					AST = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
					is_in_faction_with = NZL
					NZL = {
						OR = {
							has_country_flag = ENG_dominions_stayed_with_fascist_britain_flag
							has_country_flag = britain_enforced_our_loyalty
						}
					}
				}
				has_completed_focus = ENG_towards_dominion_independence
			}
		}
		will_lead_to_war_with = CAN
		will_lead_to_war_with = SAF
		will_lead_to_war_with = AST
		will_lead_to_war_with = NZL
		icon = GFX_focus_eng_bring_the_dominions_back_into_the_fold
		x = 0
		y = 2
		relative_position_id = ENG_appeal_to_imperial_loyalists
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			if = {
				limit = {
					NOT = { is_in_faction_with = CAN }
					is_ai = no
				}
				every_state = {
					limit = {
						is_core_of = CAN
					}
					add_claim_by = ENG
				}
				create_wargoal = {
					type = annex_everything
					target = CAN
					expire = 0
				}
			}
			if = {
				limit = {
					NOT = { is_in_faction_with = SAF }
					is_ai = no
				}
				every_state = {
					limit = {
						is_core_of = SAF
					}
					add_claim_by = ENG
				}
				create_wargoal = {
					type = annex_everything
					target = SAF
					expire = 0
				}
			}
			if = {
				limit = {
					NOT = { is_in_faction_with = AST }
					is_ai = no
				}
				every_state = {
					limit = {
						is_core_of = AST
					}
					add_claim_by = ENG
				}
				create_wargoal = {
					type = annex_everything
					target = AST
					expire = 0
				}
			}
			if = {
				limit = {
					NOT = { is_in_faction_with = NZL }
					is_ai = no
				}
				every_state = {
					limit = {
						is_core_of = NZL
					}
					add_claim_by = ENG
				}
				create_wargoal = {
					type = annex_everything
					target = NZL
					expire = 0
				}
			}
			custom_effect_tooltip = ENG_bring_the_dominions_back_into_the_fold_tt
		}
	}

	focus = {
		id = ENG_the_sun_never_sets
		prerequisite = { focus = ENG_bring_the_dominions_back_into_the_fold }	
		available = {

		}
		icon = GFX_focus_eng_the_sun_never_sets
		x = 1
		y = 2
		relative_position_id = ENG_bring_the_dominions_back_into_the_fold
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_RESEARCH}	
		completion_reward = {
			add_tech_bonus = {
				name = ENG_the_sun_never_sets
				bonus = 1.0
				uses = 1
				category = dd_tech
				category = cl_tech
				category = ca_tech
				category = bb_tech
				category = cv_tech
				category = ss_tech
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = ENG_the_sun_never_sets_idea
			custom_effect_tooltip = ENG_the_sun_never_sets_tt
		}
	}

	focus = {
		id = ENG_pre_empt_the_strategic_threat
		prerequisite = { focus = ENG_bring_the_dominions_back_into_the_fold }	
		available = {
			is_subject = no
			country_exists = JAP
			NOT = { is_in_faction_with = JAP }
			OR = {
				JAP = { has_government = fascism }
				JAP = { has_government = communism }
			}
		}
		bypass = {
			has_war_with = JAP
		}
		will_lead_to_war_with = JAP
		icon = GFX_focus_attack_japan
		x = 2
		y = 1
		relative_position_id = ENG_bring_the_dominions_back_into_the_fold
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
		}	
		completion_reward = {
			ENG_mosley_pacifism_level_down = yes
			create_wargoal = {
				type = puppet_wargoal_focus
				target = JAP
				expire = 0
			}
		}
	}

	### COMMUNIST BRANCH ###

	focus = {
		id = ENG_concessions_to_the_trade_unions
		prerequisite = { focus = ENG_a_change_in_course }
		mutually_exclusive = { focus = ENG_the_kings_party focus = ENG_organize_the_blackshirts }

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = ENG_the_kings_party
						has_completed_focus = ENG_organize_the_blackshirts
						has_completed_focus = ENG_steady_as_she_goes
					}
				}
			}
		}

		offset = {
			x = -5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_concessions_to_the_trade_unions
			}
		}

		available = {
			is_subject = no
			has_war = no
			if = {
				limit = {
					NOT = { has_country_flag = ENG_abdication_crisis_changed_mind }
				}
				NOT = { has_country_flag = edward_viii_refused_to_abdicate_flag }
			}
		}
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		x = 5
		y = 1
		relative_position_id = ENG_a_change_in_course
		cancel_if_invalid = yes
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_country_flag = ENG_abdication_crisis_normal_marriage
					has_country_flag = ENG_abdication_crisis_morganatic_marriage
				}
			}
			modifier = {
				factor = 0
				has_completed_focus = uk_empire_focus
			}
		}
		search_filters = {FOCUS_FILTER_STABILITY}	
		completion_reward = {
			add_stability = 0.1
			custom_effect_tooltip = ENG_concessions_to_the_trade_unions_tt
			custom_effect_tooltip = ENG_concessions_to_the_trade_unions_tt_3
			custom_effect_tooltip = ENG_concessions_to_the_trade_unions_tt_2
			hidden_effect = {
				random_list = {
					10 = {
						random_list = {
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_1 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_2 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_3 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_4 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_5 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_6 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_7 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_8 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_9 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_10 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_11 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_12 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_13 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_14 }
							6 = { set_country_flag = ENG_trade_unions_demand_minister_appointment_15 }
						}
						activate_mission = ENG_trade_unions_demand_minister_appointment_mission
					}
					10 = {
						set_country_flag = ENG_trade_unions_demand_legislation_amendment
						activate_mission = ENG_trade_unions_demand_legislation_amendment_mission
					}
					10 = {
						set_country_flag = ENG_trade_unions_demand_conscription_limitations
						activate_mission = ENG_trade_unions_demand_conscription_limitations_mission
					}
					10 = {
						set_country_flag = ENG_trade_unions_demand_workplace_safety_legislation
						activate_mission = ENG_trade_unions_demand_workplace_safety_legislation_mission
					}
					10 = {
						set_country_flag = ENG_trade_unions_demand_increase_in_paid_leave
						activate_mission = ENG_trade_unions_demand_increase_in_paid_leave_mission
					}
					10 = {
						set_country_flag = ENG_trade_unions_demand_minimum_pay_increase
						activate_mission = ENG_trade_unions_demand_minimum_pay_increase_mission
					}
					10 = {
						set_country_flag = ENG_trade_unions_demand_construction_safety_legislation
						activate_mission = ENG_trade_unions_demand_construction_safety_legislation_mission
					}
					10 = {
						set_country_flag = ENG_trade_unions_demand_mandatory_union_days
						activate_mission = ENG_trade_unions_demand_mandatory_union_days_mission
					}
				}
			}
			hidden_effect = { news_event = { id = mtg_news.33 days = 1 } }
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = ENG_move_to_secure_the_dominions
		prerequisite = { focus = ENG_organize_the_blackshirts focus = ENG_concessions_to_the_trade_unions }

		offset = {
			x = -5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ENG_concessions_to_the_trade_unions
			}
		}

		available = {
			is_subject = no
			has_war = no
			OR = {
				has_government = fascism
				has_government = communism
			}
			OR = {
				RAJ = { is_subject_of = ENG }
				CAN = { is_subject_of = ENG }
				SAF = { is_subject_of = ENG }
				AST = { is_subject_of = ENG }
				NZL = { is_subject_of = ENG }
			}
		}
		icon = GFX_focus_eng_move_to_secure_the_dominions
		x = 3
		y = 1
		relative_position_id = ENG_organize_the_blackshirts
		cost = 5
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL}	
		completion_reward = {
			add_political_power = 120
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = ENG_move_to_secure_the_dominions_tt
			if = {
				limit = {
					CAN = {
						is_subject_of = ENG
					}
				}
				CAN = { country_event = { id = mtg_britain.62 hours = 6 } }
			}
			if = {
				limit = {
					SAF = {
						is_subject_of = ENG
					}
				}
				SAF = { country_event = { id = mtg_britain.62 hours = 6 } }
			}
			if = {
				limit = {
					RAJ = {
						is_subject_of = ENG
					}
				}
				RAJ = { country_event = { id = mtg_britain.62 hours = 6 } }
			}
			if = {
				limit = {
					AST = {
						is_subject_of = ENG
					}
				}
				AST = { country_event = { id = mtg_britain.62 hours = 6 } }
			}
			if = {
				limit = {
					NZL = {
						is_subject_of = ENG
					}
				}
				NZL = { country_event = { id = mtg_britain.62 hours = 6 } }
			}
			hidden_effect = { news_event = { id = mtg_news.30 days = 1 } }
		}
	}

	focus = {
		id = ENG_the_fate_of_the_royal_family
		prerequisite = { focus = ENG_concessions_to_the_trade_unions }
		available = {
			has_government = communism
		}
		icon = GFX_goal_tfv_burn_the_royal_portraits
		x = -1
		y = 1
		relative_position_id = ENG_concessions_to_the_trade_unions
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL}	
		completion_reward = {
			add_political_power = 60
			country_event = { id = mtg_britain.43 }
		}
	}

	focus = {
		id = ENG_eliminate_the_upper_class
		prerequisite = { focus = ENG_concessions_to_the_trade_unions }
		available = {
			has_government = communism
		}
		icon = GFX_goal_generic_political_pressure
		x = 1
		y = 1
		relative_position_id = ENG_concessions_to_the_trade_unions
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL}	
		completion_reward = {
			add_political_power = 60
			custom_effect_tooltip = ENG_eliminate_the_upper_class_tt
			country_event = { id = mtg_britain.45 }
		}
	}

	focus = {
		id = ENG_for_the_good_of_the_revolution
		prerequisite = { focus = ENG_the_fate_of_the_royal_family }
		prerequisite = { focus = ENG_eliminate_the_upper_class }
		available = {

		}
		icon = GFX_focus_generic_soviet_politics
		x = 1
		y = 1
		relative_position_id = ENG_the_fate_of_the_royal_family
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			remove_ideas = ENG_the_war_to_end_all_wars
			add_ideas = ENG_for_the_good_of_the_revolution_idea
		}
	}

	### GO COMMUNIST ALONE BRANCH ###

	focus = {
		id = ENG_the_british_communist_alternative
		prerequisite = { focus = ENG_for_the_good_of_the_revolution }
		mutually_exclusive = { focus = ENG_follow_moscow }
		available = {
			is_subject = no
			NOT = { is_in_faction_with = SOU }
		}
		icon = GFX_focus_generic_join_comintern
		x = -2
		y = 1
		relative_position_id = ENG_for_the_good_of_the_revolution
		cost = 5
		ai_will_do = {
			factor = 10
		}
		search_filters = {FOCUS_FILTER_STABILITY}	
		completion_reward = {
			add_stability = 0.05
			dismantle_faction = yes
			create_faction = ENG_british_communist_alternative
			hidden_effect = { news_event = { id = mtg_news.36 days = 1 } }
			if = {
				limit = {
					has_country_leader = { character = ENG_harry_pollitt ruling_only = yes }
				}
				retire_country_leader = yes
				create_country_leader = {
					name = "Rajani Palme Dutt"
					desc = "POLITICS_PALME_DUTT_DESC"
					picture = GFX_portrait_Rajani_Palme_Dutt
					expire = "1965.1.1"
					ideology = leninism
					traits = {
						
					}
				}
			}
			add_ai_strategy = {
				type = alliance
				id = SOU
				value = -200
			}
			add_ai_strategy = {
				type = befriend
				id = SOU
				value = -200
			}
			add_ai_strategy = {
				type = protect
				id = SOU
				value = -200
			}
			SOU = {
				add_ai_strategy = {
					type = alliance
					id = ROOT
					value = -200
				}
				add_ai_strategy = {
					type = befriend
					id = ROOT
					value = -200
				}
				add_ai_strategy = {
					type = protect
					id = ROOT
					value = -200
				}
			}
		}
	}

	focus = {
		id = ENG_enforce_decolonization
		prerequisite = { focus = ENG_the_british_communist_alternative }
		mutually_exclusive = { focus = ENG_reach_out_across_the_channel }
		available = {
			is_subject = no
			has_completed_focus = ENG_decolonization
		}
		icon = GFX_goal_generic_forceful_treaty
		x = -1
		y = 1
		relative_position_id = ENG_the_british_communist_alternative
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			every_other_country = {
				limit = {
					OR = {
						AND = {
							NOT = { original_tag = PUE }
							owns_state = 686
							has_full_control_of_state = 686
						}
						PUE = {
							is_subject_of = PREV
						}
						"PHI" = {
							is_subject_of = PREV
						}
						AND = {
							NOT = { original_tag = GDL }
							owns_state = 694
							has_full_control_of_state = 694
						}
						AND = {
							NOT = { original_tag = SYR }
							owns_state = 677
							has_full_control_of_state = 677
							owns_state = 680
							has_full_control_of_state = 680
							owns_state = 554
							has_full_control_of_state = 554
						}
						AND = {
							NOT = { original_tag = LEB }
							owns_state = 553
							has_full_control_of_state = 553
						}
						AND = {
							NOT = { original_tag = MAD }
							owns_state = 543
							has_full_control_of_state = 543
						}
						AND = {
							owns_state = 670
							has_full_control_of_state = 670
						}
						AND = {
							owns_state = 741
							has_full_control_of_state = 741
						}
						AND = {
							owns_state = 671
							has_full_control_of_state = 671
							owns_state = 286
							has_full_control_of_state = 286
						}
						AND = {
							owns_state = 728
							has_full_control_of_state = 728
						}
						AND = {
							NOT = { original_tag = MOR }
							owns_state = 461
							has_full_control_of_state = 461
							owns_state = 462
							has_full_control_of_state = 462
						}
						AND = {
							NOT = { original_tag = ALG }
							owns_state = 459
							has_full_control_of_state = 459
							owns_state = 513
							has_full_control_of_state = 513
							owns_state = 460
							has_full_control_of_state = 460
							owns_state = 514
							has_full_control_of_state = 514
						}
						AND = {
							NOT = { original_tag = TUN }
							owns_state = 458
							has_full_control_of_state = 458
							owns_state = 665
							has_full_control_of_state = 665
						}
						AND = {
							NOT = { original_tag = DJI }
							owns_state = 268
							has_full_control_of_state = 268
						}
						AND = {
							NOT = { original_tag = RCG }
							owns_state = 772
							has_full_control_of_state = 772
						}
						AND = {
							NOT = { original_tag = GAB }
							owns_state = 539
							has_full_control_of_state = 539
						}
						AND = {
							NOT = { original_tag = CMR }
							owns_state = 773
							has_full_control_of_state = 773
						}
						AND = {
							NOT = { original_tag = CAR }
							owns_state = 660
							has_full_control_of_state = 660
						}
						AND = {
							NOT = { original_tag = CHA }
							owns_state = 774
							has_full_control_of_state = 774
							owns_state = 775
							has_full_control_of_state = 775
						}
						AND = {
							NOT = { original_tag = NGR }
							owns_state = 781
							has_full_control_of_state = 781
							owns_state = 515
							has_full_control_of_state = 515
						}
						AND = {
							NOT = { original_tag = DAH }
							owns_state = 776
							has_full_control_of_state = 776
						}
						AND = {
							NOT = { original_tag = TOG }
							owns_state = 777
							has_full_control_of_state = 777
						}
						AND = {
							NOT = { original_tag = VOL }
							owns_state = 778
							has_full_control_of_state = 778
						}
						AND = {
							NOT = { original_tag = IVO }
							owns_state = 779
							has_full_control_of_state = 779
						}
						AND = {
							NOT = { original_tag = GNA }
							owns_state = 780
							has_full_control_of_state = 780
						}
						AND = {
							NOT = { original_tag = MLI }
							owns_state = 556
							has_full_control_of_state = 556
							owns_state = 782
							has_full_control_of_state = 782
						}
						AND = {
							NOT = { original_tag = SEN }
							owns_state = 272
							has_full_control_of_state = 272
						}
						AND = {
							NOT = { original_tag = CAY }
							owns_state = 310
							has_full_control_of_state = 310
						}
						GDL = {
							is_subject_of = PREV
						}
						SYR = {
							is_subject_of = PREV
						}
						LEB = {
							is_subject_of = PREV
						}
						LAO = {
							is_subject_of = PREV
						}
						CAM = {
							is_subject_of = PREV
						}
						VIN = {
							is_subject_of = PREV
						}
						MAD = {
							is_subject_of = PREV
						}
						MOR = {
							is_subject_of = PREV
						}
						ALG = {
							is_subject_of = PREV
						}
						TUN = {
							is_subject_of = PREV
						}
						DJI = {
							is_subject_of = PREV
						}
						RCG = {
							is_subject_of = PREV
						}
						GAB = {
							is_subject_of = PREV
						}
						CMR = {
							is_subject_of = PREV
						}
						CAR = {
							is_subject_of = PREV
						}
						CHA = {
							is_subject_of = PREV
						}
						NGR = {
							is_subject_of = PREV
						}
						DAH = {
							is_subject_of = PREV
						}
						TOG = {
							is_subject_of = PREV
						}
						VOL = {
							is_subject_of = PREV
						}
						IVO = {
							is_subject_of = PREV
						}
						GNA = {
							is_subject_of = PREV
						}
						MLI = {
							is_subject_of = PREV
						}
						SEN = {
							is_subject_of = PREV
						}
						CAY = {
							is_subject_of = PREV
						}
						AND = {
							NOT = { original_tag = LBA }
							owns_state = 448
							has_full_control_of_state = 448
							owns_state = 661
							has_full_control_of_state = 661
							owns_state = 449
							has_full_control_of_state = 449
							owns_state = 662
							has_full_control_of_state = 662
							owns_state = 450
							has_full_control_of_state = 450
							owns_state = 451
							has_full_control_of_state = 451
							owns_state = 663
							has_full_control_of_state = 663
							owns_state = 273
							has_full_control_of_state = 273
						}
						AND = {
							NOT = { original_tag = ETH }
							owns_state = 271
							has_full_control_of_state = 271
						}
						AND = {
							NOT = { original_tag = ERI }
							owns_state = 550
							has_full_control_of_state = 550
						}
						AND = {
							NOT = { original_tag = SOM }
							owns_state = 559
							has_full_control_of_state = 559
						}
						LBA = {
							is_subject_of = PREV
						}
						ETH = {
							is_subject_of = PREV
						}
						ERI = {
							is_subject_of = PREV
						}
						SOM = {
							is_subject_of = PREV
						}
						AND = {
							NOT = { original_tag = KOR }
							owns_state = 527
							has_full_control_of_state = 527
							owns_state = 525
							has_full_control_of_state = 525
						}
						AND = {
							original_tag = JAP
							owns_state = 609
							has_full_control_of_state = 609
						}
						AND = {
							original_tag = JAP
							owns_state = 745
							has_full_control_of_state = 745
						}
						AND = {
							original_tag = JAP
							owns_state = 524
							has_full_control_of_state = 524
						}
						MAN = {
							is_subject_of = PREV
						}
						MEN = {
							is_subject_of = PREV
						}
						KOR = {
							is_subject_of = PREV
						}
						AND = {
							NOT = { original_tag = ANG }
							owns_state = 540
							has_full_control_of_state = 540
							owns_state = 891
							has_full_control_of_state = 891
							owns_state = 892
							has_full_control_of_state = 892
						}
						AND = {
							NOT = { original_tag = MZB }
							owns_state = 544
							has_full_control_of_state = 544
						}
						AND = {
							original_tag = POR
							owns_state = 729
							has_full_control_of_state = 729
						}
						AND = {
							NOT = { original_tag = INS }
							owns_state = 721
							has_full_control_of_state = 721
						}
						AND = {
							NOT = { original_tag = GNB }
							owns_state = 296
							has_full_control_of_state = 296
						}
						ANG = {
							is_subject_of = PREV
						}
						MZB = {
							is_subject_of = PREV
						}
						GNB = {
							is_subject_of = PREV
						}
						AND = {
							NOT = { original_tag = EQG }
							owns_state = 297
							has_full_control_of_state = 297
						}
						AND = {
							NOT = { original_tag = WES }
							owns_state = 699
							has_full_control_of_state = 699
						}
						AND = {
							NOT = { original_tag = MOR }
							owns_state = 783
							has_full_control_of_state = 783
						}
						AND = {
							NOT = { original_tag = MOR }
							owns_state = 290
							has_full_control_of_state = 290
						}
						EQG = {
							is_subject_of = PREV
						}
						WES = {
							is_subject_of = PREV
						}
						AND = {
							NOT = { original_tag = CRC }
							owns_state = 695
							has_full_control_of_state = 695
						}
						AND = {
							NOT = { original_tag = SUR }
							owns_state = 309
							has_full_control_of_state = 309
						}
						CRC = {
							is_subject_of = PREV
						}
						SUR = {
							is_subject_of = PREV
						}
						INS = {
							is_subject_of = PREV
						}
						AND = {
							NOT = { original_tag = INS }
							owns_state = 335
							has_full_control_of_state = 335
							owns_state = 672
							has_full_control_of_state = 672
							owns_state = 334
							has_full_control_of_state = 334
							owns_state = 673
							has_full_control_of_state = 673
							owns_state = 667
							has_full_control_of_state = 667
							owns_state = 309
							has_full_control_of_state = 309
							owns_state = 668
							has_full_control_of_state = 668
							owns_state = 738
							has_full_control_of_state = 738
							owns_state = 669
							has_full_control_of_state = 669
						}
						AND = {
							NOT = { original_tag = COG }
							owns_state = 295
							has_full_control_of_state = 295
							owns_state = 538
							has_full_control_of_state = 538
							owns_state = 718
							has_full_control_of_state = 718
							owns_state = 888
							has_full_control_of_state = 888
							owns_state = 889
							has_full_control_of_state = 889
							owns_state = 890
							has_full_control_of_state = 890
						}
						COG = {
							is_subject_of = PREV
						}
					}
				}
				country_event = { id = mtg_britain.46 hours = 6 }
			}
			hidden_effect = { news_event = { id = mtg_news.37 days = 1 } }
		}
	}

	focus = {
		id = ENG_reach_out_across_the_channel
		prerequisite = { focus = ENG_the_british_communist_alternative }
		mutually_exclusive = { focus = ENG_enforce_decolonization }
		available = {
			is_subject = no
			OR = {
				country_exists = FRA
				country_exists = HOL
				country_exists = BEL
				country_exists = LUX
			}
			OR = {
				FRA = { has_government = communism }
				HOL = { has_government = communism }
				BEL = { has_government = communism }
				LUX = { has_government = communism }
			}
			OR = {
				NOT = { has_war_with = FRA }
				NOT = { has_war_with = HOL }
				NOT = { has_war_with = BEL }
				NOT = { has_war_with = LUX }
			}
		}
		icon = GFX_goal_tripartite_pact
		x = 1
		y = 1
		relative_position_id = ENG_the_british_communist_alternative
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			if = {
				limit = {
					NOT = { FRA = { has_government = communism } }
					NOT = { HOL = { has_government = communism } }
					NOT = { BEL = { has_government = communism } }
					NOT = { LUX = { has_government = communism } }
				}
				custom_effect_tooltip = ENG_reach_out_across_the_channel_tt
			}
			if = {
				limit = {
					FRA = {
						has_government = communism
					}
				}
				FRA = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					HOL = {
						has_government = communism
					}
				}
				HOL = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					BEL = {
						has_government = communism
					}
				}
				BEL = { country_event = { id = generic.5 } }
			}
			if = {
				limit = {
					LUX = {
						has_government = communism
					}
				}
				LUX = { country_event = { id = generic.5 } }
			}
		}
	}

	focus = {
		id = ENG_soviet_cooperation
		prerequisite = { focus = ENG_enforce_decolonization focus = ENG_reach_out_across_the_channel }
		mutually_exclusive = { focus = ENG_the_one_true_revolution }
		available = {
			is_subject = no
			NOT = { has_war_with = SOU }
			SOU = { 
				exists = yes
				has_civil_war = no
				has_government = communism 
			}
		}
		bypass = {
			is_in_faction_with = SOV
		}
		icon = GFX_focus_chi_mission_to_the_soviet_union
		x = 0
		y = 1
		relative_position_id = ENG_enforce_decolonization
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			if = {
				limit = {
					SOU = { NOT = { has_war_with = GER } }
				}
				SOU = { country_event = { id = mtg_britain.49 hours = 6 } }
			}
			else = {
				create_wargoal = {
					type = puppet_wargoal_focus
					target = GER
					expire = 0
				}
			}
		}
	}

	focus = {
		id = ENG_the_one_true_revolution
		prerequisite = { focus = ENG_enforce_decolonization focus = ENG_reach_out_across_the_channel }
		mutually_exclusive = { focus = ENG_soviet_cooperation }
		available = {
			is_subject = no
			country_exists = SOU
			NOT = { is_in_faction_with = SOU }
			SOU = { has_government = communism }
		}
		bypass = {
			has_war_with = SOU
		}
		will_lead_to_war_with = SOU
		icon = GFX_focus_attack_soviet
		x = 0
		y = 1
		relative_position_id = ENG_reach_out_across_the_channel
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = SOU
				expire = 0
			}
			hidden_effect = { news_event = { id = mtg_news.38 days = 1 } }
		}
	}

	### GO COMMUNIST WITH SOVIET UNION BRANCH ###

	focus = {
		id = ENG_follow_moscow
		prerequisite = { focus = ENG_for_the_good_of_the_revolution }
		mutually_exclusive = { focus = ENG_the_british_communist_alternative }
		available = {
			is_subject = no
			country_exists = SOu
			NOT = { is_in_faction_with = SOU }
			NOT = { has_war_with = SOU }
			SOU = { 
				has_government = communism
				has_civil_war = no
				}
		}
		bypass = {
			is_in_faction_with = SOU
			NOT = {
				focus_progress = {
					focus = ENG_the_british_communist_alternative
					progress > 0
				}
			}
		}
		icon = GFX_goal_support_communism
		x = 2
		y = 1
		relative_position_id = ENG_for_the_good_of_the_revolution
		cost = 5
		ai_will_do = {
			factor = 10
		}
		search_filters = {FOCUS_FILTER_STABILITY}	
		completion_reward = {
			add_stability = 0.05
			SOU = { country_event = { id = mtg_britain.52 hours = 6 } }
		}
	}

	focus = {
		id = ENG_tackle_fascism
		prerequisite = { focus = ENG_follow_moscow }
		mutually_exclusive = { focus = ENG_tackle_capitalism }
		available = {
			is_subject = no
			OR = {
				country_exists = GER
				country_exists = ITA
			}
			OR = {
				GER = { has_government = fascism }
				ITA = { has_government = fascism }
			}
		}
		icon = GFX_focus_generic_anti_fascist_diplomacy
		x = -1
		y = 1
		relative_position_id = ENG_follow_moscow
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL}	
		completion_reward = {
			if = {
				limit = {
					GER = { has_government = fascism }
					ITA = { has_government = fascism }
				}
				add_ideas = ENG_tackle_fascism_idea_1
				GER = { add_opinion_modifier = { target = ENG modifier = ENG_tackle_fascism } }
				ITA = { add_opinion_modifier = { target = ENG modifier = ENG_tackle_fascism } }
			}
			if = {
				limit = {
					GER = { has_government = fascism }
					NOT = { ITA = { has_government = fascism } }
				}
				add_ideas = ENG_tackle_fascism_idea_2
				GER = { add_opinion_modifier = { target = ENG modifier = ENG_tackle_fascism } }
			}
			if = {
				limit = {
					NOT = { GER = { has_government = fascism } }
					ITA = { has_government = fascism }
				}
				add_ideas = ENG_tackle_fascism_idea_3
				ITA = { add_opinion_modifier = { target = ENG modifier = ENG_tackle_fascism } }
			}
			hidden_effect = { news_event = { id = mtg_news.39 days = 1 } }
		}
	}

	focus = {
		id = ENG_preparing_the_second_front
		prerequisite = { focus = ENG_tackle_fascism }
		available = {

		}
		icon = GFX_goal_generic_amphibious_assault
		x = 0
		y = 1
		relative_position_id = ENG_tackle_fascism
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_RESEARCH}	
		completion_reward = {
			add_tech_bonus = {
				name = ENG_preparing_the_second_front
				bonus = 1.0
				uses = 1
				category = marine_tech
			}
			add_tech_bonus = {
				name = ENG_preparing_the_second_front
				bonus = 1.0
				uses = 1
				category = tp_tech
			}
		}
	}

	focus = {
		id = ENG_tackle_capitalism
		prerequisite = { focus = ENG_follow_moscow }
		mutually_exclusive = { focus = ENG_tackle_fascism }
		available = {
			is_subject = no
			country_exists = USA
			USA = { has_government = democratic }
		}
		icon = GFX_focus_generic_strike_at_democracy3
		x = 1
		y = 1
		relative_position_id = ENG_follow_moscow
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_POLITICAL}	
		completion_reward = {
			add_ideas = ENG_tackle_capitalism_idea
			USA = { add_opinion_modifier = { target = ENG modifier = ENG_tackle_capitalism } }
			hidden_effect = { news_event = { id = mtg_news.40 days = 1 } }
		}
	}

	focus = {
		id = ENG_bermuda_invasion_launch_point
		prerequisite = { focus = ENG_tackle_capitalism }
		available = {
			has_full_control_of_state = 696
		}
		icon = GFX_goal_generic_position_armies
		x = 0
		y = 1
		relative_position_id = ENG_tackle_capitalism
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			# Bermuda
			696 = {
				if = {
					limit = {
						is_controlled_by = ROOT
					}
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = air_base
						level = 5
						instant_build = yes
					}
					# Bermuda
					add_building_construction = {
						type = naval_base
						level = 5
						province = 13010
						instant_build = yes
					}
				}								
			}
		}
	}

	focus = {
		id = ENG_crush_the_dream
		prerequisite = { focus = ENG_bermuda_invasion_launch_point }
		available = {
			is_subject = no
			NOT = { is_in_faction_with = USA }
			USA = { has_government = democratic }
		}
		will_lead_to_war_with = USA
		icon = GFX_focus_eng_crush_the_dream
		x = 0
		y = 1
		relative_position_id = ENG_bermuda_invasion_launch_point
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = USA
				expire = 0
			}
		}
	}

	focus = {
		id = ENG_socialist_science_pool
		prerequisite = { focus = ENG_follow_moscow }
		available = {
			is_in_faction_with = SOV
		}
		icon = GFX_focus_generic_socialist_science
		x = 3
		y = 1
		relative_position_id = ENG_follow_moscow
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_to_tech_sharing_group = socialist_science_pool
			every_other_country = {
				limit = {
					is_in_faction_with = ENG
				}
				add_to_tech_sharing_group = socialist_science_pool
			}
		}
	}

	### COMMUNIST SHARED FINISHER BRANCH ###

	focus = {
		id = ENG_liberate_the_home_of_marx
		prerequisite = { focus = ENG_the_one_true_revolution focus = ENG_preparing_the_second_front }
		available = {
			is_subject = no
			country_exists = GER
			NOT = { is_in_faction_with = GER }
		}
		will_lead_to_war_with = GER
		icon = GFX_focus_eng_liberate_the_home_of_marx
		x = 1
		y = 1
		relative_position_id = ENG_the_one_true_revolution
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = GER
				expire = 0
			}
		}
	}

	focus = {
		id = ENG_spirit_of_the_industrial_revolution
		prerequisite = { focus = ENG_soviet_cooperation focus = ENG_liberate_the_home_of_marx focus = ENG_crush_the_dream }
		available = {

		}
		icon = GFX_goal_generic_soviet_construction
		x = -3
		y = 1
		relative_position_id = ENG_liberate_the_home_of_marx
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}	
		completion_reward = {
			add_ideas = ENG_spirit_of_the_industrial_revolution_idea
		}
	}

}
