### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER}
### search_filters = {FOCUS_FILTER_MILITARY_CHARACTER}

focus_tree = {
	id = austria_focus_tree
	
	country = {
		factor = 0
		
		modifier = {
			add = 50
			tag = AUS
			#always = no

			has_dlc = "Gotterdammerung"
		}
	}
	
	default = no

	continuous_focus_position = { x = 50 y = 2500 }

	shared_focus = HABSBURG_part_of_something_bigger

	initial_show_position = {
		x = 38
		y = 0
	}
	focus = {
		id = AUS_time_waster
		icon = GFX_goal_generic_production2
		x = 59
		y = 20
		cost = 313
		ai_will_do = {	factor = 1000	}
		available = { is_ai = yes	}
		completion_reward = {}
	}
	focus = { # DEMOCRATIC, COMMUNIST, NONALIGNED
		id = AUS_repeal_the_may_constitution
		icon = GFX_focus_AUS_disregard_the_treaties
		mutually_exclusive = { focus = AUS_totalitarian_safety }
		x = 16
		y = 0

		search_filters = { FOCUS_FILTER_POLITICAL }

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

		offset = { #fascist path picked
			x = -38
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_totalitarian_safety
			}
		}


		offset = { #monarchis path picked
			x = -12
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}
		offset = {
			x = -14
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_austromarxism_focus
			}
		}

		offset = {
			x = -10
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_hold_elections
			}
		}

		offset = {
			x = -8
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_legacy_of_the_empire
			}
		}


		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}


		available_if_capitulated = no

		completion_reward = {

			add_political_power = 50

			remove_dynamic_modifier = {
				modifier = AUS_austrofascism
			}

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

				create_operative_leader = {
					name = AUS_heinrich_maier
					bypass_recruitment = no 
					available_to_spy_master = yes 
					gfx = GFX_portrait_AUS_heinrich_maier 
					traits = { operative_infiltrator operative_master_interrogator }
					nationalities = { AUS }
				}

				IF = {
					limit = {
						has_opinion_modifier = AUS_austrofascism_opm
					}

					remove_opinion_modifier = {
						target = GER
						modifier = AUS_austrofascism_opm
					}

					add_opinion_modifier = {
						target = GER
						modifier = AUS_unfriendly_neighbor
					}
				}
			}

		}
	}

	focus = { # DEMOCRATIC, COMMUNIST, NONALIGNED
		id = AUS_release_imprisoned_leaders
		icon = GFX_focus_AUS_release_imprisoned_leaders
		prerequisite = { focus = AUS_repeal_the_may_constitution }
		mutually_exclusive = { }
		x = -7
		y = 1
		relative_position_id = AUS_repeal_the_may_constitution

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

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

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

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

		available_if_capitulated = no

		completion_reward = {

			add_political_power = 50

			add_popularity = {
				ideology = communism
				popularity = 0.025
			}

			add_popularity = {
				ideology = democratic
				popularity = 0.025
			} 

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_bruno_kreisky
			
		}
	}

	focus = { # DEMOCRATIC, COMMUNIST, NONALIGNED
		id = AUS_austria_against_fascism
		icon = GFX_focus_generic_workers
		prerequisite = { focus = AUS_repeal_the_may_constitution }
		mutually_exclusive = { }
		x = 5
		y = 1
		relative_position_id = AUS_repeal_the_may_constitution

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		offset = {
			x = -2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_austromarxism_focus
			}
		}

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

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

		available_if_capitulated = no

		completion_reward = {
			add_stability = 0.1

			add_popularity = {
				ideology = fascism
				popularity = -0.05
			}
		}
	}


	#############################
	######## COMMUNIST ##########
	#############################

	focus = { #COMMUNIST
		id = AUS_austromarxism_focus
		icon = GFX_focus_AUS_austromarxism
		prerequisite = { focus = AUS_release_imprisoned_leaders focus = AUS_austria_against_fascism }
		mutually_exclusive = { focus = AUS_hold_elections focus = AUS_reinstate_the_imperial_council }
		x = -9
		y = 1
		relative_position_id = AUS_release_imprisoned_leaders

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = AUS_hold_elections
						has_completed_focus = AUS_reinstate_the_imperial_council
						has_completed_focus = AUS_totalitarian_safety
					}
				}
				
			}
		}

		offset = {
			x = 12
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_austromarxism_focus
			}
		}

		available_if_capitulated = no

		completion_reward = {

	

			IF = {
				limit = {
					NOT = {
						has_dynamic_modifier = {
							modifier = AUS_austromarxism
						}
						has_dynamic_modifier = {
							modifier = AUS_austrotrotskyism
						}
						has_dynamic_modifier = {
							modifier = AUS_austrostalinism
						}
					}
				}
				add_dynamic_modifier = {
					modifier = AUS_austromarxism
				}

				add_to_variable = { AUS_austromarxism_communism_support = 0.03 tooltip = communism_drift_tt }
				add_to_variable = { AUS_austromarxism_democratic_support = 0.02 tooltip = democratic_drift_tt }
				add_to_variable = { AUS_austromarxism_industrial_capacity_factory = 0.1 tooltip = industrial_capacity_factory_tt }
				add_to_variable = { AUS_austromarxism_production_factory_efficiency_gain_factor = 0.05 tooltip = production_factory_efficiency_gain_factor_tt }
			}

			ELSE_IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_austrostalinism
					}
				}

				add_dynamic_modifier = {
					modifier = AUS_austrostalinism
				}
			}

			ELSE_IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_austrotrotskyism
					}
				}

				add_dynamic_modifier = {
					modifier = AUS_austrotrotskyism
				}
			}

			ELSE = {

				add_dynamic_modifier = {
					modifier = AUS_austromarxism
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
	
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_otto_bauer


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

	focus = { #COMMUNIST
		id = AUS_rally_the_people
		icon = GFX_focus_por_workers_of_iberia  
		prerequisite = { focus = AUS_austromarxism_focus}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_austromarxism_focus

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {
			communism > 0.2
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_political_power = 50
			
			AUS_display_right_communism_spirit = yes 
			add_to_variable = { AUS_austromarxism_stability_factor = -0.1 tooltip = stability_factor_tt }
			add_to_variable = { AUS_austromarxism_communism_support = 0.02 tooltip = communism_drift_tt }
			add_to_variable = { AUS_austromarxism_democratic_support = 0.01 tooltip = democratic_drift_tt }
		}
	}

	focus = { # COMMUNIST 
		id = AUS_ban_dnsap
		icon = GFX_focus_generic_communism_anti_fascism 
		prerequisite = { focus = AUS_rally_the_people}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_rally_the_people

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		cost = 5

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {
			has_government = communism
		}

		available_if_capitulated = no

		completion_reward = {
			
			hidden_effect = {
				AUS_fascist_vaterlandische_leader_setup = yes

				set_variable = {
					var = neutrality_support_var
					value = party_popularity_100@neutrality
				}

				set_variable = {
					var = fascism_support_var
					value = party_popularity_100@fascism
				}

				set_variable = {
					var = communism_support_var
					value = party_popularity_100@communism
				}

				set_variable = {
					var = democratic_support_var
					value = party_popularity_100@democratic
				}

				set_popularities = {
					democratic= party_popularity_100@democratic 
					neutrality = party_popularity_100@fascism #IT IS MEANT TO BE SWAPPED!
					fascism = party_popularity_100@neutrality #IT IS MEANT TO BE SWAPPED!
					communism = party_popularity_100@democratic
				}

				set_politics = {
					ruling_party = fascism
					last_election = "1934.11.9" 
					election_frequency = 48
					elections_allowed = no
				}

				
				
				every_other_country = {
					limit = {
						original_tag = GER
						has_government = fascism
					}
					country_event = {
						id = AUS_political_events.15
						days = 3
					}
				}
				
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_party_name = {
				ideology = neutrality
				long_name = AUS_greater_germany_party_long
				name = AUS_greater_germany_party
			}
			
			set_party_name = {
				ideology = fascism
				long_name = AUS_fascism_vaterlandische_front_long
				name = AUS_fascism_vaterlandische_front
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = {
				ideology = fascism
				popularity = -0.05
			}
			add_popularity = {
				ideology = neutrality
				popularity = -0.05
			}
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}

			add_war_support = -0.05

		}
	}

	focus = { # COMMUNIST
		id = AUS_renounce_the_treaties
		icon = GFX_focus_renounce_the_treaty_of_trianon
		prerequisite = { focus = AUS_rally_the_people }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_rally_the_people

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}

		available_if_capitulated = no

		completion_reward = {
			remove_ideas = AUS_treaty_of_saint_germain_en_laye

			custom_effect_tooltip = generic_skip_one_line_tt

			ITA = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}
			FRA = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}
			ENG = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}
			USA = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_rearmament_and_guarantees_tt

			hidden_effect = {
				news_event = {
					id = AUS_news_events.5
					days = 2
				}
			}
		}
	}

	focus = { #COMMUNIST & DEMOCRATIC
		id = AUS_schutzbund_support
		icon = GFX_focus_spr_the_anti_fascist_workers_revolution
		prerequisite = { focus = AUS_rally_the_people focus = AUS_rebuild_democratic_systems focus = AUS_a_new_constitution}
		mutually_exclusive = { }
		x = 5
		y = 1
		relative_position_id = AUS_rally_the_people

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				
				has_completed_focus = AUS_hold_elections
				
				
			}
		}


		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				
				has_completed_focus = AUS_the_danubian_federation
				
				
			}
		}

		available = {
			IF = {
				OR = {
					has_completed_focus = AUS_austromarxism_focus
					AND = {
						has_government = democratic
						has_country_leader = {
							ruling_only = yes 
							character = AUS_karl_renner
						}
					}
				}
				
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			division_template = {
				name = "Schutzbund Division"
				priority = 1
				division_names_group = AUS_INF_02
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 0 y = 2 }
		
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
					militia = { x = 1 y = 2 }
		
				}
				support = {
					engineer = { x = 0 y = 0 }
				}
			}


			IF = {
				limit = { 
					has_completed_focus = AUS_austromarxism_focus 
					NOT = { has_completed_focus = AUS_properly_trained_militias }
				}

				add_ideas = AUS_militia_support

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = AUS_schutzbund_support_tt

				custom_effect_tooltip = generic_skip_one_line_tt

				show_unit_leaders_tooltip = AUS_julius_deutsch
			}

			ELSE_IF = {
				limit = {
					has_completed_focus = AUS_properly_trained_militias
				}

				random_owned_controlled_state = {
					limit = { is_fully_controlled_by = ROOT } 
					create_unit = {
						division = "name = \"1. Schutzbund Division\" division_template = \"Schutzbund Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}
				random_owned_controlled_state = {
					limit = { is_fully_controlled_by = ROOT }
					create_unit = {
						division = "name = \"2. Schutzbund Division\" division_template = \"Schutzbund Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}
			}
			
			ELSE = {

				add_ideas = AUS_militia_support

				custom_effect_tooltip = generic_skip_one_line_tt

				random_owned_controlled_state = {
					limit = { is_fully_controlled_by = ROOT } 
					create_unit = {
						division = "name = \"1. Schutzbund Division\" division_template = \"Schutzbund Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}
				random_owned_controlled_state = {
					limit = { is_fully_controlled_by = ROOT }
					create_unit = {
						division = "name = \"2. Schutzbund Division\" division_template = \"Schutzbund Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}

				hidden_effect = {
					country_event = {
						id = AUS_political_events.35
						days = 30
					}
				}
			}
		}
	}

	focus = { # COMMUNIST
		id = AUS_emergency_measaures
		icon = GFX_focus_generic_national_security
		prerequisite = { focus = AUS_ban_dnsap }
		prerequisite = { focus = AUS_renounce_the_treaties } 
		mutually_exclusive = { }
		x = 0
		y = 2
		relative_position_id = AUS_rally_the_people

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_timed_idea = {
				idea = AUS_emergency_measures
				days = 720
			}
		}
	}

	

	focus = { #COMMUNIST & DEMOCRATIC
		id = AUS_intervention_in_spain
		icon = GFX_focus_focus_fra_intervention_spain
		prerequisite = { focus = AUS_emergency_measaures focus = AUS_seek_support_from_guarantors }
		mutually_exclusive = { }
		x = 5
		y = 1
		relative_position_id = AUS_emergency_measaures

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_global_flag = spanish_civil_war
			NOT = {
				has_global_flag = scw_over
			}

			any_country = {
				original_tag = SPR 
				exists = yes
				OR = {
					has_government = democratic
					has_government = communism
				}
			
			}
			
		}
		
		bypass = {

		}

		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_hold_elections
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_global_flag = spanish_civil_war
					NOT = {
						has_global_flag = scw_over
					}
					SPD = {
						exists = yes
						OR = {
							has_government = democratic
							has_government = communism
						}
					}
				}

				add_relation_rule_override = {
				  	target = SPD
				  	can_send_volunteers = yes
				}	
			}

			ELSE = { #just a tooltip for when SPD does not exist, will never happen
				add_relation_rule_override = {
				  	target = SPR
				  	can_send_volunteers = yes
				}
			}

			IF = {
				limit = {
					NOT = {
						has_idea = AUS_volunteer_effort
					}
				}
				
				add_timed_idea = {
					idea = AUS_volunteer_effort
					days = 720
				}	
			}
		}
	}

	focus = { # COMMUNIST & DEMOCRATIC
		id = AUS_invite_spanish_exiles
		icon = GFX_focus_generic_invite_republican_spanish_exiles
		prerequisite = { focus = AUS_intervention_in_spain}
		mutually_exclusive = { focus = AUS_celebrate_spanish_victory }
		x = -1
		y = 1
		relative_position_id = AUS_intervention_in_spain

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_XP }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_global_flag = scw_over

			any_country = {
				original_tag = SPR
				OR = {
					has_government = democratic
					has_government = communism
				}
				exists = no
			}	
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_manpower = 5000

			army_experience = 10

			add_opinion_modifier = {
				target = SPA
				modifier = large_decrease
			}
		}
	}

	focus = { # COMMUNIST & DEMOCRATIC
		id = AUS_celebrate_spanish_victory
		icon = GFX_focus_generic_befriend_republican_spain_focus
		prerequisite = { focus = AUS_intervention_in_spain}
		mutually_exclusive = { focus = AUS_invite_spanish_exiles }
		x = 1
		y = 1
		relative_position_id = AUS_intervention_in_spain

		search_filters= { FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_flag = AUS_volunteer_effort_SPR_flag
			has_global_flag = scw_over

			any_country = {
				original_tag = SPR
				exists = yes
				OR = {
					has_government = democratic
					has_government = communism
				}
			}
			
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = { has_global_flag = scw_over }
				SPD = {
					country_event = {
						id = AUS_political_events.31
						hours = 12
					}
				}
			}
			ELSE = {
				random_country = {
					limit = {
						original_tag = SPR
						OR = {
							has_government = communism
							has_government = democratic
						}
					}
					country_event = {
						id = AUS_political_events.31
						hours = 12
					}
				}
			}
			
		}
	}

	focus = { # COMMUNIST
		id = AUS_revolution
		icon = GFX_focus_SWE_organize_a_putsch #GFX_focus_spr_masters_of_our_own_fate
		prerequisite = { focus = AUS_emergency_measaures}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_emergency_measaures

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {
			communism > 0.3
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			set_variable = {
				var = AUS_total_anti_com_size #used to calculate how big portion of the army that is NOT supporting the communists
				value = party_popularity@democratic #democratic support
			}
			
			add_to_variable = {
				var = AUS_total_anti_com_size
				value = party_popularity@fascism #adds fascist support to variable
			}
			
			add_to_variable = {
				var = AUS_total_anti_com_size
				value = party_popularity@neutrality #adds non-aligned support to variable
			}

			IF = { #peaceful revolution!
				limit = {
					communism > 0.6
				}

				set_politics = {
					ruling_party = communism
					last_election = "1930.11.9" 
					election_frequency = 48
					elections_allowed = no
				}

				IF = {
					limit = {
						has_completed_focus = AUS_schutzbund_support
					}

					4 = {
						create_unit = {
						division = "division_template =\"Schutzbund Division\" 	start_experience_factor = 0.6" 
						owner = PREV
						count = 3
						}
					}
				}

				hidden_effect = {
					news_event = {
						id = AUS_news_events.9
						hours = 24
					}
				}
			}


			ELSE = { #armed revolution

				hidden_effect = {
					set_capital = {
						state = 152 #Oberösterreich
						remember_old_capital = yes
					}
					news_event = {
						id = AUS_news_events.10
						hours = 24
					}

					IF = {
						limit = {
							has_country_flag = AUS_antischluss_measures_flag
						}
						clr_country_flag = AUS_antischluss_measures_flag
					}
				}

				start_civil_war = {
					ruling_party = communism
					ideology = neutrality
					size = AUS_total_anti_com_size
					states = { 152 153 848 976 } #Oberösterreich, Tirol, Voralberg and Steirmark-Kärnten
				}

				IF = {
					limit = {
						NOT = {
							has_completed_focus = AUS_schutzbund_support
							has_idea = AUS_militia_support
						}
					}

					random_country = {
						limit = {
							original_tag = AUS
							NOT = { has_government = communism }
							has_civil_war = yes
						}

						division_template = {
							name = "Heimwehr Division"
							priority = 1
							division_names_group = AUS_INF_04
							regiments = {
								militia = { x = 0 y = 0 }
								militia = { x = 0 y = 1 }
								militia = { x = 0 y = 2 }
						
								militia = { x = 1 y = 0 }
								militia = { x = 1 y = 1 }
								militia = { x = 1 y = 2 }
						
							}
							support = {
								engineer = { x = 0 y = 0 }
							}
						}

						152 = {
							create_unit = {
								division = "division_template =\"Heimwehr Division\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
								owner = PREV
								count = 2
							} 
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					custom_effect_tooltip = AUS_revolution_tt

					custom_effect_tooltip = generic_skip_one_line_tt

					custom_effect_tooltip = AUS_revolution_tt_2
				}

				ELSE_IF = {
					limit = { 
						has_completed_focus = AUS_schutzbund_support 
						has_idea = AUS_militia_support
					}

					random_country = {
						limit = {
							original_tag = AUS
							has_government = communism 
							has_civil_war = yes
						}

						4 = {
							create_unit = {
								division = "division_template =\"Schutzbund Division\" 	start_experience_factor = 0.6" 
								owner = PREV
								count = 3
							}
						}
					}

					random_country = {
						limit = {
							original_tag = AUS
							NOT = { has_government = communism }
							has_civil_war = yes
						}

						division_template = {
							name = "Heimwehr Division"
							priority = 1
							division_names_group = AUS_INF_04
							regiments = {
								militia = { x = 0 y = 0 }
								militia = { x = 0 y = 1 }
								militia = { x = 0 y = 2 }
						
								militia = { x = 1 y = 0 }
								militia = { x = 1 y = 1 }
								militia = { x = 1 y = 2 }
						
							}
							support = {
								engineer = { x = 0 y = 0 }
							}
						}

						152 = {
							create_unit = {
								division = "division_template =\"Heimwehr Division\" start_experience_factor = 0.2 start_equipment_factor = 1.0"
								owner = PREV
								count = 1
							} 
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					custom_effect_tooltip = AUS_revolution_tt_2
					
				}
			}
		}
	}

	focus = { # COMMUNIST
		id = AUS_seek_soviet_support
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = AUS_revolution }
		mutually_exclusive = { focus = AUS_raid_military_storages }
		x = -2
		y = 1
		relative_position_id = AUS_revolution

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {
			NOT = {
				has_war_with = SOU
			}
			is_subject = no
			SOU = {
				exists = yes
				is_subject = no
				has_war = no
				has_civil_war = no
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = { #should there be a possibility for a guarantee? Or is that later?
			add_political_power = 150
			SOU = {
				country_event = {
					id = AUS_political_events.78
					hours = 12
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				SOU = {
					add_timed_idea = { 
						idea = AUS_aid_austrian_communists 
						days = 730 
					}
					add_ai_strategy = {
						type = send_volunteers_desire
						id = ROOT
						value = 200
					}
				}
				add_opinion_modifier = {
					target = SOU
					modifier = medium_increase
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_seek_soviet_support_tt
		}
	}


	focus = { # COMMUNIST
		id = AUS_politicized_general_staff
		icon = GFX_focus_generic_full_social_mobilization
		prerequisite = { focus = AUS_seek_soviet_support}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_seek_soviet_support

		cost = 5

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			AUS_display_right_communism_spirit = yes 

			add_to_variable = { AUS_austromarxism_theorist_cost_factor = -0.1 tooltip = theorist_cost_factor_tt }
			add_to_variable = { AUS_austromarxism_high_command_cost_factor = -0.1 tooltip = high_command_cost_factor_tt }
			add_to_variable = { AUS_austromarxism_command_power_gain_mult = 0.15 tooltip = command_power_gain_mult_tt }

			IF = {

				custom_effect_tooltip = generic_skip_one_line_tt

				random_owned_controlled_state = {
					limit = { PREV = { has_full_control_of_state = PREV } }
					create_unit = {
						division = "name = \"Infanterie Division\" division_template = \"Infanterie Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}
			}
		}
	}

	focus = { # COMMUNIST
		id = AUS_promote_the_worthy
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = AUS_seek_soviet_support }
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_seek_soviet_support

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			AUS_eduard_barger = {
				add_skill_level = 1
				add_attack = 1
				add_planning = 1
				add_logistics = 1
			}

			AUS_emil_liebitzky = {
				add_skill_level = 1
				add_defense = 1
				add_planning = 1
				add_logistics = 1
			}

			IF = {
				limit = { has_completed_focus = AUS_properly_trained_militias }
				AUS_julius_deutsch = {
					add_skill_level = 1
					add_planning = 1
					add_logistics = 2
				}
			}	
		}
	}

	focus = { # COMMUNIST
		id = AUS_raid_military_storages
		icon = GFX_focus_AUS_raid_military_storages
		prerequisite = { focus = AUS_revolution }
		mutually_exclusive = { focus = AUS_seek_soviet_support }
		x = 2
		y = 1

		relative_position_id = AUS_revolution

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = 1500
				producer = ROOT
			}
			add_equipment_to_stockpile = { 
				type = support_equipment
				amount = 500
				producer = ROOT
			}
			IF= {
				limit = {
					has_tech = motorised_infantry
				}
				add_equipment_to_stockpile = { 
					type = motorized_equipment_1
					amount = 200
					producer = ROOT
				}
			}
			ELSE = {
				add_equipment_to_stockpile = { 
					type = motorized_equipment_0
					amount = 200
					producer = ROOT
				}
			}
		}
	}

	focus = { # COMMUNIST 
		id = AUS_the_peoples_army
		icon = GFX_focus_ITA_peasants_rise 
		prerequisite = { focus = AUS_raid_military_storages}
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_raid_military_storages

		search_filters = { FOCUS_FILTER_MANPOWER }

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_peoples_army
					}
				}
				custom_effect_tooltip = AUS_peoples_army_intro_tt

				add_to_variable = { AUS_peoples_army_conscription_factor = 0.15 tooltip = conscription_factor_tt }
				add_to_variable = { AUS_peoples_army_mobilization_speed = 0.1 tooltip = mobilization_speed_tt }
			}

			IF = {
				limit = {
					has_completed_focus = AUS_schutzbund_support
				}

				4 = {
					create_unit = {
					division = "division_template =\"Schutzbund Division\" 	start_experience_factor = 0.6" 
					owner = PREV
					count = 1
					}
				}
			}

			ELSE = {
				add_dynamic_modifier = {
					modifier = AUS_peoples_army
				}

				add_to_variable = { AUS_peoples_army_conscription_factor = 0.15 tooltip = conscription_factor_tt }
				add_to_variable = { AUS_peoples_army_mobilization_speed = 0.1 tooltip = mobilization_speed_tt }
			}

			IF = {
				limit = { has_completed_focus = AUS_schutzbund_support }

				custom_effect_tooltip = generic_skip_one_line_tt

				random_owned_controlled_state = {
					limit = { PREV = { has_full_control_of_state = PREV } }
					create_unit = {
						division = "name = \"Schutzbund Division\" division_template = \"Schutzbund Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}
			}
		}
	}

	focus = { # COMMUNIST
		id = AUS_properly_trained_militias
		icon = GFX_focus_AUS_properly_trained_militias
		prerequisite = { focus = AUS_raid_military_storages }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_raid_military_storages

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = { has_idea = AUS_militia_support }
				remove_ideas = AUS_militia_support
			}

			IF = {
				limit = {
					has_completed_focus = AUS_schutzbund_support
				}

				4 = {
					create_unit = {
					division = "division_template =\"Schutzbund Division\" 	start_experience_factor = 0.6" 
					owner = PREV
					count = 1
					}
				}
			}

			ELSE = {
				show_unit_leaders_tooltip = AUS_julius_deutsch
			}

			show_unit_leaders_tooltip = AUS_theodor_korner

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_peoples_army
					}
				}
				custom_effect_tooltip = AUS_peoples_army_intro_tt
				add_to_variable = { AUS_peoples_army_militia_attack = 0.3 tooltip = modifier_army_sub_unit_militia_attack_factor_tt }
				add_to_variable = { AUS_peoples_army_militia_defence = 0.3 tooltip = modifier_army_sub_unit_militia_defence_factor_tt }
				add_to_variable = { AUS_peoples_army_militia_speed = 0.15 tooltip = modifier_army_sub_unit_militia_speed_factor_tt }
			}

			ELSE = {
				add_dynamic_modifier = {
					modifier = AUS_peoples_army
				}

				add_to_variable = { AUS_peoples_army_militia_attack = 0.3 tooltip = modifier_army_sub_unit_militia_attack_factor_tt }
				add_to_variable = { AUS_peoples_army_militia_defence = 0.3 tooltip = modifier_army_sub_unit_militia_defence_factor_tt }
				add_to_variable = { AUS_peoples_army_militia_speed = 0.15 tooltip = modifier_army_sub_unit_militia_speed_factor_tt }
			}
			

			IF = {
				limit = { has_completed_focus = AUS_schutzbund_support }

				custom_effect_tooltip = generic_skip_one_line_tt

				random_owned_controlled_state = {
					limit = { PREV = { has_full_control_of_state = PREV } }
					create_unit = {
						division = "name = \"Schutzbund Division\" division_template = \"Schutzbund Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}

				random_owned_controlled_state = {
					limit = { PREV = { has_full_control_of_state = PREV } }
					create_unit = {
						division = "name = \"Schutzbund Division\" division_template = \"Schutzbund Division\" start_experience_factor = 0.6" 
						owner = PREV
					}
				}
			}

		}
	}

	

	focus = { # COMMUNIST 
		id = AUS_a_new_beginning
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = AUS_seek_soviet_support focus = AUS_raid_military_storages }
		x = 0
		y = 3
		relative_position_id = AUS_revolution

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			has_civil_war = no		
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			AUS_display_right_communism_spirit = yes 

			add_to_variable = { AUS_austromarxism_communism_support = 0.03 tooltip = communism_drift_tt }
			add_to_variable = { AUS_austromarxism_party_popularity_stability_factor = 0.15 tooltip = party_popularity_stability_factor_tt }
			add_to_variable = { AUS_austromarxism_political_power_factor = 0.1 tooltip = political_power_factor_tt }
		}
	}

	focus = { # COMMUNIST 
		id = AUS_a_safe_harbor_for_dissidents
		icon = GFX_focus_SWE_refuge_for_revolutionaries
		prerequisite = { focus = AUS_properly_trained_militias }
		prerequisite = { focus = AUS_the_peoples_army }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_properly_trained_militias

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			AUS_display_right_communism_spirit = yes 

			add_to_variable = { AUS_austromarxism_communism_support = 0.02 tooltip = communism_drift_tt }
			add_to_variable = { AUS_austromarxism_production_factory_efficiency_gain_factor = 0.05 tooltip = production_factory_efficiency_gain_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt

			UKR = {
				IA_olga_taratuta = {
					set_nationality = AUS
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			custom_effect_tooltip = AUS_a_safe_harbor_for_dissidents_tt
		}
	}

	

	focus = {
		id = AUS_universitat_wien
		icon = GFX_focus_research
		prerequisite = {  focus = AUS_a_new_beginning focus = AUS_join_the_allies focus = AUS_alpine_federation_focus}
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_a_safe_harbor_for_dissidents

		search_filters = { FOCUS_FILTER_RESEARCH }

		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_hold_elections
			}
		}

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = { #COMMUNIST & DEMOCRATIC
		id = AUS_womens_education_initiative
		icon = GFX_focus_AUS_womens_education_initiative
		prerequisite = { focus = AUS_universitat_wien }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_universitat_wien

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		

		available_if_capitulated = no

		completion_reward = {
			add_ideas = AUS_women_in_academia

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_marianne_pollak

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = AUS_hedy_lamarr
			}
		}
	}

	focus = {
		id = AUS_scientific_grants
		icon = GFX_focus_generic_university_3
		prerequisite = { focus = AUS_universitat_wien }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_universitat_wien

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = AUS_nuclear_effort
		}
	}

	focus = { # COMMUNIST 
		id = AUS_danubian_socialist_communes
		icon = GFX_focus_AUS_danubian_socialist_communes
		prerequisite = { focus = AUS_a_new_beginning }
		prerequisite = { focus = AUS_a_safe_harbor_for_dissidents }
		mutually_exclusive = { focus = AUS_join_comintern }
		x = 1
		y = 1
		relative_position_id = AUS_a_new_beginning

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			is_subject = no
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			create_faction_from_template = {
				template = faction_template_POR_popular_front_bloc
				name = AUS_danubian_bloc
				icon = GFX_faction_logo_generic_14
			}
			set_rule = { can_create_factions = yes }

			hidden_effect = {
				news_event = {
					id = AUS_news_events.11
					hours = 48
				}
			}
		}
	}

	focus = { # COMMUNIST
		id = AUS_establish_rote_hilfe
		icon = GFX_focus_generic_communist
		prerequisite = { focus = AUS_a_safe_harbor_for_dissidents}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_a_safe_harbor_for_dissidents

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor

			custom_effect_tooltip = generic_skip_one_line_tt

			show_ideas_tooltip = AUS_malke_schorr

			custom_effect_tooltip = generic_skip_one_line_tt
			
			show_ideas_tooltip = AUS_egon_schonhof

		}
	}

	focus = { # COMMUNIST
		id = AUS_cut_ties_with_the_church
		icon = GFX_focus_ARG_state_atheism
		prerequisite = { focus = AUS_a_new_beginning}
		mutually_exclusive = { }
		x = 2
		y = 2
		relative_position_id = AUS_a_new_beginning

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH}

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = generic_remove_as_political_advisor_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			show_ideas_tooltip = AUS_heinrich_maier

			custom_effect_tooltip = generic_skip_one_line_tt

			show_ideas_tooltip = AUS_theodor_innitzer

			custom_effect_tooltip = generic_skip_one_line_tt

			AUS_display_right_communism_spirit = yes 

			add_to_variable = { AUS_austromarxism_stability_factor = 0.05 tooltip = stability_factor_tt}
			add_to_variable = { AUS_austromarxism_research_speed_factor = 0.05 tooltip = research_speed_factor_tt }
		}
	}

	focus = { # COMMUNIST
		id = AUS_centralize_the_industrial_sector
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = AUS_a_new_beginning }
		prerequisite = { focus = AUS_align_with_ussr }
		mutually_exclusive = { }
		x = -2
		y = 2
		relative_position_id = AUS_a_new_beginning

		search_filters = { FOCUS_FILTER_INDUSTRY}

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			AUS_display_right_communism_spirit = yes
			
			add_to_variable = { AUS_austromarxism_production_speed_industrial_complex_factor = 0.1 tooltip = production_speed_industrial_complex_factor_tt }
			add_to_variable = { AUS_austromarxism_production_speed_arms_factory_factor = 0.1 tooltip = production_speed_arms_factory_factor_tt }
		}
	}

	

	focus = { # COMMUNIST 
		id = AUS_align_with_ussr
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = AUS_promote_the_worthy }
		prerequisite = { focus = AUS_politicized_general_staff }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_promote_the_worthy

		cost = 5

		ai_will_do = {
			factor = 7
		}

		available = {
			NOT = {
				has_war_with = SOU
			}
			SOU = {
				exists = yes
			}
		}
		
		bypass = {
			SOU = {
				exists = no
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					SOU = {
						has_completed_focus = SOV_the_centre
						has_government = communism
					}
				}

				IF = {
					limit = {
						has_country_leader = {
							ruling_only = yes # default = yes
							character = AUS_alfred_klahr
						}
					}

					AUS_alfred_klahr = {
						hidden_effect = {
							remove_country_leader_role = {
								ideology = marxism
							}
						}

						add_country_leader_role = {
							promote_leader = yes
							country_leader = {
								ideology = stalinism
								expire = "1965.1.1.1"
								traits = { staunch_stalinist } 
							}
						}
					}
					
				}

				ELSE_IF = {
					limit = {
						has_country_leader = {
							ruling_only = yes # default = yes
							character = AUS_johann_koplenig
						}
					}

					AUS_johann_koplenig = {
						hidden_effect = {
							remove_country_leader_role = {
								ideology = leninism
							}
						}
						

						add_country_leader_role = {
							promote_leader = yes
							country_leader = {
								ideology = stalinism
								expire = "1965.1.1.1"
								traits = { staunch_stalinist } 
							}
						}
					}
				}

				custom_effect_tooltip = AUS_austromarxism_becomes_austrostalinism

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = AUS_austrostalinism_set_to_intro_tt

				
				set_variable = {
					var = AUS_austromarxism_democratic_support
					value = 0
					tooltip = democratic_drift_tt
				}

				hidden_effect = {
					remove_dynamic_modifier = {
						modifier = AUS_austromarxism
					}
					add_dynamic_modifier = {
						modifier = AUS_austrostalinism
					}
				}
			}

			ELSE_IF = {
				limit = {
					SOU = {
						has_completed_focus = SOV_long_live_the_workers_government
						has_government = communism
					}
				}
				IF = {
					limit = {
						has_country_leader = {
							ruling_only = yes # default = yes
							character = AUS_alfred_klahr
						}
					}

					AUS_alfred_klahr = {
						hidden_effect = {
							remove_country_leader_role = {
								ideology = marxism
							}
						}
						

						add_country_leader_role = {
							promote_leader = yes
							country_leader = {
								ideology = leninism
								expire = "1965.1.1.1"
								traits = { devoted_trotskyist } 
							}
						}
					}
					
				}

				ELSE_IF = {
					limit = {
						has_country_leader = {
							ruling_only = yes # default = yes
							character = AUS_johann_koplenig
						}
					}

					AUS_johann_koplenig = {
						add_country_leader_trait = devoted_trotskyist
						promote_leader = yes
					}
				}

				custom_effect_tooltip = AUS_austromarxism_becomes_austrotrotskyism

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = AUS_austrotrotskyism_set_to_intro_tt

				
				set_variable = {
					var = AUS_austromarxism_democratic_support
					value = 0
					tooltip = democratic_drift_tt
				}

				hidden_effect = {
					remove_dynamic_modifier = {
						modifier = AUS_austromarxism
					}
					add_dynamic_modifier = {
						modifier = AUS_austrotrotskyism
					}
				}
			}

			ELSE = {
				custom_effect_tooltip = AUS_align_with_ussr_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			SOU = {
				country_event = {
					id = AUS_political_events.81
					hours = 24
				}
			}
		}
	}

	focus = { # COMMUNIST 
		id = AUS_join_comintern
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = AUS_align_with_ussr}
		prerequisite = { focus = AUS_a_new_beginning}
		mutually_exclusive = { focus = AUS_danubian_socialist_communes }
		x = -1
		y = 1
		relative_position_id = AUS_a_new_beginning

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {
			is_in_faction = no
			is_subject = no
			SOU = {
				exists = yes
				has_government = communism
				NOT = {
					has_war_with = ROOT
				}
				is_faction_leader = yes
			}
		}
		
		bypass = {
			is_in_faction_with = SOU
		}

		available_if_capitulated = no

		completion_reward = {
			SOU = {
				country_event = {
					id = AUS_political_events.40
					hours = 24
				}
			}
		}
	}

	

	focus = { # COMMUNIST 
		id = AUS_spur_the_communist_resistance
		icon = GFX_focus_generic_spur_communist_revolutions
		prerequisite = { focus = AUS_cut_ties_with_the_church focus = AUS_centralize_the_industrial_sector }
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_cut_ties_with_the_church

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {
			AUS_danubian_communism_bypass = yes
		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_spur_the_communist_resistance_tt

			custom_effect_tooltip = AUS_danubian_countries_tt
			custom_effect_tooltip = AUS_danubian_observers_tt

			#custom_effect_tooltip = AUS_extended_danubian_list_tt
		}
	}

	focus = { # COMMUNIST 
		id = AUS_rapid_revolutions
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = AUS_spur_the_communist_resistance }
		mutually_exclusive = { focus = AUS_meticulous_preparations}
		x = -1
		y = 1
		relative_position_id = AUS_spur_the_communist_resistance

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 5 

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_political_power = 100
			add_command_power = 25

			custom_effect_tooltip = generic_skip_one_line_tt

			AUS_display_right_communism_spirit = yes 

			add_to_variable = { AUS_austromarxism_planning_speed = 0.1 tooltip = planning_speed_factor_tt }
		}
	}

	focus = { # COMMUNIST 
		id = AUS_meticulous_preparations
		icon = GFX_focus_ger_great_red_menace
		prerequisite = { focus = AUS_spur_the_communist_resistance }
		mutually_exclusive = { focus = AUS_rapid_revolutions }
		x = 1
		y = 1
		relative_position_id = AUS_spur_the_communist_resistance

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }

		cost = 5

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_political_power = 25
			add_stability = 0.1
			add_war_support = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			AUS_display_right_communism_spirit = yes

			add_to_variable = { AUS_austromarxism_max_planning_factor = 0.1 tooltip = max_planning_factor_tt }
		}
	}

	focus = { # COMMUNIST 
		id = AUS_demand_liberation_of_workers
		icon = GFX_focus_generic_workers_and_farmers_rise
		prerequisite = { focus = AUS_meticulous_preparations focus = AUS_rapid_revolutions }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_meticulous_preparations

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {
			AUS_danubian_communism_bypass = yes
			custom_trigger_tooltip = {
				tooltip = AUS_danubian_communism_bypass_has_rejected_tt
			}
			
		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_demand_liberation_of_workers_tt
		}
	}

	focus = { # COMMUNIST 
		id = AUS_union_of_danubian_socialist_republics
		icon = GFX_focus_AUS_union_of_danubian_socialist_republics
		prerequisite = { focus = AUS_demand_liberation_of_workers}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_demand_liberation_of_workers

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			set_cosmetic_tag = AUS_union_of_danubian_socialists
			custom_effect_tooltip = generic_skip_one_line_tt

			AUS_display_right_communism_spirit = yes

			add_to_variable = { AUS_austromarxism_justify_war_goal_time = -0.1 tooltip = justify_war_goal_time_tt }
			add_to_variable = { AUS_austromarxism_annex_cost_factor = -0.1 tooltip = annex_cost_factor_tt }
		}
	}

	focus = { # COMMUNIST 
		id = AUS_the_correct_communism
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = AUS_union_of_danubian_socialist_republics}
		mutually_exclusive = { focus = AUS_seize_galicia }
		x = -2
		y = 1
		relative_position_id = AUS_union_of_danubian_socialist_republics
		will_lead_to_war_with = SOV

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			NOT = {
				OR = {
					is_in_faction_with = SOV
					has_completed_focus = AUS_align_with_ussr
					has_war_with = SOV
					is_subject = no
				}
			}

			SOV = {
				exists = yes
				has_government = communism
				is_subject = no
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {


			create_wargoal = {
				type = annex_everything
				target = SOV
			}
		}
	}

	focus = { # COMMUNIST 
		id = AUS_seize_galicia
		icon = GFX_focus_POL_reassert_silesian_claims
		prerequisite = { focus = AUS_union_of_danubian_socialist_republics}
		mutually_exclusive = { focus = AUS_the_correct_communism }
		x = 2
		y = 1
		relative_position_id = AUS_union_of_danubian_socialist_republics

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject = no
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_seize_galicia_tt
			hidden_effect = {
				88 ={
					add_core_of = ROOT
					OWNER = {
						ROOT = {
							create_wargoal = {
								type = take_core_state
								target = PREV
								generator = { 88 } 
							}
						}
					}
				}
				89 ={
					add_core_of = ROOT
					OWNER = {
						ROOT = {
							create_wargoal = {
								type = take_core_state
								target = PREV
								generator = { 89 } 
							}
						}
					}
				}
				91 ={
					add_core_of = ROOT
					OWNER = {
						ROOT = {
							create_wargoal = {
								type = take_core_state
								target = PREV
								generator = { 91 } 
							}
						}
					}
				}
			}

			
		}
	}

	#############################
	######## DEMOCRATIC #########
	#############################


	focus = { #democratic
		id = AUS_hold_elections
		icon = GFX_focus_NOR_restore_public_trust_in_the_storting
		prerequisite = { focus = AUS_release_imprisoned_leaders focus = AUS_austria_against_fascism }
		mutually_exclusive = { focus = AUS_austromarxism_focus focus = AUS_reinstate_the_imperial_council }
		x = 0
		y = 1
		relative_position_id = AUS_release_imprisoned_leaders

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {
			has_war = no
		}
		
		bypass = {
			has_government = democratic
		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = AUS_austromarxism_focus
						has_completed_focus = AUS_reinstate_the_imperial_council
						has_completed_focus = AUS_totalitarian_safety
					}
				}
				
			}
		}

		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_hold_elections
			}
		}

		available_if_capitulated = no

		completion_reward = {


			country_event = {
				id = AUS_political_events.90
				hours = 12
			}

			hidden_effect = {
				add_popularity = {
					ideology = democratic
					popularity = 0.2
				}

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

	focus = { # DEMOCRATIC
		id = AUS_rebuild_democratic_systems
		icon = GFX_focus_generic_court
		prerequisite = { focus = AUS_hold_elections}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_hold_elections

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_political_power = 150

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_rebuild_democratic_systems_tt

			set_party_name = {
				ideology = fascism
				long_name = AUS_fascism_vaterlandische_front_long
				name = AUS_fascism_vaterlandische_front
			}

			set_party_name = {
				ideology = neutrality
				long_name = AUS_greater_germany_party_long
				name = AUS_greater_germany_party
			}


			hidden_effect = {
				AUS_fascist_vaterlandische_leader_setup = yes

				
				
				every_other_country = {
					limit = {
						original_tag = GER
						has_government = fascism
					}
					country_event = {
						id = AUS_political_events.15
						days = 3
					}
				}
				
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_a_new_constitution
		icon = GFX_focus_generic_treaty
		prerequisite = { focus = AUS_hold_elections}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_hold_elections

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_dynamic_modifier = {
							modifier = AUS_farr
						}
					}
				}

				add_dynamic_modifier = {
					modifier = AUS_farr
				}

				add_to_variable = { AUS_farr_stability_factor = 0.05 tooltip = stability_factor_tt }
				add_to_variable = { AUS_farr_democratic_drift = 0.03 tooltip = democratic_drift_tt }
			}

			ELSE = { #this is purely for tooltip reasons
				add_dynamic_modifier = {
					modifier = AUS_farr
				}
			}
		}
	}


	focus = { # DEMOCRATIC
		id = AUS_seek_support_from_guarantors
		icon = GFX_focus_AUS_seek_support_from_guarantors
		prerequisite = { focus = AUS_a_new_constitution }
		prerequisite = { focus = AUS_rebuild_democratic_systems }
		mutually_exclusive = { focus = AUS_the_danubian_federation focus = AUS_legacy_of_the_empire }
		x = -1
		y = 2
		relative_position_id = AUS_a_new_constitution

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = AUS_the_danubian_federation}
				NOT = { has_completed_focus = AUS_reinstate_the_imperial_council }
				NOT = { has_completed_focus = AUS_totalitarian_safety }
				NOT = { has_completed_focus = AUS_austromarxism_focus }
			}
		}

		available_if_capitulated = no

		completion_reward = {

			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			
			IF = {
				limit = { 
					FRA = {
						exists = yes
						has_government = democratic 
					}
				}
				FRA = {
					country_event = {
						id = AUS_political_events.20
						days = 1
					}
				}
			}
			
			IF = {
				limit = { 
					USA = {
						exists = yes
						has_government = democratic 
					}
				}
				USA = {
					country_event = {
						id = AUS_political_events.20
						days = 1
					}
				}
			}

			IF = {
				limit = { 
					ENG = {
						exists = yes
						has_government = democratic 
					}
				}
				ENG = {
					country_event = {
						id = AUS_political_events.20
						days = 1
					}
				}
			}
			
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_approach_democratic_guarantors_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			effect_tooltip = {
				IF = {
					limit = { has_dlc = "Arms Against Tyranny" }

					
					AUS = {
						add_equipment_subsidy = {
							cic = 1000  
							equipment_type = infantry_equipment 
							seller_tags = { FRA }  			
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = ENG
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = USA
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt
					
					
				}
				ELSE = {
					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = FRA
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = ENG
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = USA
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt
				}

				AUS = {
					add_opinion_modifier = {
						target = FRA
						modifier = took_stand_for_us
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				AUS = {
					add_opinion_modifier = {
						target = ENG
						modifier = took_stand_for_us
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				AUS = {
					add_opinion_modifier = {
						target = USA
						modifier = took_stand_for_us
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				
				give_guarantee = AUS
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_seek_support_from_guarantors_tt

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


	focus = { # DEMOCRATIC
		id = AUS_stabilize_the_political_climate
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = AUS_seek_support_from_guarantors}
		mutually_exclusive = { focus = AUS_outlaw_the_radicals }
		x = -1
		y = 2
		relative_position_id = AUS_seek_support_from_guarantors

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			} 
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_outlaw_the_radicals
		icon = GFX_focus_spr_crush_the_revolution
		prerequisite = { focus = AUS_seek_support_from_guarantors}
		mutually_exclusive = { focus = AUS_stabilize_the_political_climate }
		x = 1
		y = 2
		relative_position_id = AUS_seek_support_from_guarantors

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_stability = -0.15

			custom_effect_tooltip = generic_skip_one_line_tt
			
			add_popularity = {
				ideology = democratic
				popularity = 0.15
			}
			add_popularity = {
				ideology = fascism
				popularity = -0.075
			}
			add_popularity = {
				ideology = neutrality
				popularity = -0.075
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_strengthen_the_cabinet
		icon = GFX_goal_support_democracy
		prerequisite = { focus = AUS_outlaw_the_radicals focus = AUS_stabilize_the_political_climate }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_outlaw_the_radicals

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			democratic > 0.5
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip =  AUS_farr_intro_tt

			add_to_variable = { AUS_farr_political_advisor_cost_factor = -0.15 tooltip = political_advisor_cost_factor_tt }
			add_to_variable = { AUS_farr_political_power_factor = 0.1 tooltip = political_power_factor_tt }
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_join_the_allies
		icon = GFX_focus_AUS_join_the_allies
		prerequisite = { focus = AUS_strengthen_the_cabinet}
		mutually_exclusive = { focus = AUS_alpine_federation_focus }
		x = -1
		y = 1
		relative_position_id = AUS_strengthen_the_cabinet

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			is_in_faction = no
			is_subject = no
		}
		
		bypass = {
			is_in_faction = yes
		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					ENG = {
						exists = yes
						has_government = democratic
						is_faction_leader = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}

				ENG = {
					country_event = {
						id = AUS_political_events.96
						hours = 12
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = AUS_join_the_allies_tt
			}
			ELSE_IF = {
				limit = {
					FRA = {
						exists = yes
						has_government = democratic
						is_faction_leader = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}

				FRA = {
					country_event = {
						id = AUS_political_events.96
						hours = 12
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = AUS_join_the_allies_tt
			}
			ELSE_IF = {
				limit = {
					USA = {
						exists = yes
						has_government = democratic
						is_faction_leader = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}

				USA = {
					country_event = {
						id = AUS_political_events.96
						hours = 12
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = AUS_join_the_allies_tt
			}

			ELSE = {
				set_rule = { can_create_factions = yes }

				create_faction_from_template = {
					template = faction_template_balkan_pact 
					name = AUS_danubian_federation
				}
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_industrial_exchange
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = AUS_join_the_allies }
		x = -1
		y = 1
		relative_position_id = AUS_join_the_allies

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = yes
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}

				prioritize = { 4 152 976 975 } #Niederösterreich, Oberösterreich, Steirmark-Kärntern, Burgenland
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_tech_bonus = {
				name = AUS_industrial_exchange
				bonus = 0.5
				uses = 2
				category = construction_tech
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_doctrine_cost_reduction = {
				name = AUS_industrial_exchange
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_alpine_federation_focus
		icon = GFX_focus_GRE_a_land_of_mountains
		prerequisite = { focus = AUS_strengthen_the_cabinet }
		mutually_exclusive = { focus = AUS_join_the_allies }
		x = 1
		y = 1
		relative_position_id = AUS_strengthen_the_cabinet

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
			has_government = democratic
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			create_faction_from_template = {
				template = faction_template_defensive_democratic
				name = AUS_alpine_federation
				icon = GFX_faction_logo_generic_2
			}
			set_rule = { can_create_factions = yes }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_alpine_federation_focus_tt
			
			hidden_effect = {
				IF = {
					limit = {
						SWI = {
							exists = yes
							OR = {
								has_government = neutrality
								has_government = democratic
							}
							is_in_faction = no
						}
					}

					SWI = {
						country_event = {
							id = generic.5
							hours = 12
						}

						add_ai_strategy = { 
							type = alliance 
							id = ROOT
							value = 100
						}
					}
				}

				IF = {
					limit = {
						FRA = {
							exists = yes
							OR = {
								has_government = neutrality
								has_government = democratic
							}
							is_in_faction = no
						}
					}

					FRA = { 
						country_event = {
							id = generic.5
							hours = 12
						}

						add_ai_strategy = { 
							type = alliance 
							id = ROOT
							value = 100
						}
					}
				}

				IF = {
					limit = {
						ITA = {
							exists = yes
							OR = {
								has_government = neutrality
								has_government = democratic
							}
							is_in_faction = no
						}
					}

					ITA = { 
						country_event = {
							id = generic.5
							hours = 12
						}

						add_ai_strategy = { 
							type = alliance 
							id = ROOT
							value = 100
						}
					}
				}
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_invite_the_entente
		icon = GFX_focus_AUS_invite_the_entente
		prerequisite = { focus = AUS_alpine_federation_focus }
		x = 1
		y = 1
		relative_position_id = AUS_alpine_federation_focus

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
			has_government = democratic

			OR = {
				YUG = { 
					AND = {
						is_in_faction = no 
						exists = yes
						NOT = { has_war_with = ROOT }
					}
				}
				ROM = { 
					AND = {
						is_in_faction = no 
						exists = yes
						NOT = { has_war_with = ROOT }
					}
				}
				CZE = { 
					AND = {
						is_in_faction = no 
						exists = yes
						NOT = { has_war_with = ROOT }
					}
				}
			}
		}
		
		bypass = {
			AND = {
				YUG = { 
					OR = {
						is_in_faction = yes 
						exists = no
						has_war_with = ROOT
					}
				}
				ROM = { 
					OR = {
						is_in_faction = yes 
						exists = no
						has_war_with = ROOT
					}
				}
				CZE = { 
					OR = {
						is_in_faction = yes 
						exists = no
						has_war_with = ROOT
					}
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

		custom_effect_tooltip = AUS_invite_the_entente_tt

			hidden_effect = {
				IF = {
					limit = {
						YUG = {
							exists = yes
							NOT = { has_war_with = ROOT }
							is_in_faction = no
						}
					}
	
					YUG = { 
						country_event = {
							id = generic.5
							hours = 12
						}
					}
				}
	
				IF = {
					limit = {
						ROM = {
							exists = yes
							NOT = { has_war_with = ROOT }
							is_in_faction = no
						}
					}
	
					ROM = { 
						country_event = {
							id = generic.5
							hours = 12
						}
					}
				}
	
				IF = {
					limit = {
						CZE = {
							exists = yes
							NOT = { has_war_with = ROOT }
							is_in_faction = no
						}
					}
	
					CZE = { 
						country_event = {
							id = generic.5
							hours = 12
						}
					}
				}
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_offensive_on_the_fascists
		icon = GFX_focus_attack_italy
		prerequisite = { focus = AUS_invite_the_entente }
		x = 0
		y = 1
		relative_position_id = AUS_invite_the_entente

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
			has_government = democratic
			any_country = {
				original_tag = ITA
				NOT = { is_in_faction_with = ROOT }
				exists = yes
				has_government = fascism
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			every_country = {
				limit = {
					OR = {
						original_tag = AUS
						is_in_faction_with = ROOT
					}
				}

				add_ideas = AUS_alpine_federation_against_fascism
			}

			IF = {
				limit = {
					has_government = democratic
					NOT = {
						has_wargoal_against = {
							target = ITA
						}
					}
				}
				create_wargoal = {
					type = topple_government
					target = ITA
				}
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_pardon_political_exiles
		icon = GFX_focus_AUS_pardon_political_exiles
		prerequisite = { focus = AUS_join_the_allies focus = AUS_alpine_federation_focus }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_join_the_allies

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_franz_winkler

			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes # default = yes
							character = AUS_vinzenz_schumy
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				show_ideas_tooltip = AUS_otto_bauer
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_the_right_to_rearm
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AUS_seek_support_from_guarantors focus = AUS_the_danubian_federation }
		mutually_exclusive = { }
		x = 4
		y = 2
		relative_position_id = AUS_seek_support_from_guarantors

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}

		offset = {
			x = -6
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_the_danubian_federation
			}
		}

		offset = {
			x = -12
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}

		offset = {
			x = 13
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_reinstate_the_imperial_council
				has_completed_focus = AUS_the_danubian_federation
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = { has_government = democratic }

				custom_effect_tooltip = AUS_the_right_to_rearm_dem_tt

				custom_effect_tooltip = AUS_seek_agreement_for_rearmament_tt

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = AUS_the_right_to_rearm_fed_instead_tt

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = AUS_rearmament_and_guarantees_tt

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = AUS_seek_support_from_guarantors_tt

				hidden_effect = {
					IF = {
						limit ={ 
							ITA = {
								exists = yes
							}
						}
						ITA = {
							country_event = {
								id = AUS_political_events.27
								hours = 24
							}
						}
					}

					ELSE_IF = {
						limit ={ 
							ITA = {
								exists = no
							}
							FRA = {
								exists = yes
							}
						}
						FRA = {
							country_event = {
								id = AUS_political_events.27
								hours = 24
							}
						}
					}

					ELSE_IF = {
						limit ={ 
							ITA = {
								exists = no
							}
							FRA = {
								exists = no
							}
							ENG = {
								exists = yes
							}
						}
						ENG = {
							country_event = {
								id = AUS_political_events.27
								hours = 24
							}
						}
					}

					ELSE_IF = {
						limit ={ 
							ITA = {
								exists = no
							}
							FRA = {
								exists = no
							}
							ENG = {
								exists = no
							}
							USA = {
								exists = yes
							}
						}
						USA = {
							country_event = {
								id = AUS_political_events.27
								hours = 24
							}
						}
					}
				}
			}

			ELSE = {

				custom_effect_tooltip = AUS_the_right_to_rearm_fed_tt

				custom_effect_tooltip = generic_skip_one_line_tt

				remove_ideas = AUS_treaty_of_saint_germain_en_laye

				custom_effect_tooltip = generic_skip_one_line_tt

				ITA = {
					country_event = {
						id = AUS_political_events.30
						days = 1
					}
				}
				FRA = {
					country_event = {
						id = AUS_political_events.30
						days = 1
					}
				}
				ENG = {
					country_event = {
						id = AUS_political_events.30
						days = 1
					}
				}
				USA = {
					country_event = {
						id = AUS_political_events.30
						days = 1
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = AUS_the_right_to_rearm_dem_instead_tt

				custom_effect_tooltip = generic_skip_one_line_tt

				custom_effect_tooltip = AUS_rearmament_and_guarantees_tt

				hidden_effect = {
					news_event = {
						id = AUS_news_events.5
						days = 2
					}
				}


			}
			
		}
	}


	focus = { # DEMOCRATIC
		id = AUS_defence_of_the_homeland
		icon = GFX_focus_AUS_defence_of_the_homeland 
		prerequisite = { focus = AUS_the_right_to_rearm}
		mutually_exclusive = { focus = AUS_austrian_aggression }
		x = -1
		y = 1
		relative_position_id = AUS_the_right_to_rearm

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_dynamic_modifier = {
				modifier = AUS_doth
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_the_political_front
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = AUS_defence_of_the_homeland}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_defence_of_the_homeland

		search_filters = { FOCUS_FILTER_POLITICAL}

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_doth_intro_tt
			add_to_variable = { AUS_doth_drift_defence_factor = 0.25 tooltip = drift_defence_factor_tt }
			add_to_variable = { AUS_doth_political_power_factor = 0.15 tooltip = political_power_factor_tt }
			add_to_variable = { AUS_doth_defensive_war_stability_factor = 0.30 tooltip = defensive_war_stability_factor_tt }
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_austrian_aggression
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = AUS_the_right_to_rearm}
		mutually_exclusive = { focus = AUS_defence_of_the_homeland }
		x = 1
		y = 1
		relative_position_id = AUS_the_right_to_rearm

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_dynamic_modifier = {
				modifier = AUS_aggression
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_at_the_ready
		icon = GFX_focus_generic_full_social_mobilization
		prerequisite = { focus = AUS_austrian_aggression}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_austrian_aggression

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_aggression_intro_tt
			add_to_variable = { AUS_aggression_industrial_capacity_factory = 0.1 tooltip = industrial_capacity_factory_tt }
			add_to_variable = { AUS_agrression_production_factory_efficiency_gain_factor = 0.1 tooltip = production_factory_efficiency_gain_factor_tt }
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_form_evidenzburo
		icon = GFX_focus_AUS_the_evidenzburo_democratic
		prerequisite = { focus = AUS_at_the_ready focus = AUS_the_political_front }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_at_the_ready

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "La Resistance" 
					has_intelligence_agency = no
				}
				create_intelligence_agency = {
					name = "Evidenzbureau"
					icon = GFX_intelligence_agency_logo_AUS_evidenzbureau_democratic
				}
			}
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}

				IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = AUS_doth
						}
					}

					IF = {
						limit = {
							NOT = {
								has_done_agency_upgrade = upgrade_economy_civilian 
							}
						}
						upgrade_intelligence_agency = upgrade_economy_civilian 
					}
					IF = {
						limit = {
							NOT = {
								has_done_agency_upgrade =upgrade_passive_defense
							}
						}
						upgrade_intelligence_agency = upgrade_passive_defense
					}
				}

				ELSE_IF = {
					limit = {
						has_dynamic_modifier = {
							modifier = AUS_aggression
						}
					}

					IF = {
						limit = {
							NOT = {
								has_done_agency_upgrade =upgrade_economy_civilian 
							}
						}
						upgrade_intelligence_agency = upgrade_economy_civilian 
					}
					IF = {
						limit = {
							NOT = {
								has_done_agency_upgrade = upgrade_army_department
							}
						}
						upgrade_intelligence_agency = upgrade_army_department
					}
				}
				ELSE = {
					custom_effect_tooltip = AUS_form_evidenzburo_tt
				}
			}
			

			ELSE = {
				add_tech_bonus = {
					bonus = 0.75
					uses = 2
					category = decryption_tech
				}
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_lawmaking_leniency
		icon = GFX_focus_AUS_lawmaking_leniency
		prerequisite = { focus = AUS_invite_the_entente focus = AUS_industrial_exchange }
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_invite_the_entente

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }


		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_farr_intro_tt

			add_to_variable = { AUS_farr_economy_cost_factor = -0.1 tooltip = economy_cost_factor_tt }
			add_to_variable = { AUS_farr_mobilization_laws_cost_factor = -0.1 tooltip = mobilization_laws_cost_factor_tt }
			add_to_variable = { AUS_farr_trade_laws_cost_factor = -0.1 tooltip = trade_laws_cost_factor_tt }
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_empowering_the_chancellor
		icon = GFX_focus_ARG_defense_and_democracy
		prerequisite = { focus = AUS_lawmaking_leniency}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_lawmaking_leniency

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER  }

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			has_government = democratic
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_country_leader_trait = AUS_protector_of_austrian_independence
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_join_the_research_program
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AUS_lawmaking_leniency }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_lawmaking_leniency

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_in_faction = yes
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_join_the_research_program_tt

			every_country = {
				limit = {
					OR = {
						tag = ROOT
						is_in_faction_with = ROOT
						is_subject_of = ROOT
					}
				}
				add_to_tech_sharing_group = AUS_allied_tech_sharing_group
			}
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_the_right_to_self_determination
		icon = GFX_focus_AUS_the_right_to_self_determination
		prerequisite = { focus = AUS_join_the_research_program focus = AUS_empowering_the_chancellor }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_join_the_research_program

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_farr_intro_tt

			add_to_variable = { AUS_farr_war_support_factor = 0.05 tooltip = war_support_factor_tt }
			add_to_variable = { AUS_farr_democratic_drift = 0.03 tooltip = democratic_drift_tt }
			add_to_variable = { AUS_farr_conscription_factor = 0.1 tooltip = conscription_factor_tt }
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_our_brothers_in_the_east
		icon = GFX_focus_hun_assassinate_horthy
		prerequisite = { focus = AUS_the_right_to_self_determination }
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_the_right_to_self_determination
		will_lead_to_war_with = HUN

		search_filters = {  }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {
			HUN = {
				has_country_leader = {
					ruling_only = yes # default = yes
					character = HUN_miklos_horthy
				}
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = topple_government
				target = HUN
			}
		}
	}

	focus = { # DEMOCRATIC & COMMUNIST
		id = AUS_deal_with_the_german_threat
		icon = GFX_focus_attack_germany
		prerequisite = { focus = AUS_union_of_danubian_socialist_republics focus = AUS_the_right_to_self_determination focus = AUS_protector_of_the_danube  focus = AUS_via_danube_to_europe }
		mutually_exclusive = { }
		x = 0
		y = 3
		relative_position_id = AUS_the_right_to_self_determination
		will_lead_to_war_with = GER

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			GER = {
				NOT = {
					has_government = ROOT
				}
			}
			is_subject = no
		}
		
		bypass = {

		}

		offset = {
			x = 7
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_austromarxism_focus
			}
		}

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

		offset = {
			x = -4
			y = -1
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}
		offset = {
			x = 3
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_the_danubian_federation
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}


		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_government = neutrality
				}
				create_wargoal = {
					type = annex_everything
					target = GER
				}
			}
			ELSE_IF = {
				limit = {
					has_government = democratic
					NOT = {
						has_wargoal_against = {
							target = GER
						}
					}
				}
				create_wargoal = {
					type = topple_government
					target = GER
				}
			}
				
			add_war_support = 0.1

			add_popularity = {
				ideology = fascism
				popularity = -0.15
			}
			
			add_ideas = AUS_against_fascism

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_unlocks_reichstag_raid
		}
	}

	focus = { # DEMOCRATIC
		id = AUS_end_european_fascism
		icon = GFX_focus_generic_anti_fascist_diplomacy
		prerequisite = { focus = AUS_deal_with_the_german_threat}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_deal_with_the_german_threat

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_government = democratic
				}
				custom_effect_tooltip = AUS_end_european_fascism_d_tt
			}
			ELSE_IF = {
				limit = {
					NOT = { has_government = democratic }
				}
				custom_effect_tooltip = AUS_end_european_fascism_tt
			}
			
			hidden_effect = {
				every_other_country = {
					limit = {
						capital_scope = {
							is_on_continent = europe
						}
						has_government = fascism
						NOT = {
							original_tag = GER
						}
					}
					ROOT = {
						IF = {
							limit = {
								has_government = democratic
							}
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
						ELSE_IF = {
							limit = {
								NOT = {
									has_government = democratic
								}
							}
							create_wargoal = {
								type = puppet_wargoal_focus
								target = PREV
								expire = 0
							}
						}
					}
				}
			}
		}
	}

	#############################
	######## FEDERATIVE #########
	#############################

	focus = { # FEDERATIVE
		id = AUS_the_danubian_federation
		icon = GFX_focus_AUS_the_danubian_federation
		prerequisite = { focus = AUS_hold_elections focus = AUS_reinstate_the_imperial_council }
		mutually_exclusive = { focus = AUS_seek_support_from_guarantors focus = AUS_legacy_of_the_empire }
		x = 7
		y = 3
		relative_position_id = AUS_hold_elections

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			IF = {
				limit = {
					has_government = neutrality
				}
				has_country_leader = {
					ruling_only = yes # default = yes
					character = HUN_otto_von_habsburg
				}
			}
		}
		
		bypass = {

		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = AUS_seek_support_from_guarantors }
				NOT = { has_completed_focus = AUS_legacy_of_the_empire }
				NOT = { has_completed_focus = AUS_totalitarian_safety }
				NOT = { has_completed_focus = AUS_austromarxism_focus }
				
			}
		}
		offset = {
			x = -11
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}

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

		offset = {
			x = 11
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_the_danubian_federation
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}


		available_if_capitulated = no

		completion_reward = {
			set_cosmetic_tag = AUS_federal_state

			create_faction_from_template = {
				template = faction_template_balkan_pact 
				name = AUS_danubian_federation
			}

			custom_effect_tooltip = HABSBURG_joint_ft_unlock_tt
			hidden_effect = {


				set_global_flag = AH_joint_tree_activated_flag

				every_country = {
					limit = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					mark_focus_tree_layout_dirty = yes
				}
			}

			# Set Austria as Leader of the federation
			set_variable = { global.AH_originator_country = ROOT }
		}
	}

	focus = { # FEDERATIVE
		id = AUS_invite_danubian_countries
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = AUS_the_danubian_federation}
		mutually_exclusive = { }
		x = 0
		y = 2
		relative_position_id = AUS_the_danubian_federation

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
			any_country = {
				OR = {
					has_government = neutrality
					has_government = democratic
				}
				HABSBURG_is_a_habsburg_viable_nation = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_invite_danubian_countries_tt
			ROOT = {
				hidden_effect = {
					save_event_target_as = alliance_inviter
				}
			}
		}
	}

	focus = { # FEDERATIVE
		id = AUS_danubian_unity
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = AUS_invite_danubian_countries}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_invite_danubian_countries

		search_filters = { FOCUS_FILTER_POLITICAL }


		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_government = neutrality
				has_government = democratic
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_popularity = {
				ideology = ROOT
				popularity = 0.1
			}
			add_political_power = 150
			add_command_power = 25
		}
	}


	focus = { # FEDERATIVE
		id = AUS_inviting_the_observers
		icon = GFX_focus_AUS_inviting_the_observers
		prerequisite = { focus = AUS_danubian_unity}
		mutually_exclusive = { }
		x = 1
		y = 2
		relative_position_id = AUS_danubian_unity

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_inviting_the_observers_tt
		}
	}


	focus = { # FEDERATIVE
		id = AUS_unexpected_alliances
		icon = GFX_focus_AUS_unexpected_alliances
		prerequisite = { focus = AUS_danubian_unity}
		mutually_exclusive = { }
		x = -1
		y = 2
		relative_position_id = AUS_danubian_unity

		search_filters = { FOCUS_FILTER_STABILITY }

		cost = 10

		ai_will_do = {
			factor = 0.1
		}

		available = {
			OR = {
				SOV = {
					exists = yes
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
					}
					OR = {
						has_government = democratic
						has_government = neutrality
					}
				}
				GER = {
					exists = yes
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
					}
					OR = {
						has_government = democratic
						has_government = neutrality
					}
				}
			}
		}
		
		bypass = {
			is_in_faction_with = SOV
			is_in_faction_with = GER
		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					any_country = {
						original_tag = SOV
						OR = {
							has_government = democratic
							has_government = neutrality
						}
						is_in_faction = no
					}	
				}
				SOV = {
					country_event = {
						id = generic.5
						hours = 12
					}
				}
			}

			IF = {
				limit = {
					any_country = {
						original_tag = GER
						OR = {
							has_government = democratic
							has_government = neutrality
						}
						is_in_faction = no
					}	
				}
				GER = {
					country_event = {
						id = generic.5
						hours = 12
					}
				}
			}

			add_stability = 0.1
		}
	}

	focus = { # FEDERATIVE
		id = AUS_diplomatic_effort
		icon = GFX_focus_AUS_diplomatic_effort
		prerequisite = { focus = AUS_unexpected_alliances focus = AUS_inviting_the_observers }
		mutually_exclusive = { }
		x = 1
		y = 2
		relative_position_id = AUS_unexpected_alliances

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
			any_country = {
				is_in_faction_with = ROOT
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					any_country = {
						is_in_faction_with = ROOT
						NOT = {
							tag = ROOT
						}
					}
				}
				every_country = {
					limit = {
						is_in_faction_with = ROOT
						NOT = {
							tag = ROOT
						}
					}
	
					PREV = {
						add_opinion_modifier = {
							target = ROOT
							modifier = AUS_danubian_leader
						}
					}
				}
			}
			ELSE = {
				custom_effect_tooltip = AUS_diplomatic_effort_tt
			}


		}
	}

	focus = { # FEDERATIVE
		id = AUS_protector_of_the_danube
		icon = GFX_focus_AUS_protector_of_the_danube
		prerequisite = { focus = AUS_diplomatic_effort  }
		mutually_exclusive = { focus = AUS_via_danube_to_europe }
		x = 1
		y = 2
		relative_position_id = AUS_diplomatic_effort

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
			any_country = {
				is_in_faction_with = ROOT
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			set_cosmetic_tag = AUS_danubian_state
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_protector_of_the_danube_tt
		}
	}

	focus = { # FEDERATIVE
		id = AUS_via_danube_to_europe
		icon = GFX_focus_generic_the_council_of_europe
		prerequisite = { focus = AUS_diplomatic_effort  }
		mutually_exclusive = { focus = AUS_protector_of_the_danube }
		x = -1
		y = 2
		relative_position_id = AUS_diplomatic_effort

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_faction_leader = yes
			any_country = {
				is_in_faction_with = ROOT
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			set_cosmetic_tag = european_union_leader
			custom_effect_tooltip = generic_skip_one_line_tt
			set_faction_name = BEL_european_union
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				set_faction_manifest = faction_manifest_strength_in_unity
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_via_danube_to_europe_tt

			hidden_effect = {
				news_event = { id = mtg_news.54 days = 1 }
			}
		}
	}


	#############################
	######## MONARCHIST #########
	#############################

	focus = { #MONARCHIST
		id = AUS_reinstate_the_imperial_council
		icon = GFX_focus_generic_monarchy_2
		prerequisite = { focus = AUS_austria_against_fascism}
		mutually_exclusive = { focus = AUS_austromarxism_focus focus = AUS_hold_elections }
		x = 0
		y = 1
		relative_position_id = AUS_austria_against_fascism

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = AUS_hold_elections
						has_completed_focus = AUS_austromarxism_focus
						has_completed_focus = AUS_totalitarian_safety
					}
				}
				
			}
		}

		offset = {
			x = -2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}

		available_if_capitulated = no

		completion_reward = {

			hidden_effect = {
				AUS_herrenhaus_and_vf_leaders_setup = yes

				
				every_other_country = {
					limit = {
						original_tag = GER
						has_government = fascism
					}
					country_event = {
						id = AUS_political_events.15
						days = 3
					}
				}
				

				IF = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}

			IF = {
				limit = {
					NOT = { 
						has_global_flag = HUN_otto_von_habsburg_has_joined_hungary_flag
					}
				}
				HUN = {
					HUN_otto_von_habsburg = { 
						set_nationality = AUS
						promote_character = yes
					}
				}

				set_global_flag = AUS_otto_von_habsburg_has_joined_austria_flag

				news_event = {
					id = AUS_news_events.7
					hours = 48
				}
			}

			ELSE_IF = {
				limit = {
					has_global_flag = HUN_otto_von_habsburg_has_joined_hungary_flag
				}

				AUS_ernst_rudiger_starhemberg = {

					remove_country_leader_trait = {
						ideology = despotism
						trait = anti_communist 
					}

					add_country_leader_trait = AUS_prince_of_starhemberg

					promote_character = yes
				}
			}

			set_party_name = {
				ideology = neutrality 
				long_name = AUS_neutrality_herrenhaus_long
				name = AUS_neutrality_herrenhaus
			}

			set_party_name = {
				ideology = fascism
				long_name = AUS_fascism_vaterlandische_front_long
				name = AUS_fascism_vaterlandische_front
			}	
		}
	}

	focus = { # MONARCHIST
		id = AUS_legacy_of_the_empire
		icon = GFX_focus_AUS_legacy_of_the_empire
		prerequisite = { focus = AUS_reinstate_the_imperial_council}
		mutually_exclusive = { focus = AUS_the_danubian_federation focus = AUS_seek_support_from_guarantors }
		x = 0
		y = 3
		relative_position_id = AUS_reinstate_the_imperial_council

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {
			OR = {
				has_country_leader = {
					ruling_only = yes # default = yes
					character = HUN_otto_von_habsburg 
				}
				has_country_leader = {
					ruling_only = yes 
					character = AUS_ernst_rudiger_starhemberg
				}
			}
		}
		
		bypass = {

		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = AUS_hold_elections }
				NOT = { has_completed_focus = AUS_totalitarian_safety }
				NOT = { has_completed_focus = AUS_austromarxism_focus }
				NOT = { has_completed_focus = AUS_the_danubian_federation }
				
			}
		}



		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes # default = yes
						character = HUN_otto_von_habsburg
					}
				}

				add_dynamic_modifier = {
					modifier = AUS_habsburg_monarchy_restored
				}
			}

			ELSE = {
				add_dynamic_modifier = {
					modifier = AUS_austrian_monarchy_restored
				}
			}

			add_to_variable = { AUS_habsburg_monarchy_restored_neutrality_drift = 0.02 tooltip = neutrality_drift_tt }
			add_to_variable = { AUS_habsburg_monarchy_restored_drift_defence_factor = 0.3 tooltip = drift_defence_factor_tt }
			add_to_variable = { AUS_habsburg_monarchy_restored_war_support_factor = 0.05 tooltip = war_support_factor_tt }

			

			IF = {
				limit = {
					HUN = {
						exists = yes
					}
				}
				HUN = {
					add_opinion_modifier = {
						target = ROOT
						modifier = AUS_imperilalist_sentiments
					}
				}		
			}

			IF = {
				limit = {
					CZE = {
						exists = yes
					}
				}
				CZE = {
					add_opinion_modifier = {
						target = ROOT
						modifier = AUS_imperilalist_sentiments
					}
				}		
			}

			IF = {
				limit = {
					YUG = {
						exists = yes
					}
				}
				YUG = {
					add_opinion_modifier = {
						target = ROOT
						modifier = AUS_imperilalist_sentiments
					}
				}		
			}

			IF = {
				limit = {
					ROM = {
						exists = yes
					}
				}
				ROM = {
					add_opinion_modifier = {
						target = ROOT
						modifier = AUS_imperilalist_sentiments
					}
				}		
			}


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

	focus = { # MONARCHIST
		id = AUS_repeal_the_habsburgergesetz
		icon = GFX_focus_renounce_the_treaty_of_trianon
		prerequisite = { focus = AUS_legacy_of_the_empire}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_legacy_of_the_empire

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			neutrality > 0.50
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_habsburg_monarchy_restored
					}
				}
				custom_effect_tooltip = AUS_habsburg_monarchy_restored_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_austrian_monarchy_restored_intro_tt
			}

			add_to_variable = { AUS_habsburg_monarchy_restored_neutrality_drift = 0.03 tooltip = neutrality_drift_tt }
			add_to_variable = { AUS_habsburg_monarchy_restored_consumer_goods_factor = -0.1 tooltip = consumer_goods_factor_tt }
		}
	}

	focus = { # MONARCHIST
		id = AUS_bring_back_the_habsburg_rule
		icon = GFX_focus_AUS_bring_back_the_habsburg_rule
		prerequisite = { focus = AUS_legacy_of_the_empire}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_legacy_of_the_empire

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL  }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {
			neutrality > 0.40

			OR = {
				has_country_leader = {
					ruling_only = yes # default = yes
					character = HUN_otto_von_habsburg 
				}
				has_country_leader = {
					ruling_only = yes 
					character = AUS_ernst_rudiger_starhemberg
				}
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes 
						character = HUN_otto_von_habsburg
					}
				}
				swap_ruler_traits = { remove = HUN_the_habsburg_prince add = AUS_king_of_austria }
			}

			ELSE_IF = {
				limit = {
					has_country_leader = {
						ruling_only = yes 
						character = AUS_ernst_rudiger_starhemberg
					}
				}
				
				swap_ruler_traits = { remove = AUS_prince_of_starhemberg add = AUS_king_of_austria }
				
			}

			ELSE = {
				custom_effect_tooltip = AUS_bring_back_the_habsburg_rule_tt
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			set_cosmetic_tag = AUS_kingdom_of_austria

			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_rebellious_rearmament
		icon = GFX_focus_generic_limited_social_mobilization
		prerequisite = { focus = AUS_repeal_the_habsburgergesetz focus = AUS_bring_back_the_habsburg_rule }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_repeal_the_habsburgergesetz

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}

		available_if_capitulated = no

		completion_reward = {
			remove_ideas = AUS_treaty_of_saint_germain_en_laye

			add_timed_idea = {
				idea = AUS_emergency_measures
				days = 720
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_strengthen_legitimistische_corps
		icon = GFX_focus_AUS_strengthen_legitimistische_corps
		prerequisite = { focus = AUS_rebellious_rearmament}
		mutually_exclusive = { focus = AUS_legitimistische_studentenverbindung }
		x = -1
		y = 1
		relative_position_id = AUS_rebellious_rearmament

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_habsburg_monarchy_restored
					}
				}
				custom_effect_tooltip = AUS_habsburg_monarchy_restored_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_austrian_monarchy_restored_intro_tt
			}

			add_to_variable = { AUS_habsburg_monarchy_restored_neutrality_drift = 0.02 tooltip = neutrality_drift_tt }
			add_to_variable = { AUS_habsburg_monarchy_restored_stability_factor = 0.05 tooltip = stability_factor_tt }
			add_to_variable = { AUS_habsburg_monarchy_restored_war_support_factor = 0.05 tooltip = war_support_factor_tt  }
			add_to_variable = { AUS_habsburg_monarchy_restored_training_time_factor = -0.15 tooltip = training_time_factor_tt }
		}
	}

	focus = { # MONARCHIST
		id = AUS_legitimistische_studentenverbindung
		icon = GFX_focus_AUS_legitimistische_studentenverbindung
		prerequisite = { focus = AUS_rebellious_rearmament}
		mutually_exclusive = { focus = AUS_strengthen_legitimistische_corps }
		x = 1
		y = 1
		relative_position_id = AUS_rebellious_rearmament

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_habsburg_monarchy_restored
					}
				}
				custom_effect_tooltip = AUS_habsburg_monarchy_restored_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_austrian_monarchy_restored_intro_tt
			}

			add_to_variable = { AUS_habsburg_monarchy_restored_neutrality_drift = 0.02 tooltip = neutrality_drift_tt }
			add_to_variable = { AUS_habsburg_monarchy_restored_political_power_factor = 0.1 tooltip = political_power_factor_tt }
			add_to_variable = { AUS_habsburg_monarchy_restored_research_speed_factor = 0.05 tooltip = research_speed_factor_tt }
		}
	}

	focus = { # MONARCHIST
		id = AUS_sturmscharen_support
		icon = GFX_focus_generic_monarchist_workers
		prerequisite = { focus = AUS_strengthen_legitimistische_corps}
		mutually_exclusive = { }
		x = -1
		y = 2
		relative_position_id = AUS_strengthen_legitimistische_corps

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = { 

			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = AUS_ernst_rudiger_starhemberg
						}
					}
				}
				show_unit_leaders_tooltip = AUS_ernst_rudiger_starhemberg

				custom_effect_tooltip = generic_skip_one_line_tt
			}
			

			add_ideas = AUS_militia_support

			division_template = {
				name = "Sturmscharen Division"
				priority = 1
				division_names_group = AUS_INF_03
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 0 y = 2 }
		
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
					militia = { x = 1 y = 2 }
		
				}
				support = {
					engineer = { x = 0 y = 0 }
				}
			}
			random_owned_controlled_state = {
				limit = { PREV = { has_full_control_of_state = PREV } }
				create_unit = {
					division = "name = \"1. Sturmscharen Division\" division_template = \"Sturmscharen Division\" start_experience_factor = 0.6" 
					owner = PREV
					officer = {
						name = AUS_konrad_von_hotzendorf
						portraits = {
							army = {
					    		large = "GFX_portrait_AUS_konrad_von_hotzendorf"
					    		small = "GFX_portrait_AUS_konrad_von_hotzendorf_small"
					    	}
						}
					}
				}
			}
			random_owned_controlled_state = {
				limit = { PREV = { has_full_control_of_state = PREV } }
				create_unit = {
					division = "name = \"2. Sturmscharen Division\" division_template = \"Sturmscharen Division\" start_experience_factor = 0.6" 
					owner = PREV
					officer = {
						name = AUS_erwin_von_hotzendorf
					}
				}
			}

			hidden_effect = {
				country_event = {
					id = AUS_political_events.35
					days = 3
				}
			}
		}
		
	}

	focus = { # MONARCHIST
		id = AUS_eiserne_legion
		icon = GFX_focus_generic_workers
		prerequisite = { focus = AUS_sturmscharen_support }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_sturmscharen_support

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			show_unit_leaders_tooltip = AUS_richard_steidle

			swap_ideas = {
				remove_idea = AUS_militia_support
				add_idea = AUS_militia_support_2
			}
		}
	}


	focus = { # MONARCHIST
		id = AUS_legitimistische_jugend
		icon = GFX_focus_AUS_legitimistische_jugend
		prerequisite = { focus = AUS_legitimistische_studentenverbindung}
		mutually_exclusive = { }
		x = 1
		y = 2
		relative_position_id = AUS_legitimistische_studentenverbindung

		search_filters = { FOCUS_FILTER_MANPOWER }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_habsburg_monarchy_restored
					}
				}
				custom_effect_tooltip = AUS_habsburg_monarchy_restored_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_austrian_monarchy_restored_intro_tt
			}

			add_to_variable = { AUS_habsburg_monarchy_restored_conscription_factor = 0.1 tooltip = conscription_factor_tt }

			add_stability = -0.1
		}
	}

	focus = { # MONARCHIST
		id = AUS_repeal_the_adelsaufhebungsgesetz
		icon = GFX_focus_generic_monarchy_1
		prerequisite = { focus = AUS_legitimistische_studentenverbindung focus = AUS_strengthen_legitimistische_corps }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_legitimistische_studentenverbindung

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_war_support = 0.05
			add_stability = -0.1

			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_habsburg_monarchy_restored
					}
				}
				custom_effect_tooltip = AUS_habsburg_monarchy_restored_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_austrian_monarchy_restored_intro_tt
			}

			add_to_variable = { AUS_habsburg_monarchy_restored_drift_defence_factor = 0.1 tooltip = drift_defence_factor_tt }

			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes # default = yes
							character = AUS_ernst_rudiger_starhemberg
						}
					}
				}

				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = AUS_ernst_rudiger_starhemberg
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_the_evidenzburo
		icon = GFX_focus_AUS_the_evidenzburo
		prerequisite = { focus = AUS_repeal_the_adelsaufhebungsgesetz}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_repeal_the_adelsaufhebungsgesetz

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				create_intelligence_agency = {
					name = "Evidenzbureau"
					icon = GFX_intelligence_agency_logo_AUS_evidenzbureau
				}

				IF = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_economy_civilian 
						}
					}
					upgrade_intelligence_agency = upgrade_economy_civilian 
				}

				IF = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_passive_defense
						}
					}
 					upgrade_intelligence_agency = upgrade_passive_defense
				}

			}

			
			add_tech_bonus = {
				name = AUS_the_evidenzburo_bonus
				bonus = 0.75
				uses = 2
				category = decryption_tech
			}
			
		}
	}

	

	focus = { # MONARCHIST
		id = AUS_the_royals_of_liechtenstein
		icon = GFX_focus_generic_liechtenstein_coa
		prerequisite = { focus = AUS_the_evidenzburo focus = AUS_legitimistische_jugend focus = AUS_sturmscharen_support }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_the_evidenzburo

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 5 #might be upped to 10 for balance reasons

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_johannes_of_liechtenstein

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_alois_of_liechtenstein
		}
	}

	focus = { # MONARCHIST
		id = AUS_osterreichische_akademie
		icon = GFX_focus_research
		prerequisite = { focus = AUS_the_royals_of_liechtenstein}
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_the_royals_of_liechtenstein

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = { # MONARCHIST
		id = AUS_royal_scientific_grants
		icon = GFX_focus_research2
		prerequisite = { focus = AUS_osterreichische_akademie}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_osterreichische_akademie

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = AUS_herbert_wagner
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = AUS_paul_eisler
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.15
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = AUS_avionics_effort

		}
	}

	focus = { # MONARCHIST
		id = AUS_war_against_bolshevism
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = AUS_the_royals_of_liechtenstein focus = AUS_protector_of_the_danube focus = AUS_for_a_better_future focus = AUS_via_danube_to_europe }
		mutually_exclusive = { }
		x = 0
		y = 4
		relative_position_id = AUS_the_royals_of_liechtenstein
		will_lead_to_war_with = SOV

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
		}
		
		bypass = {
			SOV = {
				OR = {
					exists = no
					is_subject_of = AUS
				}
			}
		}

		offset = {
			x = 10
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_totalitarian_safety
			}
		}

		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_hold_elections
			}
		}

		offset = {
			x = 3
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_the_danubian_federation
				has_completed_focus = AUS_reinstate_the_imperial_council
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_government = democratic
					SOV = {
						NOT = { has_government = democratic }
					}
				}
				create_wargoal = {
					type = topple_government
					target = SOV
				}
			}
			ELSE_IF = {
				limit = {
					NOT = { has_government = democratic }
					SOV = {
						NOT = { has_government = ROOT }
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SOV
				}
			}
			
		}
	}

	focus = { # MONARCHIST
		id = AUS_crusade_on_communism
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = AUS_war_against_bolshevism}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_war_against_bolshevism

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_government = democratic
				}
				custom_effect_tooltip = AUS_crusade_on_communism_d_tt
			}
			ELSE_IF = {
				limit = {
					NOT = { has_government = democratic }
				}
				custom_effect_tooltip = AUS_crusade_on_communism_tt
			}

			
			hidden_effect = {
				every_other_country = {
					limit = {
						capital_scope = {
							is_on_continent = europe
						}
						has_government = communism
						NOT = {
							original_tag = SOV
						}
					}
					ROOT = {

						IF = {
							limit = {
								has_government = democratic
							}
							create_wargoal = {
								type = topple_government
								target = PREV
								expire = 0
							}
						}
						ELSE_IF = {
							limit = {
								NOT = {
									has_government = democratic
								}
							}
							create_wargoal = {
								type = puppet_wargoal_focus
								target = PREV
								expire = 0
							}
						}
						
					}
				}
			}
		}
	}

	#############################
	#TERRITORAL EXPANSION PUPPET#
	#############################

	focus = { # MONARCHIST
		id = AUS_demand_hungarian_submission
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = AUS_rebellious_rearmament}
		mutually_exclusive = { focus = AUS_bring_hungary_back_into_the_fold }
		x = 8
		y = 1
		relative_position_id = AUS_rebellious_rearmament

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = neutrality
			has_country_leader = {
				ruling_only = yes
				character = HUN_otto_von_habsburg #Ernst is more an annex guy
			}
			is_subject = no
			NOT = {
				has_war_with = HUN
			}
			HUN = {
				exists = yes
				is_subject = no
				NOT = {
					has_war_with = ROOT
				}
			}
		}
		
		bypass = {
			HUN = {
				is_subject_of = ROOT
			}
		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { 
					OR = {
						has_completed_focus = AUS_austromarxism_focus
						has_completed_focus = AUS_hold_elections
						has_completed_focus = AUS_totalitarian_safety
						has_completed_focus = AUS_bring_hungary_back_into_the_fold
						has_completed_focus = AUS_the_danubian_federation
					} 
				}
				
			}
		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_demand_hungarian_submission_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = HABSBURG_joint_ft_unlock_tt
			hidden_effect = {

				HUN = {
					capital_scope = {
						add_to_array = {
							array = AUS.expansion_targets
							value = THIS
						}
					}
				}

				set_global_flag = AH_joint_tree_activated_flag

				every_country = {
					limit = {
						HABSBURG_is_a_habsburg_viable_nation = yes
					}
					mark_focus_tree_layout_dirty = yes
				}


			}

			# Set Austria as Leader of the federation
			set_variable = { global.AH_originator_country = ROOT }
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_join_the_axis
		icon = GFX_goal_support_fascism
		prerequisite = { focus = AUS_demand_hungarian_submission focus = AUS_bring_hungary_back_into_the_fold }
		mutually_exclusive = { focus = AUS_reforming_the_central_powers focus = AUS_a_royal_alliance }
		x = 4
		y = 2
		relative_position_id = AUS_demand_hungarian_submission

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				GER = {
					exists = yes
					OR = {
						has_government = fascism
						has_government = neutrality
					}
					is_faction_leader = yes
					NOT = { has_war_with = ROOT }
				}
				ITA = {
					exists = yes
					OR = {
						has_government = fascism
						has_government = neutrality
					}
					is_faction_leader = yes
					NOT = { has_war_with = ROOT }
				}
			}
			is_in_faction = no
			is_subject = no
		}
		
		bypass = {

		}

		

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


		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					AND = {
						GER = {
							exists = yes
							OR = {
								has_government = fascism
								has_government = neutrality
							}
							is_faction_leader = yes
						}
					}
				}

				GER = {
					country_event = { #asks to join Germany's faction
						id = AUS_political_events.40
						hours = 6
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = AUS_join_the_axis_tt
			}

			ELSE_IF = { #If Germany has died, check Italy
				limit = {
					AND = {
						ITA = {
							exists = yes
							OR = {
								has_government = fascism
								has_government = neutrality
							}
							is_faction_leader = yes
						}
					}
				}

				ITA = {
					country_event = { #asks to join italy's faction
						id = AUS_political_events.40
						hours = 6
					}
				}
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_reforming_the_central_powers
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = AUS_demand_hungarian_submission focus = AUS_bring_hungary_back_into_the_fold }
		mutually_exclusive = { focus = AUS_join_the_axis focus = AUS_a_royal_alliance}
		x = -2
		y = 0
		relative_position_id = AUS_join_the_axis

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			set_rule = { can_create_factions = yes }
			#we might need a new name here...
			create_faction_from_template = {
				template = faction_template_GER_mitteleuropa_alliance
				name = GER_central_powers_faction
				icon = GFX_faction_logo_generic_13
			}

			custom_effect_tooltip = AUS_reforming_the_central_powers_tt

			hidden_effect = {
				IF = {
					limit = { 
						TUR = {
							exists = yes
							NOT = { has_war_with = ROOT }
							is_in_faction = no
							OR = {
								has_government = neutrality
								has_government = fascism
							}
						}
					}

					TUR = {
						country_event = {
							id = AUS_political_events.123 
							hours = 12
						}
					}
				}

				IF = {
					limit = { 
						GER = {
							exists = yes
							NOT = { has_war_with = ROOT }
							is_in_faction = no
							OR = {
								has_government = neutrality
								has_government = fascism
							}
						}
					}

					GER = {
						country_event = {
							id = AUS_political_events.123 
							hours = 12
						}
					}
				}

				IF = {
					limit = { 
						BUL = {
							exists = yes
							NOT = { has_war_with = ROOT }
							is_in_faction = no
							OR = {
								has_government = neutrality
								has_government = fascism
							}
						}
					}

					BUL = {
						country_event = {
							id = AUS_political_events.123 
							hours = 12
						}
					}
				}
			}

			

			hidden_effect = {
				news_event = { #Austria reforms the Central Powers
					id = AUS_news_events.6
					hours = 24
				}
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_a_royal_alliance
		icon = GFX_focus_generic_home_defense
		prerequisite = { focus = AUS_demand_hungarian_submission focus = AUS_bring_hungary_back_into_the_fold }
		mutually_exclusive = { focus = AUS_join_the_axis focus = AUS_reforming_the_central_powers }
		x = -2
		y = 0
		relative_position_id = AUS_reforming_the_central_powers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
			has_government = neutrality
		}
		
		bypass = {

		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = { 
						has_completed_focus = AUS_hold_elections
						has_completed_focus = AUS_austromarxism_focus
						has_completed_focus = AUS_totalitarian_safety
						has_completed_focus = AUS_the_danubian_federation
					}
				}
				
			}
		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					OR = {
						AND = {
							has_country_leader = {
								ruling_only = yes # default = yes
								character = AUS_ernst_rudiger_starhemberg
							}
							is_in_faction = no
							NOT = {
								any_country = {
									is_in_faction_with = ENG
									has_government = communism #Ernst hates communists!
								}
							}

							ENG = {
								OR = {
									has_government = neutrality
									has_government = democratic
									has_government = fascism
								}
								is_faction_leader = yes
							}
						}
						AND = {
							has_country_leader = {
								ruling_only = yes # default = yes
								character = HUN_otto_von_habsburg
							}
							is_in_faction = no
							ENG = {
								OR = {
									has_government = neutrality
									has_government = democratic
								}
								is_faction_leader = yes
							}
						}
					}
				}
				ENG = {
					country_event = {
						id = generic.2 #This is the "[name] seeks to join [alliance]" event
						hours = 12
					}
				}
			}
			ELSE_IF = {
				limit = {
					OR = {
						AND = {
							has_country_leader = {
								ruling_only = yes # default = yes
								character = HUN_otto_von_habsburg
							}
							ENG = {
								OR = {
									has_government = neutrality
									has_government = democratic
								}
								is_in_faction = no
							}
						}
						AND = {
							has_country_leader = {
								ruling_only = yes # default = yes
								character = AUS_ernst_rudiger_starhemberg
							}
							ENG = {
								OR = {
									has_government = neutrality
									has_government = democratic
									has_government = fascism #Ernst is more tolerant towards fascists
								}
								is_in_faction = no
							}
						}


					}
				}
				create_faction_from_template = {
					template = faction_template_regional_anti_communist
					name = AUS_royal_alliance
					icon = GFX_faction_logo_generic_10
				}

				custom_effect_tooltip = AUS_a_royal_alliance_tt1

				hidden_effect = {
					ENG = {
						country_event = {
							id = generic.5 #this is the "[name] invites [target name] to join [alliance]" event"
							hours = 12
						}
					}
				}

				

				IF = {
					limit = {
						has_country_leader = {
							ruling_only = yes # default = yes
							character = AUS_ernst_rudiger_starhemberg
						}
						FRA = {
							OR = {
								has_government = neutrality
								has_government = democratic
								has_government = fascism
							}
							is_in_faction = no
						}
					}
					custom_effect_tooltip = AUS_a_royal_alliance_tt2

					hidden_effect = {
						FRA = {
							country_event = {
								id = generic.5 #this is the "[name] invites [target name] to join [alliance]" event"
								hours = 12
							}
						}
					}
				}

			}

			ELSE = {
				create_faction_from_template = {
					template = faction_template_regional_anti_communist
					name = AUS_royal_alliance
					icon = GFX_faction_logo_generic_10
				}
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_subjugate_lands_of_old
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = AUS_demand_hungarian_submission}
		mutually_exclusive = { }
		x = -3
		y = 1
		relative_position_id = AUS_demand_hungarian_submission

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_subjugate_lands_of_old_tt

			hidden_effect = {

				IF = {
					limit = { 
						CZE = { 
							exists = yes
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}
					CZE = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}
				


				IF = {
					limit = { 
						YUG = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}
					YUG = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}


				IF = {
					limit = { 
						ROM = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}
					ROM = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}


				IF = {
					limit = { 
						POL = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}
					POL = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				IF = {
					limit = { 
						SLO = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					SLO = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				IF = {
					limit = { 
						CRO = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					CRO = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				

				IF = {
					limit = { 
						LBV = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					LBV = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				

				IF = {
					limit = { 
						SIL = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					SIL = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				

				IF = {
					limit = { 
						MNT = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					MNT = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				

				IF = {
					limit = { 
						BOS = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					BOS = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				

				IF = {
					limit = { 
						SLV = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					SLV = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				

				IF = {
					limit = { 
						HRZ = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					HRZ = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}

				IF = {
					limit = { 
						ALB = { 
							exists = yes 
							capital_scope = {
								NOT = {
									is_in_array = {
										array = AUS.expansion_targets
										value = THIS
									}
								}
							} 
						}
					}

					ALB = {
						capital_scope = {
							add_to_array = {
								array = AUS.expansion_targets
								value = THIS
							}
						}
					}
				}
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_the_silesian_question
		icon = GFX_focus_POL_reassert_silesian_claims
		prerequisite = { focus = AUS_subjugate_lands_of_old}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_subjugate_lands_of_old

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				NOT = {
					controls_state = 66 #niederschlesien
					controls_state = 67 #Oberschlesien
				}
				AND = {
					any_country = {
						controls_state = 66 #niederschlesien
						controls_state = 67 #Oberschlesien
						NOT = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
						}
					}
				}
			}
		}
		
		bypass = {
			controls_state = 66 #niederschlesien
			controls_state = 67 #Oberschlesien
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = { #one country controls both
					any_country = {
						controls_state = 66 #niederschlesien
						controls_state = 67 #Oberschlesien
						NOT = { original_tag = AUS}
					}
				}

				66 = {
					controller = {
						country_event = {
							id = AUS_political_events.49
							hours = 3
						}
					}
				}

				custom_effect_tooltip = if_they_accept_newline_tt
				effect_tooltip = {
					
					66 = { #Niederschlesien
						transfer_state_to = ROOT
					}
					
					67 = { #Oberschlesien
						transfer_state_to = ROOT
					}
				}
			}

			ELSE_IF= {
				limit = {
					any_country = {
						OR = {
							controls_state = 66 #niederschlesien
							controls_state = 67 #Oberschlesien
						}
						NOT = { original_tag = AUS}
					}
				}
				every_country = {
					limit = {
						OR = {
							controls_state = 66 #niederschlesien
							controls_state = 67 #Oberschlesien
						}
						NOT = { original_tag = AUS}
					}

					country_event = {
						id = AUS_political_events.49
						hours = 3
					}
					
					custom_effect_tooltip = if_they_accept_newline_tt
					effect_tooltip = {
						
						66 = { #Niederschlesien
							transfer_state_to = ROOT
						}
						
						67 = { #Oberschlesien
							transfer_state_to = ROOT
						}
					}
				}
			}
		}
	}

	focus = { # MONARCHIST
		id = AUS_tighten_control_of_subjects
		icon = GFX_focus_eng_move_to_secure_the_dominions
		prerequisite = { focus = AUS_subjugate_lands_of_old}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_subjugate_lands_of_old

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = { 
				limit = {
					has_country_leader = {
						ruling_only = yes # default = yes
						character = HUN_otto_von_habsburg
					}
				}

				custom_effect_tooltip = AUS_tighten_control_of_subjects_tt2
			}
			
			custom_effect_tooltip = AUS_tighten_control_of_subjects_tt

			add_political_power = 150
		}
	}

	focus = { # MONARCHIST
		id = AUS_reclaim_habsburg
		icon = GFX_focus_AUS_reclaim_habsburg
		prerequisite = { focus = AUS_tighten_control_of_subjects focus = AUS_take_back_galicia focus = AUS_demand_romanian_lands }
		mutually_exclusive = { }
		x = 3
		y = 2
		relative_position_id = AUS_tighten_control_of_subjects

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = AUS_totalitarian_safety 
						has_completed_focus = AUS_the_danubian_federation 
						has_completed_focus = AUS_hold_elections
						has_completed_focus = AUS_austromarxism_focus
					}
				}
			}
		}

		

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

		

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_country_leader = {
				ruling_only = yes # default = yes
				character = HUN_otto_von_habsburg
			}
			SWI = {
				exists = yes
				is_subject = no
				controls_state = 3 #Swiss Plateau
			}
		}
		
		bypass = {
			OR = {
				SWI = {
					is_subject_of = AUS
				}
				AND = {
					151 = {
						is_fully_controlled_by = ROOT
					}
					846 = {
						is_fully_controlled_by = ROOT
					}
					3 = {
						is_fully_controlled_by = ROOT
					}
					847 = {
						is_fully_controlled_by = ROOT
					}
					845 = {
						is_fully_controlled_by = ROOT
					}
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			SWI = {
				country_event = {
					id = AUS_political_events.52
					hours = 3
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_reclaim_habsburg_tt

			custom_effect_tooltip = if_they_accept_newline_tt
			effect_tooltip = {
				annex_country = {
					target = SWI
					transfer_troops = yes
				}
			}

			custom_effect_tooltip = if_they_refuse_newline_tt
			effect_tooltip = {
				create_wargoal = {
					type = annex_everything
					target = SWI
					generator = { 3 }  
				}
			}
		}	
	}

	focus = { # MONARCHIST
		id = AUS_war_against_guarantors
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = AUS_tighten_control_of_subjects focus = AUS_take_back_galicia focus = AUS_demand_romanian_lands }
		mutually_exclusive = { }
		x = 2
		y = 0
		relative_position_id = AUS_reclaim_habsburg

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					OR = {
						has_completed_focus = AUS_the_danubian_federation 
						has_completed_focus = AUS_hold_elections
						has_completed_focus = AUS_austromarxism_focus
					}
				}
			}
		}

		offset = {
			x = -1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_totalitarian_safety
			}
		}
		offset = {
			x = 1
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_bring_hungary_back_into_the_fold
			}
		}

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				ENG = {
					NOT = { has_guaranteed = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
					NOT = { is_in_faction_with  = ROOT }
					is_subject = no
				}

				FRA = {
					NOT = { has_guaranteed = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
					NOT = { is_in_faction_with  = ROOT }
					is_subject = no
				}

				USA = {
					NOT = { has_guaranteed = ROOT }
					NOT = { has_non_aggression_pact_with = ROOT }
					NOT = { is_in_faction_with  = ROOT }
					is_subject = no
				}
			}
		}
		
		bypass = {
			ENG = {
				OR = {
					has_guaranteed = ROOT
					has_non_aggression_pact_with = ROOT
					is_in_faction_with  = ROOT
					is_subject = yes
					exists = no
					has_capitulated = yes
				}
				
			}

			FRA = {
				OR = {
					has_guaranteed = ROOT
					has_non_aggression_pact_with = ROOT
					is_in_faction_with  = ROOT
					is_subject = yes
					exists = no
					has_capitulated = yes
				}
			}

			USA = {
				OR = {
					has_guaranteed = ROOT
					has_non_aggression_pact_with = ROOT
					is_in_faction_with  = ROOT
					is_subject = yes
					exists = no
					has_capitulated = yes
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					ENG = {
						NOT = { has_guaranteed = ROOT }
						NOT = { has_non_aggression_pact_with = ROOT }
						NOT = { is_in_faction_with  = ROOT }
						is_subject = no
					}
				}

				create_wargoal = {
					type = annex_everything
					target = ENG
				}
			}

			IF = {
				limit = {
					FRA = {
						NOT = { has_guaranteed = ROOT }
						NOT = { has_non_aggression_pact_with = ROOT }
						NOT = { is_in_faction_with  = ROOT }
						is_subject = no
					}
				}

				create_wargoal = {
					type = annex_everything
					target = FRA
				}
			}

			IF = {
				limit = {
					USA = {
						NOT = { has_guaranteed = ROOT }
						NOT = { has_non_aggression_pact_with = ROOT }
						NOT = { is_in_faction_with  = ROOT }
						is_subject = no
					}
				}

				create_wargoal = {
					type = annex_everything
					target = USA
				}
			}
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_renew_claims_in_italy
		icon = GFX_focus_attack_italy
		prerequisite = { focus = AUS_tighten_control_of_subjects }
		mutually_exclusive = { focus = AUS_strike_deal_with_italy }
		x = -2
		y = 2
		relative_position_id = AUS_tighten_control_of_subjects

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			ITA = {
				exists = yes
				OR = {
					controls_state = 39
					any_subject_country = {
						controls_state = 39
					}
				}

				OR = {
					controls_state = 850
					any_subject_country = {
						controls_state = 850
					}
				}
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			ITA = {
				country_event = {
					id = AUS_political_events.58
					hours = 3
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			event_option_tooltip = AUS_political_events.56.a

			custom_effect_tooltip = if_they_refuse_tt
			effect_tooltip = {
				create_wargoal = {
					type = take_claimed_state
					target = ITA
					generator = { 39 850 } # optional 
				}
			}
			event_option_tooltip = AUS_political_events.57.a
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_extend_italian_claims
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = AUS_renew_claims_in_italy}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_renew_claims_in_italy

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			controls_state = 39
			controls_state = 850
		}
		
		bypass = {
			controls_state = 160
			controls_state = 159
			controls_state = 736
			controls_state = 852
			controls_state = 163
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			160 = { #Veneto
				add_claim_by = ROOT
			}
			159 = { #Lombardia
				add_claim_by = ROOT
			}
			736 = { #Litorale
				add_claim_by = ROOT
			}
			852 = { #Istria
				add_claim_by = ROOT
			}
			163 = { #Zara
				add_claim_by = ROOT
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_extend_italian_claims_tt
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_strike_deal_with_italy
		icon = GFX_focus_befriend_italy
		prerequisite = { focus = AUS_tighten_control_of_subjects}
		mutually_exclusive = { focus = AUS_renew_claims_in_italy }
		x = 0
		y = 2
		relative_position_id = AUS_tighten_control_of_subjects

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			ITA = {
				OR = {
					controls_state = 39
					any_subject_country = {
						controls_state = 39
					}
				}

				OR = {
					controls_state = 850
					any_subject_country = {
						controls_state = 850
					}
				}
				
				exists = yes
				NOT = { has_war_with =  ROOT}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes

		available_if_capitulated = no

		completion_reward = {

			ITA = {
				country_event = {
					id = AUS_political_events.55
					hours = 3
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			event_option_tooltip = AUS_political_events.56.a
			custom_effect_tooltip = generic_skip_one_line_tt
			effect_tooltip = {
				ITA = {
					random_owned_controlled_state = {
						limit = {
							is_core_of = ITA
							NOT = {
								state = 39
								state = 850
							}
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = industrial_complex
							level = 2
							instant_build = yes
						}
					}
				}

				custom_effect_tooltip = generic_skip_one_line_tt

				ROOT = {
					
					random_owned_controlled_state = {
						limit = {
							is_core_of = AUS
							industrial_complex > 2
						}

						remove_building = {
							type = industrial_complex
							level = 2
						}
					}
				}

				
				add_opinion_modifier = {
					target = ITA
					modifier = medium_increase
				}
				
			}
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_for_a_better_future
		icon = GFX_focus_AUS_for_a_better_future
		prerequisite = { focus = AUS_strike_deal_with_italy focus = AUS_renew_claims_in_italy focus = AUS_integrate_hungary focus = AUS_integrate_northwest}
		mutually_exclusive = { }
		x = 4
		y = 2
		relative_position_id = AUS_strike_deal_with_italy

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

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

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

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

		available_if_capitulated = no

		completion_reward = {

			add_timed_idea = {
				idea = AUS_the_future_of_austria
				days = 720
			}
		}
	}

	#############################
	#TERRITORAL EXPANSION ANNEX##
	#############################

	focus = { # MONARCHIST & FASCIST
		id = AUS_bring_hungary_back_into_the_fold
		icon = GFX_focus_generic_attack_hungary
		prerequisite = { focus = AUS_rebellious_rearmament focus = AUS_rapid_rearmament focus = AUS_heimwehr_support }
		mutually_exclusive = { focus = AUS_demand_hungarian_submission }
		x = 12
		y = 1
		relative_position_id = AUS_rebellious_rearmament
		will_lead_to_war_with = HUN

		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				AUS_is_historical_ai = yes
			}
		}

		available = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
				has_war_with = HUN
			}
			is_subject = no
			HUN = {
				exists = yes
				is_subject = no
			}
		}
		
		bypass = {
			HUN = {
				OR = {
					is_subject = yes 
					exists = no
					all_core_state = {
						is_fully_controlled_by = AUS
					}
					is_in_faction_with = ROOT
					has_war_with = ROOT
				}
			}
		}

		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { 
					OR = {
						has_completed_focus = AUS_austromarxism_focus
						has_completed_focus = AUS_hold_elections
						has_completed_focus = AUS_demand_hungarian_submission
						has_completed_focus = AUS_the_danubian_federation
					} 
				}
				
			}
		}

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

		available_if_capitulated = no

		completion_reward = {
			HUN = {
				capital_scope = {
					add_to_array = {
						array = AUS.expansion_targets
						value = THIS
					}
				}
			}

			custom_effect_tooltip = AUS_bring_hungary_back_into_the_fold_tt
			custom_effect_tooltip = target_hun_tt

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

	focus = { # MONARCHIST & FASCIST
		id = AUS_the_czechoslovakian_lands
		icon = GFX_focus_generic_attack_czechoslovakia
		prerequisite = { focus = AUS_bring_hungary_back_into_the_fold}
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_bring_hungary_back_into_the_fold
		will_lead_to_war_with = CZE

		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
				has_war_with = CZE
			}
			CZE = {
				exists = yes
				is_subject = no
			}
		}
		
		bypass = {


			OR = {
				AND = {
					69 = { #Sudetenland
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 69
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					972 = { #South Sudetenland
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 972
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					9 = { #Bohemia
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 9
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					75 = { #Moravia
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 75
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					74 = { #Eastern Sudetenland
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 74
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					72 = { #Zaolzie
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 72
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}
				}

				CZE = {
					OR = {
						is_subject_of = AUS
						exists = no
						is_in_faction_with = ROOT
					}
				}
			}
			


		}

		available_if_capitulated = no

		completion_reward = {
			CZE = {
				capital_scope = {
					add_to_array = {
						array = AUS.expansion_targets
						value = THIS
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_bring_hungary_back_into_the_fold_tt
			custom_effect_tooltip = target_cze_tt
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_reclaiming_yugoslavian_territories
		icon = GFX_focus_generic_attack_yugoslavia
		prerequisite = { focus = AUS_bring_hungary_back_into_the_fold}
		mutually_exclusive = { }
		x = 4
		y = 1
		relative_position_id = AUS_bring_hungary_back_into_the_fold

		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}

			OR = {
				NOT = {
					102 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				
				NOT = {
					109 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}

				NOT = {
					853 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
			}
			
		}
		
		bypass = { #No check for YUG as a subject or not existing as that happens quite often due to YUG being YUG
			102 = { #North Slovenia
				OR = {
					is_fully_controlled_by = ROOT
					any_country = {
						is_in_faction_with = ROOT
						controls_state = 102
					}
					OWNER = {
						has_war_with = ROOT
					}
				}
			}

			109 = { #Croatia
				OR = {
					is_fully_controlled_by = ROOT
					any_country = {
						is_in_faction_with = ROOT
						controls_state = 103
					}
					OWNER = {
						has_war_with = ROOT
					}
				}
			}

			853 = { #Ljubljana
				OR = {
					is_fully_controlled_by = ROOT
					any_country = {
						is_in_faction_with = ROOT
						controls_state = 853
					}
					OWNER = {
						has_war_with = ROOT
					}
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					YUG = {
						controls_state = 102 #North Slovenia
						controls_state = 109 #Croatia
						controls_state = 853 #Lubljana
					}
				}
				YUG = {
					capital_scope = {
						add_to_array = {
							array = AUS.expansion_targets
							value = THIS
						}
					}
				}	
			}

			ELSE = {
				IF = {
					limit = {
						853 = { #Ljubljana
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}

					853 = {
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}
				IF = {
					limit = {
						109 = { #Croatia
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}
					109 = { #Croatia
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}
				IF = {
					limit = {
						102 = { #North Slovenia
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}
				
					102 = { #North Slovenia
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_bring_hungary_back_into_the_fold_tt
			custom_effect_tooltip = target_yug_tt
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_take_albania
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = AUS_reclaiming_yugoslavian_territories }
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_reclaiming_yugoslavian_territories

		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
				has_war_with = ALB
				934 = { is_fully_controlled_by = ROOT }
				44 = { is_fully_controlled_by = ROOT }
				805 = { is_fully_controlled_by = ROOT }
			}
			is_subject = no
			ALB = {
				exists = yes
				is_subject = no
			}
		}
		
		bypass = {
			OR = {

				AND = {
					934 = { #Shkodër
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 934
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					44 = { #Central Albania
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 44
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					805 = { #Northern Epirus
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 805
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}
				}
				ALB = {
					OR = {
						is_subject_of = AUS
						exists = no
						is_in_faction_with = ROOT
					}
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {
			ALB = {
				capital_scope = {
					add_to_array = {
						array = AUS.expansion_targets
						value = THIS
					}
				}
			}

			custom_effect_tooltip = AUS_bring_hungary_back_into_the_fold_tt
			custom_effect_tooltip = target_alb_tt
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_take_back_galicia
		icon = GFX_focus_generic_attack_poland
		prerequisite = { focus = AUS_reclaiming_yugoslavian_territories focus = AUS_the_czechoslovakian_lands }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_the_czechoslovakian_lands

		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
				has_war_with = POL
				88 = { is_fully_controlled_by = ROOT }
				89 = { is_fully_controlled_by = ROOT }
				91 = { is_fully_controlled_by = ROOT }
			}
			is_subject = no
			POL = {
				exists = yes
				is_subject = no
			}
		}
		
		bypass = {
			OR = {

				AND = {
					88 = { #Krakow
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 88
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					89 = { #Stanislawow
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 89
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					91 = { #Lwow
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 91
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}
				}
				POL = {
					OR = {
						is_subject_of = AUS
						exists = no
						is_in_faction_with = ROOT
					}
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {
			POL = {
				capital_scope = {
					add_to_array = {
						array = AUS.expansion_targets
						value = THIS
					}
				}
			}

			custom_effect_tooltip = AUS_bring_hungary_back_into_the_fold_tt
			custom_effect_tooltip = target_pol_tt
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_demand_romanian_lands
		icon = GFX_focus_generic_attack_romania
		prerequisite = { focus = AUS_reclaiming_yugoslavian_territories focus = AUS_the_czechoslovakian_lands }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_reclaiming_yugoslavian_territories
		will_lead_to_war_with = ROM

		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}

			OR = {
				NOT = {
					76 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
				
				NOT = {
					80 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}

				NOT = {
					82 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}

				NOT = {
					83 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}

				NOT = {
					84 = {
						NOT = { is_fully_controlled_by = ROOT }
						OWNER = {
							has_war_with = ROOT
							is_in_faction_with = ROOT
							OVERLORD = {
								is_in_faction_with = ROOT
							}
						}
					}
				}
			}
			
		}
		
		bypass = {
			OR = {
				AND = {

					76 = { #North Transylvania
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 76
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					83 = { #Crisana
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 83
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					84 = { #Transylvania
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 84
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					} 

					82 = { #Banat
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 82
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}

					80 = { #Bucovina
						OR = {
							is_fully_controlled_by = ROOT
							any_country = {
								is_in_faction_with = ROOT
								controls_state = 80
							}
							OWNER = {
								has_war_with = ROOT
							}
						}
					}
				}

				ROM = {
					OR = {
						is_subject_of = AUS
						exists = no
						is_in_faction_with = ROOT
					}
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					ROM = {
						controls_state = 76
						controls_state = 80
						controls_state = 82
						controls_state = 83
						controls_state = 84
					}
				}

				ROM = {
					capital_scope = {
						add_to_array = {
							array = AUS.expansion_targets
							value = THIS
						}
					}
				}
			}

			ELSE_IF = {
				IF = {
					limit = {
						76 = { 
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}
				
					76 = { 
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}

				IF = {
					limit = {
						80 = { 
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}
				
					80 = { 
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}

				IF = {
					limit = {
						82 = { 
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}
				
					82 = { 
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}

				IF = {
					limit = {
						83 = { 
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}
				
					83 = { 
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}

				IF = {
					limit = {
						84 = { 
							NOT = {
								is_fully_controlled_by = ROOT
							}
						}
					}
				
					84 = { 
						controller = {
							IF = {
								limit = {
									NOT = {
										is_in_array = {
											array = AUS.expansion_targets
											value = THIS
										}
									}
								}
							}
							capital_scope = {
								add_to_array = {
									array = AUS.expansion_targets
									value = THIS
								}
							}
						}
					}
				}
			}
			

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_bring_hungary_back_into_the_fold_tt
			custom_effect_tooltip = target_rom_tt
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_integrate_northwest
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = AUS_demand_romanian_lands focus = AUS_take_back_galicia } 
		mutually_exclusive = { focus = AUS_integrate_hungary}
		x = 0 
		y = 2
		relative_position_id = AUS_take_back_galicia

		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			
			NOT = {
				69 = {
					is_core_of = ROOT
				}
				972 = {
					is_core_of = ROOT
				}
				9 = {
					is_core_of = ROOT
				}
				75 = {
					is_core_of = ROOT
				}
				74 = {
					is_core_of = ROOT
				}
				72 = {
					is_core_of = ROOT
				}
			}
		
		}
		
		bypass = { #both this and the mutually exclusive is not available
			69 = {
				is_core_of = ROOT
			}
			972 = {
				is_core_of = ROOT
			}
			9 = {
				is_core_of = ROOT
			}
			75 = {
				is_core_of = ROOT
			}
			74 = {
				is_core_of = ROOT
			}
			72 = {
				is_core_of = ROOT
			}
			155 = {
				is_core_of = ROOT
			}
			43 = {
				is_core_of = ROOT
			}
			154 = {
				is_core_of = ROOT
			}
			973 = {
				is_core_of = ROOT
			}
			974 = {
				is_core_of = ROOT
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					69 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 69 #Sudetenland
			}

			IF = {
				limit = {
					972 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 972 #South Sudetenland
			}

			IF = {
				limit = {
					9 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 9 #Bohemia
			}

			IF = {
				limit = {
					75 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 75 #Moravia
			}

			IF = {
				limit = {
					74 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 74 #East Sudetenland
			}

			IF = {
				limit = {
					72 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 72 #Zaolzie
			}
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_integrate_hungary
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = AUS_demand_romanian_lands focus = AUS_take_back_galicia}
		mutually_exclusive = { focus = AUS_integrate_northwest}
		x = 0
		y = 2
		relative_position_id = AUS_demand_romanian_lands

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
			NOT = {
				155 = {
					is_core_of = ROOT
				}
				43 = {
					is_core_of = ROOT
				}
				154 = {
					is_core_of = ROOT
				}
				973 = {
					is_core_of = ROOT
				}
				974 = {
					is_core_of = ROOT
				}
			}
		
		}
		
		bypass = { #both this and the mutually exclusive is not available
			155 = {
				is_core_of = ROOT
			}
			43 = {
				is_core_of = ROOT
			}
			154 = {
				is_core_of = ROOT
			}
			973 = {
				is_core_of = ROOT
			}
			974 = {
				is_core_of = ROOT
			}
			69 = {
				is_core_of = ROOT
			}
			972 = {
				is_core_of = ROOT
			}
			9 = {
				is_core_of = ROOT
			}
			75 = {
				is_core_of = ROOT
			}
			74 = {
				is_core_of = ROOT
			}
			72 = {
				is_core_of = ROOT
			}
		}

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

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					155 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 155 #North transdanubia
			}

			IF = {
				limit = {
					43 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 43 #Northern Hungary
			}

			IF = {
				limit = {
					154 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 154 #Alföld 
			}

			IF = {
				limit = {
					973 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 973 #Bacs-Bodrog
			}

			IF = {
				limit = {
					974 = {
						NOT = {
							is_core_of = ROOT
						}
					}
				}
				add_state_core = 974 #South Transdanubia
			}
		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_proclaim_austrian_empire
		icon = GFX_focus_AUS_proclaim_austrian_empire
		prerequisite = { focus = AUS_integrate_hungary focus = AUS_integrate_northwest focus = AUS_renew_claims_in_italy focus = AUS_strike_deal_with_italy }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_integrate_hungary

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = { 

			controls_state = 155 #Transdanubia
			controls_state = 154 #Alföld
			controls_state = 43 #Northern Hungary
			controls_state = 973 #Bacs-Bodrog
			controls_state = 974 #South Transdanubia

			controls_state = 69 #Sudetenland
			controls_state = 972 #south Sudetenland
			controls_state = 9 #Bohemia
			controls_state = 75 #Moravia
			controls_state = 74 #EasternSudetenland
			controls_state = 72 #Zaolzie

			controls_state = 102 #North Slovenia
			controls_state = 103 #Dalmatia
			controls_state = 853 #Lubljana 

			controls_state = 88 #Krakow
			controls_state = 89 #Stanislawow
			controls_state = 91 #Lwow

			controls_state = 76 #North Transylvania
			controls_state = 83 #Crisana
			controls_state = 84 #Transylvania
			controls_state = 82 #Banat
			controls_state = 80 #Bucovina

		}
		
		bypass = {

		}

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

		offset = {
			x = -2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_demand_hungarian_submission
			}
		}

		available_if_capitulated = no

		completion_reward = { 

			add_dynamic_modifier = {
				modifier = AUS_empire_restored
			}

			IF = {
				limit = { has_government = fascism }

				set_cosmetic_tag = AUS_austrian_empire
			}
			ELSE_IF = {
				limit = { has_government = neutrality }

				set_cosmetic_tag = AUS_austrian_empire
			}

		}
	}

	focus = { # MONARCHIST & FASCIST
		id = AUS_beyond_our_old_lands
		icon = GFX_focus_AUS_beyond_our_old_lands
		prerequisite = { focus = AUS_proclaim_austrian_empire}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_proclaim_austrian_empire

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_empire_restored_intro_tt

			add_to_variable = { AUS_empire_restored_army_attack_factor = 0.05 tooltip = army_attack_factor_tt }
			add_to_variable = { AUS_empire_restored_justify_war_goal_time = -0.1 tooltip = justify_war_goal_time_tt }
			add_to_variable = { AUS_empire_restored_compliance_growth = 0.015 tooltip = compliance_growth_tt }
			add_to_variable = { AUS_empire_restored_resistance_growth = -0.05 tooltip = resistance_growth_tt }
		}
	}

	#############################
	######## HISTORICAL #########
	#############################

	focus = { # HISTORICAL
		id = AUS_totalitarian_safety
		icon = GFX_focus_AUS_totalitarian_safety
		mutually_exclusive = { focus = AUS_repeal_the_may_constitution }
		x = 17
		y = 0
		relative_position_id = AUS_repeal_the_may_constitution

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }
		

		cost = 5

		ai_will_do = {
			factor = 10
		}
		available = {
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}


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

		offset = {
			x = -20
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_repeal_the_may_constitution
			}
		}

		available_if_capitulated = no

		completion_reward = {

			add_political_power = 50
			add_stability = 0.05

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

	focus = { # HISTORICAL
		id = AUS_clamp_down_on_dnsap
		icon = GFX_focus_AUS_ban_dnsap
		prerequisite = { focus = AUS_totalitarian_safety}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_totalitarian_safety

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			
			set_party_name = {
				ideology = neutrality
				long_name = AUS_greater_germany_party_long
				name = AUS_greater_germany_party
			}

			set_party_name = {
				ideology = fascism
				long_name = AUS_fascism_vaterlandische_front_long
				name = AUS_fascism_vaterlandische_front
			}

			custom_effect_tooltip = AUS_clamp_down_on_dnsap_tt

			hidden_effect = {
				AUS_fascist_vaterlandische_leader_setup = yes

				promote_character = AUS_kurt_schuschnigg 

				set_variable = {
					var = neutrality_support_var
					value = party_popularity_100@neutrality
				}

				set_variable = {
					var = fascism_support_var
					value = party_popularity_100@fascism
				}

				set_variable = {
					var = communism_support_var
					value = party_popularity_100@communism
				}

				set_variable = {
					var = democratic_support_var
					value = party_popularity_100@democratic
				}

				set_popularities = {
					democratic= party_popularity_100@democratic 
					neutrality = party_popularity_100@fascism #IT IS MEANT TO BE SWAPPED!
					fascism = party_popularity_100@neutrality #IT IS MEANT TO BE SWAPPED!
					communism = party_popularity_100@democratic
				}

				set_politics = {
					ruling_party = fascism
					last_election = "1930.11.9" 
					election_frequency = 48
					elections_allowed = no
				}

				
		
				every_other_country = {
					limit = {
						original_tag = GER
						has_government = fascism
					}
					country_event = {
						id = AUS_political_events.15
						days = 3
					}
				}
				
			}

			

			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}

			#custom_effect_tooltip = AUS_anschluss_ratio_will_be_raised
			#set_variable = { global.deployed_manpower_ratio_needed_for_anschluss = global.deployed_manpower_ratio_needed_for_anschluss_raised }
		}
	}

	focus = { # HISTORICAL
		id = AUS_supporting_italy_in_ethiopia_focus
		icon = GFX_focus_AUS_supporting_italy_in_ethiopia_focus
		prerequisite = { focus = AUS_clamp_down_on_dnsap}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_clamp_down_on_dnsap

		search_filters = { FOCUS_FILTER_HISTORICAL } #yep, the government helped Italy, Germany and the Austrian Nazis helped Ethiopia

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 10
				AUS_is_historical_ai = yes
			}
		}

		available = {
			has_global_flag = second_italo_ethiopian_war_flag
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_supporting_italy_in_ethiopia_focus_tt
		}
	}

	focus = { # HISTORICAL
		id = AUS_approach_democratic_guarantors
		icon = GFX_focus_generic_diplomatic_treaty
		prerequisite = { focus = AUS_clamp_down_on_dnsap}
		mutually_exclusive = { }
		x = -2
		y = 2
		relative_position_id = AUS_clamp_down_on_dnsap

		search_filters = { FOCUS_FILTER_STABILITY }

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				AUS_is_historical_ai = yes
			}
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_stability = 0.05

			custom_effect_tooltip = generic_skip_one_line_tt

			
			IF = {
				limit = { 
					FRA = {
						has_government = democratic 
					}
				}
				FRA = {
					country_event = {
						id = AUS_political_events.20
						days = 1
					}
				}
			}
			
			IF = {
				limit = { 
					USA = {
						has_government = democratic 
					}
				}
				USA = {
					country_event = {
						id = AUS_political_events.20
						days = 1
					}
				}
			}

			IF = {
				limit = { 
					ENG = {
						has_government = democratic 
					}
				}
				ENG = {
					country_event = {
						id = AUS_political_events.20
						days = 1
					}
				}
			}
	
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_approach_democratic_guarantors_tt
			custom_effect_tooltip = generic_skip_one_line_tt
			effect_tooltip = {
				IF = {
					limit = { has_dlc = "Arms Against Tyranny" }

					
					AUS = {
						add_equipment_subsidy = {
							cic = 1000  
							equipment_type = infantry_equipment 
							seller_tags = { FRA }  			
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = ENG
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = USA
						}
					}

					custom_effect_tooltip = generic_skip_one_line_tt
					
					
				}
				ELSE = {
					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = FRA
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = ENG
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt

					AUS = {
						add_equipment_to_stockpile = { 
							type = infantry_equipment
							amount = 500
							producer = USA
						}
					}
					custom_effect_tooltip = generic_skip_one_line_tt
				}

				AUS = {
					add_opinion_modifier = {
						target = FRA
						modifier = took_stand_for_us
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				AUS = {
					add_opinion_modifier = {
						target = ENG
						modifier = took_stand_for_us
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt

				AUS = {
					add_opinion_modifier = {
						target = USA
						modifier = took_stand_for_us
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				
				give_guarantee = AUS
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_seek_support_from_guarantors_tt
		}
	}

	focus = { # HISTORICAL
		id = AUS_reach_out_to_italy
		icon = GFX_focus_befriend_italy
		prerequisite = { focus = AUS_clamp_down_on_dnsap}
		mutually_exclusive = { }
		x = 2
		y = 2
		relative_position_id = AUS_clamp_down_on_dnsap

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 10
				AUS_is_historical_ai = yes
			}
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY }#I mean technically... it just went really badly...

		available_if_capitulated = no

		completion_reward = {

			add_stability = 0.05

			ITA = {
				country_event = {
					id = AUS_political_events.20
					days = 1
				}
			}

			custom_effect_tooltip = if_they_accept_tt

			effect_tooltip = {
				IF = {
					limit = { has_dlc = "Arms Against Tyranny" }

					AUS = {
						add_equipment_subsidy = {
							cic = 1000  
							equipment_type = infantry_equipment 
							seller_tags = { ITA }  			
						}
					}
				}

				
				AUS = {
					add_equipment_to_stockpile = { 
						type = infantry_equipment
						amount = 500
						producer = ITA
					}
				}
			

				AUS = {
					add_opinion_modifier = {
						target = ITA
						modifier = took_stand_for_us
					}
				}
				ITA = {
					give_guarantee = AUS
				}
				

				AUS = {
					give_military_access = ITA
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_seek_support_from_guarantors_tt
		}
	}

	focus = { # HISTORICAL
		id = AUS_refine_vaterlandische_front
		icon = GFX_focus_AUS_refine_vaterlandische_front
		prerequisite = { focus = AUS_reach_out_to_italy focus = AUS_approach_democratic_guarantors}
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_reach_out_to_italy

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			swap_ruler_traits = { remove = AUS_under_german_pressure add = AUS_embraced_fascism }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_austrofascism_intro_tt

			add_to_variable = { AUS_austrofascism_neutrality_drift = -0.03 tooltip = neutrality_drift_tt }

			add_to_variable = { AUS_austrofascism_political_power_factor = 0.05 tooltip = political_power_factor_tt }

			add_to_variable = { AUS_austrofascism_drift_defence_factor = 0.3 tooltip = drift_defence_factor_tt }


		}
	}

	focus = { # HISTORICAL
		id = AUS_seek_agreement_for_rearmament
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = AUS_refine_vaterlandische_front}
		mutually_exclusive = { focus = AUS_disregard_the_treaties }
		x = -1
		y = 1
		relative_position_id = AUS_refine_vaterlandische_front

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				AUS_is_historical_ai = yes
			}
		}

		available = {
			has_idea = AUS_treaty_of_saint_germain_en_laye
		}
		
		bypass = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}

		available_if_capitulated = no

		completion_reward = {
			
			custom_effect_tooltip = AUS_seek_agreement_for_rearmament_tt

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_rearmament_and_guarantees_tt

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_seek_support_from_guarantors_tt

			hidden_effect = {
				IF = {
					limit ={ 
						ITA = {
							exists = yes
						}
					}
					ITA = {
						country_event = {
							id = AUS_political_events.27
							hours = 24
						}
					}
				}

				ELSE_IF = {
					limit ={ 
						ITA = {
							exists = no
						}
						FRA = {
							exists = yes
						}
					}
					FRA = {
						country_event = {
							id = AUS_political_events.27
							hours = 24
						}
					}
				}

				ELSE_IF = {
					limit ={ 
						ITA = {
							exists = no
						}
						FRA = {
							exists = no
						}
						ENG = {
							exists = yes
						}
					}
					ENG = {
						country_event = {
							id = AUS_political_events.27
							hours = 24
						}
					}
				}

				ELSE_IF = {
					limit ={ 
						ITA = {
							exists = no
						}
						FRA = {
							exists = no
						}
						ENG = {
							exists = no
						}
						USA = {
							exists = yes
						}
					}
					USA = {
						country_event = {
							id = AUS_political_events.27
							hours = 24
						}
					}
				}
			}
		}
	}

	focus = { # HISTORICAL
		id = AUS_disregard_the_treaties
		icon = GFX_focus_AUS_disregard_the_treaties
		prerequisite = { focus = AUS_refine_vaterlandische_front}
		mutually_exclusive = { focus = AUS_seek_agreement_for_rearmament}
		x = 1
		y = 1
		relative_position_id = AUS_refine_vaterlandische_front

		search_filters = { FOCUS_FILTER_HISTORICAL } #They kind of did this... just when they were found out they immediately stopped...

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 10
				AUS_is_historical_ai = yes
			}
		}

		available = {
			has_idea = AUS_treaty_of_saint_germain_en_laye
		}
		
		bypass = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}

		available_if_capitulated = no

		completion_reward = {

			remove_ideas = AUS_treaty_of_saint_germain_en_laye

			custom_effect_tooltip = generic_skip_one_line_tt

			ITA = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}
			FRA = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}
			ENG = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}
			USA = {
				country_event = {
					id = AUS_political_events.30
					days = 1
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_rearmament_and_guarantees_tt

			hidden_effect = {
				news_event = {
					id = AUS_news_events.5
					days = 2
				}

				set_country_flag = AUS_dont_build_too_many_divs_flag
			}
		}
	}

	focus = { # HISTORICAL
		id = AUS_rapid_rearmament
		icon = GFX_focus_generic_full_social_mobilization
		prerequisite = { focus = AUS_disregard_the_treaties focus = AUS_seek_agreement_for_rearmament }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_disregard_the_treaties

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_timed_idea = {
				idea = AUS_emergency_measures
				days = 720
			}
		}
	}

	focus = { # HISTORICAL
		id = AUS_integrate_dnsap_remnants
		icon = GFX_focus_AUS_integrate_dnsap_remnants
		prerequisite = { focus = AUS_refine_vaterlandische_front}
		mutually_exclusive = { }
		x = 3
		y = 1
		relative_position_id = AUS_refine_vaterlandische_front

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_austrofascism_intro_tt
			add_to_variable = { AUS_austrofascism_fascism_drift = 0.03 tooltip = fascism_drift_tt }
			add_to_variable = { AUS_austrofascism_stability_factor = -0.05 tooltip = stability_factor_tt }
			add_to_variable = { AUS_austrofascism_war_support_factor = 0.05 tooltip = war_support_factor_tt }
		}
	}

	focus = { # HISTORICAL
		id = AUS_heimwehr_support
		icon = GFX_focus_ITA_generic_fascist_workers
		prerequisite = { focus = AUS_integrate_dnsap_remnants}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_integrate_dnsap_remnants

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = { 

			IF = {
				limit = {
					NOT = {
						has_country_leader = {
							ruling_only = yes
							character = AUS_ernst_rudiger_starhemberg
						}
					}
				}
				show_unit_leaders_tooltip = AUS_ernst_rudiger_starhemberg

				custom_effect_tooltip = generic_skip_one_line_tt
			}

			add_ideas = AUS_militia_support
			
			division_template = {
				name = "Heimwehr Division"
				priority = 1
				division_names_group = AUS_INF_04
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 0 y = 2 }
			
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
					militia = { x = 1 y = 2 }
			
				}
				support = {
					engineer = { x = 0 y = 0 }
				}
			}
			random_owned_controlled_state = {
				limit = { PREV = { has_full_control_of_state = PREV } }
				create_unit = {
					division = "name = \"1. Heimwehr Division\" division_template = \"Heimwehr Division\" start_experience_factor = 0.6" 
					owner = PREV
				}
			}
			random_owned_controlled_state = {
				limit = { PREV = { has_full_control_of_state = PREV } }
				create_unit = {
					division = "name = \"2. Heimwehr Division\" division_template = \"Heimwehr Division\" start_experience_factor = 0.6" 
					owner = PREV
				}
			}

			hidden_effect = {
				country_event = {
					id = AUS_political_events.35
					hours = 3
				}
			}
		}
	}

	focus = { # HISTORICAL
		id = AUS_spanish_intervention
		icon = GFX_focus_generic_befriend_nationalist_spain_focus
		prerequisite = { focus = AUS_rapid_rearmament}
		prerequisite = { focus = AUS_heimwehr_support}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_heimwehr_support

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				AUS_is_historical_ai = yes
			}
		}

		available = {
			NOT = {
				has_global_flag = scw_over
			}
		}
		
		bypass = {

		}



		available_if_capitulated = no

		completion_reward = {

			add_relation_rule_override = {
  				target = SPA
  				can_send_volunteers = yes
  			}	

  			IF = {
  				limit = {
  					NOT = {
  						has_idea = AUS_volunteer_effort
  					}
  				}
  				
  				add_timed_idea = {
  					idea = AUS_volunteer_effort
  					days = 720
  				}	
  			}
		}
	}

	focus = { # HISTORICAL
		id = AUS_demand_part_of_spanish_winnings
		icon = GFX_goal_tripartite_pact
		prerequisite = { focus = AUS_spanish_intervention}
		mutually_exclusive = { focus = AUS_invite_spanish_refugees}
		x = -1
		y = 1
		relative_position_id = AUS_spanish_intervention

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				AUS_is_historical_ai = yes
			}
		}

		available = {
			has_global_flag = scw_over
			has_country_flag = AUS_volunteer_effort_SPA_flag
			
			SPA = {
				has_capitulated = no
			}
			
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			SPA = {
				country_event = {
					id = AUS_political_events.31
					hours = 12
				}
			}
		}
	}

	focus = { # HISTORICAL
		id = AUS_invite_spanish_refugees
		icon = GFX_focus_ARG_invite_spanish_nationalists
		prerequisite = { focus = AUS_spanish_intervention}
		mutually_exclusive = { focus = AUS_demand_part_of_spanish_winnings }
		x = 1
		y = 1
		relative_position_id = AUS_spanish_intervention

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_ARMY_XP }

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				AUS_is_historical_ai = yes
			}
		}

		available = {
			has_global_flag = scw_over
			SPA = {
				has_capitulated = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_manpower = 25000

			army_experience = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = AUS_johann_jacob_reverta
		}
	}

	

	focus = { # HISTORICAL
		id = AUS_frontmiliz_focus
		icon = GFX_focus_AUS_frontmiliz_focus
		prerequisite = { focus = AUS_heimwehr_support }
		prerequisite = { focus = AUS_rapid_rearmament }
		mutually_exclusive = { }
		x = 5
		y = 2
		relative_position_id = AUS_heimwehr_support

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {
			has_completed_focus = AUS_heimwehr_support
			NOT = {
				has_idea = AUS_militia_support
			}
		}


		available_if_capitulated = no

		completion_reward = {
			remove_ideas = AUS_militia_support

			custom_effect_tooltip = AUS_austrofascism_intro_tt
			add_to_variable = { AUS_austrofascism_militia_attack = 0.25 tooltip = modifier_army_sub_unit_militia_attack_factor_tt }
			add_to_variable = { AUS_austrofascism_militia_defence = 0.25 tooltip = modifier_army_sub_unit_militia_defence_factor_tt }
			add_to_variable = { AUS_austrofascism_militia_speed = 0.15 tooltip = modifier_army_sub_unit_militia_speed_factor_tt }
		}
	}

	focus = { # HISTORICAL
		id = AUS_fit_for_fight
		icon = GFX_focus_spr_masters_of_our_own_fate
		prerequisite = { focus = AUS_frontmiliz_focus }
		mutually_exclusive = { }
		x = 0
		y = 2
		relative_position_id = AUS_frontmiliz_focus

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						OR = {
							has_idea = war_economy
							has_idea = tot_economic_mobilisation
						}
					}
				}
				add_ideas = partial_economic_mobilisation
			}

			custom_effect_tooltip = AUS_austrofascism_intro_tt
			add_to_variable = { AUS_austrofascism_economy_cost_factor = -0.15 tooltip = economy_cost_factor_tt }
			add_to_variable = { AUS_austrofascism_mobilization_laws_cost_factor = -0.15 tooltip = mobilization_laws_cost_factor_tt }
			add_to_variable = { AUS_austrofascism_trade_laws_cost_factor = -0.15 tooltip = trade_laws_cost_factor_tt }

			IF = {
				limit = { 
					has_completed_focus = AUS_clamp_down_on_dnsap

					NOT = { 
						has_country_flag = AUS_seyss_inquart_can_be_fired_flag 
					} 

					AUS_arthur_seyss-inquart = {
						has_trait = AUS_vocal_german_unionist
						is_hired_as_advisor = yes
					}
				}
				set_can_be_fired_in_advisor_role = {
					character = AUS_arthur_seyss-inquart
					value = yes
				}
				set_country_flag = AUS_seyss_inquart_can_be_fired_flag
			}
		}
	}

	focus = { # HISTORICAL
		id = AUS_form_nachrichtenabteilun
		icon = GFX_focus_generic_secret_service_agency
		prerequisite = { focus = AUS_fit_for_fight}
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_fit_for_fight

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "La Resistance"
				}

				create_intelligence_agency = { 
					name = AUS_nachrichtenabteilung
					icon = GFX_intelligence_agency_logo_generic_6
				}
			}

			
			add_tech_bonus = {
				name = nachrichtenabteilung_bonus 
				bonus = 0.25
				uses = 2
				category = electronics
			}	
		}
	}

	focus = { # HISTORICAL
		id = AUS_wienfilm_propaganda_effort
		icon = GFX_focus_generic_fascist_propaganda
		prerequisite = { focus = AUS_fit_for_fight}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_fit_for_fight

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

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

	focus = { # HISTORICAL
		id = AUS_consolidate_industries
		icon = GFX_focus_generic_modernize_industry
		prerequisite = { focus = AUS_fit_for_fight}
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_fit_for_fight

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_austrofascism_intro_tt
			add_to_variable = { AUS_austrofascism_industrial_capacity_factor = 0.1 tooltip = industrial_capacity_factory_tt }
			add_to_variable = { AUS_austrofascism_production_speed_industrial_complex_factor = 0.1 tooltip = production_speed_industrial_complex_factor_tt }
			add_to_variable = { AUS_austrofascism_production_speed_arms_factory_factor = 0.1 tooltip = production_speed_arms_factory_factor_tt }
			add_to_variable = { AUS_austrofascism_production_speed_infrastructure_factor = 0.1 tooltip = production_speed_infrastructure_factor_tt }
			
		}
	}

	focus = { # HISTORICAL
		id = AUS_universitat_graz
		icon = GFX_focus_research
		prerequisite = { focus = AUS_consolidate_industries focus = AUS_wienfilm_propaganda_effort}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_consolidate_industries

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = { # HISTORICAL 
		id = AUS_recruiting_the_graduates
		icon = GFX_focus_research2
		prerequisite = { focus = AUS_universitat_graz}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_universitat_graz

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_karl_polheim
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = AUS_herbert_wagner
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = AUS_eugen_sanger
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = {
				localization_key = available_scientist_one_line_tt
				CHARACTER = AUS_egon_schweidler
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.15
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = AUS_avionics_effort
		}
	}

	focus = { # HISTORICAL
		id = AUS_heritage_of_an_empire
		icon = GFX_focus_AUS_heritage_of_an_empire
		prerequisite = { focus = AUS_form_nachrichtenabteilun focus = AUS_wienfilm_propaganda_effort focus = AUS_consolidate_industries}
		mutually_exclusive = { }
		x = 2
		y = 2
		relative_position_id = AUS_form_nachrichtenabteilun

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

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

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_austrofascism_intro_tt
			add_to_variable = { AUS_austrofascism_conscription_factor = 0.1 tooltip = conscription_factor_tt }
			add_to_variable = { AUS_austrofascism_war_support_factor = 0.05 tooltip = war_support_factor_tt }
			add_to_variable = { AUS_austrofascism_justify_war_goal_time = -0.1 tooltip = justify_war_goal_time_tt }
		}
	}

	focus = { # HISTORICAL
		id = AUS_second_brothers_war
		icon = GFX_focus_attack_germany
		prerequisite = { focus = AUS_heritage_of_an_empire focus = AUS_for_a_better_future }
		mutually_exclusive = { }
		x = 0
		y = 2
		relative_position_id = AUS_heritage_of_an_empire
		will_lead_to_war_with = GER

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
		}
		
		bypass = {
			GER = {
				exists = no
			}
		}

		offset = {
			x = 10
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_repeal_the_may_constitution
			}
		}

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

		

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

		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_demand_hungarian_submission
			}
		}

		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = GER
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_unlocks_reichstag_raid
		}
	}

	focus = { # HISTORICAL
		id = AUS_an_improved_german_state
		icon = GFX_focus_AUS_an_improved_german_state
		prerequisite = { focus = AUS_second_brothers_war}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_second_brothers_war

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			GER = {
				OR = {
					exists = no
					is_subject_of = ROOT
					has_war_with = ROOT
				}
			}

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			country_event = {
				id = AUS_political_events.36
				hours = 3
			}

			set_country_flag = AUS_an_improved_improved_german_state_flag
		}
	}

	focus = { # LIECHTENSTEIN
		id = AUS_restoring_our_rightful_flag
		icon = GFX_focus_generic_attack_haiti
		prerequisite = { focus = AUS_an_improved_german_state}
		mutually_exclusive = { focus = AUS_seek_to_purchase_alaska }
		x = -2
		y = 1
		relative_position_id = AUS_an_improved_german_state

		allow_branch = {
			has_country_leader = {
				ruling_only = yes # default = yes
				character = AUS_alois_of_liechtenstein
			}
		}

		cost = 10

		ai_will_do = {
			factor = 0
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = AUS_alois_of_liechtenstein
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = HAI
			}
		}
	}

	focus = { # LIECHTENSTEIN
		id = AUS_seek_to_purchase_alaska
		icon = GFX_focus_AUS_seek_to_purchase_alaska
		prerequisite = { focus = AUS_an_improved_german_state}
		mutually_exclusive = { focus = AUS_restoring_our_rightful_flag }
		x = 2
		y = 1
		relative_position_id = AUS_an_improved_german_state

		allow_branch = {
			has_country_leader = {
				ruling_only = yes # default = yes
				character = AUS_alois_of_liechtenstein
			}
		}

		cost = 10

		ai_will_do = {
			factor = 0
		}

		available = {
			has_country_leader = {
				ruling_only = yes 
				character = AUS_alois_of_liechtenstein
			}
		}
		
		bypass = {
			463 = {
				is_owned_by = ROOT
			}
		}

		available_if_capitulated = no

		completion_reward = {
			
			463 = { #Alaska
				OWNER = {
					country_event = {
						id = AUS_political_events.92
						hours = 12
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				463 = {
					OWNER = {
						add_ideas = AUS_payment_for_alaska
					}
				}

				463 = {
					transfer_state_to = ROOT
				}
			}
		}
	}

	#############################
	######### INDUSTRY ##########
	#############################

	focus = { # INDUSTRY
		id = AUS_regulate_austrian_finance_sector
		icon = GFX_focus_generic_improve_the_administration
		x = 12
		y = 0
		relative_position_id = AUS_totalitarian_safety

		search_filters = {FOCUS_FILTER_POLITICAL}

		cost = 5

		ai_will_do = {
			factor = 10
		}
		available = {
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}

		offset = {
			x = 5
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_repeal_the_may_constitution
			}
		}
		
		offset = {
			x = 2
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = AUS_hold_elections
			}
		}

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

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

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

		available_if_capitulated = no

		completion_reward = {

			add_political_power = 50

			country_event = { 
				id = AUS_political_events.1
				days = 0
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_regulate_austrian_finance_sector_tt

		}
	}

	focus = { # INDUSTRY
		id = AUS_seek_papal_support
		icon = GFX_focus_generic_pope
		prerequisite = { focus = AUS_regulate_austrian_finance_sector}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_regulate_austrian_finance_sector

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_country_leader = {
					ruling_only = yes # default = yes
					character = AUS_kurt_schuschnigg
				}
				has_country_leader = {
					ruling_only = yes # default = yes
					character = AUS_ernst_rudiger_starhemberg
				}
				has_country_leader = {
					ruling_only = yes # default = yes
					character = AUS_vinzenz_schumy
				}
				has_country_leader = {
					ruling_only = yes # default = yes
					character = HUN_otto_von_habsburg
				}
			}
		}
		
		bypass = {
			
			
		}

		available_if_capitulated = no

		completion_reward = {
			add_stability = 0.1
			add_political_power = 50

			custom_effect_tooltip = AUS_seek_papal_support_tt
			hidden_effect = {
				add_popularity = {
					ideology = ROOT
					popularity = 0.05
				}
			}
			
		}
	}

	focus = { # INDUSTRY
		id = AUS_invest_in_erzberg_steel_mines
		icon = GFX_focus_generic_mining_industry
		prerequisite = { focus = AUS_regulate_austrian_finance_sector}
		mutually_exclusive = { }
		x = -6
		y = 1
		relative_position_id = AUS_regulate_austrian_finance_sector

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
			976 = {
				is_owned_and_controlled_by = ROOT
			}
			has_tech = excavation1
		}
		
		bypass = {
			
			976 = {
				NOT = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			
			976 = {
				add_resource = {
					type = steel
					amount = 12
				}	
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}	
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_courting_the_princess_of_industry
		icon = GFX_focus_AUS_courting_the_princess_of_industry
		prerequisite = { focus = AUS_invest_in_erzberg_steel_mines}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_invest_in_erzberg_steel_mines

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_political_power = 100

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_elizabet_von_gutmann

		}
	}

	focus = { # INDUSTRY
		id = AUS_expand_stpoltner_steelworks
		icon = GFX_focus_generic_steel
		prerequisite = { focus = AUS_courting_the_princess_of_industry}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_courting_the_princess_of_industry

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			152 = {
				is_owned_and_controlled_by = ROOT
			}
			has_tech = excavation2
		}
		
		bypass = {
			152 = {
				NOT = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			152 = {
				add_resource = {
					type = steel
					amount = 14
				}	
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}	
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_invest_in_semperit_synthetics
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = AUS_expand_stpoltner_steelworks}
		mutually_exclusive = { }
		x = -1 
		y = 1
		relative_position_id = AUS_expand_stpoltner_steelworks

		search_filters = { FOCUS_FILTER_INDUSTRY }


		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			4 = {
				is_owned_and_controlled_by = ROOT
			}
		}
		
		bypass = {
			4 = {
				NOT = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_tech = fuel_silos
						has_tech = synth_oil_experiments
					}
				}

				set_technology = { fuel_silos = 1 }
				set_technology = { synth_oil_experiments = 1 }
				
			}
			ELSE_IF = {
				limit = {
					has_tech = fuel_silos
					NOT = {
						has_tech = synth_oil_experiments
					}
				}

				set_technology = { synth_oil_experiments = 1 }
						
			}

			4 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}	
			}

			add_tech_bonus = {
				name = AUS_invest_in_semperit_synthetics_bonus
				bonus = 0.25
				uses = 2
				category = synth_resources	
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_pulverfabrik_skodawerke
		icon = GFX_focus_generic_industry_1
		prerequisite = { focus = AUS_expand_stpoltner_steelworks}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_expand_stpoltner_steelworks

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			4 = {
				is_owned_and_controlled_by = ROOT
			}
		}
		
		bypass = {
			4 = {
				NOT = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {

			4 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}	
			}

			IF = {
				limit = {
					has_tech = fuel_silos
				}
				4 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = fuel_silo
						level = 2
						instant_build = yes
					}	
				}
			}
			ELSE_IF = {
				limit = {
					NOT = {
						has_tech = fuel_silos
					}
				}

				custom_effect_tooltip = AUS_pulverfabrik_skodawerke_tt

				hidden_effect = {
					add_tech_bonus = {
						name = AUS_pulverfabrik_skodawerke_bonus
						bonus = 0.25
						uses = 3
						technology  = fuel_silos
						technology  = fuel_refining
						technology  = fuel_refining2
						technology  = fuel_refining3
						technology  = fuel_refining4
						technology  = fuel_refining5
					}
				}
							
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_the_matzen_oil_fields
		icon = GFX_focus_AUS_the_matzen_oil_fields
		prerequisite = { focus = AUS_pulverfabrik_skodawerke focus = AUS_invest_in_semperit_synthetics}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_pulverfabrik_skodawerke

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = excavation3
			975 = {
				is_owned_and_controlled_by = ROOT
			}
			4 = {
				is_owned_and_controlled_by = ROOT
			}
			
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			975 = {
				add_resource = {
					type = oil
					amount = 8
				}	
			}

			4 = {
				add_resource = {
					type = oil
					amount = 10
				}	
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_architechtual_advancements
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = AUS_regulate_austrian_finance_sector }
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_regulate_austrian_finance_sector 

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}
 
		available_if_capitulated = no

		completion_reward = {

			add_political_power = 100

			add_tech_bonus = {
				name = AUS_architechtual_advancements
				bonus = 0.5
				uses = 2
				category = construction_tech
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AUS_adolf_hoch


		}
	}

	focus = { # INDUSTRY
		id = AUS_autobahn_west
		icon = GFX_focus_generic_improve_roads
		prerequisite = { focus = AUS_architechtual_advancements}
		#mutually_exclusive = { focus = AUS_autobahn_south }
		x = -2
		y = 1
		relative_position_id = AUS_architechtual_advancements

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			AND = {
				152 = {
					is_owned_and_controlled_by = ROOT
				}
				4 = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					152 = {
						free_building_slots = {
						    building = infrastructure
						    size > 0
						}
					}
				}
				152 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					4 = {
						free_building_slots = {
						    building = infrastructure
						    size > 0
						}
					}
				}
				4 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					GER = {
						exists = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				GER = {
					add_opinion_modifier = {
						target = ROOT
						modifier = wuw_connected_autobahn
					}	
				}
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_autobahn_south
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = AUS_architechtual_advancements}
		#mutually_exclusive = { focus = AUS_autobahn_west}
		x = 0
		y = 1
		relative_position_id = AUS_architechtual_advancements

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
	
			AND = {
				152 = {
					is_owned_and_controlled_by = ROOT
				}
				976 = {
					is_owned_and_controlled_by = ROOT
				}
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					# TODO: Should be Styria
					152 = {
						free_building_slots = {
						    building = infrastructure
						    size > 1
						}
					}
				}
				152 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				ELSE_IF = {
					limit = {
						# TODO: Should be Styria
						152 = {
							NOT = {
								free_building_slots = {
								    building = infrastructure
								    size > 1
								}
							}
							free_building_slots = {
							    building = infrastructure
							    size > 0
							}
						}
					}
					152 = {
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
			}

			IF = {
				limit = {
					976 = {
						free_building_slots = {
						    building = infrastructure
						    size > 0
						}
					}
				}
				976 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			IF = {
				limit = {
					ITA = {
						exists = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				ITA = {
					add_opinion_modifier = {
						target = ROOT
						modifier = wuw_connected_autobahn
					}	
				}
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_autobahn_east 
		icon = GFX_focus_generic_improve_roads
		prerequisite = { focus = AUS_architechtual_advancements }
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_architechtual_advancements

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			975 = {
				is_owned_and_controlled_by = ROOT
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					# TODO: Should be Burgenland
					975 = {
						free_building_slots = {
						    building = infrastructure
						    size > 1
						}
					}
				}
				975 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
				ELSE_IF = {
					limit = {
						# TODO: Should be Burgenland
						975 = {
							NOT = {
								free_building_slots = {
								    building = infrastructure
								    size > 1
								}
							}
							free_building_slots = {
							    building = infrastructure
							    size > 0
							}
						}
					}
					975 = {
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
			}

			IF = {
				limit = {
					HUN = {
						exists = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				HUN = {
					add_opinion_modifier = {
						target = ROOT
						modifier = wuw_connected_autobahn
					}	
				}
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_bbo_focus
		icon = GFX_focus_AUS_bbo_focus
		prerequisite = { focus = AUS_autobahn_east focus = AUS_autobahn_west focus = AUS_autobahn_south }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_autobahn_south

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_political_power = 75
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_bbo_focus_tt
			show_ideas_tooltip = AUS_bbo_improved

			IF = {
				limit = {
					has_idea =  AUS_bbo
				}
				swap_ideas = {
					remove_idea = AUS_bbo 
					add_idea = AUS_bbo_improved
				}
			}
			

		}
	}

	focus = { # INDUSTRY
		id = AUS_economic_resuscitation
		icon = GFX_focus_AUS_economic_resuscitation
		prerequisite = { focus = AUS_regulate_austrian_finance_sector}
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_regulate_austrian_finance_sector

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {
			has_idea = AUS_recurrent_economic_depression
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_idea = AUS_recurrent_economic_depression
				}

				swap_ideas = {
					remove_idea = AUS_recurrent_economic_depression
					add_idea = AUS_recovering_from_the_depression
				}
			}

			ELSE = {
				custom_effect_tooltip = AUS_economic_resuscitation_tt
			}	
		}
	}

	focus = { # INDUSTRY
		id = AUS_devalue_the_schilling
		icon = GFX_focus_AUS_devalue_the_schilling
		prerequisite = { focus = AUS_economic_resuscitation}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_economic_resuscitation

		search_filters = { FOCUS_FILTER_POLITICAL }

		cost = 5

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_political_power = 75

			add_timed_idea = {
				idea = AUS_devalued_the_schilling
				days = 360
			}	

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_devaluing_the_schilling_tt

		}
	}

	focus = { # INDUSTRY
		id = AUS_bring_phonix_insurance_from_the_ashes
		icon = GFX_focus_AUS_bring_phonix_insurance_from_the_ashes
		prerequisite = { focus = AUS_devalue_the_schilling}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_devalue_the_schilling

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				AUS_is_historical_ai = yes
			}
		}

		available = {
			NOT = {
				OR = {
					has_idea = AUS_phonix_insurance
					has_idea = AUS_devalued_the_schilling
				}
			}

			has_idea = AUS_covering_the_phonix_insurances
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = { has_idea = AUS_covering_the_phonix_insurances }

				swap_ideas = {
					remove_idea = AUS_covering_the_phonix_insurances
					add_idea = AUS_phonix_insurance
				}
			}

			ELSE_IF = {
				limit = {
					has_idea = AUS_phonix_insurance
				}

				custom_effect_tooltip = AUS_bring_phonix_insurance_from_the_ashes_tt1
			}
		}
	}

	focus = { # INDUSTRY
		id = AUS_great_austrian_economic_push
		icon = GFX_focus_usa_reestablish_the_gold_standard
		prerequisite = { focus = AUS_devalue_the_schilling}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_devalue_the_schilling

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = AUS_devalued_the_schilling
			}
			has_idea = AUS_recovering_from_the_depression
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_idea = AUS_recovering_from_the_depression
				}
				swap_ideas = {
					remove_idea = AUS_recovering_from_the_depression
					add_idea = AUS_economic_boom
				}	
			}

			ELSE_IF = {
				limit = { has_idea = AUS_recurrent_economic_depression }

				custom_effect_tooltip = AUS_great_austrian_economic_push_tt
			}
			

		}
	}

	focus = { # INDUSTRY
		id = AUS_volkschule
		icon = GFX_focus_generic_university_1
		prerequisite = { focus = AUS_great_austrian_economic_push focus = AUS_bring_phonix_insurance_from_the_ashes}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_great_austrian_economic_push
		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = { # INDUSTRY
		id = AUS_industrialization_effort
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = AUS_regulate_austrian_finance_sector}
		mutually_exclusive = { }
		x = 5
		y = 1
		relative_position_id = AUS_regulate_austrian_finance_sector
		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_core_state = {
				is_owned_and_controlled_by = ROOT
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}

				prioritize = { 4 152 976 975 } #Niederösterreich, Oberösterreich, Steirmark-Kärntern, Burgenland
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

		}
	}

	focus = { # INDUSTRY
		id = AUS_invest_in_alpen_elektrowerke
		icon = GFX_focus_AUS_invest_in_alpen_elektrowerke
		prerequisite = { focus = AUS_industrialization_effort}
		mutually_exclusive = { focus = AUS_invest_in_kapsch }
		x = -1
		y = 1
		relative_position_id = AUS_industrialization_effort
		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_core_state = {
				is_owned_and_controlled_by = ROOT
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				prioritize = { 4 152 976 975 } #Niederösterreich, Oberösterreich, Steirmark-Kärntern, Burgenland
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = AUS_alpen_elektrowerke_designer

		}
	}

	focus = { # INDUSTRY
		id = AUS_invest_in_kapsch
		icon = GFX_focus_AUS_invest_in_kapsch
		prerequisite = { focus = AUS_industrialization_effort}
		mutually_exclusive = { focus = AUS_invest_in_alpen_elektrowerke }
		x = 1
		y = 1
		relative_position_id = AUS_industrialization_effort
		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_core_state = {
				is_owned_and_controlled_by = ROOT
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				prioritize = { 4 152 976 975 } #Niederösterreich, Oberösterreich, Steirmark-Kärntern, Burgenland
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = AUS_kapsch

		}
	}

	focus = { # INDUSTRY
		id = AUS_construction_guilds
		icon = GFX_goal_generic_construction
		prerequisite = { focus = AUS_invest_in_kapsch focus = AUS_invest_in_alpen_elektrowerke}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_invest_in_kapsch

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = { 

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_timed_idea = {
				idea = AUS_construction_guilds_idea
				days = 720
			}

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 2
				set_state_flag = AUS_construction_guilds_building_slot_added_flag
			}

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					NOT = { 
						has_state_flag = AUS_construction_guilds_building_slot_added_flag
					}
				}
				add_extra_state_shared_building_slots = 2
				set_state_flag = AUS_construction_guilds_building_slot_added_flag
			}
		}
	}

	focus = { # INDUSTRY
		id = AUS_apprentice_programmes
		icon = GFX_focus_AUS_apprentice_programmes
		prerequisite = { focus = AUS_construction_guilds }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_construction_guilds

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_idea = AUS_widespread_unemployment
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			swap_ideas = {
				remove_idea = AUS_widespread_unemployment
				add_idea = AUS_employment_efforts
			}	

		}
	}

	#############################
	######### MILITARY ##########
	#############################

	focus = { # AIR
		id = AUS_osterreichische_luftstreitkrafte
		icon = GFX_focus_AUS_osterreichische_luftstreitkrafte
		x = 10
		y = 0
		relative_position_id = AUS_regulate_austrian_finance_sector

		search_filters = { FOCUS_FILTER_AIR_XP }

		cost = 5

		ai_will_do = {
			factor = 1
		}
		available = {
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}

		available_if_capitulated = no

		completion_reward = {

			air_experience = 50

			custom_effect_tooltip = generic_skip_one_line_tt

			add_dynamic_modifier = {
				modifier = AUS_airforce
			}
		}
	}

		focus = { # AIR
		id = AUS_preparing_the_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AUS_osterreichische_luftstreitkrafte}
		mutually_exclusive = { }
		x = 0
		y = 2
		relative_position_id = AUS_osterreichische_luftstreitkrafte
		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				
				prioritize = { 4 } #niederösterreich

				add_extra_state_shared_building_slots = 1

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

		focus = { # AIR
		id = AUS_purchase_foreign_designs
		icon = GFX_focus_generic_copy_plane_designs
		prerequisite = { focus = AUS_preparing_the_industry}
		mutually_exclusive = { focus = AUS_focus_on_domestic_production}
		x = -2
		y = 1
		relative_position_id = AUS_preparing_the_industry

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = { #subsidy airframe version
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				IF = {
					limit = { has_government = fascism }

					add_equipment_subsidy = {
						cic = 1000 
						equipment_type = small_plane_airframe
						seller_trigger = is_fascist_seller_trigger
					}
				}

				ELSE_IF = {
					limit = { has_government = communism }

					add_equipment_subsidy = {
						cic = 1000 
						equipment_type = small_plane_airframe
						seller_trigger = is_communist_seller_trigger
					}
				}

				ELSE = {

					add_equipment_subsidy = {
						cic = 1000 
						equipment_type = small_plane_airframe
						seller_trigger = is_democratic_seller_trigger
					}
				}
			}

			IF = {
				limit = { has_dlc = "By Blood Alone"}

				IF = {
					limit = { 
						OR = {
							has_government = fascism
							has_government = neutrality
						}
						any_country = {
							original_tag = ITA
							has_government = fascism
						}
					}

					add_equipment_to_stockpile = {
						type = small_plane_airframe_0 
						amount = 50 
						producer = ITA
					}
				}
				ELSE_IF = {
					limit = { 
						has_government = communism
						any_country = {
							original_tag = SOV
							has_government = communism
						}
					}
					add_equipment_to_stockpile = {
						type = small_plane_airframe_0 
						amount = 50 
						producer = SOV
					}
				}
				ELSE_IF = {
					limit = { 
						has_government = democratic
						any_country = {
							original_tag = ENG
							has_government = democratic
						}
					}
					add_equipment_to_stockpile = {
						type = small_plane_airframe_0 
						amount = 50 
						producer = ENG
					}
				}

				ELSE = { #this means we're ahistorical af, giving us Austrian planes as a fallback
					add_equipment_to_stockpile = {
						type = small_plane_airframe_0 
						amount = 50 
						producer = AUS
					}
				}
			}

			

			ELSE = {

				IF = {
					limit = { 
						OR = {
							has_government = fascism
							has_government = neutrality
						}
						any_country = {
							original_tag = ITA
							has_government = fascism
						}
					}
					add_equipment_to_stockpile = {
						type = fighter_equipment_0 
						amount = 50 
						producer = ITA
					}
				}

				ELSE_IF = {
					limit = { 
						has_government = communism
						any_country = {
							original_tag = SOV
							has_government = communism
						}
					}
					add_equipment_to_stockpile = {
						type = fighter_equipment_0 
						amount = 50 
						producer = SOV
					}
				}
				ELSE_IF = {
					limit = { 
						has_government = democratic
						any_country = {
							original_tag = ENG
							has_government = democratic
						}
					}
					add_equipment_to_stockpile = {
						type = fighter_equipment_0 
						amount = 50 
						producer = ENG
					}
				}
				ELSE = {
					add_equipment_to_stockpile = {
						type = fighter_equipment_0 
						amount = 50 
						producer = AUS
					}
				}
			}

			

		}
	}

		focus = { # AIR
		id = AUS_focus_on_domestic_production
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = AUS_preparing_the_industry }
		mutually_exclusive = { focus = AUS_purchase_foreign_designs }
		x = 2
		y = 1
		relative_position_id = AUS_preparing_the_industry

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_ideas = AUS_domestic_air_production
		}
	}

	focus = {
		id = AUS_flight_schools
		icon = GFX_focus_FIN_expand_air_force_academy
		prerequisite = { focus = AUS_purchase_foreign_designs focus = AUS_focus_on_domestic_production }
		x = 2
		y = 1
		relative_position_id = AUS_purchase_foreign_designs

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass  = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_airforce_intro_tt
			add_to_variable = { AUS_airforce_air_ace_generation_chance_factor = 0.2 tooltip = air_ace_generation_chance_factor_tt  }
			add_to_variable = { 
				AUS_airforce_air_untrained_pilots_penalty_factor = -0.1 tooltip = air_untrained_pilots_penalty_factor_tt 
			}

			add_ace = {
				name = Walter
				surname = Nowotny
				callsign = Nowi #disputed, sources weren't the best but it is the only callsign I could find that wasn't related to his flight and squadron position.
				type = fighter_genius
			}
		}
	}

	focus = { # AIR
		id = AUS_seek_international_partners
		icon = GFX_focus_generic_air_partners
		prerequisite = { focus = AUS_purchase_foreign_designs}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_purchase_foreign_designs
		search_filters = { FOCUS_FILTER_AIR_XP }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			air_experience = 25

			ENG = {
				IF = {
					limit = { 
						NOT = { 
							has_war_with = AUS 
							is_enemy_ideology = yes 
							AND = {
								has_government = communism
								AUS = { has_government = neutrality }
							}
						} 
					}
					country_event = {
						id =  AUS_political_events.5
						hours = 3 
					}
				}

			}
			USA = {
				IF = {
					limit = { 
						NOT = { 
							has_war_with = AUS 
							is_enemy_ideology = yes 
							AND = {
								has_government = communism
								AUS = { has_government = neutrality }
							}
						} 
					}
					country_event = {
						id =  AUS_political_events.5
						hours = 3 
					}
				}

			}
			FRA = {
				IF = {
					limit = { 
						NOT = { 
							has_war_with = AUS 
							is_enemy_ideology = yes 
							AND = {
								has_government = communism
								AUS = { has_government = neutrality }
							}
						} 
					}
					country_event = {
						id =  AUS_political_events.5
						hours = 3 
					}
				}
			}
			HUN = {
				IF = {
					limit = { 
						NOT = { 
							has_war_with = AUS 
							any_country = {
								has_war_with = HUN
								is_in_faction_with = AUS
							}
							is_enemy_ideology = yes 
							AND = {
								has_government = communism
								AUS = { has_government = neutrality }
							}
						} 
					}
					country_event = {
						id =  AUS_political_events.5
						hours = 3 
					}
				}

			}
			SOV = {
				IF = {
					limit = { 
						NOT = { 
							has_war_with = AUS 
							is_enemy_ideology = yes 
							AND = {
								has_government = communism
								AUS = { has_government = neutrality }
							}
						} 
					}
					country_event = {
						id =  AUS_political_events.5
						hours = 3 
					}
				}

			}
			ITA = {
				IF = {
					limit = { 
						NOT = { 
							has_war_with = AUS 
							is_enemy_ideology = yes 
							AND = {
								has_government = communism
								AUS = { has_government = neutrality }
							}
						} 
					}
					country_event = {
						id =  AUS_political_events.5
						hours = 3 
					}

				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_seek_international_partners_tt
			effect_tooltip = {

				ROOT = {
					add_opinion_modifier = {
						target = FROM
						modifier = AUS_air_force_partnership_big
					}
				
					air_experience = 50

					IF = {
						limit = {
							NOT = { has_market_access_with = FROM }
							has_dlc = "Arms Against Tyranny" 
						}
						give_market_access = FROM
					}
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_seek_international_partners_tt2

			IF = {
				limit = { has_dlc = "Arms Against Tyranny"}

				custom_effect_tooltip = AUS_seek_international_partners_tt3
			}
			

		}
	}

		focus = { # AIR
		id = AUS_air_research_boost
		icon = GFX_focus_generic_air_research_boost
		prerequisite = { focus = AUS_seek_international_partners}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_seek_international_partners
		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AUS_innovative_airforce_bonus
				bonus = 0.75
				uses = 2
				category = air_equipment
			}
		}
	}

		focus = { # AIR
		id = AUS_revitalize_austrian_air_industry
		icon = GFX_goal_generic_build_airforce 
		prerequisite = { focus = AUS_focus_on_domestic_production}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_focus_on_domestic_production

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_airforce_intro_tt
			add_to_variable = { 
				AUS_airforce_industrial_capacity_factory = 0.05 
				tooltip = industrial_capacity_factory_tt
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:AUS_phonix_fleugzeugwerke_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
					add_mio_research_bonus = 0.05

				}

				mio:AUS_osterreichische_fleugzeugfabrik_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.1
					add_mio_research_bonus = 0.05

				}
			}

			else = {
				swap_ideas = {
					remove_idea = AUS_phonix_fleugzeugwerke
					add_idea = AUS_phonix_fleugzeugwerke_improved
				}
			}
		}
	}

		focus = { # AIR
		id = AUS_light_specialization
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = AUS_revitalize_austrian_air_industry}
		mutually_exclusive = { focus = AUS_medium_specialization focus = AUS_heavy_specialization }
		x = -2
		y = 1
		relative_position_id = AUS_revitalize_austrian_air_industry

		search_filters = { FOCUS_FILTER_RESEARCH  FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			swap_ideas = {
				remove_idea = AUS_domestic_air_production
				add_idea = AUS_domestic_air_production_small
			}

			add_tech_bonus = {
				name = AUS_light_specialization_bonus
				bonus = 0.5
				uses = 2
				category = light_air 
			}
		}
	}

		focus = { # AIR
		id = AUS_medium_specialization
		icon = GFX_focus_generic_multi_role_aircraft
		prerequisite = { focus = AUS_revitalize_austrian_air_industry}
		mutually_exclusive = { focus = AUS_light_specialization focus = AUS_heavy_specialization }
		x = 0
		y = 1
		relative_position_id = AUS_revitalize_austrian_air_industry

		search_filters = { FOCUS_FILTER_RESEARCH  FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			swap_ideas = {
				remove_idea = AUS_domestic_air_production
				add_idea = AUS_domestic_air_production_medium
			}

			add_tech_bonus = {
				name = AUS_medium_specialization_bonus
				bonus = 0.5
				uses = 2
				category = medium_air 
			}
		}
	}

		focus = { # AIR
		id = AUS_heavy_specialization
		icon = GFX_focus_generic_long_range_aircraft
		prerequisite = { focus = AUS_revitalize_austrian_air_industry}
		mutually_exclusive = { focus = AUS_light_specialization focus = AUS_medium_specialization }
		x = 2
		y = 1
		relative_position_id = AUS_revitalize_austrian_air_industry

		search_filters = { FOCUS_FILTER_RESEARCH  FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			swap_ideas = {
				remove_idea = AUS_domestic_air_production
				add_idea = AUS_domestic_air_production_large
			}

			add_tech_bonus = {
				name = AUS_heavy_specialization_bonus
				bonus = 0.5
				uses = 2
				category = heavy_air 
			}
		}
	}

		focus = { # AIR
		id = AUS_air_base_intiative
		icon = GFX_focus_generic_air_bases
		prerequisite = { focus = AUS_light_specialization focus = AUS_medium_specialization focus = AUS_heavy_specialization focus = AUS_air_research_boost }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_light_specialization

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				
				prioritize = { 153 } 

				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}	
			}

			custom_effect_tooltip = AUS_airforce_intro_tt
			add_to_variable = { AUS_airforce_production_speed_air_base_factor = 0.1 tooltip = production_speed_air_base_factor_tt }	
		}
	}

		focus = { # AIR
		id = AUS_wien_anti_air_effort
		icon = GFX_focus_generic_air_defense
		prerequisite = { focus = AUS_light_specialization focus = AUS_medium_specialization focus = AUS_heavy_specialization focus = AUS_air_research_boost}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_light_specialization

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				
				prioritize = { 4 } #niederösterreich

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

			custom_effect_tooltip = AUS_airforce_intro_tt
			add_to_variable = { AUS_airforce_production_speed_anti_air_building_factor = 0.1 tooltip = production_speed_anti_air_building_factor_tt }
		}
	}

		focus = { # AIR
		id = AUS_radar_effort
		icon = GFX_goal_generic_radar
		prerequisite = { focus = AUS_light_specialization focus = AUS_medium_specialization focus = AUS_heavy_specialization focus = AUS_air_research_boost }
		mutually_exclusive = { }
		x = 3
		y = 1
		relative_position_id = AUS_light_specialization

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = { has_tech = cavity_magnatron }

				random_owned_controlled_state = {
					limit = {
						is_core_of = ROOT
					}
					
					prioritize = { 152 } #niederösterreich

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

				random_owned_controlled_state = {
					limit = {
						is_core_of = ROOT
					}
					
					prioritize = { 153 } #niederösterreich

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

				ELSE = {
					add_tech_bonus = {
						name = AUS_radar_effort
						bonus = 0.5
						uses = 1
						category = radar_tech
					}
				}
			}

			custom_effect_tooltip = AUS_airforce_intro_tt
			add_to_variable = { AUS_production_speed_radar_station_factor = 0.1 tooltip = production_speed_radar_station_factor_tt }

		}
	}

	focus = {
		id = AUS_neustadter_flugzeugwerke
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AUS_air_base_intiative focus = AUS_wien_anti_air_effort focus = AUS_radar_effort }
		x = 0
		y = 2
		relative_position_id = AUS_wien_anti_air_effort

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass  = {

		}

		available_if_capitulated = no

		completion_reward = {
			air_experience = 50

			random_owned_controlled_state = {
				
				prioritize = { 4 } 

				add_extra_state_shared_building_slots = 1

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

			random_owned_controlled_state = {
				
				prioritize = { 976 } 

				add_extra_state_shared_building_slots = 1

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

	focus = { # AIR
		id = AUS_aerial_strategies
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = AUS_neustadter_flugzeugwerke }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_neustadter_flugzeugwerke

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_airforce_intro_tt
			add_to_variable = { AUS_airforce_ground_attack_factor = 0.1 tooltip = ground_attack_factor_tt }
			add_to_variable = { AUS_airforce_air_superiority_efficiency = 0.1 tooltip = air_superiority_efficiency_tt }

			add_doctrine_cost_reduction = {
				name = AUS_aerial_strategies
				cost_reduction = 0.25
				uses = 2
				category = air_doctrine 
			}
		}
	}

	focus = { # ARMY
		id = AUS_secret_rearmament
		icon = GFX_focus_secret_rearmament
		x = 10
		y = 0
		relative_position_id = AUS_osterreichische_luftstreitkrafte
		search_filters = { FOCUS_FILTER_MANPOWER }

		cost = 5

		ai_will_do = {
			factor = 10
		}
		available = {
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}

		bypass = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}

		}

		available_if_capitulated = no

		completion_reward = {
			add_ideas = AUS_secret_rearmament_idea

		}
	}

	focus = { # ARMY
		id = AUS_militarization_effort
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AUS_secret_rearmament}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_secret_rearmament

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 5

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}

				prioritize = { 4 152 976 975 } #Niederösterreich, Oberösterreich, Steirmark-Kärntern, Burgenland

				add_extra_state_shared_building_slots = 2

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

	focus = { # ARMY
		id = AUS_osterreichische_bundesheer
		icon = GFX_focus_AUS_osterreichische_bundesheer
		prerequisite = { focus = AUS_militarization_effort}
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_militarization_effort

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_completed_focus = AUS_legacy_of_the_empire
					}
				}

				IF = {
					limit = { 
						NOT = { 
							OR = {
								has_dynamic_modifier = { 
									modifier = AUS_army 
								}

								has_dynamic_modifier = {
									modifier = AUS_army_monarchy
									
								}
							}		 
						}
					}

					add_dynamic_modifier = { modifier = AUS_army }

					add_to_variable = { AUS_army_army_core_attack_factor = 0.1 tooltip = 	army_core_attack_factor_tt }
					add_to_variable = { AUS_army_army_core_defence_factor = 0.1 tooltip = 	army_core_defence_factor_tt }
				}

				ELSE = {
					custom_effect_tooltip = AUS_army_intro_tt

					add_to_variable = { AUS_army_army_core_attack_factor = 0.1 tooltip = 	army_core_attack_factor_tt }
					add_to_variable = { AUS_army_army_core_defence_factor = 0.1 tooltip = 	army_core_defence_factor_tt }
				}
			}

			ELSE = {

				IF = {
					limit = {
						NOT = { 
							OR = {
								has_dynamic_modifier = { 
									modifier = AUS_army 
								}

								has_dynamic_modifier = {
									modifier = AUS_army_monarchy
									
								}
							}		 
						}
					}

					add_dynamic_modifier = { modifier = AUS_army_monarchy }
				}

				ELSE = {
					custom_effect_tooltip = AUS_army_monarchy_intro_tt
				}

				add_to_variable = { AUS_army_army_core_attack_factor = 0.1 tooltip = 	army_core_attack_factor_tt }
				add_to_variable = { AUS_army_army_core_defence_factor = 0.1 tooltip = 	army_core_defence_factor_tt }
			}

		}
	}

	focus = { # ARMY
		id = AUS_standardized_army_training
		icon = GFX_focus_chi_army_reform
		prerequisite = { focus = AUS_militarization_effort}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_militarization_effort

		search_filters = { FOCUS_FILTER_ARMY_XP }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				has_idea = AUS_treaty_of_saint_germain_en_laye
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			army_experience = 50

			IF = {
				limit = {
					NOT = {
						has_completed_focus = AUS_legacy_of_the_empire
					}
				}

				IF = {
					limit = {
						NOT = { 
							OR = {
								has_dynamic_modifier = { 
									modifier = AUS_army 
								}

								has_dynamic_modifier = {
									modifier = AUS_army_monarchy
									
								}
							}		 
						}
					}

					add_dynamic_modifier = { modifier = AUS_army }

					add_to_variable = { AUS_army_training_time_factor = -0.1 tooltip = training_time_factor_tt }
				}
				ELSE = {
					custom_effect_tooltip = AUS_army_intro_tt

					add_to_variable = { AUS_army_training_time_factor = -0.1 tooltip = training_time_factor_tt }
				}
			}

			ELSE = {

				IF = {
					limit = {
						NOT = { 
							OR = {
								has_dynamic_modifier = { 
									modifier = AUS_army 
								}

								has_dynamic_modifier = {
									modifier = AUS_army_monarchy
									
								}
							}		 
						}
					}

					add_dynamic_modifier = { modifier = AUS_army }

					add_to_variable = { AUS_army_training_time_factor = -0.1 tooltip = training_time_factor_tt }
				}
				ELSE = {
					custom_effect_tooltip = AUS_army_intro_tt

					add_to_variable = { AUS_army_training_time_factor = -0.1 tooltip = training_time_factor_tt }
					
				}

				
			}

		}
	}

	focus = { # ARMY
		id = AUS_osterreichische_fallschirmsjager
		icon = GFX_focus_generic_paratrooper
		prerequisite = { focus = AUS_osterreichische_bundesheer }
		prerequisite = { focus = AUS_preparing_the_industry }
		mutually_exclusive = { }
		x = -5
		y = 1
		relative_position_id = AUS_osterreichische_bundesheer

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AUS_osterreichische_fallschirmsjager
				bonus = 0.3
				uses = 2
				category = para_tech 
			}

			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				add_doctrine_cost_reduction = {
					name = AUS_osterreichische_fallschirmsjager
					cost_reduction = 0.3
					uses = 2
					category = cat_paratroopers_doctrine
				}
			}

		}
	}

	focus = { # ARMY
		id = AUS_osterreichische_gebirgsjager
		icon = GFX_focus_AUS_osterreichische_gebirgsjager
		prerequisite = { focus = AUS_standardized_army_training focus = AUS_osterreichische_bundesheer}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_osterreichische_bundesheer
		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_tech_bonus = {
				name = AUS_osterreichische_gebirgsjager
				bonus = 0.2
				uses = 2
				category = mountaineers_tech
			}

			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				add_doctrine_cost_reduction = {
					cost_reduction = 0.2
					uses = 2
					category = cat_mountaineers_doctrine
				}
			}

			custom_effect_tooltip = ROM_mountain_artillery_tech_tt
			hidden_effect = { 
				set_technology = { 
					mountain_gun = 1 
					popup = no
				} 
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = AUS_osterreichische_gebirgsjager_tt
			hidden_effect = { 
				set_technology = { 
					mountain_defensive_training = 1 
					popup = no
				} 
			}
		}
	}

	focus = { # ARMY
		id = AUS_osterreichische_seebataillon
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = AUS_standardized_army_training }
		prerequisite = { focus = AUS_rebuild_the_armada }
		mutually_exclusive = { }
		x = 5
		y = 1
		relative_position_id = AUS_standardized_army_training

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AUS_osterreichische_seebataillon
				bonus = 0.5
				uses = 2
				category = marine_tech

			}

			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				add_doctrine_cost_reduction = {
					name = AUS_osterreichische_seebataillon
					cost_reduction = 0.5
					uses = 2
					category = cat_marines_doctrine
				}
			}
		}
	}

	focus = { # ARMY
		id = AUS_steyr_arms_investment
		icon = GFX_focus_AUS_steyr_arms_investment
		prerequisite = { focus = AUS_osterreichische_bundesheer}
		mutually_exclusive = { }
		x = -3
		y = 1
		relative_position_id = AUS_osterreichische_bundesheer

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				mio:AUS_steyr_organization = {
					add_mio_size = 3
					add_mio_funds = 500
					add_mio_research_bonus = 0.1
				}

			}
			ELSE = {
				custom_effect_tooltip = AUS_steyr_arms_investment_tt
			}
		}
	}

	focus = { # ARMY
		id = AUS_supporting_the_troops
		icon = GFX_goal_generic_production2
		prerequisite = { focus = AUS_osterreichische_bundesheer }
		mutually_exclusive = { }
		x = -1
		y = 1
		relative_position_id = AUS_osterreichische_bundesheer

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AUS_supporting_the_troops
				bonus = 0.25
				uses = 2
				category = support_tech
			}
		}
	}

	focus = { # ARMY
		id = AUS_improve_army_logistics
		icon = GFX_focus_generic_supply_line
		prerequisite = { focus = AUS_steyr_arms_investment focus = AUS_supporting_the_troops }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_steyr_arms_investment

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			AUS_display_correct_army_name = yes


			add_to_variable = { AUS_army_supply_consumption_factor = -0.1 tooltip = supply_consumption_factor_tt }
			add_to_variable = { AUS_army_out_of_supply_factor = -0.1 tooltip = out_of_supply_factor_tt }
		}
	}

	focus = { # ARMY
		id = AUS_reinforcing_the_supply_network
		icon = GFX_focus_generic_reinforcing_the_supply_network
		prerequisite = { focus = AUS_improve_army_logistics}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_improve_army_logistics

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

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

	

	focus = { # ARMY
		id = AUS_follow_the_jansa_plan
		icon = GFX_focus_AUS_follow_the_jansa_plan
		prerequisite = { focus = AUS_osterreichische_bundesheer focus = AUS_standardized_army_training }
		mutually_exclusive = { focus = AUS_establish_bohme_plan }
		x = 0
		y = 2
		relative_position_id = AUS_osterreichische_bundesheer

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL }

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 10
				AUS_is_historical_ai = yes
			}
		}

		available = {
			
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_political_power = 100
			add_command_power = 20

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_follow_the_jansa_plan_tt2
			show_ideas_tooltip = AUS_alfred_jansa

			AUS_alfred_jansa = {
				add_skill_level = 1
				add_defense = 1
				add_planning = 1
				add_logistics = 1

				add_unit_leader_trait = unyielding_defender
			}

			set_country_flag = AUS_went_with_jansa_flag

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_follow_the_jansa_plan_tt

			hidden_effect = {
				IF = {
					limit = {
						GER = {
							has_government = fascism
							NOT = {
								has_war_with = ROOT
							}
						}
					}
					GER = {
						country_event = {
							id = AUS_political_events.59
							hours = 12
						}
					}
				}
			}
		}
	}

	focus = { # ARMY
		id = AUS_bring_generals_out_of_retirement
		icon = GFX_focus_AUS_bring_generals_out_of_retirement
		prerequisite = { focus = AUS_follow_the_jansa_plan focus = AUS_establish_bohme_plan }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_follow_the_jansa_plan

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					OR = {
						AND = {
							has_completed_focus = AUS_clamp_down_on_dnsap 
						
							has_government = fascism
						}

						AND = {
							OR = {
								has_completed_focus = AUS_rebuild_democratic_systems
								has_completed_focus = AUS_ban_dnsap
							}
							NOT = { has_government = fascism }
						}

						AND = {
							NOT = { has_government = fascism }
							NOT = { 
								has_completed_focus = AUS_clamp_down_on_dnsap 
								has_completed_focus = AUS_rebuild_democratic_systems
								has_completed_focus = AUS_ban_dnsap
							}
						}
					}
				}
				show_unit_leaders_tooltip = AUS_mauritz_von_wiktorin
				custom_effect_tooltip = generic_skip_one_line_tt
			}

			show_unit_leaders_tooltip = AUS_wilhelm_gebauer
		}
	}
	focus = { # ARMY
		id = AUS_the_homeland_front
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = AUS_follow_the_jansa_plan}
		mutually_exclusive = { }
		x = -1
		y = 2
		relative_position_id = AUS_follow_the_jansa_plan

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_army_monarchy
					}
				}
				custom_effect_tooltip = AUS_army_monarchy_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_army_intro_tt
			}

			add_to_variable = { AUS_army_army_core_attack_factor = 0.05 tooltip = 	army_core_attack_factor_tt }
			add_to_variable = { AUS_army_army_core_defence_factor = 0.05 tooltip = 	army_core_defence_factor_tt }
		}
	}

	focus = { # ARMY
		id = AUS_fortify_the_traun_line
		icon = GFX_focus_AUS_fortify_the_traun_line
		prerequisite = { focus = AUS_the_homeland_front}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_the_homeland_front

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			OR = {
				152 = {
					is_fully_controlled_by = ROOT
				}
				4 = {
					is_fully_controlled_by = ROOT
				}
			}

			custom_trigger_tooltip = {
				tooltip = AUS_fortify_the_traun_line_available_tt
				OR = {
					152 = {
						free_building_slots = {
							building = bunker
							size > 2
							province = 3703
						}

						free_building_slots = {
							building = bunker
							size > 2
							province = 6708
						}

						free_building_slots = {
							building = bunker
							size > 2
							province = 688
						}
					}

					4 = {
						free_building_slots = {
							building = bunker
							size > 2
							province = 732
						}
					}
				}
			}
			
			
		}
		
		bypass = {

			OR = {
				AND = {
					NOT = {
						152 = {
							is_fully_controlled_by = ROOT
						}
					}

					NOT = {
						4 = {
							is_fully_controlled_by = ROOT
						}
					}
					
				}

				custom_trigger_tooltip = {
					tooltip = AUS_fortify_the_traun_line_bypass_tt
					
					AND = {
						152 = {
							free_building_slots = {
								building = bunker
								size < 2
								province = 3703
							}
							free_building_slots = {
								building = bunker
								size < 2
								province = 6708
							}
							free_building_slots = {
								building = bunker
								size < 2
								province = 688
							}
						}
						4 = {
							free_building_slots = {
								building = bunker
								size < 2
								province = 732
							}
						}
					}
					
				}
			}

		

			
			
		}

		available_if_capitulated = no

		completion_reward = {

			custom_effect_tooltip = AUS_fortify_the_traun_line_tt
			hidden_effect = {
				IF = {
					limit = {
						152 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 3703
							}
						}
					}

					152 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province = {
								id = 3703
							}
						}
					}
				}

				IF = {
					limit = {
						152 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 6708
							}
						}
					}

					152 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province = {
								id = 6708
							}
						}
					}
				}

				IF = {
					limit = {
						152 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 688
							}
						}
					}

					152 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province = {
								id = 688
							}
						}
					}
				}

				IF = {
					limit = {
						4 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 732
							}
						}
					}

					4 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province = {
								id = 732
							}
						}
					}
				}
			}

		}
	}


	focus = { # ARMY
		id = AUS_extend_the_traun_line
		icon = GFX_goal_fortify_the_westwall
		prerequisite = { focus = AUS_fortify_the_traun_line}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_fortify_the_traun_line

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			153 = {
				is_fully_controlled_by = ROOT
			}

			custom_trigger_tooltip = {
				tooltip = AUS_extend_the_traun_line_available_tt
				OR = {
					153 = {
						free_building_slots = {
							building = bunker
							size > 2
							province = 3675
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size > 2
							province = 11634
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size > 2
							province = 11618
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size > 2
							province = 9633
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size > 2
							province = 973
						}
					}
				}
			}
			

			
		}
		
		bypass = {
			153 = {
				NOT = { is_fully_controlled_by = ROOT } 
			}

			custom_trigger_tooltip = {
				tooltip = AUS_extend_the_traun_line_bypass_tt
				OR = {
					153 = {
						free_building_slots = {
							building = bunker
							size < 3
							province = 3675
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size < 3
							province = 11634
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size < 3
							province = 11618
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size < 3
							province = 9633
						}
					}

					153 = {
						free_building_slots = {
							building = bunker
							size < 3
							province = 973
						}
					}
				}
			}
		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_extend_the_traun_line_tt

			hidden_effect = {
				IF = {
					limit = {
						153 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 3675
							}
						}
					}

					153 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province =  3675
						}
					}
				}
				IF = {
					limit = {
						153 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 11634
							}
						}
					}

					153 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province =  11634
						}
					}
				}
				IF = {
					limit = {
						153 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 11618
							}
						}
					}

					153 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province =  11618
						}
					}
				}
				IF = {
					limit = {
						153 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 9633
							}
						}
					}

					153 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province =  9633
						}
					}
				}
				IF = {
					limit = {
						153 = {
							free_building_slots = {
								building = bunker
								size > 2
								province = 673
							}
						}
					}

					153 = {
						add_building_construction = {
							type = bunker
							level = 3
							instant_build = yes
							province =  673
						}
					}
				}
			}
		}
	}

	focus = { # ARMY
		id = AUS_establish_bohme_plan
		icon = GFX_focus_AUS_establish_bohme_plan
		prerequisite = { focus = AUS_osterreichische_bundesheer focus = AUS_standardized_army_training }
		mutually_exclusive = { focus = AUS_follow_the_jansa_plan }
		x = 0
		y = 2
		relative_position_id = AUS_standardized_army_training

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER }

		cost = 5

		ai_will_do = {
			factor = 2
		}

		available = {
			NOT = { has_government = democratic }
		}
		
		bypass = {
			
		}

		available_if_capitulated = no

		completion_reward = {
			add_political_power = 100
			add_command_power = 20

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_follow_the_jansa_plan_tt2
			show_ideas_tooltip = AUS_franz_bohme

			IF = {
				limit = {
					NOT = {
						has_country_flag = AUS_went_with_jansa_flag
					}
				}
				AUS_franz_bohme = {
					add_skill_level = 1
					add_attack = 1
					add_planning = 1
					add_logistics = 1
					add_unit_leader_trait = aggressive_assaulter
				}
			}

			ELSE = {
				AUS_franz_bohme = {
					add_unit_leader_trait = aggressive_assaulter
				}
			}
			
			

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = AUS_establish_bohme_plan_tt
		}
	}

	focus = { # ARMY
		id = AUS_intensify_training_efforts
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = AUS_establish_bohme_plan}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_establish_bohme_plan

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_army_monarchy
					}
				}
				custom_effect_tooltip = AUS_army_monarchy_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_army_intro_tt
			}

			add_to_variable = { AUS_army_training_time_factor = -0.15 tooltip = training_time_factor_tt }
			add_to_variable = { AUS_army_mobilization_speed= 0.15 tooltip = mobilization_speed_tt }
		}
	}

	focus = { # ARMY
		id = AUS_heeding_the_call_of_duty
		icon = GFX_focus_AUS_heeding_the_call_of_duty
		prerequisite = { focus = AUS_intensify_training_efforts}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_intensify_training_efforts

		search_filters = { FOCUS_FILTER_MANPOWER }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_army_monarchy
					}
				}
				custom_effect_tooltip = AUS_army_monarchy_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_army_intro_tt
			}
			add_to_variable = { AUS_army_conscription_factor = 0.1 tooltip = conscription_factor_tt }
		}
	}

	focus = { # ARMY
		id = AUS_strengthen_the_arms_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AUS_heeding_the_call_of_duty focus = AUS_the_homeland_front }
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_the_homeland_front

		search_filters = { FOCUS_FILTER_INDUSTRY}

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			

			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}

				prioritize = { 4 152 976 975 } #Niederösterreich, Oberösterreich, Steirmark-Kärntern, Burgenland
				add_extra_state_shared_building_slots = 1

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

			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}

				prioritize = { 4 152 976 975 } #Niederösterreich, Oberösterreich, Steirmark-Kärntern, Burgenland
				add_extra_state_shared_building_slots = 1

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

 	focus = { # ARMY
		id = AUS_improved_warfare_strategies
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AUS_strengthen_the_arms_industry }
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_strengthen_the_arms_industry

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_dynamic_modifier = {
						modifier = AUS_army_monarchy
					}
				}
				custom_effect_tooltip = AUS_army_monarchy_intro_tt
			}
			ELSE = {
				custom_effect_tooltip = AUS_army_intro_tt
			}

			add_to_variable = { AUS_army_xp_gain_army_factor = 0.15 tooltip = experience_gain_army_factor_tt }
			add_to_variable = { AUS_army_army_speed_factor = 0.1 tooltip = army_speed_factor_tt }
			add_to_variable = { AUS_army_army_org_factor = 0.1 tooltip = army_org_factor_tt }
			add_to_variable = { AUS_army_army_attack_factor = 0.05 tooltip = army_attack_factor_tt }
			add_to_variable = { AUS_army_army_defence_factor = 0.05 tooltip = army_defence_factor_tt }

			custom_effect_tooltip = generic_skip_one_line_tt
			add_doctrine_cost_reduction = {
				name = AUS_improved_warfare_strategies_bonus
				cost_reduction = 0.25
				uses = 2
				category = land_doctrine
			}
		}
	}

	focus = { # ARMY
		id = AUS_hirtenberger_artillery
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = AUS_standardized_army_training }
		mutually_exclusive = { }
		x = 3
		y = 1
		relative_position_id = AUS_standardized_army_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				mio:AUS_hirtenberger_organization = {
					add_mio_size = 3
					add_mio_funds = 500
					add_mio_research_bonus = 0.1
				}

			}
			ELSE = {
				custom_effect_tooltip = AUS_hirtenberger_artillery_tt
			}
		}
	}

	focus = { # ARMY
		id = AUS_saurerwerke
		icon = GFX_focus_AUS_saurerwerke
		prerequisite = { focus = AUS_hirtenberger_artillery}
		mutually_exclusive = { focus = AUS_graf_und_stift_focus }
		x = -1
		y = 1
		relative_position_id = AUS_hirtenberger_artillery

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

		 	IF = {
		 		limit = { 
		 			AND = {
		 				has_dlc =  "La Resistance"
		 				has_dlc = "Arms Against Tyranny" 
		 			}
		 		}
				unlock_military_industrial_organization_tooltip = 	mio:AUS_osterreichische_saurerwerke_organization

				mio:AUS_osterreichische_saurerwerke_organization = {
					add_mio_size = 3
					add_mio_funds = 500
					add_mio_research_bonus = 0.1
				}
		 	}

		 	ELSE_IF = {
		 		limit = {
		 			has_dlc = "Arms Against Tyranny"
		 			NOT = { has_dlc = "La Resistance"}
		 		}

		 		unlock_military_industrial_organization_tooltip = 	AUS_osterreichische_saurerwerke_organization_no_lar

		 		mio:AUS_osterreichische_saurerwerke_organization_no_lar = {
		 			add_mio_size = 3
		 			add_mio_funds = 500
		 			add_mio_research_bonus = 0.1
		 		}
		 	}


		 	ELSE = {
		 		custom_effect_tooltip = available_designer
				show_ideas_tooltip = AUS_osterreichische_sauerwerke
		 	}
		}
	}

	focus = { # ARMY
		id = AUS_graf_und_stift_focus
		icon = GFX_focus_AUS_graf_und_stift_focus
		prerequisite = { focus = AUS_hirtenberger_artillery}
		mutually_exclusive = { focus = AUS_saurerwerke}
		x = 1
		y = 1
		relative_position_id = AUS_hirtenberger_artillery

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = { has_dlc = "Arms Against Tyranny"}

				unlock_military_industrial_organization_tooltip = mio:AUS_graf_and_stift_organization

				mio:AUS_graf_and_stift_organization = {
					add_mio_size = 3
					add_mio_funds = 500
					add_mio_research_bonus = 0.1
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = AUS_graf_und_stift
			}

		}
	}

	focus = { # ARMY
		id = AUS_invite_foreign_tank_designers
		icon = GFX_focus_ITA_modernize_ansaldo_facilities
		prerequisite = { focus = AUS_graf_und_stift_focus focus = AUS_saurerwerke}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_saurerwerke

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				unlock_military_industrial_organization_tooltip = mio:AUS_ansaldo_organization
			}

			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = AUS_ansaldo
			}
		}
	}

	focus = { # ARMY
		id = AUS_basic_tanks
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = AUS_invite_foreign_tank_designers}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_invite_foreign_tank_designers

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			add_tech_bonus = {
				name = AUS_panzer_effort_bonus
				bonus = 0.25
				uses = 2
				category = cat_light_armor
			}
	
			add_tech_bonus = {
				name = AUS_panzer_effort_bonus
				bonus = 0.25
				uses = 2
				category = cat_heavy_armor
			}
		 	
			add_tech_bonus = {
				name = AUS_panzer_effort_bonus
				bonus = 0.25
				uses = 2
				category = cat_medium_armor
			}
		}
	}

	focus = { # NAVY
		id = AUS_reestablish_austrian_navy
		icon = GFX_focus_AUS_reestablish_austrian_navy
		x = 12
		y = 0
		relative_position_id = AUS_secret_rearmament

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_INDUSTRY }
		

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}


		available_if_capitulated = no

		completion_reward = {
			add_dynamic_modifier = { modifier = AUS_navy }
			add_to_variable = { AUS_navy_xp_gain_navy_factor = 0.1 tooltip = experience_gain_navy_factor_tt }

			IF = {
				limit = {
					any_controlled_state = {
						NOT = {
							is_coastal = yes
						}
					}
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				custom_effect_tooltip = AUS_build_dockyards_if_coastal
			}

			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0 
						include_locked = yes
					}
				}
				
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = { # NAVY
		id = AUS_rebuild_the_armada
		icon = GFX_focus_generic_navy_battleship2
		prerequisite = { focus = AUS_reestablish_austrian_navy}
		mutually_exclusive = { focus = AUS_defending_the_coast}
		x = -2
		y = 2
		relative_position_id = AUS_reestablish_austrian_navy

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_to_variable = { AUS_navy_production_speed_dockyard_factor = 0.1 tooltip = production_speed_dockyard_factor_tt }

			add_tech_bonus = {
				name = AUS_rebuild_the_armada_bonus
				bonus = 0.25
				uses = 2
				category = bb_tech
			}
			add_tech_bonus = {
				name = AUS_rebuild_the_armada_bonus
				bonus = 0.25
				uses = 2
				category = ca_tech 
			}
			
		}
	}

	focus = { # NAVY
		id = AUS_revive_stt
		icon = GFX_focus_AUS_revive_stt
		prerequisite = { focus = AUS_rebuild_the_armada}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_rebuild_the_armada

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }

				unlock_military_industrial_organization_tooltip = 	mio:AUS_stabilimento_tecnico_triestino_organization	

				mio:AUS_stabilimento_tecnico_triestino_organization = {
					add_mio_size = 4
					add_mio_funds_gain_factor = 0.1
					add_mio_research_bonus = 0.05

				}		
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = AUS_stabilimento_tecnico_triestino
			}
		}
	}

	focus = { # NAVY
		id = AUS_streamline_production
		icon = GFX_focus_generic_refit_civilian_ships
		prerequisite = { focus = AUS_rebuild_the_armada}
		mutually_exclusive = { }
		x = -2
		y = 1
		relative_position_id = AUS_rebuild_the_armada

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_ideas = AUS_streamline_cruiser_production_idea
		}
	}

	focus = { # NAVY
		id = AUS_continue_old_production
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = AUS_streamline_production}
		prerequisite = { focus = AUS_revive_stt}
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_streamline_production

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {has_dlc = "Man the Guns"}


				
				IF = {
					limit = { NOT = { has_tech = early_ship_hull_heavy } }
					custom_effect_tooltip = AUS_continue_old_production_tt
					
					hidden_effect = {
						set_technology = {
							early_ship_hull_heavy = 1
							popup = no
						}
					}
				}

				create_equipment_variant = {
					name = "Ersatz Monarch"					
					type = ship_hull_heavy_1
					name_group = AUS_BB_HISTORICAL
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_heavy_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 = heavy_ship_engine_1
						fixed_ship_secondaries_slot =ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_bb_1
						front_1_custom_slot = ship_heavy_battery_1
						mid_1_custom_slot = empty
						mid_2_custom_slot = empty
						rear_1_custom_slot = empty
					}
				}

				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_1
						creator = "AUS"
						version_name = "Ersatz Monarch"	
					}
					requested_factories = 1
					progress = 0.8
					amount = 1
				}

				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_1
						creator = "AUS"
						version_name = "Ersatz Monarch"	
					}
					requested_factories = 1
					progress = 0.8
					amount = 1
				}
			}

			ELSE = {

				IF = {
					limit = { NOT = { has_tech = early_battleship } }
					custom_effect_tooltip = AUS_continue_old_production_tt
					
					hidden_effect = {
						set_technology = {
							early_battleship = 1
							popup = no
						}
					}
				}
				
				create_equipment_variant = {
					name = "Ersatz Monarch"	
					type = battleship_1
					obsolete = yes 
					name_group = AUS_BB_HISTORICAL   
				}

				add_equipment_production = {
					equipment = {
						type = battleship_1
						version_name = "Ersatz Monarch"		
					}
					requested_factories = 1
					progress = 0.8
					amount = 1
				}

				add_equipment_production = {
					equipment = {
						type = battleship_1
						version_name = "Ersatz Monarch"		
					}
					requested_factories = 1
					progress = 0.8
					amount = 1
				}
			}

			
		}
	}

	focus = { # NAVY
		id = AUS_reclaim_dockyards
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = AUS_rebuild_the_armada focus = AUS_defending_the_coast }
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_rebuild_the_armada

		search_filters = { FOCUS_FILTER_INDUSTRY }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					any_controlled_state = {
						NOT = {
							is_coastal = yes
						}
					}
				}
				custom_effect_tooltip = AUS_build_dockyards_if_coastal
			}

			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0 
						include_locked = yes
					}
				}
				
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0 
						include_locked = yes
					}
				}
				
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

		}
	}

	focus = { # NAVY
		id = AUS_promote_admirals
		icon = GFX_focus_AUS_promote_admirals
		prerequisite = { focus = AUS_reclaim_dockyards}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_reclaim_dockyards

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER } 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			IF = {
				limit = {
					OR = {
						has_government = fascism
						has_government = communism 
					}
				}
				custom_effect_tooltip = AUS_promote_admirals_fasc_com_tt
			}

			ELSE = {
				custom_effect_tooltip = AUS_promote_admirals_tt
			}

			hidden_effect = {
				country_event = {
					id = AUS_political_events.122
					days = 15
					random_days = 20
				}
			}
		}
	}

	focus = { # NAVY
		id = AUS_defending_the_coast
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = AUS_reestablish_austrian_navy}
		mutually_exclusive = { focus = AUS_rebuild_the_armada }
		x = 2
		y = 2
		relative_position_id = AUS_reestablish_austrian_navy

		search_filters = { FOCUS_FILTER_RESEARCH }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {
			
		}

		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AUS_defending_the_coast_bonus
				bonus = 0.5
				uses = 2
				category = mio_cat_tech_all_screen_ship_and_modules
			}
		}
	}

	focus = { # NAVY
		id = AUS_elin
		icon = GFX_focus_AUS_elin
		prerequisite = { focus = AUS_defending_the_coast}
		mutually_exclusive = { }
		x = 0
		y = 1
		relative_position_id = AUS_defending_the_coast

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {

			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}

				unlock_military_industrial_organization_tooltip = mio:AUS_ELIN_organization

				mio:AUS_ELIN_organization = {
					add_mio_size = 4
					add_mio_funds_gain_factor = 0.1
					add_mio_research_bonus = 0.05

				}
			}

			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = AUS_ELIN
			}
			
		}
	}

	focus = { # NAVY
		id = AUS_light_ship_bonus
		icon = GFX_focus_generic_destroyer
		prerequisite = { focus = AUS_defending_the_coast}
		mutually_exclusive = { }
		x = 2
		y = 1
		relative_position_id = AUS_defending_the_coast

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_ideas = AUS_guarding_the_coast_idea
		}
	}

	focus = { # NAVY
		id = AUS_coastal_defence_forts
		icon = GFX_focus_generic_coastal_fort
		prerequisite = { focus = AUS_light_ship_bonus focus = AUS_elin }
		mutually_exclusive = { }
		x = 1
		y = 1
		relative_position_id = AUS_elin

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = AUS_navy_intro_tt
			add_to_variable = { AUS_navy_production_speed_coastal_bunker_factor = 0.1 tooltip = production_speed_coastal_bunker_factor_tt }
		}
	}

	focus = { # NAVY
		id = AUS_naval_efficiency
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = AUS_coastal_defence_forts focus = AUS_continue_old_production }
		mutually_exclusive = { }
		x = 3
		y = 1
		relative_position_id = AUS_continue_old_production

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_controlled_state = {
				is_coastal = yes
			}
		}
		
		bypass = {

		}

		available_if_capitulated = no

		completion_reward = {
			add_ideas = AUS_naval_efficiency_idea
		}
	}

}