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 = 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 = {
			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 = -1
		y = 1
		relative_position_id = AST_additional_militia_training

		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_royal_australian_artillery
				bonus = 1.0
				uses = 1
				category = artillery
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				add_doctrine_cost_reduction = {
					cost_reduction = 0.5
					uses = 1
					category = special_forces_doctrine
				}
			}
		}
	}

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

		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 = {
			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_daimler_dingo
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = AST_royal_australian_artillery }
		x = -2
		y = 2
		relative_position_id = AST_additional_militia_training

		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 = motorized_bonus
				bonus = 1.00
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = AST_hmas_assault
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AST_royal_australian_artillery focus = AST_promote_reservists }
		x = 0
		y = 2
		relative_position_id = AST_additional_militia_training

		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 = {
			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_promote_reservists }
		x = 2
		y = 2
		relative_position_id = AST_additional_militia_training

		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_australian_womens_army_service
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = AST_hmas_assault }
		x = -1
		y = 3
		relative_position_id = AST_additional_militia_training

		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_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 = 0
		y = 4
		relative_position_id = AST_additional_militia_training

		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_fund_owen_gun_research
				bonus = 1.0
				uses = 3
				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_fund_owen_gun_research
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_hmas_assault }
		x = 1
		y = 3
		relative_position_id = AST_additional_militia_training
		
		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_fund_owen_gun_research
				bonus = 1.0
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = AST_sentinel_tank_project
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = AST_daimler_dingo }
		x = -2
		y = 4
		relative_position_id = AST_additional_militia_training

		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_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}
			add_tech_bonus = {
				name = AST_sentinel_tank_project
				bonus = 1.0
				uses = 2
				category = armor
			}
		}
	}

	focus = {
		id = AST_airborne_defence
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = AST_specialize_equipment }
		prerequisite = { focus = AST_volunteer_air_observers_corps }
		x = 2
		y = 4
		relative_position_id = AST_additional_militia_training

		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_airborne_defence
				bonus = 1.0
				uses = 1
				category = para_tech
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				add_doctrine_cost_reduction = {
					cost_reduction = 0.5
					uses = 1
					category = special_forces_doctrine
				}
			}
		}
	}

	focus = {
		id = AST_introduce_unconventional_warfare
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AST_sentinel_tank_project focus = AST_airborne_defence }
		x = 0
		y = 5
		relative_position_id = AST_additional_militia_training

		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 = {
			army_experience = 35
			navy_experience = 35
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				custom_effect_tooltip = CHL_skip_one_line_tt
				add_potential_special_forces_tree = yes
				custom_effect_tooltip = CHL_skip_one_line_tt
				add_doctrine_cost_reduction = {
					name = AST_introduce_unconventional_warfare
					cost_reduction = 0.5
					uses = 1
					category = special_forces_doctrine
				}
			}
			else = {
				add_doctrine_cost_reduction = {
					name = AST_introduce_unconventional_warfare
					cost_reduction = 0.5
					uses = 1
					category = land_doctrine
				}
				add_doctrine_cost_reduction = {
					name = AST_introduce_unconventional_warfare
					cost_reduction = 0.5
					uses = 1
					category = naval_doctrine
				}
			}
		}
	}

	focus = {
		id = AST_z_special_unit
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = AST_introduce_unconventional_warfare }
		x = -2
		y = 6
		relative_position_id = AST_additional_militia_training

		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 = 1.0
				uses = 2
				category = marine_tech
				category = para_tech
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				add_doctrine_cost_reduction = {
					cost_reduction = 0.5
					uses = 1
					category = special_forces_doctrine
				}
			}
		}
	}

	focus = {
		id = AST_m_special_unit
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = AST_introduce_unconventional_warfare }
		x = 2
		y = 6
		relative_position_id = AST_additional_militia_training

		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
			}
			if = {
				limit = { has_dlc = "Arms Against Tyranny" }
				add_doctrine_cost_reduction = {
					cost_reduction = 0.5
					uses = 1
					category = special_forces_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
			}
		}
	}

	############################
	####### AIR SECTION ########
	############################


	focus = {
		id = AST_expand_the_raaf
		icon = GFX_goal_generic_build_airforce
		x = 7
		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
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.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
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.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_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_cac_boomerang
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = AST_expand_the_raaf }
		x = -1
		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 = 1.0
					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_expand_northern_presence
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = AST_expand_the_raaf }
		x = 0
		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  }

		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
					}
					NOT = { state = 674 }
				}
				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 = 1
		y = 1
		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_woomera
					bonus = 1.0
					uses = 3
					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_volunteer_air_observers_corps
		icon = GFX_goal_generic_radar
		prerequisite = { focus = AST_cac_boomerang focus = AST_expand_northern_presence }
		relative_position_id = AST_expand_the_raaf

		x = -1
		y = 3
		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
				}
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = AST_volunteer_air_observers_corps
				bonus = 1.0
				uses = 1
				category = radar_tech
			}

			if = {
				limit = { has_tech = radio_detection }
				random_owned_controlled_state = {
					prioritize = { 521 872 }
					limit = {
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
						NOT = {
							state = 674
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = AST_volunteer_air_observers_corps_radar1
				}

				random_owned_controlled_state = {
					prioritize = { 285 }
					limit = {
						NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
						NOT = {
							state = 674
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = AST_volunteer_air_observers_corps_radar2
				}

				random_owned_controlled_state = {
					prioritize = { 520 }
					limit = {
						NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
						NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar2 }
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
						NOT = {
							state = 674
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = AST_volunteer_air_observers_corps_radar3
				}
				else = {
					complete_special_project = {
						project = sp:sp_air_radar
					}
					effect_tooltip = {
						random_owned_controlled_state = {
							prioritize = { 521 872 }
							limit = {
								is_in_home_area = yes
								NOT = {
									state = 674
								}
							}
							add_building_construction = {
								type = radar_station
								level = 1
								instant_build = yes
							}
						}

						random_owned_controlled_state = {
							prioritize = { 285 }
							limit = {
								NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
								is_in_home_area = yes
								NOT = {
									state = 674
								}
							}
							add_building_construction = {
								type = radar_station
								level = 1
								instant_build = yes
							}
						}
					}
					random_owned_controlled_state = {
						prioritize = { 521 872 }
						limit = {
							is_in_home_area = yes
							free_building_slots = {
								building = radar_station
								size > 0
							}
							NOT = {
								state = 674
							}
						}
						add_building_construction = {
							type = radar_station
							level = 1
							instant_build = yes
						}
						set_state_flag = AST_volunteer_air_observers_corps_radar1
					}

					random_owned_controlled_state = {
						prioritize = { 285 }
						limit = {
							NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
							is_in_home_area = yes
							free_building_slots = {
								building = radar_station
								size > 0
							}
							NOT = {
								state = 674
							}
						}
						add_building_construction = {
							type = radar_station
							level = 1
							instant_build = yes
						}
						set_state_flag = AST_volunteer_air_observers_corps_radar2
					}
				}
			}
		}
	}

	focus = {
		id = AST_naval_bombers
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = AST_cac_woomera }
		x = 1
		y = 3
		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_volunteer_air_observers_corps }
		x = -1
		y = 5
		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_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
			}
		}
	}

	focus = {
		id = AST_womens_auxilliary_australian_air_force
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = AST_volunteer_air_observers_corps focus = AST_naval_bombers }
		x = 0
		y = 4
		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 = yes
		search_filters = {  }

		completion_reward = {
			air_experience = 50
			set_rule = {
				can_generate_female_aces = yes
			}
		}
	}

	focus = {
		id = AST_dominate_the_skies
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = AST_womens_auxilliary_australian_air_force }
		x = 1
		y = 5
		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_dominate_the_skies_AB
				}
				add_building_construction = {
					type = air_base
					level = 4
					instant_build = yes
				}
			}
			add_doctrine_cost_reduction = {
				name = AST_dominate_the_skies
				cost_reduction = 0.5
				uses = 2
				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
			}
		}
	}

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


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

		cost = 5

		ai_will_do = {
			factor = 1
		}

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

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		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
			}
			if = {
				limit = {
					is_in_faction_with = ENG
					NOT = { has_global_flag = mp_difficulty }
				}
				ENG = { add_offsite_building = { type = dockyard level = 1 } }
			}
			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 = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		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
			}
			if = {
				limit = {
					is_in_faction_with = ENG
					NOT = { has_global_flag = mp_difficulty }
				}
				ENG = { add_offsite_building = { type = dockyard level = 1 } }
			}
			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 = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		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 = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		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 = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		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 = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		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 = {

		}

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

		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 = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		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 = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		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 SECTION #####
	############################


	focus = {
		id = AST_standard_gauge_railway
		icon = GFX_goal_generic_construct_infrastructure
		x = 16
		y = 0

		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
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = AST_new_south_wales_rc_ic
		}
	}

	focus = {
		id = AST_industries_assistance_corporation
		icon = GFX_goal_generic_production
		x = 2
		y = 0
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		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_western_australian_government_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = AST_standard_gauge_railway }
		prerequisite = { focus = AST_industries_assistance_corporation }
		x = 1
		y = 1
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		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
					}
					NOT = {state = 674}
				}

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

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

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

	focus = {
		id = AST_south_australian_housing_trust
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = AST_western_australian_government_railways }
		x = 0
		y = 2
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		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 = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					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_department_of_supply_and_development
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_western_australian_government_railways }
		x = 2
		y = 2
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		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 = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = AST_department_of_supply_and_development_AF
			}
		}
	}

	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 = 3
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		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 = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					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_allied_works_council
		icon = GFX_goal_generic_production2
		prerequisite = { focus = AST_department_of_supply_and_development }
		prerequisite = { focus = AST_civil_construction_corps }
		x = 2
		y = 3
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		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_expand_the_northern_railway
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = AST_expand_lithgow_small_arms_factory }
		x = 0
		y = 4
		relative_position_id = AST_standard_gauge_railway

		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_australian_arms_production
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_allied_works_council }
		x = 2
		y = 4
		relative_position_id = AST_standard_gauge_railway

		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_INDUSTRY }

		completion_reward = {
			add_ideas = AST_australian_arms_production
		}
	}

	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 = 5
		relative_position_id = AST_standard_gauge_railway

		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_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = AST_uranium_mining
					bonus = 0.5
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.15
				}
			}
			else = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.75
				}
			}
			custom_effect_tooltip = CHL_skip_one_line_tt
			add_tech_bonus = {
				name = AST_uranium_mining
				bonus = 1.0
				uses = 2
				category = excavation_tech
			}
		}
	}

	############################
	#### WAR PREP SECTION ######
	############################

	focus = {
		id = AST_establish_advisory_war_council
		icon = GFX_goal_generic_demand_territory
		x = 24
		y = 0

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			OR = {
				threat > 0.20
				has_war = yes
			}
		}
		
		bypass = {

		}

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

		completion_reward = {
			add_political_power = 120
		}
	}

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

		cost = 10

		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_volunteer_defence_corps
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_establish_advisory_war_council }
		x = 2
		y = 1
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		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_civil_construction_corps
		icon = GFX_goal_generic_production2
		prerequisite = { focus = AST_national_security_act }
		x = -4
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		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_army_inventions_directorate
		icon = GFX_focus_research
		prerequisite = { focus = AST_national_security_act }
		x = -2
		y = 2
		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_invest_in_victory
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = AST_national_security_act }
		x = 0
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		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_citizen_military_forces
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_volunteer_defence_corps }
		x = 2
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		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_citizen_military_forces
		}
	}

	focus = {
		id = AST_rats_of_tobruk
		icon = GFX_focus_AST_rats_tobruk
		prerequisite = { focus = AST_volunteer_defence_corps }
		prerequisite = { focus = AST_strengthen_ties_with_uk }
		x = 4
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		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_fight_work_or_perish
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = AST_civil_construction_corps }
		prerequisite = { focus = AST_squash_the_squanderbugs }
		x = -3
		y = 4
		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_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_research_collaboration
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = AST_fight_work_or_perish }
		prerequisite = { focus = AST_australian_arms_production }
		x = -5
		y = 5
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			has_war = yes
			is_in_faction = yes
			OR = {
				num_of_factories > 50
				any_other_country = {
					is_in_faction_with = ROOT
					OR = {
						amount_research_slots > 5
						num_of_factories > 200
					}
				}
			}
		}

		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_squash_the_squanderbugs
		icon = GFX_focus_AST_squander_bug
		prerequisite = { focus = AST_invest_in_victory }
		x = -2
		y = 3
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		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_rationing_and_recycling
		icon = GFX_goal_generic_trade
		prerequisite = { focus = AST_invest_in_victory }
		x = 0
		y = 3
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		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_classify_aliens
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_citizen_military_forces }
		x = 2
		y = 3
		relative_position_id = AST_establish_advisory_war_council

		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
				}
			}
		}
	}

	focus = {
		id = AST_fund_australian_defense_research
		icon = GFX_focus_research
		prerequisite = { focus = AST_rationing_and_recycling }
		prerequisite = { focus = AST_classify_aliens }
		x = 1
		y = 4
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject = no 
				is_major = yes
				any_enemy_country = {
					num_of_factories > 500
				}
			}
		}
		
		bypass = {

		}

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

		completion_reward = {
			add_research_slot = 1
		}
	}

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

	focus = {
		id = AST_support_the_policy_of_appeasement
		icon = GFX_goal_generic_improve_relations
		mutually_exclusive = { focus = AST_never_another_gallipoli }
		x = 30
		y = 0

		cost = 10

		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 = 10

		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_subject_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_the_push_for_australasia
		icon = GFX_focus_generic_court
		prerequisite = { focus = AST_the_singapore_strategy }
		x = 1
		y = 1
		relative_position_id = AST_the_singapore_strategy

		cost = 10

		ai_will_do = {
			factor = 0
		}

		available = {
			is_in_faction_with = ENG
			ENG = { has_government = ROOT }
			NZL = {
				is_subject_of = ENG
			}
		}
		
		bypass = {
			OR = {
				NOT = {
					OR = {
						723 = {
							is_owned_by = NZL
						}
						284 = {
							is_owned_by = NZL
						}
					}
				}
				NOT = {
					NZL = {
						is_subject_of = ENG
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			ENG = {
				country_event = { id = LSM_ENG_churchill.800 }
			}
		}
	}

	focus = {
		id = AST_adopt_westminster
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = AST_strengthen_ties_with_uk focus = AST_the_singapore_strategy }
		x = 0
		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 = 10

		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_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 = 10

		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_empire_air_training_scheme
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = AST_CSIR focus = AST_swpa_protector }
		x = -1
		y = 4
		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 = 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_CSIR focus = AST_swpa_protector }
		x = 1
		y = 4
		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 = no
		search_filters = {  FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = AST_com_aircraft_corporation_organization
				mio:AST_com_aircraft_corporation_organization = {
					add_mio_size = 2
				}
			}
			ELSE = {
				add_ideas = AST_commonwealth_aircraft_corporation 
			}
		}
	}

	############################
	#### LEAVE COMMONWEALTH ####
	############################
	
	focus = {
		id = AST_never_another_gallipoli
		icon = GFX_focus_AST_never_gallipoli
		mutually_exclusive = { focus = AST_support_the_policy_of_appeasement }
		x = 38
		y = 0

		cost = 10

		ai_will_do = {
			factor = 0.5 
			modifier = {
				OR = {
						fascism > 0.25
						communism > 0.25
					}
				factor = 20
			}
			modifier = {
				OR = {
						fascism > 0.45
						communism > 0.45
					}
				factor = 30
			}
			modifier = {
				NOT = { ENG = { has_government = democratic } } 
				factor = 5
			}
		}

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

		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
			}
			hidden_effect = {
				news_event = { id = news.253 hours = 5 }
			}
		}
	}


	############################
	#### GO WITH US SECTION ####
	############################

	focus = {
		id = AST_protect_the_homeland
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = AST_never_another_gallipoli }
		mutually_exclusive = { focus = AST_abandon_the_westminster_system }
		x = -3
		y = 1
		relative_position_id = AST_never_another_gallipoli

		cost = 10

		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 = no

		completion_reward = {
			custom_effect_tooltip = AST_homeland_defense_tt
			hidden_effect = {
				every_owned_state =	{
					limit = {
						is_controlled_by = ROOT
						is_on_continent = australia
						is_in_home_area = 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
					}
	
					#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_the_swpa_menace
		icon = GFX_goal_generic_trade
		prerequisite = { focus = AST_protect_the_homeland }
		x = -1
		y = 1
		relative_position_id = AST_protect_the_homeland

		cost = 10

		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 = no

		completion_reward = {
			JAP = {			
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_the_swpa_menace
				}
			}
			USA = {
				add_opinion_modifier = {
					target = JAP
					modifier = AST_the_swpa_menace_boycot_JAP
				}
				add_opinion_modifier = {
					target = JAP
					modifier = AST_the_swpa_menace
				}
			}
			add_opinion_modifier = {
				target = JAP
				modifier = AST_the_swpa_menace_boycot_JAP
			}
			add_opinion_modifier = {
				target = JAP
				modifier = AST_the_swpa_menace
			}
		}
	}

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

		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
			}
			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_woo_usa
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = AST_the_swpa_menace }
		prerequisite = { focus = AST_sever_ties_with_uk }
		x = -1
		y = 2
		relative_position_id = AST_protect_the_homeland

		cost = 10

		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_protect_the_dutch_colonies
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_sever_ties_with_uk }
		x = 1
		y = 2
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			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 }
					has_capitulated = yes
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

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

	focus = {
		id = AST_the_south_west_pacific_initiative
		icon = GFX_goal_anschluss
		prerequisite = { focus = AST_woo_usa focus = AST_protect_the_dutch_colonies }
		x = 0
		y = 3
		relative_position_id = AST_protect_the_homeland

		cost = 10

		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 }
			if = {
				limit = {
					OR = {
						NOT = { has_completed_focus = AST_woo_usa }
						USA = { is_faction_leader = no }
					}
					NOT = {
						JAP = {
							is_faction_leader = yes
							has_government = democratic
						}
					}
				}
				create_faction = south_west_pacific_initiative
				else = {
					country_event = { id = tfv_australia.31 } #Start faction without asking USA
				}
			}
			else_if = {
				limit = {
					has_completed_focus = AST_woo_usa
					USA = { is_faction_leader = yes }
					NOT = {
						JAP = {
							is_faction_leader = yes
							has_government = democratic
						}
					}
				}
				USA = { country_event = { id = generic.2 hours = 1 } }
			}
			else_if = {
				limit = {
					JAP = {
						is_faction_leader = yes
						has_government = democratic
					}
				}
				JAP = { country_event = { id = generic.2 hours = 1 } }
			}
			if = {
				limit = {
					has_completed_focus = AST_protect_the_dutch_colonies
					INS = { is_puppet_of = AST }
				}
				set_country_flag = INS_is_a_puppet
			}
			if = {
				limit = {
					is_faction_leader = yes
					has_completed_focus = AST_woo_usa
					USA = {
						exists = yes
						has_capitulated = no
						is_puppet = no
						has_government = ROOT
						OR = {
							is_in_faction = no
							AND = {
								has_war = no
								is_faction_leader = no
							}
						}
					}
				}
				USA = {
					country_event = { id = tfv_australia.32 } #Ask USA to join faction
				}
			}
		}
	}

	focus = {
		id = AST_research_cooperation
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = AST_the_south_west_pacific_initiative }
		x = 0
		y = 4
		relative_position_id = AST_protect_the_homeland

		cost = 10

		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_preemptive_intervention
		icon = GFX_focus_AST_war_japan
		prerequisite = { focus = AST_research_cooperation }
		x = 0
		y = 5
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				JAP = { has_government = ROOT }
			}
			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 = topple_government
				target = JAP
				expire = 0
			}
		}
	}

	############################
	##### FASCIST/COMMUNIST ####
	############################
	
	focus = {
		id = AST_abandon_the_westminster_system
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = AST_never_another_gallipoli }
		mutually_exclusive = { focus = AST_protect_the_homeland }
		x = 3
		y = 1
		relative_position_id = AST_never_another_gallipoli

		cost = 10

		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 = {
			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 } 
		}
	}

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

	focus = {
		id = AST_support_the_centre_party
		icon = GFX_goal_support_fascism
		prerequisite = { focus = AST_abandon_the_westminster_system }
		mutually_exclusive = { focus = AST_empower_the_workers }
		x = -2
		y = 1
		relative_position_id = AST_abandon_the_westminster_system

		cost = 10

		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 = -1
		y = 1
		relative_position_id = AST_support_the_centre_party

		cost = 10

		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 = {
			INS = {
				OR = {
					has_government = fascism
					is_subject = no
				}
			}
		}

		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 } }
				every_country = {
					limit = {
						has_subject = INS
					}
					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 = -1
		y = 2
		relative_position_id = AST_support_the_centre_party

		cost = 10

		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 = {
			INS = {
				OR = {
					has_government = fascism
					is_subject = no
				}
			}
		}

		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_demand_new_zealand
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = AST_support_the_centre_party focus = AST_empower_the_workers }
		x = 1
		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_protect_the_south_west_pacific
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_support_indonesian_uprising }
		x = -1
		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
			}
			336 = {
				is_fully_controlled_by = MAL
			}
			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_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 = -1
		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_our_own_empire
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = AST_protect_the_south_west_pacific }
		prerequisite = { focus = AST_demand_new_zealand }
		mutually_exclusive = { focus = AST_a_deal_with_japan }
		x = 1
		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 = {
			ENG = { remove_from_faction = ROOT }
			OVERLORD = {
				set_autonomy = {
					target = AST
					autonomy_state = autonomy_free
				}
			}
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = AST_japan_tech_sharing
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AST_a_deal_with_japan }
		x = -1
		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_war_on_japan
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = AST_our_own_empire }
		x = 1
		y = 5
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			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
			}
		}
	}


	############################
	### GO COMMUNIST SECTION ###
	############################

	focus = {
		id = AST_empower_the_workers
		icon = GFX_goal_support_communism
		prerequisite = { focus = AST_abandon_the_westminster_system }
		mutually_exclusive = { focus = AST_support_the_centre_party }
		x = 2
		y = 1
		relative_position_id = AST_abandon_the_westminster_system

		cost = 10

		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_goal_generic_improve_relations
		prerequisite = { focus = AST_empower_the_workers }
		x = 0
		y = 1
		relative_position_id = AST_empower_the_workers

		cost = 10

		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_commitment_to_the_cause
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = AST_delegation_to_china }
		x = 0
		y = 2
		relative_position_id = AST_empower_the_workers

		cost = 10

		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_indirect_support
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_commitment_to_the_cause }
		mutually_exclusive = { focus = AST_direct_support }
		x = -1
		y = 3
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 8
		}

		available = {
			has_equipment = {
				infantry_equipment > 499
			}
			NOT = { has_country_flag = britain_enforced_our_loyalty }
		}

		bypass = {
			PRC = {
				OR = {
					exists = no
					is_puppet = yes
				}
			}
		}
		select_effect = {
			send_equipment = {
				target = event_target:WTT_communist_china
				type = infantry_equipment
				amount = 500
			}
		}

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

		completion_reward = {
			add_timed_idea = { idea = AST_arms_for_the_revolution days = 365 }
		}
	}

	focus = {
		id = AST_direct_support
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_commitment_to_the_cause }
		mutually_exclusive = { focus = AST_indirect_support }
		x = 1
		y = 3
		relative_position_id = AST_empower_the_workers

		cost = 10

		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 = {
			add_ideas = AST_direct_support
			
		}
	}

	focus = {
		id = AST_join_comintern
		icon = GFX_goal_support_communism
		prerequisite = { focus = AST_indirect_support focus = AST_direct_support }
		mutually_exclusive = { focus = AST_workers_paradise }
		x = 0
		y = 4
		relative_position_id = AST_empower_the_workers

		cost = 10

		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_direct_support }
		mutually_exclusive = { focus = AST_join_comintern }
		x = 2
		y = 4
		relative_position_id = AST_empower_the_workers

		cost = 10

		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 = -1
		y = 5
		relative_position_id = AST_empower_the_workers

		cost = 10

		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 = 1
		y = 5
		relative_position_id = AST_empower_the_workers

		cost = 10

		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_workers_paradise }
		x = 3
		y = 5
		relative_position_id = AST_empower_the_workers

		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 
			}
		}
	}
}