focus_tree = {
	id = deluge_austria_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			original_tag = AUS
		}
	}
	
	default = no
	reset_on_civilwar = yes
	
	focus = {
		id = austria_deluge_meritocracy
		icon = GFX_goal_generic_production2
		mutually_exclusive = { focus = austria_deluge_aristocracy }
		x = 1
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_meritocracy_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = neutrality
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = austria_deluge_aristocracy
		icon = "GFX_goal_generic_air_doctrine"
		mutually_exclusive = { focus = austria_deluge_meritocracy }
		x = 3
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_aristocracy_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = communism
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = austria_deluge_popular_sovereignty
		icon = "GFX_goal_support_democracy"
		prerequisite = { focus = austria_deluge_meritocracy }
		x = 1
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_stability = 0.05
			add_political_power = 150
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = austria_abolish_monarchy
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = austria_deluge_popular_sovereignty }
		available = {
			has_idea = habsburg_emperor
			NOT = { has_government = neutrality }
		}
		x = 1
		y = 2
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 150
			if = {
				limit = {
					has_idea = habsburg_emperor
				}
				remove_ideas = habsburg_emperor
			}
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 0
				OR = {
					has_government = democratic
					has_government = neutrality
					has_government = fascism
				}
			}
		}
	}

	focus = {
		id = austria_deluge_divine_right
		icon = GFX_focus_rom_royal_dictatorship
		prerequisite = { focus = austria_deluge_aristocracy }
		x = 3
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_stability = 0.05
			add_political_power = 150
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}
	
	focus = {
		id = austria_deluge_individualism
		icon = GFX_goal_generic_demand_territory
		mutually_exclusive = { focus = austria_deluge_corporatism }
		x = 5
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_individualism_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = fascism
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_deluge_corporatism
		icon = GFX_goal_generic_political_pressure
		mutually_exclusive = { focus = austria_deluge_individualism }
		x = 7
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_corporatism_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = democratic
			}
			modifier = {
				factor = 0
				date < 1936.5.15
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_deluge_pluralism
		icon = "GFX_goal_generic_national_unity"
		prerequisite = { focus = austria_deluge_individualism }
		x = 5
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_pluralism_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = fascism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_deluge_leader_cult
		icon = "GFX_goal_support_fascism"
		prerequisite = { focus = austria_deluge_corporatism }
		x = 7
		y = 1
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_leader_cult_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_appoint_hitler
		icon = "GFX_goal_support_fascism"
		prerequisite = { focus = austria_deluge_leader_cult }
		x = 7
		y = 2
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 150
			add_ideas = aryan_supremacist
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_deluge_youth_organisations
		icon = "GFX_goal_generic_position_armies"
		prerequisite = { focus = austria_deluge_leader_cult focus = austria_deluge_pluralism focus = austria_deluge_divine_right focus = austria_deluge_popular_sovereignty }
		x = 4
		y = 2
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_youth_organisations_idea
		}
		ai_will_do = {
			factor = 3
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = austria_deluge_land_reform
		icon = "GFX_goal_support_communism"
		prerequisite = { focus = austria_deluge_youth_organisations }
		mutually_exclusive = { focus = austria_deluge_manorialism }
		x = 1
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_land_reform_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = neutrality
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = austria_deluge_manorialism
		icon = GFX_focus_hun_elect_a_king
		prerequisite = { focus = austria_deluge_youth_organisations }
		mutually_exclusive = { focus = austria_deluge_land_reform }
		x = 3
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_manorialism_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
				}
			}
			modifier = {
				factor = 0
				has_government = communism
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}
	
	focus = {
		id = austria_deluge_fraternal_nations
		icon = GFX_goal_anschluss
		prerequisite = { focus = austria_deluge_land_reform }
		x = 1
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 150
			if = {
				limit = { has_idea = neutrality_idea }
				remove_ideas = neutrality_idea
			}
			add_stability = 0.05
			set_rule = { can_create_factions = yes }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = austria_deluge_dynastic_politics
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = austria_deluge_manorialism }
		x = 3
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 150
			if = {
				limit = { has_idea = neutrality_idea }
				remove_ideas = neutrality_idea
			}
			add_stability = 0.05
			set_rule = { can_create_factions = yes }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = democratic
					has_government = fascism
					has_government = communism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
			modifier = { # political power when at war and needs to change manpower law
				factor = 2
				has_war = yes
				OR = {
					has_idea = volunteer_only
					has_idea = limited_conscription
					has_idea = extensive_conscription
				}
				manpower_per_military_factory < 1000
			}
			modifier = { # political power when at war and needs to change economy law
				factor = 2
				has_war = yes
				OR = {
					has_idea = civilian_economy
					has_idea = low_economic_mobilisation
					has_idea = partial_economic_mobilisation
				}
			}
		}
	}

	focus = {
		id = austria_deluge_police_consent
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = austria_deluge_youth_organisations }
		mutually_exclusive = { focus = austria_deluge_secret_police }
		x = 5
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_police_consent_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = fascism
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_deluge_secret_police
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = austria_deluge_youth_organisations }
		mutually_exclusive = { focus = austria_deluge_police_consent }
		x = 7
		y = 3
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_secret_police_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_government = democratic
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}
	focus = {
		id = austria_deluge_judiciary
		icon = "GFX_goal_generic_neutrality_focus"
		prerequisite = { focus = austria_deluge_police_consent }
		x = 5
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_judiciary_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = fascism
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_deluge_state_terror
		icon = GFX_focus_boot_scales
		prerequisite = { focus = austria_deluge_secret_police }
		x = 7
		y = 4
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_ideas = deluge_state_terror_idea
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
					has_government = democratic
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	focus = {
		id = austria_deluge_national_unity
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = austria_deluge_fraternal_nations focus = austria_deluge_dynastic_politics focus = austria_deluge_judiciary focus = austria_deluge_state_terror }
		x = 4
		y = 5
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			if = {
				limit = { has_idea = deluge_great_war_horrors_idea }
				remove_ideas = deluge_great_war_horrors_idea
			}
			if = {
				limit = { has_idea = deluge_chinese_sectarianism_idea }
				remove_ideas = deluge_chinese_sectarianism_idea
			}			
			if = {
				limit = { has_idea = deluge_german_civil_war_idea }
				remove_ideas = deluge_german_civil_war_idea
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}
	
	focus = {
		id = austria_independent_faction
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = austria_deluge_national_unity }
		prerequisite = { focus = austria_deluge_fraternal_nations focus = austria_deluge_dynastic_politics }
		x = 2
		y = 6
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 150
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction = "factionAustrianBloc"
			}
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}
	
	focus = {
		id = austria_claim_croatia
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = austria_independent_faction }
		x = 1
		y = 7
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = CRO }
		}
		bypass = {
			CRO = {
				is_subject_of = ROOT
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = CRO
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = CRO }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = CRO }
			}
			modifier = {
				factor = 0.5
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = CRO }
				}
				news_event = austrian_expansion.1
			}
			
			add_named_threat = { threat = 2 name = austria_claims_croatia }
			
			add_state_claim = 45
			add_state_claim = 109
			add_state_claim = 104
			add_state_claim = 103
			
			if = { limit = { NOT = { owns_state = 109 } }
				random_country = {
					limit = { owns_state = 109 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 45 109 104 103 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = CRO
	}
	
	focus = {
		id = austria_claim_hungary
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = austria_independent_faction }
		x = 3
		y = 7
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = HUN }
		}
		bypass = {
			HUN = {
				is_subject_of = ROOT
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = HUN
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = HUN }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = HUN }
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = HUN }
				}
				news_event = austrian_expansion.2
			}
			
			add_named_threat = { threat = 3 name = austria_claims_hungary }
			
			add_state_claim = 154
			add_state_claim = 155
			add_state_claim = 43
			add_state_claim = 82
			add_state_claim = 83
			add_state_claim = 84
			add_state_claim = 76
			
			if = { limit = { NOT = { owns_state = 43 } }
				random_country = {
					limit = { owns_state = 43 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 154 155 43 82 83 84 76 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = HUN
	}
	
	focus = {
		id = austria_claim_italy
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = austria_independent_faction }
		x = 5
		y = 7
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = ITA }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = ITA
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = ITA }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = ITA }
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = ITA }
				}
				news_event = austrian_expansion.3
			}
			
			add_named_threat = { threat = 2 name = austria_claims_italy }
			
			add_state_claim = 115
			add_state_claim = 117
			add_state_claim = 156
			add_state_claim = 159
			add_state_claim = 160
			
			if = { limit = { NOT = { owns_state = 160 } }
				random_country = {
					limit = { owns_state = 160 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 115 117 156 159 160 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = ITA
	}
	
	focus = {
		id = austria_claim_poland
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = austria_independent_faction }
		x = 7
		y = 7
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			NOT = { is_in_faction_with = POL }
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 5
				has_war_with = POL
			}
			modifier = {
				factor = 0.5
				has_war = yes
				NOT = { has_war_with = POL }
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = { has_war_with = POL }
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = POL }
				}
				news_event = austrian_expansion.4
			}
			
			add_named_threat = { threat = 3 name = austria_claims_poland }
			
			add_state_core = 66
			add_state_core = 67
			add_state_claim = 88
			add_state_claim = 89
			add_state_claim = 91
			
			if = {
				limit = {
					has_completed_focus = austria_integrate_germany
				}
				86 = {
					add_core_of = ROOT
				}
			}
			
			if = { limit = { NOT = { owns_state = 66 } }
				random_country = {
					limit = { owns_state = 66 }
					ROOT = {
						create_wargoal = {
							type = take_core_state
							target = PREV
							generator = { 66 67 }
						}
					}
				}
			}
			if = { limit = { NOT = { owns_state = 88 } }
				random_country = {
					limit = { owns_state = 88 }
					ROOT = {
						create_wargoal = {
							type = take_claimed_state
							target = PREV
							generator = { 88 89 91 }
						}
					}
				}
			}
		}
		will_lead_to_war_with = POL
	}
		
	focus = {
		id = austria_unify_germany
		icon = GFX_focus_ger_oppose_hitler
		prerequisite = { focus = austria_independent_faction }
		mutually_exclusive = { focus = austria_greater_austria }
		x = 4
		y = 8
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			OR = {
				OR = {
					GER = { is_subject_of = ROOT }
					DDR = { is_subject_of = ROOT }
					WGR = { is_subject_of = ROOT }
				}
				AND = {
					NOT = { is_in_faction_with = GER }
					NOT = { is_in_faction_with = DDR }
					NOT = { is_in_faction_with = WGR }
				}
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0.1
				has_war = yes
				NOT = {
					OR = {
						has_war_with = GER
						has_war_with = DDR
						has_war_with = WGR
					}
				}
			}
			modifier = {
				factor = 0
				has_government = democratic
				NOT = {
					OR = {
						has_war_with = GER
						has_war_with = DDR
						has_war_with = WGR
					}
				}
			}
			modifier = {
				factor = 0.1
				OR = {
					has_government = communism
					has_government = neutrality
				}
				NOT = {
					OR = {
						has_war_with = GER
						has_war_with = DDR
						has_war_with = WGR
					}
				}
			}
			modifier = {
				factor = 0.5
				any_country = {
					ROOT = {
						has_wargoal_against = PREV
					}
				}
			}
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
		completion_reward = {
			if = {
				limit = {
					NOT = { has_war_with = GER }
					NOT = { has_war_with = DDR }
					NOT = { has_war_with = WGR }
				}
				news_event = austrian_expansion.5
			}
			
			add_named_threat = { threat = 5 name = austria_claims_germany }
			
			every_state = {
				limit = {
					OR = {
						is_core_of = GER
						is_core_of = WGR
						is_core_of = DDR
					}
					NOT = { is_core_of = AUS }
					NOT = { is_claimed_by = AUS }
				}
				add_claim_by = AUS
			}
			
			if = { limit = { country_exists = GER }
				create_wargoal = {
					type = annex_everything
					target = GER
				}
			}
			if = { limit = { country_exists = DDR }
				create_wargoal = {
					type = annex_everything
					target = DDR
				}
			}
			if = { limit = { country_exists = WGR }
				create_wargoal = {
					type = annex_everything
					target = WGR
				}
			}
			if = { limit = { GER = { is_subject_of = ROOT } }
				annex_country = { target = GER transfer_troops = no }
			}
			if = { limit = { DDR = { is_subject_of = ROOT } }
				annex_country = { target = DDR transfer_troops = no }
			}
			if = { limit = { WGR = { is_subject_of = ROOT } }
				annex_country = { target = WGR transfer_troops = no }
			}
		}
		will_lead_to_war_with = GER
		will_lead_to_war_with = DDR
		will_lead_to_war_with = WGR
	}
	
	focus = {
		id = austria_integrate_germany
		icon = GFX_focus_ger_revive_kaiserreich
		prerequisite = { focus = austria_unify_germany }
		x = 4
		y = 9
		available_if_capitulated = no
		cost = 10
		available = {
			is_subject = no
			OR = {
				owns_state = 64
				GER = { is_subject_of = ROOT }
				DDR = { is_subject_of = ROOT }
				WGR = { is_subject_of = ROOT }
			}
		}
		completion_reward = {
			every_state = {
				limit = {
					OR = {
						# Teutonic Reich
						state = 64
						state = 65
						state = 68
						state = 61
						
						# Pomerania
						state = 62
						state = 63
						state = 85
						
						# Republic of Germany
						state = 58
						state = 59
						state = 60
						state = 54
						state = 55
						state = 51
						state = 57
						state = 56
						
						# Kingdom of Westphalia
						state = 52
						state = 53
						state = 50
						
						# Alsace and Moselle, France
						state = 42
						state = 28
						
						# Bas-Rhin, Luxembourg
						state = 786
						
						# Rijnland, Holland
						state = 784
					}
				}
				add_core_of = ROOT
			}
			
			hidden_effect = {
				if = {
					limit = {
						has_completed_focus = austria_claim_poland
					}
					86 = {
						add_core_of = ROOT
					}
				}
			
				every_state = {
					limit = {
						is_core_of = ROOT
						is_claimed_by = ROOT
					}
					remove_claim_by = ROOT
				}
			}
			
			if = {
				limit = {
					has_government = communism
				}
				
				custom_effect_tooltip = tooltip_austria_forms_germany_communism
				
				hidden_effect = {
					set_cosmetic_tag = EAST_GERMANY
					
					news_event = { days = 1 id = austrian_expansion.13 }
				}
			}

			if = {
				limit = {
					has_government = democratic
				}
				custom_effect_tooltip = tooltip_austria_forms_germany_democratic
				
				hidden_effect = {
					set_cosmetic_tag = GER_REPUB
					
					news_event = { days = 1 id = austrian_expansion.14 }
				}
			}

			if = {
				limit = {
					has_government = neutrality
				}
				custom_effect_tooltip = tooltip_austria_forms_germany_neutrality
				
				hidden_effect = {
					set_cosmetic_tag = GER_EMPIRE
					
					news_event = { days = 1 id = austrian_expansion.15 }
				}
			}

			if = {
				limit = {
					has_government = fascism
				}
				custom_effect_tooltip = tooltip_austria_forms_germany_ultranat
				
				hidden_effect = {
					set_cosmetic_tag = GER_REICH
					
					news_event = { days = 1 id = austrian_expansion.16 }
				}
			}
		}
	}
	
	focus = {
		id = austria_greater_austria
		icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary
		prerequisite = { focus = austria_claim_croatia focus = austria_claim_hungary }
		mutually_exclusive = { focus = austria_unify_germany }
		available = {
			is_subject = no
			OR = {
				owns_state = 43
				HUN = { is_subject_of = AUS }
				TRN = { is_subject_of = AUS }
			}
		}
		x = 2
		y = 8
		available_if_capitulated = no
		cost = 10
		completion_reward = {
			if = {
				limit = {
					has_government = communism
				}
				
				custom_effect_tooltip = tooltip_austria_forms_austria-hungary_communism
				
				hidden_effect = {
					news_event = { days = 1 id = austrian_expansion.6 }
				}
			}

			if = {
				limit = {
					has_government = democratic
				}
				
				custom_effect_tooltip = tooltip_austria_forms_austria-hungary_democratic
				
				hidden_effect = {
					news_event = { days = 1 id = austrian_expansion.7 }
				}
			}

			if = {
				limit = {
					has_government = neutrality
				}
				
				custom_effect_tooltip = tooltip_austria_forms_austria-hungary_neutrality
				
				hidden_effect = {
					news_event = { days = 1 id = austrian_expansion.8 }
				}
			}

			if = {
				limit = {
					has_government = fascism
				}
				
				custom_effect_tooltip = tooltip_austria_forms_austria-hungary_ultranat
				
				hidden_effect = {
					news_event = { days = 1 id = austrian_expansion.9 }
				}
			}

			hidden_effect = {
				set_cosmetic_tag = AUS_HUN
				set_party_name = { ideology = communism name = deluge_austria-hungary_communism_party_short long_name = deluge_austria-hungary_communism_party_long }
				set_party_name = { ideology = democratic name = deluge_austria-hungary_democratic_party_short long_name = deluge_austria-hungary_democratic_party_long }
				set_party_name = { ideology = neutrality name = deluge_austria-hungary_neutrality_party_short long_name = deluge_austria-hungary_neutrality_party_long }
				if = {
					limit = {
						NOT = { has_idea = aryan_chancellor }
					}
					set_party_name = { ideology = fascism name = deluge_austria-hungary_ultranat_party_short long_name = deluge_austria-hungary_ultranat_party_long }
				}
			}

			every_state = {
				limit = {
					OR = {
						is_core_of = CRO
						is_core_of = TRN
						is_core_of = HUN
					}
					NOT = { is_core_of = ROOT }
				}
				add_core_of = ROOT
			}
			
			hidden_effect = {
				every_state = {
					limit = {
						is_core_of = ROOT
						is_claimed_by = ROOT
					}
					remove_claim_by = ROOT
				}
			}
			
			if = {
				limit = {
					CRO = {
						OR = {
							is_subject_of = ROOT
							AND = {
								is_in_faction_with = ROOT
								is_subject = yes
							}
						}
					}
				}
				annex_country = { target = CRO transfer_troops = no }
			}
			if = {
				limit = {
					HUN = {
						OR = {
							is_subject_of = ROOT
							AND = {
								is_in_faction_with = ROOT
								is_subject = yes
							}
						}
					}
				}
				annex_country = { target = HUN transfer_troops = no }
			}
			if = {
				limit = {
					TRN = {
						OR = {
							is_subject_of = ROOT
							AND = {
								is_in_faction_with = ROOT
								is_subject = yes
							}
						}
					}
				}
				annex_country = { target = TRN transfer_troops = no }
			}
		}
		ai_will_do = {
			factor = 10
		}
	}
	
	
	focus = {
		id = austria_league_ratification
		icon = GFX_focus_league_of_nations
		available = {
			OR = {
				has_idea = deluge_league_of_nations_prospective_member
				has_idea = deluge_league_of_nations_lapsing_member
			}
			has_war = no
			has_global_flag = flag_league_international_court_vote_concluded
			has_global_flag = flag_league_relief_union_vote_concluded
			has_global_flag = flag_league_prohibit_poison_gas_vote_concluded
			has_global_flag = flag_league_prisoners_of_war_vote_concluded
			has_global_flag = flag_league_maritime_protections_vote_concluded
			NOT = { has_global_flag = flag_league_of_nations_disbanded }
		}
		x = 9
		y = 0
		available_if_capitulated = yes
		cost = 10
		completion_reward = {
			add_political_power = 80
			
			if = {
				limit = {
					is_major = yes
				}
				add_named_threat = { threat = -3 name = deluge_ratified_league_of_nations_threat }
			}
			
			if = {
				limit = {
					is_major = no
					is_subject = no
				}
				add_named_threat = { threat = -1 name = deluge_ratified_league_of_nations_threat }
			}
			
			hidden_effect = {
				news_event = deluge_league.28
			}
			
			# bitmask is used to determine final attributes of the idea
			# flags are supposedly initialised at 0
			# 1 = court of justice
			# 2 = disaster relief
			# 4 = gas warfare ban
			# 8 = convention on pows
			# 16 = convention on convoys
			# total of 32 variations (including if none of the conventions pass)
			
			if = {
				limit = {
					has_idea = deluge_league_of_nations_prospective_member
				}
				remove_ideas = deluge_league_of_nations_prospective_member
			}
			
			if = {
				limit = {
					has_idea = deluge_league_of_nations_lapsing_member
				}
				remove_ideas = deluge_league_of_nations_lapsing_member
			}
			
			add_to_tech_sharing_group = deluge_league_of_nations_tech_group

			custom_effect_tooltip = tooltip_league_final_effects_depend_on_votes
			
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 0
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 1
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_0
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 1
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 2
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_1
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 2
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 3
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_2
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 3
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 4
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_3
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 4
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 5
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_4
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 5
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 6
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_5
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 6
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 7
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_6
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 7
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 8
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_7
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 8
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 9
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_8
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 9
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 10
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_9
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 10
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 11
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_10
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 11
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 12
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_11
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 12
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 13
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_12
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 13
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 14
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_13
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 14
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 15
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_14
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 15
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 16
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_15
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 16
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 17
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_16
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 17
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 18
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_17
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 18
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 19
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_18
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 19
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 20
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_19
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 20
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 21
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_20
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 21
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 22
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_21
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 22
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 23
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_22
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 23
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 24
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_23
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 24
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 25
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_24
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 25
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 26
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_25
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 26
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 27
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_26
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 27
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 28
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_27
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 28
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 29
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_28
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 29
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 30
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_29
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 30
					}
					NOT = {
						has_global_flag = {
							flag = flag_league_of_nations_bitmask
							value > 31
						}
					}
				}
				add_ideas = deluge_league_of_nations_member_30
			}
			if = {
				limit = {
					has_global_flag = {
						flag = flag_league_of_nations_bitmask
						value > 31
					}
				}
				add_ideas = deluge_league_of_nations_member_31
			}
		}
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 0.75
				date < 1937.1.1
			}
			
			modifier = {
				factor = 0.75
				date < 1938.1.1
			}
			
			modifier = {
				factor = 0.75
				date < 1939.1.1
			}
			
			modifier = {
				factor = 0.75
				threat > 25
			}
			
			modifier = {
				factor = 0.75
				threat > 50
			}
			
			modifier = {
				factor = 0.5
				is_subject = yes
			}
			
			modifier = {
				factor = 0
				is_subject = yes
				any_country = {
					ROOT = {
						is_subject_of = PREV
					}
					NOT = {
						OR = {
							has_idea = deluge_league_of_nations_prospective_member
							has_idea = deluge_league_of_nations_lapsing_member
							has_idea = deluge_league_of_nations_member_1
							has_idea = deluge_league_of_nations_member_2
							has_idea = deluge_league_of_nations_member_3
							has_idea = deluge_league_of_nations_member_4
							has_idea = deluge_league_of_nations_member_5
							has_idea = deluge_league_of_nations_member_6
							has_idea = deluge_league_of_nations_member_7
							has_idea = deluge_league_of_nations_member_8
							has_idea = deluge_league_of_nations_member_9
							has_idea = deluge_league_of_nations_member_10
							has_idea = deluge_league_of_nations_member_11
							has_idea = deluge_league_of_nations_member_12
							has_idea = deluge_league_of_nations_member_13
							has_idea = deluge_league_of_nations_member_14
							has_idea = deluge_league_of_nations_member_15
							has_idea = deluge_league_of_nations_member_16
							has_idea = deluge_league_of_nations_member_17
							has_idea = deluge_league_of_nations_member_18
							has_idea = deluge_league_of_nations_member_19
							has_idea = deluge_league_of_nations_member_20
							has_idea = deluge_league_of_nations_member_21
							has_idea = deluge_league_of_nations_member_22
							has_idea = deluge_league_of_nations_member_23
							has_idea = deluge_league_of_nations_member_24
							has_idea = deluge_league_of_nations_member_25
							has_idea = deluge_league_of_nations_member_26
							has_idea = deluge_league_of_nations_member_27
							has_idea = deluge_league_of_nations_member_28
							has_idea = deluge_league_of_nations_member_29
							has_idea = deluge_league_of_nations_member_30
							has_idea = deluge_league_of_nations_member_31
						}
					}
				}
			}
			modifier = {
				factor = 0.5
				is_in_faction = yes
				NOT = { is_in_faction_with = FRA }
			}
			modifier = {
				factor = 2
				is_in_faction_with = FRA
			}
			modifier = {
				factor = 2
				has_government = democratic
			}
			modifier = {
				factor = 0.5
				has_government = fascism
			}
		}
	}
	
	focus = {
		id = austria_league_leave
		icon = GFX_focus_league_of_nations
		prerequisite = { focus = austria_league_ratification }
		available = {
			NOT = { has_global_flag = flag_league_of_nations_disbanded }
		}
		x = 9
		y = 1
		available_if_capitulated = yes
		cost = 5
		completion_reward = {
			add_political_power = 80
			
			if = {
				limit = {
					is_major = yes
				}
				add_named_threat = { threat = 1 name = deluge_left_league_of_nations_threat }
			}
		
			remove_from_tech_sharing_group = deluge_league_of_nations_tech_group
			
			remove_ideas = deluge_league_of_nations_member_0
			
			hidden_effect = {
				news_event = deluge_league.29
				remove_ideas = deluge_league_of_nations_prospective_member
				remove_ideas = deluge_league_of_nations_member_1
				remove_ideas = deluge_league_of_nations_member_2
				remove_ideas = deluge_league_of_nations_member_3
				remove_ideas = deluge_league_of_nations_member_4
				remove_ideas = deluge_league_of_nations_member_5
				remove_ideas = deluge_league_of_nations_member_6
				remove_ideas = deluge_league_of_nations_member_7
				remove_ideas = deluge_league_of_nations_member_8
				remove_ideas = deluge_league_of_nations_member_9
				remove_ideas = deluge_league_of_nations_member_10
				remove_ideas = deluge_league_of_nations_member_11
				remove_ideas = deluge_league_of_nations_member_12
				remove_ideas = deluge_league_of_nations_member_13
				remove_ideas = deluge_league_of_nations_member_14
				remove_ideas = deluge_league_of_nations_member_15
				remove_ideas = deluge_league_of_nations_member_16
				remove_ideas = deluge_league_of_nations_member_17
				remove_ideas = deluge_league_of_nations_member_18
				remove_ideas = deluge_league_of_nations_member_19
				remove_ideas = deluge_league_of_nations_member_20
				remove_ideas = deluge_league_of_nations_member_21
				remove_ideas = deluge_league_of_nations_member_22
				remove_ideas = deluge_league_of_nations_member_23
				remove_ideas = deluge_league_of_nations_member_24
				remove_ideas = deluge_league_of_nations_member_25
				remove_ideas = deluge_league_of_nations_member_26
				remove_ideas = deluge_league_of_nations_member_27
				remove_ideas = deluge_league_of_nations_member_28
				remove_ideas = deluge_league_of_nations_member_29
				remove_ideas = deluge_league_of_nations_member_30
				remove_ideas = deluge_league_of_nations_member_31
			}
		}
		ai_will_do = {
			factor = 1
			
			modifier = {
				factor = 0
				is_in_faction_with = FRA
			}
			modifier = {
				factor = 0
				is_subject = yes
				any_country = {
					ROOT = {
						is_subject_of = PREV
					}
					is_in_tech_sharing_group = deluge_league_of_nations_tech_group
				}
			}
			modifier = {
				factor = 0.5
				has_government = democratic
			}
			modifier = {
				factor = 0
				has_war = no
			}
			modifier = {
				factor = 0
				NOT = {
					any_enemy_country = {
						is_in_tech_sharing_group = deluge_league_of_nations_tech_group
					}
				}
			}
			modifier = {
				factor = 2
				any_enemy_country = {
					is_major = yes
				}
			}
		}
	}	
	
	# Economic/industrial
	
	shared_focus = deluge_architects
	
	shared_focus = deluge_resource_efficiency
	
	shared_focus = deluge_infrastructure
	
	shared_focus = deluge_electronics_research
	
	# Military

	shared_focus = deluge_naval_infrastructure
	
	shared_focus = deluge_great_war_lessons
	
	shared_focus = deluge_aircraft_industry
	
}