﻿focus_tree = {
	id = australian_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = AST
			has_dlc = "Together for Victory"
		}

		#modifier = {
		#	add = 10
		#	original_tag = AST
		#	has_dlc = "Together for Victory"
		#}
	}
	
	default = no
	
	continuous_focus_position = { x = 50 y = 1000 }

#	focus = {
#		id = AST_
#		icon = GFX_goal_generic_construction
#		prerequisite = { focus = }
#		mutually_exclusive = { focus =  }
#		x = -1
#		y = 0
#		relative_position_id = 
#
#		cost = 10
#
#		ai_will_do = {
#			factor = 1
#		}
#
#		available = {
#
#		}
#		
#		bypass = {
#
#		}
#
#		cancel_if_invalid = yes
#		continue_if_invalid = no
#		available_if_capitulated = no
#
#		complete_tooltip = {
#
#		}
#
#		completion_reward = {
#
#		}
#	}

	############################
	####### ARMY SECTION #######
	############################

	focus = {
		id = AST_additional_militia_training
		icon = GFX_goal_generic_allies_build_infantry
		x = 2
		y = 0

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			army_experience = 25
			add_doctrine_cost_reduction = {
				name = AST_additional_militia_training
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = AST_royal_australian_artillery
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = AST_additional_militia_training }
		x = -2
		y = 1
		relative_position_id = AST_additional_militia_training

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = AST_royal_australian_artillery
				bonus = 1.0
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = AST_promote_reservists
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AST_additional_militia_training }
		x = 2
		y = 1
		relative_position_id = AST_additional_militia_training

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			army_experience = 50
			add_doctrine_cost_reduction = {
				name = AST_promote_reservists
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = AST_new_general_tt
			hidden_effect = {
				add_corps_commander_role = {
					character = AST_iven_mackay
					traits = { 
						#
					}
					skill = 3
					attack_skill = 2
					defense_skill = 2
					planning_skill = 3
					logistics_skill = 3
				}
			}
		}
	}

	focus = {
		id = AST_hmas_assault
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AST_promote_reservists }
		x = 0
		y = 1
		relative_position_id = AST_promote_reservists

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			army_experience = 50
			add_doctrine_cost_reduction = {
				name = AST_hmas_assault
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			add_tech_bonus = {
				name = AST_hmas_assault
				bonus = 1.0
				uses = 1
				category = marine_tech
			}
		}
	}

	focus = {
		id = AST_specialize_equipment
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = AST_royal_australian_artillery }
		x = 2
		y = 1
		relative_position_id = AST_royal_australian_artillery

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = AST_specialize_equipment
				bonus = 1.0
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
	}

	focus = {
		id = AST_daimler_dingo
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = AST_royal_australian_artillery }
		x = -2
		y = 1
		relative_position_id = AST_royal_australian_artillery

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = motorized_bonus
				bonus = 1.00
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = AST_fund_owen_gun_research
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_specialize_equipment }
		mutually_exclusive = { focus = AST_entrust_in_the_british }
		x = 0
		y = 1
		relative_position_id = AST_specialize_equipment
		
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_fund_owen_gun_research
				bonus = 1.0
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = AST_entrust_in_the_british
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_specialize_equipment }
		mutually_exclusive = { focus = AST_fund_owen_gun_research }
		x = -2
		y = 1
		relative_position_id = AST_specialize_equipment
		
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_ideas = entrusted_british
		}
	}

	focus = {
		id = AST_sentinel_tank_project
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = AST_daimler_dingo }
		x = 0
		y = 1
		relative_position_id = AST_daimler_dingo

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_sentinel_tank_project
				bonus = 1.0
				uses = 2
				category = armor
			}
		}
	}

	focus = {
		id = AST_australian_womens_army_service
		icon = GFX_focus_generic_army_morale_support
		prerequisite = { focus = AST_hmas_assault }
		x = 0
		y = 1
		relative_position_id = AST_hmas_assault

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			
			add_ideas = AST_australian_womens_army_service
		}
	}

	focus = {
		id = AST_australian_army_catering_corps
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = AST_hmas_assault }
		x = 2
		y = 1
		relative_position_id = AST_hmas_assault

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_fund_owen_gun_research
				bonus = 3.0
				uses = 1
				technology = tech_logistics_company
				technology = tech_logistics_company2
				technology = tech_logistics_company3
				technology = tech_logistics_company4
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_cederic_hicks
		}
	}

	focus = {
		id = AST_introduce_unconventional_warfare
		icon = GFX_focus_generic_commandos
		prerequisite = { focus = AST_sentinel_tank_project }
		prerequisite = { focus = AST_australian_womens_army_service }
		x = 4
		y = 1
		relative_position_id = AST_sentinel_tank_project

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			army_experience = 50
			add_doctrine_cost_reduction = {
				name = AST_introduce_unconventional_warfare
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = AST_central_bureau
		icon = GFX_goal_generic_radar
		prerequisite = { focus = AST_introduce_unconventional_warfare }
		x = 0
		y = 1
		relative_position_id = AST_introduce_unconventional_warfare

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction_with = USA
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = AST_central_bureau
				bonus = 1.0
				ahead_reduction = 2
				uses = 2
				technology = tech_signal_company
				technology = tech_signal_company2
				technology = tech_signal_company3
				technology = tech_signal_company4
			}
			if = {
				limit = { has_dlc = "La Resistance" }
				add_ideas = AST_central_bureau_idea
			}
		}
	}

	focus = {
		id = AST_z_special_unit
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = AST_central_bureau }
		x = -1
		y = 1
		relative_position_id = AST_central_bureau

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_z_special_unit
				bonus = 3.0
				uses = 1
				category = marine_tech
				category = para_tech
			}
		}
	}

	focus = {
		id = AST_m_special_unit
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = AST_central_bureau }
		x = 1
		y = 1
		relative_position_id = AST_central_bureau

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_m_special_unit
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				technology = tech_recon
				technology = tech_recon2
				technology = tech_recon3
				technology = tech_recon4
			}
		}
	}

	################################
	###### AIRFORCE SECTION ########
	################################

	focus = {
		id = AST_expand_the_raaf
		icon = GFX_goal_generic_build_airforce
		x = 10
		y = 0
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_expand_the_raaf_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_doctrine_cost_reduction = {
				name = AST_expand_the_raaf
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			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 = AST_expand_the_raaf_AB
			}
			add_doctrine_cost_reduction = {
				name = AST_expand_the_raaf
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = AST_expand_northern_presence
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = AST_expand_the_raaf }
		x = -2
		y = 1
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_expand_northern_presence_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_doctrine_cost_reduction = {
				name = AST_expand_northern_presence
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				prioritize = { 521 520 872}
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_expand_the_raaf_AB
			}
			add_doctrine_cost_reduction = {
				name = AST_expand_northern_presence
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = AST_cac_woomera
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = AST_expand_the_raaf }
		relative_position_id = AST_expand_the_raaf

		x = 2
		y = 1
		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_dlc = "By Blood Alone"
					}
				}
				add_tech_bonus = {
					name = AST_cac_woomera
					bonus = 3.0
					uses = 1
					category = cat_strategic_bomber
					category = tactical_bomber
					category = naval_air
				}
				add_tech_bonus = {
					name = AST_cac_woomera
					bonus = 1.0
					uses = 1
					category = cat_strategic_bomber
				}
			}
			else = {
				add_tech_bonus = {
					name = AST_cac_woomera
					bonus = 2
					uses = 2
					category = tactical_bomber
					category = naval_air
				}
				create_equipment_variant = {
					name = "CAC Woomera" #
					type = medium_plane_airframe_1
					modules = {
						fixed_main_weapon_slot = medium_bomb_bay
						fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x
						fixed_auxiliary_weapon_slot_2 = torpedo_mounting
						fixed_auxiliary_weapon_slot_3 = bomb_locks
						engine_type_slot = engine_3_2x
						special_type_slot_1 = lmg_defense_turret_2x
					}
				}
			}
		}
	}

	focus = {
		id = AST_cac_boomerang
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = AST_expand_the_raaf }
		x = 0
		y = 1
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "By Blood Alone" }
				}
				add_tech_bonus = {
					name = AST_cac_boomerang
					bonus = 1.0
					ahead_reduction = 2
					uses = 1
					category = light_fighter
				}
			}
			else = {
				add_tech_bonus = {
					name = AST_cac_boomerang
					bonus = 0.75
					uses = 1
					category = light_fighter
				}
				create_equipment_variant = {
					name = "CAC Boomerang" #
					type = small_plane_airframe_1
					modules = {
						fixed_main_weapon_slot = light_mg_4x
						fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_2x
						engine_type_slot = engine_2_1x
						special_type_slot_1 = drop_tanks
					}
				}	
			}
		}
	}

	focus = {
		id = AST_airborne_defence
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = AST_promote_reservists }
		prerequisite = { focus = AST_expand_northern_presence }
		x = 2
		y = 1 
		relative_position_id = AST_promote_reservists

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_airborne_defence
				bonus = 3.0
				uses = 1
				category = para_tech
			}
		}
	}

	focus = {
		id = AST_volunteer_air_observers_corps
		icon = GFX_goal_generic_radar
		prerequisite = { focus = AST_expand_northern_presence }
		relative_position_id = AST_expand_northern_presence

		x = 0
		y = 1
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = radio
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			add_tech_bonus = {
				name = AST_volunteer_air_observers_corps
				bonus = 1.0
				uses = 1
				category = radar_tech
			}
			random_state = {
				limit = {
					has_state_flag = AST_volunteer_air_observers_corps_radar1
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = AST_volunteer_air_observers_corps_radar2
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = AST_volunteer_air_observers_corps_radar3
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_dominate_the_skies
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = AST_volunteer_air_observers_corps }
		x = 0
		y = 1
		relative_position_id = AST_volunteer_air_observers_corps

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_dominate_the_skies_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_doctrine_cost_reduction = {
				name = AST_dominate_the_skies
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					NOT = { state = 674 }
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_dominate_the_skies_AB
			}
			add_doctrine_cost_reduction = {
				name = AST_expand_the_raaf
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = AST_naval_bombers
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = AST_cac_woomera focus = AST_cac_boomerang }
		x = 1
		y = 2
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_naval_bombers
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = naval_bomber
			}
		}
	}

	focus = {
		id = AST_death_from_down_under
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = AST_naval_bombers }
		x = 0
		y = 1
		relative_position_id = AST_naval_bombers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AA1
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AA2
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AA3
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			add_doctrine_cost_reduction = {
				name = AST_death_from_down_under
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
					NOT = { state = 674 }
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AB
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = anti_air_building
						size > 1
					}
					NOT = { state = 674 }
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AA1
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = anti_air_building
						size > 1
					}
					NOT = { state = 674 }
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AA2
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = anti_air_building
						size > 1
					}
					NOT = { state = 674 }
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AA3
			}

			add_doctrine_cost_reduction = {
				name = AST_death_from_down_under
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	############################
	###### NAVY SECTION ########
	############################


	focus = {
		id = AST_cockatoo_island_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 14
		y = 0

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		
		bypass = {

		}

		search_filters = {  FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {
			navy_experience = 25
			random_state = {
				limit = {
					has_state_flag = AST_cockatoo_island_shipyards_DY
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = Cockatoo_doe
		}

			
		completion_reward = {
			navy_experience = 25
			random_owned_controlled_state = {
				prioritize = { 285 }
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_cockatoo_island_shipyards_DY
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = Cockatoo_doe
		}
	}
	
	focus = {
		id = AST_kangaroo_point_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 2
		y = 0
		relative_position_id = AST_cockatoo_island_shipyards
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		
		bypass = {

		}

		search_filters = {  FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {
			navy_experience = 25
			random_state = {
				limit = {
					has_state_flag = AST_kangaroo_point_shipyards_DY
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = evans_deakin_co
		}

		completion_reward = {
			navy_experience = 25
			random_owned_controlled_state = {
				prioritize = { 521 }
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_kangaroo_point_shipyards_DY
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = evans_deakin_co
		}
	}
	
	focus = {
		id = AST_protect_overseas_commerce
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = AST_cockatoo_island_shipyards focus = AST_kangaroo_point_shipyards }
		mutually_exclusive = { focus = AST_fly_the_jolly_roger }
		x = 0
		y = 1
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = AST_protect_overseas_commerce
				cost_reduction = 0.25
				uses = 2
				category = fleet_in_being_tree
				category = convoy_defense_tree
			}
		}
	}

	focus = {
		id = AST_fly_the_jolly_roger
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = AST_cockatoo_island_shipyards focus = AST_kangaroo_point_shipyards }
		mutually_exclusive = { focus = AST_protect_overseas_commerce }
		x = 2
		y = 1
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = AST_fly_the_jolly_roger
				cost_reduction = 0.25
				uses = 2
				category = submarine_doctrine
			}
		}
	}

	focus = {
		id = AST_scrap_iron_flotilla
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = AST_protect_overseas_commerce focus = AST_fly_the_jolly_roger }
		x = 0
		y = 2
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_scrap_iron_flotilla
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = dd_tech
			}
		}
	}

	focus = {
		id = AST_royal_australian_submarine_service
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = AST_protect_overseas_commerce focus = AST_fly_the_jolly_roger }
		x = 2
		y = 2
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}


		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_royal_australian_submarine_service
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = ss_tech
			}
		}
	}

	focus = {
		id = AST_naval_auxiliary_patrol
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = AST_royal_australian_submarine_service focus = AST_scrap_iron_flotilla }
		x = 1
		y = 3
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_ideas = AST_naval_auxiliary_patrol
		}
	}

	focus = {
		id = AST_cruisers
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = AST_naval_auxiliary_patrol }
		x = 0
		y = 4
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_tech_bonus = {
				name = AST_cruisers
				bonus = 1.0
				ahead_reduction = 2
				uses = 1
				category = cl_tech
				category = ca_tech
			}
		}
	}

	focus = {
		id = AST_pacific_area_navy
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = AST_naval_auxiliary_patrol }
		x = 2
		y = 4
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = AST_pacific_area_navy
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
	}

	###########################
	###### Industry ###########
	###########################

	focus = {
		id = AST_expand_canberra_infrastructure
		icon = GFX_goal_generic_construct_infrastructure
		x = 18
		y = 0

		cost = 6.45

		ai_will_do = {
			factor = 3
		}

		available = {
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			capital_scope = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_industries_assistance_corporation
		icon = GFX_goal_generic_production
		x = 20
		y = 0

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1.0
				uses = 1
				category = industry
			}			
		}
	}

	focus = {
		id = AST_standard_gauge_railway
		icon = GFX_goal_generic_construct_infrastructure
		x = 0
		y = 1
		relative_position_id = AST_expand_canberra_infrastructure
		prerequisite = { focus = AST_expand_canberra_infrastructure }

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = AST_standard_gauge_railway
		}
	}

	focus = {
		id = AST_western_australian_government_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = AST_standard_gauge_railway }
		prerequisite = { focus = AST_industries_assistance_corporation }
		x = 2
		y = 1
		relative_position_id = AST_standard_gauge_railway

		cost = 6.45

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {
			NOT = {
				controls_state = 522
				controls_state = 519
				controls_state = 871
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			build_railway = {
				path = { 1652 2157 10983 1526 10949 8200 10969 2191 12948 5197 8165 10927 8186 }
			}

			random_owned_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
						include_locked = yes
					}
					NOT = {state = 674}
				}

				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			random_owned_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
						include_locked = yes
					}
					NOT = {state = 674}
				}

				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_expand_the_northern_railway
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = AST_western_australian_government_railways }
		x = 0
		y = 1
		relative_position_id = AST_western_australian_government_railways

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			controls_state = 520
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			build_railway = {
				level = 2
				path = { 7669 1431 12104 1454 }
			}


		}
	}

	focus = {
		id = AST_south_australian_housing_trust
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = AST_industries_assistance_corporation }
		x = 2
		y = 1
		relative_position_id = AST_industries_assistance_corporation

		cost = 6.45

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_south_australian_housing_trust_IC
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 519 }
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_south_australian_housing_trust_IC
			}
		}
	}

	focus = {
		id = AST_expand_lithgow_small_arms_factory
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_south_australian_housing_trust }
		x = 0
		y = 1
		relative_position_id = AST_south_australian_housing_trust

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_expand_lithgow_small_arms_factory_AF
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 285 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_expand_lithgow_small_arms_factory_AF
			}
		}
	}

	focus = {
		id = AST_australian_arms_production
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_expand_lithgow_small_arms_factory }
		x = 0
		y = 1
		relative_position_id = AST_expand_lithgow_small_arms_factory

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = AST_australian_arms_production
		}
	}

	focus = {
		id = AST_department_of_supply_and_development
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_industries_assistance_corporation }
		x = 4
		y = 1
		relative_position_id = AST_industries_assistance_corporation

		cost = 6.45

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_department_of_supply_and_development_AF
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 285 517 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_department_of_supply_and_development_AF
			}
			random_owned_controlled_state = {
				prioritize = { 285 517 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_department_of_supply_and_development_AF
			}
			
		}
	}

	focus = {
		id = AST_allied_works_council
		icon = GFX_focus_generic_production_bonus
		prerequisite = { focus = AST_department_of_supply_and_development }
		x = 0
		y = 1
		relative_position_id = AST_department_of_supply_and_development

		cost = 6.45

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_allied_works_council_IC1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = AST_allied_works_council_IC2
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {					
					is_in_home_area = yes					
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_allied_works_council_IC1
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes					
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
					NOT = { state = 674 }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_allied_works_council_IC2
			}
		}
	}

	focus = {
		id = AST_commonwealth_investments
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = AST_allied_works_council }
		x = 0
		y = 1
		relative_position_id = AST_allied_works_council

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = yes
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_offsite_building = { type = industrial_complex level = 3 }
		}
	}

	focus = {
		id = AST_research_collaboration
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = AST_commonwealth_investments }

		x = 0
		y = 1
		relative_position_id = AST_commonwealth_investments

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = no
			has_war = yes
			is_in_faction = yes
			OR = {
				num_of_factories > 50
				any_other_country = {
					is_in_faction_with = ROOT
					num_of_factories > 50
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = AST_uranium_mining
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = AST_expand_the_northern_railway }
		prerequisite = { focus = AST_australian_arms_production }
		x = -1
		y = 1
		relative_position_id = AST_australian_arms_production

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = AST_uranium_mining
				bonus = 1.0
				uses = 2
				category = nuclear
			}
		}
	}

	###########################
	###### War Cabinet ########
	###########################

	focus = {
		id = AST_establish_advisory_war_council
		icon = GFX_goal_generic_demand_territory
		x = 27
		y = 0
		mutually_exclusive = { focus = AST_trust_in_the_allies }
		cost = 6.45

		allow_branch = {
			#has_dlc = "Together for Victory"
		}

		ai_will_do = {
			factor = 3
		}

		available = {
			IF = {
				limit = { has_government = democratic }
				OR = {
					threat > 0.20
					has_war = yes
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = AST_trust_in_the_allies
		icon = GFX_goal_generic_demand_territory
		x = 31
		y = 0
		mutually_exclusive = { focus = AST_establish_advisory_war_council }
		cost = 6.45

		allow_branch = {
			#has_dlc = "Together for Victory"
		}

		ai_will_do = {
			factor = 3
		}

		available = {
			is_in_faction_with = ENG
			IF = {
				limit = { has_government = democratic }
				OR = {
					threat > 0.10
					has_war = yes
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = AST_civil_construction_corps
		icon = GFX_goal_generic_production2
		prerequisite = { focus = AST_national_security_act }
		x = 0
		y = 1
		relative_position_id = AST_national_security_act

		cost = 6.45

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_great_depression_2
				add_idea = AST_great_depression_3
			}
		}
	}

	focus = {
		id = AST_rationing_and_recycling
		icon = GFX_goal_generic_trade
		prerequisite = { focus = AST_army_inventions_directorate }
		x = 0
		y = 2
		relative_position_id = AST_army_inventions_directorate

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = AST_rationing_and_recycling_alu }
				add_resource = {
					type = aluminium
					amount = 24
				}
			}
			random_state = {
				limit = { has_state_flag = AST_rationing_and_recycling_oil }
				add_resource = {
					type = oil
					amount = 12
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					NOT = { state = 674 }
				}
				add_resource = {
					type = aluminium
					amount = 24
				}
				set_state_flag = AST_rationing_and_recycling_alu
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					NOT = { state = 674 }
				}
				add_resource = {
					type = oil
					amount = 12
				}
				set_state_flag = AST_rationing_and_recycling_oil
			}
		}
	}

	focus = {
		id = AST_national_security_act
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = AST_establish_advisory_war_council focus = AST_trust_in_the_allies }
		x = 1
		y = 1
		relative_position_id = AST_establish_advisory_war_council

		cost = 6.45

		ai_will_do = {
			factor = 8
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_great_depression_1
				add_idea = AST_great_depression_2
			}
		}
	}

	focus = {
		id = AST_army_inventions_directorate
		icon = GFX_focus_research
		prerequisite = { focus = AST_establish_advisory_war_council }
		x = -1
		y = 1
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 15
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = AST_volunteer_defence_corps
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_establish_advisory_war_council focus = AST_trust_in_the_allies }
		x = 3
		y = 1
		relative_position_id = AST_establish_advisory_war_council

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = AST_volunteer_defence_corps
		}
	}

	focus = {
		id = AST_citizen_military_forces
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_volunteer_defence_corps }
		x = 3
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_ideas = AST_citizen_military_forces
		}
	}

	focus = {
		id = AST_invest_in_victory
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = AST_civil_construction_corps }
		prerequisite = { focus = AST_citizen_military_forces }
		x = 1
		y = 1
		relative_position_id = AST_civil_construction_corps

		cost = 6.45

		ai_will_do = {
			factor = 5
		}

		available = {
			has_war = yes
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = AST_invest_in_victory
		}
	}

	focus = {
		id = AST_squash_the_squanderbugs
		icon = GFX_focus_AST_squander_bug
		prerequisite = { focus = AST_invest_in_victory }
		x = -1
		y =1
		relative_position_id = AST_invest_in_victory

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_invest_in_victory
				add_idea = AST_invest_in_victory_2
			}
		}
	}

	focus = {
		id = AST_fight_work_or_perish
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = AST_invest_in_victory }
		x = 1
		y = 1
		relative_position_id = AST_invest_in_victory

		cost = 5

		ai_will_do = {
			factor = 15
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			#if effect is there for the tooltips sake
			if = {
				limit = { has_idea = AST_great_depression_1 }
				remove_ideas = AST_great_depression_1
				add_ideas = AST_all_in
			}
			if = {
				limit = { has_idea = AST_great_depression_2 }
				remove_ideas = AST_great_depression_2
				add_ideas = AST_all_in
				
			}
			if = {
				limit = { has_idea = AST_great_depression_3 }
				swap_ideas = {
					remove_idea = AST_great_depression_3
					add_idea = AST_all_in
				}
			}
		}
	}

	focus = {
		id = AST_allow_allied_docking
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 1
		y = 1
		relative_position_id = AST_trust_in_the_allies
		prerequisite = { focus = AST_trust_in_the_allies }

		cost = 6.45

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base	
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_british_production_companies
		icon = GFX_goal_generic_construct_mil_factory
		x = 0
		y = 1
		relative_position_id = AST_allow_allied_docking
		prerequisite = { focus = AST_allow_allied_docking }

		cost = 6.45

		ai_will_do = {
			factor = 3
		}

		available = {
			NOT = { has_war_with = ENG }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_offsite_building = { type = arms_factory level = 3 }
		}
	}

	focus = {
		id = AST_classify_aliens
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_british_production_companies }
		x = 0
		y = 1
		relative_position_id = AST_british_production_companies

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_ideas = AST_classify_aliens
			if = {
				limit = {
					has_government = democratic
				}
				add_popularity = {
					ideology = fascism
					popularity = -0.1
				}
				add_popularity = {
					ideology = communism
					popularity = -0.1
				}
			}
			if = {
				limit = {
					has_government = fascism
				}
				add_popularity = {
					ideology = democratic
					popularity = -0.1
				}
				add_popularity = {
					ideology = communism
					popularity = -0.1
				}
			}
			if = {
				limit = {
					has_government = communism
				}
				add_popularity = {
					ideology = democratic
					popularity = -0.1
				}
				add_popularity = {
					ideology = fascism
					popularity = -0.1
				}
			}
		}
	}

	############################
	#### GO WITH UK SECTION ####
	############################

	focus = {
		id = AST_support_the_policy_of_appeasement
		icon = GFX_focus_generic_british_puppet
		mutually_exclusive = { focus = AST_abandon_westminster }
		x = 36
		y = 0

		allow_branch = {
			#has_dlc = "Together for Victory"
		}

		cost = 6.45

		ai_will_do = {
			factor = 1
			modifier = {
				NOT = { ENG = { has_government = democratic } } #less likely to do if ENG not democratic
				factor = 0.5
			}
			modifier = {
				OR = {
					communism > 0.15
					fascism > 0.15
					}
				factor = 0.2
			}
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
			ENG = { has_war = no }
		}
		
		bypass = {
			is_subject_of = ENG
			has_war_together_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {			
			modify_tech_sharing_bonus = {
 				id = commonwealth_research
 				bonus = 0.03
			}
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_support_the_policy_of_appeasement
				}
			}
		}
	}

	focus = {
		id = AST_strengthen_ties_with_uk
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = AST_support_the_policy_of_appeasement }
		relative_position_id = AST_support_the_policy_of_appeasement
		x = -1
		y = 1

		cost = 6.45

		ai_will_do = {
			factor = 1
			modifier = {
				ENG = { NOT = { has_government = democratic } }
				factor = 0
			}
		}

		available = {
			is_subject_of = ENG
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
			OR = {
				ENG = { has_idea = ENG_george_vi }
				ENG = { has_country_flag = edward_viii_married_wallis_simpson }
			}
		}
		
		bypass = {
			NOT = {
				OR = {
					is_subject_of = ENG
					is_in_faction_with = ENG
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		completion_reward = {
			if = { 
				limit = {
					ENG = { has_idea = ENG_george_vi }
					}
					country_event = { id = tfv_australia.90 }
					}
			if = { 
				limit = {
					ENG = { has_country_flag = edward_viii_married_wallis_simpson } 
				}
				country_event = { id = tfv_australia.92 } 
			}
		}
	}

	focus = {
		id = AST_the_singapore_strategy
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = AST_support_the_policy_of_appeasement }
		x = 1
		y = 1
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 0.2
		}

		available = {
			is_in_faction_with = ENG
			ENG = { has_government = ROOT }
			MAL = {
				is_puppet_of = ENG
			}
		}
		
		bypass = {
			OR = {
				NOT = {
					OR = {
						336 = {
							is_owned_by = MAL
						}
						333 = {
							is_owned_by = MAL
						}
					}
				}
				NOT = {
					MAL = {
						is_puppet_of = ENG
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			ENG = {
				country_event = { id = tfv_australia.1 }
			}
		}
	}

	focus = {
		id = AST_rats_of_tobruk
		icon = GFX_focus_AST_rats_tobruk
		prerequisite = { focus = AST_strengthen_ties_with_uk }
		x = 0
		y = 1
		relative_position_id = AST_strengthen_ties_with_uk

		cost = 8

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
			#Requires UK at war in Africa
			any_country = {
				has_war_with = ENG
				any_state = {
					is_controlled_by = PREV
					is_on_continent = africa
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  }

		completion_reward = {
			#Starts with recon and engineers
			hidden_effect = {
				if = {
					limit = {
						has_tech = tech_logistics_company
					}
					division_template = {
						name = "Rats of Tobruk"
						division_names_group = AST_INF_01
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
							infantry = { x = 3 y = 0 }
							infantry = { x = 3 y = 1 }
						}
						support = {
					        recon = { x = 0 y = 0 }
					        engineer = { x = 0 y = 1 }
					        logistics_company = { x = 0 y = 2 }
						}
					}
					else = {
						division_template = {
							name = "Rats of Tobruk"
							division_names_group = AST_INF_01
							regiments = {
								infantry = { x = 0 y = 0 }
								infantry = { x = 0 y = 1 }
								infantry = { x = 0 y = 2 }
								infantry = { x = 1 y = 0 }
								infantry = { x = 1 y = 1 }
								infantry = { x = 1 y = 2 }
								infantry = { x = 2 y = 0 }
								infantry = { x = 2 y = 1 }
								infantry = { x = 2 y = 2 }
								infantry = { x = 3 y = 0 }
								infantry = { x = 3 y = 1 }
							}
							support = {
						        recon = { x = 0 y = 0 }
						        engineer = { x = 0 y = 1 }
							}
						}
					}
				}

				#Spawn unit in Africa
				if = {
					limit = {
						any_country = {
							is_in_faction_with = AST
							controls_state = 273
						}
						any_country = {
							is_in_faction_with = AST
							controls_state = 552
						}
					}
					load_oob = "AST_TFV_rats_africa"					
					else = {
						if = {
							limit = {
								controls_state = 285
							}
							load_oob = "AST_TFV_rats_australia"
						}
					}
				}
			}
			if = {
				limit = {
					any_country = {
						is_in_faction_with = AST
						controls_state = 273
					}
					any_country = {
						is_in_faction_with = AST
						controls_state = 552
					}
				}
				custom_effect_tooltip = AST_rats_of_tobruk_effect_1
				else = {
					if = {
						limit = {
							controls_state = 285
						}
					}
					custom_effect_tooltip = AST_rats_of_tobruk_effect_2
				}
			}
		}
	}

	focus = {
		id = AST_adopt_westminster
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = AST_strengthen_ties_with_uk focus = AST_oppose_london }
		mutually_exclusive = { focus = AST_new_free_australia }
		x = 1
		y = 2
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			add_political_power = 120
			add_autonomy_ratio = {
				value = 0.1
				localization = AST_adopt_westminster
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_arthur_calwell
		}
	}

	focus = {
		id = AST_CSIR
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AST_adopt_westminster }
		x = -1
		y = 3
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
			is_in_tech_sharing_group = commonwealth_research
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			AST = {
  				modify_tech_sharing_bonus = {
     				id = commonwealth_research
     				bonus = 0.05  
				}
			}
		}
	}

	focus = {
		id = AST_empire_air_training_scheme
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = AST_CSIR }
		x = 0
		y = 1
		relative_position_id = AST_CSIR

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  }

		completion_reward = {
			add_ideas = AST_empire_air_training_scheme
		}
	}

	focus = {
		id = AST_commonwealth_aircraft_corporation
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = AST_empire_air_training_scheme }
		x = 0
		y = 2
		relative_position_id = AST_CSIR

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = AST_commonwealth_aircraft_corporation
		}
	}

	focus = {
		id = AST_swpa_protector
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_adopt_westminster }
		x = 1
		y = 3
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 8

		ai_will_do = {
			factor = 1
			modifier = {
				NOT = { AST = { has_completed_focus = AST_the_singapore_strategy } } #ENG can defend its own stuff!
				factor = 0.2
			}
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
			336 = {
				controller = { is_in_faction_with = ROOT }
			}
			333 = {
				controller = { is_in_faction_with = ROOT }
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  }

		completion_reward = {
			336 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}

				#Fortify entire coastline
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}

				#border inland bunker
				add_building_construction = {
					type = bunker
					province = 4310
					level = 2
					instant_build = yes
				}

				#Extra fort on naval bases
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}

			}

			333 = {
				#Fortify entire coastline
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}

				#Extra fort on naval bases
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_to_rule_oceania
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = AST_swpa_protector }
		x = 0
		y = 1
		cost = 5
		relative_position_id = AST_swpa_protector

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH  }

		completion_reward = {
			air_experience = 25
			navy_experience = 25
		}
	}

	focus = {
		id = AST_a_will_to_work
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = AST_to_rule_oceania }
		x = 0
		y = 1
		cost = 5
		relative_position_id = AST_to_rule_oceania

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY  }

		completion_reward = {
			add_ideas = willtowork
		}
	}

	################################
	#### INDEPENDANT DEMOCRATIC ####
	################################

	focus = {
		id = AST_abandon_westminster
		icon = GFX_focus_generic_anti_britain
		mutually_exclusive = { focus = AST_support_the_policy_of_appeasement }
		x = 7
		y = 0
		relative_position_id = AST_support_the_policy_of_appeasement

		allow_branch = {
			#has_dlc = "Together for Victory"
		}

		cost = 6.45

		ai_will_do = {
			factor = 0.5
			modifier = {
				OR = {
					communism > 0.2
					fascism > 0.2
					}
				factor = 20
			}
			modifier = {
				OR = {
					communism > 0.4
					fascism > 0.4
					}
				factor = 20
			}
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			hidden_effect = {
				news_event = { id = news.253 hours = 5 }
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_popularity = {
				ideology = communism 
				popularity = 0.05
			}
			add_timed_idea = { days = 1095 idea = AST_abandon_the_westminster_system } 
		}
	}

	focus = {
		id = AST_never_another_gallipoli
		icon = GFX_focus_AST_never_gallipoli
		prerequisite = { focus = AST_abandon_westminster }
		x = -4
		y = 1
		relative_position_id = AST_abandon_westminster

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			set_rule = { can_decline_call_to_war = yes }
			add_autonomy_ratio = {
				value = 0.2
				localization = AST_never_another_gallipoli
			}
		}
	}

	focus = {
		id = AST_oppose_london
		icon = GFX_focus_ast_oppose_london
		prerequisite = { focus = AST_abandon_westminster }
		mutually_exclusive = { focus = AST_empower_the_workers focus = AST_support_the_centre_party }

		x = -2
		y = 1
		relative_position_id = AST_abandon_westminster

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
			compare_autonomy_progress_ratio > 0.55
			if = {
				limit = { not = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism } 
				compare_autonomy_state > autonomy_reichsprotectorate
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_abandon_the_westminster_system
				add_idea = AST_abandon_the_westminster_system_democracy
			}
		}
	}

	focus = {
		id = AST_new_free_australia
		icon = GFX_focus_generic_the_giant_wakes
		prerequisite = { focus = AST_oppose_london }
		mutually_exclusive = { focus = AST_adopt_westminster }
		x = 0
		y = 1
		relative_position_id = AST_oppose_london

		cost = 8

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
			compare_autonomy_progress_ratio > 0.7
			if = {
				limit = { not = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism } 
				compare_autonomy_state > autonomy_reichsprotectorate
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			add_stability = 0.1
			swap_ideas = {
				remove_idea = AST_abandon_the_westminster_system_democracy
				add_idea = AST_abandon_the_westminster_system_democracy2
			}
		}
	}

	focus = {
		id = AST_sever_ties_with_uk
		icon = GFX_goal_tfv_sever_ties_with_uk
		prerequisite = { focus = AST_new_free_australia }
		x = 0
		y = 1
		relative_position_id = AST_new_free_australia

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = { NOT = { has_government = fascism } }
				has_autonomy_state = autonomy_dominion
			}
			if = {
				limit = { has_government = fascism }
				has_autonomy_state = autonomy_satellite
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
			has_war_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			OVERLORD = {
				set_autonomy = {
					target = AST
					autonomy_state = autonomy_free
				}
			}
			ENG = { remove_from_faction = ROOT }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_arthur_calwell
			hidden_effect = {
				news_event = { id = news.286 hours = 6}
			}
		}
	}

	focus = {
		id = AST_bastion_of_oceanic_democracy
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = AST_new_free_australia focus = AST_adopt_westminster }
		x = -2
		y = 1
		relative_position_id = AST_new_free_australia

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			add_ideas = bastion_of_oceanic_democracy
		}
	}

	focus = {
		id = AST_oppose_fascism
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = AST_bastion_of_oceanic_democracy }
		x = 0
		y = 1
		relative_position_id = AST_bastion_of_oceanic_democracy

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			#add_ideas = bastion_of_oceanic_democracy
			swap_ideas = {
				remove_idea = bastion_of_oceanic_democracy
				add_idea = bastion_of_oceanic_democracy1
			}
		}
	}

	focus = {
		id = AST_great_anti_fascist_crusade
		icon = GFX_focus_ast_great_anti_fascist_crusade
		prerequisite = { focus = AST_oppose_fascism }
		x = 0
		y = 1
		relative_position_id = AST_oppose_fascism

		cost = 5

		ai_will_do = {
			factor = 0
		}

		available = {
			is_puppet = no
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			custom_effect_tooltip = great_crusade_tt
			hidden_effect = {
				# first we scope to a random nation
				every_other_country = {
					limit = { # some sanity checks
						has_government = fascism
						not = {
							is_guaranteed_by = ROOT # not guaranteed by us
							is_in_faction_with = ROOT # not in faction with us
							has_non_aggression_pact_with = ROOT #  # no non aggression by us
							is_subject_of = ROOT # not our puppet or subject
						}
					}
					ROOT = { # we scope back to our own country
						create_wargoal = { # declare war on
							target = PREV # previous scope (random neighbor)
							type = puppet_wargoal_focus # puppet them
						}
					}
				}
			}
			
		}
	}

	focus = {
		id = AST_protect_the_dutch_colonies
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_new_free_australia }
		x = 2
		y = 1
		relative_position_id = AST_new_free_australia

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
			is_puppet = no
			NOT = { has_war_with = HOL }
			HOL = { has_capitulated = yes }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
			INS = {
				OR = {
					NOT = { is_puppet_of = HOL }
					exists = no
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			HOL = {
				country_event = { id = tfv_australia.10 }
			}
		}
	}

	focus = {
		id = AST_woo_usa
		icon = GFX_focus_generic_usa_help_shine
		prerequisite = { focus = AST_sever_ties_with_uk }
		x = -0
		y = 1
		relative_position_id = AST_sever_ties_with_uk

		cost = 6.45

		ai_will_do = {
			factor = 1
			modifier = {
				is_in_faction = no
				factor = 10 #we're all alone here!
			}
		}

		available = {
			NOT = {
				has_war_with = USA
			}
			USA = { 
				has_government = ROOT
				is_puppet = no
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
			OR = {
				USA = { exists = no }
				USA = {
					AND = {
						is_in_faction = yes
						NOT = {
							is_in_faction_with = AST
						}
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			USA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_woo_usa
				}
			}
			add_opinion_modifier = {
				target = USA
				modifier = AST_woo_usa
			}
		}
	}

	focus = {
		id = AST_the_south_west_pacific_initiative
		icon = GFX_focus_generic_league_of_nations
		prerequisite = { focus = AST_woo_usa focus = AST_protect_the_dutch_colonies }
		x = -1
		y = 2
		relative_position_id = AST_protect_the_dutch_colonies

		cost = 6.45

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction = south_west_pacific_initiative
			if = {
				limit = {
					has_completed_focus = AST_protect_the_dutch_colonies
					INS = { is_puppet_of = AST }
				}
				set_country_flag = INS_is_a_puppet
			}
			if = {
				limit = {
					has_completed_focus = AST_woo_usa
					USA = {
						exists = yes
						has_capitulated = no
						is_puppet = no
						has_government = ROOT
						OR = {
							is_in_faction = no
							has_war = no
						}
					}
				}
				USA = {
					country_event = { id = tfv_australia.32 } #Ask USA to join faction
				}
				else = {
					country_event = { id = tfv_australia.31 } #Start faction without asking USA
				}
			}
		}
	}

	focus = {
		id = AST_continental_intervention
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = AST_the_south_west_pacific_initiative }
		x = 0
		y = 1
		relative_position_id = AST_the_south_west_pacific_initiative

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = continental_intevention
		}
	}

	focus = {
		id = AST_forward_operating_base
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = AST_continental_intervention }
		x = 0
		y = 2
		relative_position_id = AST_continental_intervention

		cost = 6.45 

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			random_owned_controlled_state = {
				prioritise = { 523 }
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base	
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_research_cooperation
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = AST_the_south_west_pacific_initiative }
		x = -2
		y = 1
		relative_position_id = AST_the_south_west_pacific_initiative

		cost = 5

		ai_will_do = {
			factor = 4
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
		custom_effect_tooltip = AST_swpi_research_tt
			if = {
				limit = { AST = { is_in_faction_with = USA } }
				add_to_tech_sharing_group = us_research
				USA = { add_to_tech_sharing_group = us_research }
				else = {
					AST = { add_to_tech_sharing_group = swpi_research }
					if = {
						limit = { all_country = { is_in_faction_with = AST } }
						add_to_tech_sharing_group = swpi_research 
						}
					}
			}
		}
	}

	focus = {
		id = AST_eclipe_of_the_rising_sun
		icon = GFX_focus_ast_eclipse_of_the_rising_sun
		prerequisite = { focus = AST_continental_intervention }
		x = 1
		y = 1
		relative_position_id = AST_continental_intervention

		cost = 6.45 

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
			JAP = { has_government = democratic }

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				limit = {
					JAP = {
						NOT = { has_government = democratic }
					}
				}
			}
			create_wargoal = { # declare war on
				target = JAP # previous scope (random neighbor)
				type = puppet_wargoal_focus # puppet them
			}
		}
	}

	focus = {
		id = AST_end_imperialism
		icon = GFX_focus_rom_parties_end
		prerequisite = { focus = AST_eclipe_of_the_rising_sun }
		x = 1
		y = 1
		relative_position_id = AST_eclipe_of_the_rising_sun

		cost = 6.45 

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				limit = {
					ENG = {
						exists = yes
						NOT = { has_war_with = ROOT }
						NOT = { is_in_faction_with = ROOT }
						NOT = { has_completed_focus = ENG_decolonization }
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = ENG
							is_subject_of = ENG
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					ITA = {
						exists = yes
						NOT = { has_war_with = ROOT }
						NOT = { is_in_faction_with = ROOT }
						any_state = {
							is_controlled_by = ITA
							NOT = { is_core_of = ITA }
						}
						OR = {
							NOT = { has_dlc = "By Blood Alone" }
							NOT = {
								has_completed_focus = ITA_abolish_the_colonies
								has_completed_focus = ITA_new_colonial_policies
							}
						}
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = ITA
							is_subject_of = ITA
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					FRA = {
						exists = yes
						NOT = { has_war_with = ROOT }
						NOT = { is_in_faction_with = ROOT }
						any_state = {
							is_controlled_by = FRA
							NOT = { is_core_of = FRA }
						}
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = FRA
							is_subject_of = FRA
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					GER = {
						exists = yes
						NOT = { has_war_with = ROOT }
						NOT = { is_in_faction_with = ROOT }
						any_state = {
							is_controlled_by = GER
							NOT = { is_core_of = GER }
						}
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = GER
							is_subject_of = GER
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
		}
	}

	focus = {
		id = AST_stop_the_spread_of_red
		icon = GFX_focus_ger_bulwark_against_bolshevism
		prerequisite = { focus = AST_continental_intervention }
		x = -1
		y = 1
		relative_position_id = AST_continental_intervention

		cost = 6.45 

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = great_crusade_tt_commie
			hidden_effect = {
				every_other_country = {
					limit = { # some sanity checks
						has_government = communism
						not = {
							original_tag = SOV
							is_guaranteed_by = ROOT # not guaranteed by us
							is_in_faction_with = ROOT # not in faction with us
							has_non_aggression_pact_with = ROOT #  # no non aggression by us
							is_subject_of = ROOT # not our puppet or subject
							if = { 
								limit = { # IF soviet union is communist
									sov = { has_government = communism }
								}
								is_in_faction_with = SOV #check they arent in faction
								is_puppet_of = SOV #or puppet
							}
						}
					}
					ROOT = { # we scope back to our own country
						create_wargoal = { # declare war on
							target = PREV # previous scope (random neighbor)
							type = puppet_wargoal_focus # puppet them
						}
					}
				}
			}
		}
	}

	focus = {
		id = AST_root_out_the_source
		icon = GFX_focus_ger_great_red_menace
		prerequisite = { focus = AST_stop_the_spread_of_red }
		x = -1
		y = 1
		relative_position_id = AST_stop_the_spread_of_red

		cost = 6.45 

		ai_will_do = {
			factor = 2
		}

		available = {
			is_subject = no
			NOT = { has_country_flag = britain_enforced_our_loyalty }
			SOV = { has_government = communism }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				limit = {
					SOV = { has_government = communism}
				}
				create_wargoal = { # declare war on
					target = SOV # previous scope (random neighbor)
					type = puppet_wargoal_focus # puppet them
				}
			}
		}
	}

	############################
	#### GO FASCIST SECTION ####
	############################

	focus = {
		id = AST_support_the_centre_party
		icon = GFX_focus_ast_support_the_centre_party
		prerequisite = { focus = AST_abandon_westminster }
		mutually_exclusive = { focus = AST_empower_the_workers focus = AST_oppose_london }
		x = 2
		y = 1
		relative_position_id = AST_abandon_westminster

		cost = 5

		ai_will_do = {
			factor = 0.5
			modifier = {
				NOT = { JAP = { has_government = fascism } }
				factor = 0 #let's not go fascist if Japan isn't
			}
			modifier = {
				fascism > 0.3
				factor = 20
			}
		}

		available = {
			compare_autonomy_progress_ratio > 0.55
			if = {
				limit = { not = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism } 
				compare_autonomy_state > autonomy_reichsprotectorate
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_abandon_the_westminster_system
				add_idea = AST_abandon_the_westminster_system_fascism
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_generic_fascist_demagogue
		}
	}

	focus = {
		id = AST_supply_indonesian_nationalists
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_support_the_centre_party }
		x = 0
		y = 1
		relative_position_id = AST_support_the_centre_party

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			country_exists = INS
			INS = { is_subject = yes }
			ROOT = {
				fascism > 0.15
			}
			has_equipment = {
				infantry_equipment > 199
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}

		select_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = -200
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		completion_reward = {
			#Boosts fascism in Indonesia
			INS = {
				add_timed_idea = { days = 730 idea = AST_indonesian_nationalists } 
			}
			hidden_effect = {
				INS = { country_event = { id = tfv_australia.95 } }
				HOL = { country_event = { id = tfv_australia.95 } }
			}
		}
	}

	focus = {
		id = AST_support_indonesian_uprising
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = AST_supply_indonesian_nationalists }
		x = 0
		y = 2
		relative_position_id = AST_support_the_centre_party

		cost = 8

		ai_will_do = {
			factor = 1
		}

		available = {
			country_exists = INS
			INS = { is_subject = yes }
			OR = {
				is_subject = no
				AND = {
					compare_autonomy_progress_ratio > 0.75
					if = {
						limit = { not = { has_government = fascism } }
						has_autonomy_state = autonomy_dominion
					}
					if = {
						limit = { has_government = fascism } 
						has_autonomy_state = autonomy_satellite
					}
				}
			}
			fascism > 0.3
			INS = {
				fascism > 0.3
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				limit = {
					INS = { has_civil_war = no }
				}
				INS = { country_event = { id = tfv_australia.96 } }
			}
			add_ideas = AST_support_indonesian_uprising
		}
	}

	focus = {
		id = AST_protect_the_south_west_pacific
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_support_indonesian_uprising }
		x = 0
		y = 3
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = { not = { has_government = fascism } }
				has_autonomy_state = autonomy_dominion
			}
			if = {
				limit = { has_government = fascism } 
				has_autonomy_state = autonomy_satellite
			}
			MAL = {
				is_puppet_of = ENG
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
			is_subject = no
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {			
			ENG = {
				country_event = { id = tfv_australia.70 }
			}
		}
	}

	focus = {
		id = AST_demand_new_zealand
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = AST_support_the_centre_party  }
		x = 2
		y = 1
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1.5
		}

		available = {
			OR = {
				has_government = fascism
				has_government = communism
			}
			NOT = { has_war_together_with = ENG }
			NOT = { is_in_faction_with = NZL }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = { is_in_faction_with = ENG }
				ENG = { remove_from_faction = ROOT }
			}
			OVERLORD = {
				set_autonomy = {
					target = AST
					autonomy_state = autonomy_free
				}
			}
			NZL = {
				country_event = { id = tfv_australia.20 }
			}
		}
	}

	focus = {
		id = AST_a_deal_with_japan
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = AST_protect_the_south_west_pacific }
		mutually_exclusive = { focus = AST_our_own_empire }
		x = 0
		y = 4
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 8
			modifier = {
				JAP = { has_capitulated = yes }
				factor = 0
				}
		}

		available = {
			OR = {
				is_subject = no
				AND = {
					if = {
						limit = { not = { has_government = fascism } }
						has_autonomy_state = autonomy_dominion
					}
					if = {
						limit = { has_government = fascism } 
						has_autonomy_state = autonomy_satellite
					}
					compare_autonomy_progress_ratio > 0.8
				}
			}
			NOT = { has_war_together_with = ENG }
			JAP = {
				has_government = ROOT
				OR = {
					is_faction_leader = yes
					is_in_faction = no
				}
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			custom_effect_tooltip = AST_deal_with_japan_tt
			if = {
				limit = { is_in_faction_with = ENG }
				ENG = { remove_from_faction = ROOT }
			}
			OVERLORD = {
				set_autonomy = {
					target = AST
					autonomy_state = autonomy_free
				}
			}
			set_rule = { can_create_factions = yes }
			JAP = {
				country_event = { id = tfv_australia.80 }
			}
		}
	}

	focus = {
		id = AST_japan_tech_sharing
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AST_a_deal_with_japan }
		x = 0
		y = 5
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			is_in_faction_with = JAP
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_to_tech_sharing_group = japanese_research
			JAP = { add_to_tech_sharing_group = japanese_research }
		}
	}

	focus = {
		id = AST_our_own_empire
		icon = GFX_focus_ast_our_own_empire
		prerequisite = { focus = AST_protect_the_south_west_pacific }
		prerequisite = { focus = AST_demand_new_zealand }
		mutually_exclusive = { focus = AST_a_deal_with_japan }
		x = 2
		y = 4
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 4
			modifier = {
				ENG = { has_capitulated = yes }
				factor = 10
			}
			modifier = { #power vacuum in SouthPac
				JAP = { has_capitulated = yes }
				factor = 10
			}
		}

		available = {
			OR = {
				is_subject = no
				AND = {
					if = {
						limit = { not = { has_government = fascism } }
						has_autonomy_state = autonomy_dominion
					}
					if = {
						limit = { has_government = fascism } 
						has_autonomy_state = autonomy_satellite
					}
					compare_autonomy_progress_ratio > 0.8
				}
			}
			NOT = { has_war_together_with = ENG }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			IF = {
				limit = { is_puppet = yes }
				ENG = { remove_from_faction = ROOT }
				OVERLORD = {
					set_autonomy = {
						target = AST
						autonomy_state = autonomy_free
					}
				}
			}
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = AST_continental_expansion
		icon = GFX_focus_generic_military_dictatorship
		prerequisite = { focus = AST_our_own_empire }
		x = 2
		y = 5
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { is_in_faction_with = JAP }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SIA
				expire = 0
			}
		}
	}

	focus = {
		id = AST_war_on_japan
		icon = GFX_focus_AST_war_japan
		prerequisite = { focus = AST_continental_expansion }
		x = 0
		y = 6
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { is_in_faction_with = JAP }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = JAP
				expire = 0
			}
		}
	}

	focus = {
		id = AST_kill_the_wounded_man
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = AST_continental_expansion }
		x = 2
		y = 6
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { is_in_faction_with = CHI }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = CHI
				expire = 0
			}
		}
	}

	focus = {
		id = AST_colonies_of_our_own
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = AST_continental_expansion }
		x = 4
		y = 6
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { is_in_faction_with = SAF }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SAF
				expire = 0
			}
		}
	}

	focus = {
		id = AST_construct_new_zealand_bases
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_demand_new_zealand  }
		x = 1
		y = 1
		relative_position_id = AST_demand_new_zealand

		cost = 6.45

		ai_will_do = {
			factor = 1.5
		}

		available = {
			OR = {
				owns_state = 723
				owns_state = 284
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			random_owned_controlled_state = {
				prioritise = { 723 284 }
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base	
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_core_new_zealand
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = AST_construct_new_zealand_bases  }
		x = 0
		y = 1
		relative_position_id = AST_construct_new_zealand_bases

		cost = 10

		ai_will_do = {
			factor = 1.5
		}

		available = {
			OR = {
				owns_state = 723
				owns_state = 284
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_state_core = 723
			add_state_core = 284
		}
	}
	
	############################
	### GO COMMUNIST SECTION ###
	############################

	focus = {
		id = AST_empower_the_workers
		icon = GFX_focus_ast_empower_the_workers
		prerequisite = { focus = AST_abandon_westminster }
		mutually_exclusive = { focus = AST_support_the_centre_party focus = AST_oppose_london }
		x = 8
		y = 1
		relative_position_id = AST_abandon_westminster

		cost = 5

		ai_will_do = {
			factor = 0.5
			modifier = {
				communism > 0.3
				factor = 10
			}
		}

		available = {	
			compare_autonomy_progress_ratio > 0.55
			if = {
				limit = { not = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism } 
				compare_autonomy_state > autonomy_reichsprotectorate
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_abandon_the_westminster_system
				add_idea = AST_abandon_the_westminster_system_communism			
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_lance_sharkey
		}
	}

	focus = {
		id = AST_delegation_to_china
		icon = GFX_focus_chi_cooperation_with_the_communists
		prerequisite = { focus = AST_empower_the_workers }
		x = 1
		y = 1
		relative_position_id = AST_empower_the_workers

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
			ROOT = {
				communism > 0.3
			}
			event_target:WTT_communist_china = { exists = yes }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			event_target:WTT_communist_china = {
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_delegation_to_china
				}
			}
			add_opinion_modifier = {
				target = event_target:WTT_communist_china
				modifier = AST_delegation_to_china
			}
			event_target:WTT_communist_china = {
				ROOT = {
					add_ai_strategy = {
						type = support
						id = PREV
						value = 100
					}
					add_ai_strategy = {
						type = protect
						id = PREV
						value = 100
					}
				}
			}
		}
	}

	focus = {
		id = AST_labour_to_the_extreme
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = AST_empower_the_workers }
		x = -1
		y = 1
		relative_position_id = AST_empower_the_workers

		cost = 3

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_popularity = { ideology = communism popularity = 0.1 }
			add_stability = 0.1
		}
	}

	focus = {
		id = AST_commitment_to_the_cause
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = AST_delegation_to_china }
		prerequisite = { focus = AST_labour_to_the_extreme }
		x = 0
		y = 2
		relative_position_id = AST_empower_the_workers

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_war_together_with = ENG }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }

		completion_reward = {
			ENG = { remove_from_faction = ROOT }
			OVERLORD = {
				set_autonomy = {
					target = AST
					autonomy_state = autonomy_free
				}
			}
			if = {
				limit = {
					NOT = { has_war_with = SOV }
				}
				SOV = {
					add_opinion_modifier = {
						target = ROOT
						modifier = AST_commitment_to_the_cause
					}
				}
			}
			if = {
				limit = {
					NOT = { has_war_with = PRC }
				}
				add_opinion_modifier = {
					target = event_target:WTT_communist_china
					modifier = AST_commitment_to_the_cause
				}
			}
			every_other_country = {
				limit = {
					has_government = communism
				}
				ROOT = {
					add_ai_strategy = {
						type = support
						id = PREV
						value = 100
					}
				}
			}
			event_target:WTT_communist_china = {
				ROOT = {
					add_ai_strategy = {
						type = protect
						id = PREV
						value = 100
					}
				}
			}
			add_ai_strategy = {
				type = save_equipment
				id = infantry_equipment
				value = 501
			}
		}
	}

	focus = {
		id = AST_join_comintern
		icon = GFX_goal_support_communism
		prerequisite = { focus = AST_commitment_to_the_cause }
		mutually_exclusive = { focus = AST_workers_paradise }
		x = -1
		y = 3
		relative_position_id = AST_empower_the_workers

		cost = 5

		ai_will_do = {
			factor = 8
			modifier = { #let's not tie ourselves to SOV if they are in a bad spot
				SOV = { surrender_progress > 0.75 }
				factor = 0
			}
		}

		available = {
			is_subject = no
			ANY_comintern_joinable = yes 
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {
			is_in_faction = yes
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {

			set_rule = { can_create_factions = yes }
			if = {
				limit = {
					SOV = {
						is_faction_leader = yes
						has_government = communism
					}	
				}
				SOV = {
					country_event = { id = tfv_australia.50 }
				}
			}
			else = {
                get_best_alliance_match_communism_effect = yes
                var:best_leader = {
                    country_event = generic.2
                }
            }
		}
	}

	focus = {
		id = AST_workers_paradise
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = AST_commitment_to_the_cause }
		mutually_exclusive = { focus = AST_join_comintern }
		x = 1
		y = 3
		relative_position_id = AST_empower_the_workers

		cost = 5

		ai_will_do = {
			factor = 4
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = AST_research_city_excursions
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AST_join_comintern }
		x = -2
		y = 4
		relative_position_id = AST_empower_the_workers

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction_with = SOV
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			SOV = { add_to_tech_sharing_group = comintern_research }
			add_to_tech_sharing_group = comintern_research
		}
	}

	focus = {
		id = AST_nz_puppet
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = AST_workers_paradise focus = AST_join_comintern }
		x = 0
		y = 4
		relative_position_id = AST_empower_the_workers

		cost = 6.45

		ai_will_do = {
			factor = 1
			modifier = {
				NZL = { has_government = democratic } 
				factor = 10
			}
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			NZL = {
				country_event = { id = tfv_australia.60 }
			}
		}
	}

	focus = {
		id = AST_the_threat_against_the_people
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = AST_nz_puppet }
		x = 0
		y = 1
		relative_position_id = AST_nz_puppet

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				JAP = { has_government = communism }
				factor = 0
			}
		}

		available = {
			NOT = { is_in_faction_with = JAP }
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				target = JAP
				type = puppet_wargoal_focus
				expire = 0 
			}
		}
	}

	focus = {
		id = AST_inspiration
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = AST_workers_paradise }
		x = 1
		y = 1
		relative_position_id = AST_workers_paradise

		cost = 6.45

		ai_will_do = {
			factor = 1
			modifier = {
				NZL = { has_government = democratic } 
				factor = 10
			}
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			SAF = {
				add_timed_idea = { days = 365 idea = AST_abandon_the_westminster_system_communism } 
			}
			NZL = {
				add_timed_idea = { days = 365 idea = AST_abandon_the_westminster_system_communism } 
			}
			RAJ = {
				add_timed_idea = { days = 365 idea = AST_abandon_the_westminster_system_communism } 
			}
			CAN = {
				add_timed_idea = { days = 365 idea = AST_abandon_the_westminster_system_communism } 
			}
		}
	}

	focus = {
		id = AST_uprising
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = AST_inspiration }
		x = 0
		y = 1
		relative_position_id = AST_inspiration

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_country_flag = britain_enforced_our_loyalty }
			OR = {
				SAF = { communism > .35 }
				CAN = { communism > .35 }
				NZL = { communism > .35 }
				RAJ = { communism > .35 }
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			SAF = {
				IF = {
					limit = {
						communism > .35
					}
				}
				start_civil_war = {
					ideology = communsim
					size = 0.35
					states_filter = {
					}
				}
				random_other_country = {
					limit = { 
						original_tag = SAF 
						has_government = communism
					}
					AST = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_puppet
							end_wars = no
							end_civil_wars = no
						}
					}
				}
			}
			CAN = {
				IF = {
					limit = {
						communism > .35
					}
				}
				start_civil_war = {
					ideology = communsim
					size = 0.35
					states_filter = {
					}
				}
				random_other_country = {
					limit = { 
						original_tag = SAF 
						has_government = communism
					}
					AST = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_puppet
							end_wars = no
							end_civil_wars = no
						}
					}
				}
			}
			NZL = {
				IF = {
					limit = {
						communism > .35
					}
				}
				start_civil_war = {
					ideology = communsim
					size = 0.35
					states_filter = {
					}
				}
				random_other_country = {
					limit = { 
						original_tag = SAF 
						has_government = communism
					}
					AST = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_puppet
							end_wars = no
							end_civil_wars = no
						}
					}
				}
			}
			RAJ = {
				IF = {
					limit = {
						communism > .35
					}
				}
				start_civil_war = {
					ideology = communsim
					size = 0.35
					states_filter = {
					}
				}
				random_other_country = {
					limit = { 
						original_tag = SAF 
						has_government = communism
					}
					AST = {
						set_autonomy = {
							target = PREV
							autonomy_state = autonomy_puppet
							end_wars = no
							end_civil_wars = no
						}
					}
				}
			}
		}
	}


	######################
	### NON-DLC BRANCH ###
	######################

	focus = {
		id = AST_stay_with_the_british
		icon = GFX_focus_generic_british_puppet
		x = 10
		y = 5

		allow_branch = {
			NOT = { has_dlc = "Together for Victory" }
		}

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
			ENG = { has_war = no }
		}
		
		bypass = {
			is_subject_of = ENG
			has_war_together_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {			
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_support_the_policy_of_appeasement
				}
			}
		}
	}

	focus = {
		id = AST_shining_example_of_democracy
		icon = GFX_focus_generic_the_giant_wakes
		x = -1
		y = 1
		relative_position_id = AST_stay_with_the_british
		prerequisite = { focus = AST_stay_with_the_british }

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
		}
		
		bypass = {
			is_subject_of = ENG
			has_war_together_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {			
			add_ideas = bastion_of_oceanic_democracy
		}
	}

	focus = {
		id = AST_purge_fascism_from_our_lands
		icon = GFX_focus_generic_strike_at_democracy1
		x = -1
		y = 2
		relative_position_id = AST_stay_with_the_british
		prerequisite = { focus = AST_shining_example_of_democracy }

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
		}
		
		bypass = {
			is_subject_of = ENG
			has_war_together_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {			
			swap_ideas = {
				remove_idea = bastion_of_oceanic_democracy
				add_idea = bastion_of_oceanic_democracy1
			}
		}
	}

	focus = {
		id = AST_protect_oceania
		icon = GFX_goal_generic_defence
		x = 1
		y = 1
		relative_position_id = AST_stay_with_the_british
		prerequisite = { focus = AST_stay_with_the_british }

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject_of = ENG
				AND = {
					has_global_flag = ENG_decolonized
					is_in_faction_with = ENG
				}
			}
			336 = {
				controller = { is_in_faction_with = ROOT }
			}
			333 = {
				controller = { is_in_faction_with = ROOT }
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  }

		completion_reward = {
			336 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}

				#Fortify entire coastline
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}

				#border inland bunker
				add_building_construction = {
					type = bunker
					province = 4310
					level = 2
					instant_build = yes
				}

				#Extra fort on naval bases
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}

			}

			333 = {
				#Fortify entire coastline
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}

				#Extra fort on naval bases
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_negotiate_independence
		icon = GFX_focus_ast_oppose_london
		x = 0
		y = 3
		relative_position_id = AST_stay_with_the_british
		prerequisite = { focus = AST_purge_fascism_from_our_lands }
		prerequisite = { focus = AST_protect_oceania }

		cost = 6.45

		ai_will_do = {
			factor = 0
		}

		available = {
		}
		
		bypass = {
			NOT = {
				is_subject_of = ENG
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {			
			set_autonomy = {
				target = AST
				autonomy_state = autonomy_free
				end_wars = no
				end_civil_wars = no
			}
		}
	}

	focus = {
		id = AST_great_anti_fascist_war
		icon = GFX_focus_generic_provoke_border_clashes
		x = 0
		y = 4
		relative_position_id = AST_stay_with_the_british
		prerequisite = { focus = AST_negotiate_independence }

		cost = 6.45

		ai_will_do = {
			factor = 1
		}

		available = {
		}
		
		bypass = {
			NOT = {
				is_subject_of = ENG
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {			
			custom_effect_tt = great_crusade_tt
			hidden_effect = {
				# first we scope to a random nation
				every_other_country = {
					limit = { # some sanity checks
						has_government = fascism
						not = {
							is_guaranteed_by = ROOT # not guaranteed by us
							is_in_faction_with = ROOT # not in faction with us
							has_non_aggression_pact_with = ROOT #  # no non aggression by us
							is_subject_of = ROOT # not our puppet or subject
						}
					}
					ROOT = { # we scope back to our own country
						create_wargoal = { # declare war on
							target = PREV # previous scope (random neighbor)
							type = puppet_wargoal_focus # puppet them
						}
					}
				}
			}
		}
	}

}
