load_focus_tree = generic_focus

	capital = 868

	oob = "AST_2020"
	if = {
		limit = { has_dlc = "Man the Guns" }
			set_naval_oob = "AST_2000_naval_mtg"
		else = {
			set_naval_oob = "AST_2000_naval_legacy"
		}
	}

	set_variable = { 
		var = Diplomats_Var 
		value = 1 
	}
	recruit_character = AST_david_hurley_char
	recruit_character = AST_Ben_Roberts_Smith_char
	recruit_character = AST_Margaret_Beazley_char
	recruit_character = AST_Jim_Saleam_char
	recruit_character = AST_Rick_Burr_char
	
	set_research_slots = 4
	set_convoys = 350
	set_stability = 0.55
	country_event = { #2022 Election
		id = Australia.11
		days = 871
	}
	add_timed_idea = {
		idea = AST_ongoing_wildfires
		days = 150
	}
	set_country_flag = developed_country
	set_country_flag = head_of_gov_ui_enabled
	
	set_technology = {
		## Infantry ##
		
		infantry_weapons1 = 1
		infantry_weapons2 = 1
		infantry_weapons3 = 1
		motorised_infantry = 1
		infantry_rifle_upgrade = 1
		infantry_rifle_upgrade2 = 1
		infantry_rifle_upgrade3 = 1
		upgraded_infantry_weapons1 = 1
		support_weapons = 1
		support_weapons2 = 1
		support_weapons3 = 1
		night_vision = 1
		night_vision2 = 1
		night_vision3 = 1
		body_armor = 1
		body_armor2 = 1
		body_armor3 = 1
		camouflage = 1
		camouflage2 = 1
		camouflage3 = 1
		tech_mountaineers = 1
		tech_rangers = 1
		paratroopers = 1
		marines = 1
		basic_train = 1
		
		## Support Companies ##
		tech_support = 1
		tech_engineers = 1
		tech_recon = 1
		tech_military_police = 1
		tech_maintenance_company = 1
		tech_field_hospital = 1
		tech_logistics_company = 1
		tech_signal_company = 1
		
		## Armor ##
		mechanised_infantry1 = 1
		mechanised_infantry2 = 1
		mechanised_infantry3 = 1
		light_mechanized_infantry1 = 1
		light_mechanized_infantry2 = 1
		light_mechanized_infantry3 = 1
		self_propelled_aa1 = 1
		
		## Artillery ##
		gw_artillery = 1
		interwar_antitank = 1
		interwar_antiair = 1
		rocket_artillery = 1
		interwar_artillery = 1
		sp_artillery1 = 1
		self_propelled_aa1 = 1
		artillery1 = 1
		antitank1 = 1
		antitank2 = 1
		antiair1 = 1
		antiair2 = 1
		antiair3 = 1
		
		## Air ##
		attack_helicopter_1 = 1
		utility_helicopter_1 = 1
		
		## Engineering ##
		electronic_mechanical_engineering = 1
		radio = 1
		power_plants = 1
		power_plants1 = 1
		nuclear_reactors = 1
		energy_farms = 1
		
		## Industry ##
		basic_machine_tools = 1
		fuel_silos = 1
		fuel_refining = 1
		synth_oil_experiments = 1
		
		## Doctrines ##
		mobile_warfare = 1
		fleet_in_being = 1
		formation_flying = 1
	}
	
	if = {
		limit = { has_dlc = "By Blood Alone" }
			set_air_oob = "AST_2020_air_bba"
			set_technology = {
				aa_lmg = 1
				aa_cannon_1 = 1
				aa_hmg = 1
				engines_1 = 1
				engines_2 = 1
				early_bombs = 1
				guided_bombs = 1
				aircraft_construction = 1
				survivability_studies = 1
				iw_small_airframe = 1
				basic_small_airframe = 1
				iw_medium_airframe = 1
				basic_medium_airframe = 1
				iw_large_airframe = 1
				basic_large_airframe = 1
			}
		else = {
			set_air_oob = "AST_2020_air_legacy"
			set_technology = {
				CAS1 = 1
				CAS2 = 1
				fighter1 = 1
				fighter2 = 1
				fighter3 = 1
				naval_bomber1 = 1
				naval_bomber2 = 1
				tactical_bomber1 = 1
				transport_plane2 = 1
			}
		}
	}

	if = {
		limit = { not = { has_dlc = "Man the Guns" } }
		set_technology = {
			early_destroyer = 1
			basic_destroyer = 1
			early_light_cruiser = 1
			basic_light_cruiser = 1
			early_heavy_cruiser = 1
			basic_heavy_cruiser = 1
			early_submarine = 1
			basic_submarine = 1
			transport = 1
		}
	}
	if = {
		limit = { has_dlc = "Man the Guns" }
		set_technology = {
			early_ship_hull_light = 1
			basic_ship_hull_light = 1
			early_ship_hull_cruiser = 1
			basic_ship_hull_cruiser = 1
			early_ship_hull_submarine = 1
			basic_ship_hull_submarine = 1
			early_ship_hull_carrier = 1
			smoke_generator = 1
			sonar = 1
			basic_depth_charges = 1
			improved_airplane_launcher = 1
			basic_cruiser_armor_scheme = 1
			basic_torpedo = 1
			basic_battery = 1
			basic_light_battery = 1
			basic_medium_battery = 1
			#basic_secondary_battery = 1
			mtg_transport = 1
			basic_naval_mines = 1
			submarine_mine_laying = 1
		}
	}
	
	if = {
		limit = {
			NOT = { has_dlc = "No Step Back" }
		}
		set_technology = {
			main_battle_tank1 = 1
			main_battle_tank2 = 1
			main_battle_tank3 = 1
			light_tank1 = 1
			light_tank2 = 1
			amphibious_tank1 = 1
			amphibious_mechanized_infantry1 = 1
		}
	}
	if = {
		limit = {
			has_dlc = "No Step Back"
		}
		set_technology = {
			gwtank_chassis = 1
			basic_light_tank_chassis = 1
			basic_medium_tank_chassis = 1
			improved_medium_tank_chassis = 1
			improved_light_tank_chassis = 1
			engine_tech_1 = 1
		}
	}

	give_guarantee = FIJ
	give_guarantee = NZL

	add_ideas = {
		AST_gdp_fix
		commonwealth_of_nations_member
		# Economic
		higher_trade
		high_safety
		# Military
		medium_female_service
		medium_supervision
		high_training
		medium_racial_integration
		general_exemptions
		# Social Laws
		high_prison
		high_female
		medium_race
		# Development
		higher_academic
		high_farming
		high_poverty
		high_industry
		higher_military
		higher_society
		# Ministers #
		AST_scott_morrison_hog
		AST_Marise_Payne_for
		AST_Josh_Frydenberg_eco
		AST_Barnaby_Joyce_sec
	}

	set_politics = {	
		ruling_party = market_liberal
		last_election = "2019.5.18"
		election_frequency = 36
		elections_allowed = yes
	}

	set_popularities = {
		fascist = 1
		authoritarian_democrat = 9
		conservative = 10
		market_liberal = 36
		social_liberal = 10
		social_democrat = 17
		libertarian_socialist = 16
		communist = 1
	}

	add_opinion_modifier = {
		target = CAN
		modifier = five_eyes_agreement
	}

	add_opinion_modifier = {
		target = ENG
		modifier = five_eyes_agreement
	}

	add_opinion_modifier = {
		target = NZL
		modifier = ANZUS
	}

	add_opinion_modifier = {
		target = NZL
		modifier = ANZUS_trade
	}

	add_opinion_modifier = {
		target = NZL
		modifier = five_eyes_agreement
	}

	add_opinion_modifier = {
		target = USA
		modifier = ANZUS
	}

	add_opinion_modifier = {
		target = USA
		modifier = ANZUS_trade
	}

	add_opinion_modifier = {
		target = USA
		modifier = five_eyes_agreement
	}

	### VARIANTS ###
	# 2000 Start #
	if = {
		limit = { not = { has_dlc = "Man the Guns" } }
		
	}
	if = {
		limit = { has_dlc = "Man the Guns" }
		## Hellicopter Carrier ##
		
		create_equipment_variant = {
			name = "Canberra class"
			type = ship_hull_carrier_conversion_ca
			parent_version = 0
			modules = {
				fixed_ship_deck_slot_1 = ship_deck_space
				fixed_ship_deck_slot_2 = empty
				fixed_ship_anti_air_slot = ship_anti_air_1
				fixed_ship_radar_slot = empty
				fixed_ship_engine_slot = carrier_ship_engine_1
				fixed_ship_secondaries_slot = empty
				front_1_custom_slot = ship_airplane_launcher_1
				
			}
		}
		
		## Corvettes ##
		create_equipment_variant = { #Corvette 1
			name = "Huon class"
			type = ship_hull_light_1
			parent_version = 0
			modules = {
				fixed_ship_battery_slot = ship_light_battery_1
				fixed_ship_anti_air_slot = ship_anti_air_1
				fixed_ship_fire_control_system_slot = ship_fire_control_system_0
				fixed_ship_radar_slot = empty
				fixed_ship_engine_slot = light_ship_engine_1
				fixed_ship_torpedo_slot = ship_torpedo_1
				mid_1_custom_slot = ship_torpedo_1
				rear_1_custom_slot = ship_depth_charge_1
			}
			obsolete = yes
		}
		## Frigates ##
		create_equipment_variant = { #Frigate 1
			name = "Adelaide class"
			type = ship_hull_cruiser_1
			parent_version = 0
			modules = {
				fixed_ship_battery_slot = ship_medium_battery_1
				fixed_ship_anti_air_slot = ship_anti_air_1
				fixed_ship_fire_control_system_slot = ship_fire_control_system_0
				fixed_ship_radar_slot = empty
				fixed_ship_engine_slot = cruiser_ship_engine_1
				fixed_ship_armor_slot = ship_armor_cruiser_1
				fixed_ship_secondaries_slot = ship_secondaries_1
				mid_1_custom_slot = ship_airplane_launcher_1
				mid_2_custom_slot = ship_anti_air_1
				rear_1_custom_slot = empty
			}
			obsolete = yes
		}
		create_equipment_variant = { #Frigate 2
			name = "Anzac class"
			type = ship_hull_cruiser_2
			parent_version = 0
			modules = {
				fixed_ship_battery_slot = ship_light_battery_1
				fixed_ship_anti_air_slot = ship_anti_air_1
				fixed_ship_fire_control_system_slot = ship_fire_control_system_0
				fixed_ship_radar_slot = empty
				fixed_ship_engine_slot = cruiser_ship_engine_2
				fixed_ship_armor_slot = ship_armor_cruiser_2
				fixed_ship_secondaries_slot = ship_secondaries_1
				front_1_custom_slot = ship_light_battery_1
				mid_1_custom_slot = ship_airplane_launcher_1
				mid_2_custom_slot = ship_anti_air_1
				rear_1_custom_slot = empty
			}
		}
		## Destroyers ##
		create_equipment_variant = { #Destroyer 1
			name = "Perth class Destroyer"
			type = ship_hull_cruiser_1
			parent_version = 0
			modules = {
				fixed_ship_battery_slot = ship_medium_battery_1
				fixed_ship_anti_air_slot = ship_anti_air_1
				fixed_ship_fire_control_system_slot = ship_fire_control_system_0
				fixed_ship_radar_slot = ship_radar_1
				fixed_ship_engine_slot = cruiser_ship_engine_1
				fixed_ship_armor_slot = ship_armor_cruiser_1
				mid_1_custom_slot = ship_airplane_launcher_1
				mid_2_custom_slot = ship_anti_air_1
				rear_1_custom_slot = ship_medium_battery_1
			}
		}
		## Submarines ##
		create_equipment_variant = { #Diesel Sub 1
			name = "Oberon class"
			type = ship_hull_submarine_1
			parent_version = 0
			modules = {
				fixed_ship_torpedo_slot = ship_torpedo_sub_1
				fixed_ship_engine_slot = sub_ship_engine_1
				rear_1_custom_slot = empty
			}
			obsolete = yes
		}
		create_equipment_variant = { #Nuclear Sub 2
			name = "Collins class"
			type = ship_hull_submarine_2
			parent_version = 0
			modules = {
				fixed_ship_torpedo_slot = ship_torpedo_sub_2
				fixed_ship_engine_slot = sub_ship_engine_2
				rear_1_custom_slot = ship_torpedo_sub_2
			}
		}
	}
	
	if = {
		limit = {
			has_dlc = "By Blood Alone"
		}

		create_equipment_variant = {
			name = "F-22"
			type = small_plane_airframe_1
			modules = {
				fixed_main_weapon_slot = heavy_mg_4x
				fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
				fixed_auxiliary_weapon_slot_2 = light_mg_4x
				fixed_auxiliary_weapon_slot_3 = light_mg_4x
				engine_type_slot = engine_1_1x
				special_type_slot_1 = hmg_defense_turret
				special_type_slot_2 = hmg_defense_turret
			}
			obsolete = yes
			icon = "GFX_USA_fighter2_medium"
		}
		create_equipment_variant = {
			name = "F-16/IQ"
			type = small_plane_airframe_1
			modules = {
				fixed_main_weapon_slot = heavy_mg_4x
				fixed_auxiliary_weapon_slot_1 = heavy_mg_4x
				fixed_auxiliary_weapon_slot_2 = light_mg_4x
				engine_type_slot = engine_2_1x
				special_type_slot_1 = hmg_defense_turret
			}
			icon = "GFX_USA_fighter3_medium"
		}
	}
	
	if = {
		limit = {
			has_dlc = "No Step Back"
		}
		create_equipment_variant = {
			name = "M1A1 Abrams"
			type = modern_tank_chassis_1
			parent_version = 0
			modules = {
				main_armament_slot = tank_high_velocity_cannon
				turret_type_slot = tank_modern_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension
				armor_type_slot = tank_cast_armor
				engine_type_slot = tank_gas_turbine_engine
				special_type_slot_1 = tank_radio_1
				special_type_slot_2 = smoke_launchers
				special_type_slot_3 = wet_ammo_storage
				special_type_slot_4 = extra_ammo_storage
			}
			upgrades = {
				tank_nsb_engine_upgrade = 9
				tank_nsb_armor_upgrade = 4
			}
			icon = "gfx/interface/technologies/armor/MBT_2006_M1A2_Abrams.dds"
		}
		create_equipment_variant = {
			name = "ASLAV"
			type = amphibious_tank_chassis_1
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_cannon
				turret_type_slot = tank_light_two_man_tank_turret
				suspension_type_slot = tank_christie_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_gasoline_engine
				special_type_slot_1 = tank_radio_1
				special_type_slot_2 = smoke_launchers
				special_type_slot_3 = empty
				special_type_slot_4 = empty
			}
			upgrades = {
				tank_nsb_engine_upgrade = 2
				tank_nsb_armor_upgrade = 3
			}
			icon = "gfx/interface/technologies/armor/USA_amphibious_tank.png"
		}
	}