focus_tree = {
	id = sweden_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = SWE
			has_dlc = "Arms Against Tyranny"
		}
	}
	
	default = no

	continuous_focus_position = { x = 50 y = 2500 }
	shared_focus = NORDIC_form_joint_alliance

	continuous_focus_position = { x = 20 y = 1000 }  
	initial_show_position = {
		x = 37
		y = 0
	}


	focus = {
		id = SWE_time_waster
		icon = GFX_goal_generic_production2
		x = 59
		y = 20
		cost = 313
		ai_will_do = {	factor = 1000	}
		available = { is_ai = yes	}
		completion_reward = {}
	}

	############################
	#####    Test focuses      #	
	############################

	focus = {
		id = SWE_defense_act
		icon = GFX_focus_SWE_defense_act
		x = 3
		y = 0
		cost = 5
		ai_will_do = {
			factor = 10		
		}
		available = {
			OR = {
				is_ai = no
				date > 1936.1.1
			}
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  }

		completion_reward = {
			custom_effect_tooltip = SWE_defense_act_tt
			country_event = { id = AAT_Sweden.1 }
			add_stability = 0.03
		
		}
	}	



	focus = {
		id = SWE_the_old_enemy_stirs
		icon = GFX_focus_SWE_the_beast_stirs
		x = 14
		y = 7

		cost = 5
		prerequisite = { focus = SWE_defense_act }
		relative_position_id = SWE_defense_act
		mutually_exclusive = { focus = SWE_continue_the_second_industrial_revolution }

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_country_flag = SWE_AI_RANDOM_COMMUNISM
					has_game_rule = {
						rule = SWE_ai_behavior
						option = SWE_COMMUNISM
					}
				}
			}
		}

		available = {
			OR = {
				threat > 0.1
				has_war_support > 0.08
			}
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			add_war_support = 0.03
			army_experience = 40
			add_doctrine_cost_reduction = {
				name = SWE_the_old_enemy_stirs
				cost_reduction = 0.25
				uses = 1
				category = land_doctrine # optional 
				# technology  = technology_id # optional
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.08
			}

			add_popularity = {
				ideology = fascism
				popularity = 0.08
			}
			
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SWE_sven_hedin

			if = {
				limit = {
						has_idea = neutrality_idea
				}
				remove_ideas = neutrality_idea
			}
		}
	}

	focus = {
		id = SWE_urbanization
		icon = GFX_focus_SWE_urbanization 
		#x = -24
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_defense_act }
		relative_position_id = SWE_defense_act
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {	
				limit =	{
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			random_core_state = {	
				limit =	{
					is_fully_controlled_by = ROOT
					is_coastal = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			unlock_decision_tooltip = SWE_urbanization_decision
			#custom_effect_tooltip = SWE_urbanization_tt
		}
	}


	focus = {
		id = SWE_hygenic_housing
		icon = GFX_focus_SWE_hygienic_housing 
		x = -2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_urbanization }
		relative_position_id = SWE_urbanization
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			141 = {
				add_dynamic_modifier = { modifier = SWE_hygenic_housing_output_bonus }
				add_dynamic_modifier = { modifier = SWE_hygenic_housing_resource_bonus }
			}
			
			#activate_mission = SWE_hygenic_housing_mission
			custom_effect_tooltip = SWE_hygenic_housing_tt
		}
	}

	focus = {
		id = SWE_work_projects_for_the_unemployed
		icon = GFX_focus_generic_industry_2
		x = 2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_urbanization }
		relative_position_id = SWE_urbanization
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {	
				limit =	{
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_stability = 0.05
			# unlock_decision_tooltip = SWE_work_projects_for_the_unemployed_decision
		}
	}

	focus = {
		id = SWE_individual_liberty_and_prosperity_for_all
		icon = GFX_focus_generic_the_giant_wakes 
		x = 0
		y = 1

		cost = 5
		prerequisite = { focus = SWE_work_projects_for_the_unemployed focus = SWE_hygenic_housing }
		relative_position_id = SWE_hygenic_housing
		mutually_exclusive = { focus = SWE_defense_above_all }
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_stability = 0.02
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}

		}
	}

	focus = {
		id = SWE_defense_above_all
		icon = GFX_goal_generic_defence 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_work_projects_for_the_unemployed focus = SWE_hygenic_housing }
		relative_position_id = SWE_work_projects_for_the_unemployed
		mutually_exclusive = { focus = SWE_individual_liberty_and_prosperity_for_all }
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_FOLKHEMMET FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			SWE_folkhemmet_low_swap = yes
		}
	}

	focus = {
		id = SWE_government_weapons_contract
		icon = GFX_goal_generic_military_deal 
		x = -17
		y = 1

		cost = 5
		prerequisite = { focus = SWE_defense_act }
		relative_position_id = SWE_defense_act
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				name = SWE_government_weapons_contract
			    bonus = 0.5
			    uses = 2
			    category = infantry_weapons
			}

			every_military_industrial_organization = {
				add_mio_funds = 300
			}
			add_war_support = 0.03
			
		}
	}

	focus = {
		id = SWE_standardize_equipment
		icon = GFX_goal_generic_small_arms
		x = -2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_government_weapons_contract }
		relative_position_id = SWE_government_weapons_contract
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			arms_factory > 9
		}

		bypass = {

		}

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

		completion_reward = {
			swap_ideas = {
			 	remove_idea = SWE_severe_lack_of_ammunition
			 	add_idea = SWE_standardized_equipment
			 }
			add_tech_bonus = {
				name = SWE_standardize_equipment
				bonus = 1
				uses = 1
				category = infantry_weapons # optional 
				# technology  = technology_id # optional
			}

#			mio:SWE_husqvarna_vapenfabrik_organization = {
#				add_mio_funds = 1000
#			}
		}
	}

	focus = {
		id = SWE_volvo
		icon = GFX_focus_generic_truck
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_standardize_equipment }
		relative_position_id = SWE_standardize_equipment
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {
				prioritize = { 139 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			mio:SWE_scania_vabis_organization = {
				add_mio_funds = 1000
			}

			mio:SWE_volvo_organization = {
				add_mio_funds = 2000
			}
		}
	}

	focus = {
		id = SWE_aquire_modern_panzers
		icon = GFX_focus_generic_tankette
		x = -2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_volvo }
		relative_position_id = SWE_volvo


		ai_will_do = {
			factor = 10
			modifier = {
				has_game_rule = {
					rule = SWE_AI_BEHAVIOR
					option = SWE_DEMOCRATIC_NORDIC_DEFENCE_COUNCIL
				}
				NOT = { has_completed_focus = SWE_the_nordic_defense_council }
				has_war_support < 0.1
				has_stability > 0.7
				factor = 50
			}
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.75
				uses = 1
				category = armor # optional 
				# tecnology  = technology_id # optional
			}

			SWE_folkhemmet_big_swap = yes
		}
	}

	focus = {
		id = SWE_ring_a_ding_ding
		icon = GFX_focus_SWE_bicycle 
		x = 0
		y = 1

		cost = 5
		prerequisite = { focus = SWE_volvo }
		relative_position_id = SWE_volvo

		ai_will_do = {
			factor = 10
			modifier = {
				has_game_rule = {
					rule = SWE_AI_BEHAVIOR
					option = SWE_DEMOCRATIC_NORDIC_DEFENCE_COUNCIL
				}
				NOT = { has_completed_focus = SWE_the_nordic_defense_council }
				has_war_support < 0.1
				has_stability > 0.7
				factor = 50
			}
		}


		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			set_technology = { bicycle_infantry = 1 popup = no }
			mio:SWE_husqvarna_organization = {
				add_mio_funds = 500
			}
			#
		}
	}

	focus = {
		id = SWE_sieze_landsverk
		icon = GFX_focus_generic_annex_country_2 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_government_weapons_contract }
		relative_position_id = SWE_government_weapons_contract
		

		ai_will_do = {
			factor = 10		
		}
		mutually_exclusive = { focus = SWE_allow_landsverk_to_operate }
		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {
				prioritize = { 138 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			GER = {
				country_event = {
					id = AAT_Sweden_flashpoints.60
					hours = 1
				}
				add_opinion_modifier = {
					target = SWE
					modifier = SWE_GER_seized_landsverk
				}
			}
			SWE_folkhemmet_big_swap = yes
		}
	}

	focus = {
		id = SWE_allow_landsverk_to_operate
		icon = GFX_focus_SWE_landsverk 
		x = 4
		y = 1

		cost = 10
		prerequisite = { focus = SWE_government_weapons_contract }
		relative_position_id = SWE_government_weapons_contract
		

		ai_will_do = {
			factor = 10		
		}
		mutually_exclusive = { focus = SWE_sieze_landsverk }
		available = {
			NOT = { has_war_with = GER }
		}

		bypass = {

		}

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

		completion_reward = {
			mio:SWE_landsverk_organization = {
				add_mio_funds = 1500
				unlock_mio_trait_tooltip = {
					trait = SWE_mio_trait_german_landsverk_tech_exchange
				}
			}
			
			random_core_state = {
				prioritize = { 138 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			GER = {
				add_offsite_building = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_opinion_modifier = {
					target = SWE
					modifier = SWE_GER_allowing_landverk_to_operate
				}
			}
			custom_effect_tooltip = SWE_allow_landsverk_to_operate_tt
			
		}
	}

	focus = {
		id = SWE_as_the_barometer_falls
		icon = GFX_focus_SWE_as_the_barometer_falls 
		x = 2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_sieze_landsverk focus = SWE_allow_landsverk_to_operate }
		relative_position_id = SWE_sieze_landsverk
		#mutually_exclusive = { focus = SWE_the_old_enemy_stirs }
		ai_will_do = {
			factor = 10		
		}

		available = {
			SWE_as_the_barometer_falls_trigger = yes
		}

		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {
			add_timed_idea = { idea = SWE_wargames days = 480  }
			add_command_power = 40
		}
	}

 	focus = {
		id = SWE_lynx_winter_armored_cars
		icon = GFX_focus_SWE_lynx_armored_car 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_aquire_modern_panzers focus = SWE_ring_a_ding_ding }
		relative_position_id = SWE_aquire_modern_panzers
		mutually_exclusive = { focus = SWE_kp_bill }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}

				set_technology = {
					SWE_lynx_armored_car = 1
					popup = yes
				}
				custom_effect_tooltip = SWE_lynx_armored_car_tt
				custom_effect_tooltip = SWE_lynx_armored_car_recon_company_tt
				add_tech_bonus = {
					bonus = 1
					ahead_reduction = 1
					uses = 1
					category = cat_armored_cars # optional 
					name = SWE_lynx_winter_armored_cars
					# technology  = technology_id # optional
				}
			}
			else = {
				add_tech_bonus = {
					name = SWE_lynx_winter_armored_cars
					bonus = 0.5
					uses = 2
					category = support_tech

				}

				add_doctrine_cost_reduction = {
					name = SWE_lynx_winter_armored_cars
					cost_reduction = 0.5
					uses = 1
					category = land_doctrine
				}
			}

			mio:SWE_scania_vabis_organization = {
				add_mio_funds = 1000
			}

			mio:SWE_volvo_organization= {
				add_mio_funds = 1000
			}
		}
	}

	focus = {
		id = SWE_kp_bill
		icon = GFX_goal_generic_army_motorized  
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_aquire_modern_panzers focus = SWE_ring_a_ding_ding }
		relative_position_id = SWE_ring_a_ding_ding
		mutually_exclusive = { focus = SWE_lynx_winter_armored_cars }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment # optional
				name = SWE_kp_bill
				# technology  = technology_id # optional
			}
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				technology  = motorized_rocket_unit # optional
				name = SWE_kp_bill
			}
			
		}
	}

	focus = {
		id = SWE_paid_holidays
		icon = GFX_focus_SWE_state_paid_vacation 
		x = 0
		y = 1

		cost = 5
		prerequisite = { focus = SWE_individual_liberty_and_prosperity_for_all focus = SWE_defense_above_all }
		relative_position_id = SWE_individual_liberty_and_prosperity_for_all
		mutually_exclusive = { focus = SWE_privately_managed_holidays }

		ai_will_do = {
			factor = 5		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_paid_holidays_idea
		}
	}

	focus = {
		id = SWE_privately_managed_holidays
		icon = GFX_focus_SWE_privately_managed_vacation 
		x = 4
		y = 1

		cost = 5
		prerequisite = { focus = SWE_individual_liberty_and_prosperity_for_all focus = SWE_defense_above_all}
		relative_position_id = SWE_individual_liberty_and_prosperity_for_all
		mutually_exclusive = { focus = SWE_paid_holidays }


		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_privately_managed_holidays
		}
	}

	focus = {
		id = SWE_radiojanst
		icon = GFX_focus_SWE_radiotjanst 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_urbanization }
		relative_position_id = SWE_urbanization
		



		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {

			if = {
				limit = { has_completed_focus = SWE_align_more_closely_with_the_landsorganisationen }
				add_ideas = SWE_radiotjanst_communism
			}

			else_if = {
				limit = { 
					OR = {
						has_completed_focus = SWE_undermine_the_fascists 
						has_completed_focus = SWE_king_in_council
					}
				}
				add_ideas = SWE_radiotjanst_unaligned #SWE_radiotjanst_unaligned
			}
			else_if = {
				limit = {
					NOT = { has_completed_focus = SWE_undermine_the_fascists }
					NOT = { has_completed_focus = SWE_king_in_council }
					has_completed_focus = SWE_prevent_a_red_dictatorship 
				}
				add_ideas = SWE_radiotjanst_fascism
			}
			else = {
				add_ideas = SWE_radiotjanst_democratic
			}

			unlock_decision_tooltip = pervert_radiotjanst_fascism
			unlock_decision_tooltip = pervert_radiotjanst_communism
			unlock_decision_tooltip = pervert_radiotjanst_unaligned
			unlock_decision_tooltip = restore_radiotjanst_to_democratic
		}
	}

	focus = {
		id = SWE_saltsjobaden_agreement
		icon = GFX_focus_generic_treaty 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_paid_holidays focus = SWE_privately_managed_holidays }
		relative_position_id = SWE_paid_holidays
		mutually_exclusive = { focus = 	SWE_reject_saltsjobaden }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_saltsjobaden_agreement
			add_popularity = {
				ideology = democratic
				popularity = 0.025
			}
			add_popularity = {
				ideology = communism
				popularity = 0.025
			}		
		}
	}

	focus = {
		id = SWE_education_reform
		icon = GFX_focus_SWE_education_reform 
		x = -2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_saltsjobaden_agreement }
		relative_position_id = SWE_saltsjobaden_agreement
		
		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SWE_alva_myrdal
			show_ideas_tooltip = SWE_gunnar_myrdal
		}
	}

	focus = {
		id = SWE_reject_saltsjobaden
		icon = GFX_focus_renounce_the_treaty_of_trianon
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_paid_holidays focus = SWE_privately_managed_holidays }
		relative_position_id = SWE_privately_managed_holidays
		mutually_exclusive = { focus = 	SWE_saltsjobaden_agreement }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_war_support = 0.1
			add_stability = -0.06
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
		}
	}

	focus = {
		id = SWE_continue_the_second_industrial_revolution
		icon = GFX_goal_generic_consumer_goods 
		x = -8
		y = 7

		cost = 10
		prerequisite = { focus = SWE_defense_act }
		relative_position_id = SWE_defense_act
		mutually_exclusive = { focus = SWE_the_old_enemy_stirs }
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				name = SWE_continue_the_second_industrial_revolution
				bonus = 1
				uses = 2
				category = industry # optional 
				# technology  = technology_id # optional
			}
		}
	}

	focus = {
		id = SWE_align_more_closely_with_the_landsorganisationen
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		x = -4
		y = 2
		mutually_exclusive = { focus = SWE_coalition_war_cabinet }
		cost = 10
		prerequisite = { focus = SWE_continue_the_second_industrial_revolution }
		relative_position_id = SWE_continue_the_second_industrial_revolution
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			communism > 0.1
		}

		bypass = {

		}

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

		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SWE_ture_nerman
			show_ideas_tooltip = SWE_fredrik_strom
			show_ideas_tooltip = SWE_zeth_hoglund

			#custom_effect_tooltip = SWE_align_more_closely_with_the_landsorganisationen_tt

		}
	}

	focus = {
		id = SWE_sami_reconcilliation
		icon = GFX_focus_SWE_Sami_reconcilliation
		x = 2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_align_more_closely_with_the_landsorganisationen focus = SWE_coalition_war_cabinet }
		relative_position_id = SWE_align_more_closely_with_the_landsorganisationen
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_stability = 0.05
			every_state = {
				limit = {
					is_sami_land = yes
				}
				add_dynamic_modifier = {
					modifier = SWE_sami_trackers
					scope = SWE
				}
			}

			hidden_effect = {
				set_technology = {
					SWE_sami_support_tech = 1
					popup = no
				}
			}

			custom_effect_tooltip = SWE_sami_support_tech_tt
		}
	}

	focus = {
		id = SWE_en_svensk_tiger
		icon = GFX_focus_SWE_en_svensk_tiger 
		x = 4
		y = 1

		cost = 5
		prerequisite = { focus = SWE_align_more_closely_with_the_landsorganisationen focus = SWE_coalition_war_cabinet }
		relative_position_id = SWE_align_more_closely_with_the_landsorganisationen
		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_ideas = SWE_en_svensk_tiger_aat_lar 
				if = {
					limit = {
						has_intelligence_agency = no
					}

					create_intelligence_agency = {
						name = "C-Byrån"
						icon = GFX_intelligence_agency_logo_swe
					}
				}
				
			}
			else = {
				add_ideas = SWE_en_svensk_tiger_aat_no_lar
			}
		}
	}

	focus = {
		id = SWE_form_rfsu
		icon = GFX_focus_SWE_form_rfsu 
		x = 6
		y = 1

		cost = 5
		prerequisite = { focus = SWE_align_more_closely_with_the_landsorganisationen focus = SWE_coalition_war_cabinet}
		relative_position_id = SWE_align_more_closely_with_the_landsorganisationen

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.06
			add_popularity = {
				ideology = democratic
				popularity = 0.08			}
		}
	}

	focus = {
		id = SWE_affordable_housing
		icon = GFX_goal_generic_construct_civilian
		x = -2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_individual_liberty_and_prosperity_for_all }
		relative_position_id = SWE_individual_liberty_and_prosperity_for_all
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {
				prioritize = { 141 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			add_stability = 0.03
		
		}
	}

	focus = {
		id = SWE_research_slot_1
		icon = GFX_focus_SWE_institute_of_technology
		x = 2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_saltsjobaden_agreement focus = SWE_reject_saltsjobaden }
		relative_position_id = SWE_saltsjobaden_agreement
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

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

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = SWE_infrastructure
		icon = GFX_goal_generic_construct_infrastructure
		x = 0
		y = 1

		cost = 5
		prerequisite = { focus = SWE_saltsjobaden_agreement focus = SWE_reject_saltsjobaden }
		relative_position_id = SWE_saltsjobaden_agreement
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

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

		completion_reward = {

			hidden_effect = {
				set_province_name = {
					id = 3054
					name = SWE_harspranget_dam
				}
			}
		
			random_core_state = {
				prioritize = { 666 }
				limit = {
					infrastructure < 5
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			random_core_state = {
				prioritize = { 918 }
				limit = {
					infrastructure < 5
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			IF = {
				limit = {
					666 = {
						is_fully_controlled_by = ROOT
					}
				}
				666 = {	
					add_building_construction = {
						type = dam
						level = 1
						instant_build = yes
						province = {
							id = 3054
						}
					}
					custom_effect_tooltip = {
						localization_key = building_state_modifier|dam
						INDENT = "    "
					}
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SWE_frans_severin
		}
	}

	focus = {
		id = SWE_deep_mining_complexes
		icon = GFX_focus_generic_land_reclamation 
		x = 2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_defense_above_all }
		relative_position_id = SWE_defense_above_all
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			unlock_decision_tooltip = deeper_swedish_mines
			add_tech_bonus = {
				name = SWE_deep_mining_complexes
				bonus = 0.75
				uses = 2
				category = excavation_tech # optional 
				# technology  = technology_id # optional
			}

			add_tech_bonus = {
				name = SWE_deep_mining_complexes
				ahead_reduction = 1
				uses = 1
				category = industry
			}
		}
	}

	focus = {
		id = SWE_bofors_fly_swatter
		icon = GFX_focus_SWE_bofors_fly_swatter 
		x = -4
		y = 1

		cost = 5
		prerequisite = { focus = SWE_government_weapons_contract }
		relative_position_id = SWE_government_weapons_contract
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				name = SWE_bofors_fly_swatter
			    bonus = 1
			    uses = 2
			    category = cat_anti_air
			}
			

			mio:SWE_bofors_organization = {
				add_mio_funds = 1000

				unlock_mio_trait_tooltip  = {
					trait = SWE_bofors_fly_swatter
				}
			}
		}
	}

	focus = {
		id = SWE_husqvarna_vapenfabrik
		icon = GFX_goal_generic_construct_mil_factory 
		x = -6
		y = 1

		cost = 10
		prerequisite = { focus = SWE_government_weapons_contract }
		relative_position_id = SWE_government_weapons_contract
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {
				prioritize = { 139 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			add_tech_bonus = {
				name = SWE_husqvarna_vapenfabrik
				bonus = 1.0
				uses = 1
				category = infantry_weapons
			}

			add_tech_bonus = {
				name = SWE_husqvarna_vapenfabrik
				bonus = 1.0
				uses = 1
				category = support_tech
			}

			mio:SWE_husqvarna_organization = {
				add_mio_size = 1
			}
		}
	}

	focus = {
		id = SWE_norma_projektilfabrik
		icon = GFX_goal_generic_construct_mil_factory 
		x = -8
		y = 1

		cost = 5
		prerequisite = { focus = SWE_government_weapons_contract }
		relative_position_id = SWE_government_weapons_contract
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {

			random_core_state = {
				prioritize = { 919 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			random_core_state = {
				prioritize = { 919 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			custom_effect_tooltip = SWE_norma_projektilfabrik_tt
			if = {
				limit = {
					any_other_country = {
						original_tag = NOR 
						NOT = { 
							has_war_with = ROOT 
							has_government = fascism
						}
						surrender_progress > 0
						any_enemy_country = {
							is_major = yes
						}

					}
				}
				
				random_core_state = {
					prioritize = { 919 }
					limit = {
						is_fully_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			

		}
	}

	focus = {
		id = SWE_gotaverken
		icon = GFX_goal_generic_construct_naval_dockyard 
		x = -17
		y = 1

		cost = 10
		prerequisite = { focus = SWE_government_weapons_contract }
		relative_position_id = SWE_government_weapons_contract
		

		ai_will_do = {
			factor = 10
			modifier = {
				has_game_rule = {
					rule = SWE_AI_BEHAVIOR
					option = SWE_DEMOCRATIC_NORDIC_DEFENCE_COUNCIL
				}
				NOT = { has_completed_focus = SWE_the_nordic_defense_council }
				has_war_support < 0.1
				has_stability > 0.7
				factor = 50
			}
		}

		available = {
			any_core_state = {
				is_coastal = yes
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {
				prioritize = { 140 }
				limit = {
					is_coastal = yes
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}

			mio:SWE_gotaverken_organization = {
				add_mio_funds = 300
				unlock_mio_trait_tooltip = {
					trait = SWE_mio_trait_high_capacity_dockyard
				}
			}
			
			SWE_folkhemmet_big_swap = yes
		}
	}

	focus = {
		id = SWE_lindholmens_varv
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_gotaverken }
		relative_position_id = SWE_gotaverken
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			any_core_state = {
				is_coastal = yes
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

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

		completion_reward = {
			add_timed_idea = { idea = SWE_lindsholmens_varv_idea days = 270 }
			random_core_state = {
				prioritize = { 140 }
				limit = {
					is_coastal = yes
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			mio:SWE_kockums_organization = {
				add_mio_funds = 200
			}
			mio:SWE_gotaverken_organization = {
				add_mio_funds = 200
			}
		}
	}

	focus = {
		id = SWE_italian_destroyers
		icon = GFX_focus_SWE_italian_destroyers
		x = 4
		y = 1

		cost = 5
		prerequisite = { focus = SWE_gotaverken }
		relative_position_id = SWE_gotaverken
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			ITA = {
				exists = yes
				NOT = {
					has_war_with = ROOT
				}
				has_opinion = {
					target = SWE
					value > 10
				}
			}
		}
		
		available_if_capitulated = no
		search_filters = {  }

		completion_reward = {
			country_event = {
				id = AAT_Sweden_flashpoints.70
				hours = 1
			}
			custom_effect_tooltip = SWE_italian_ships_tt
			effect_tooltip = {
				SWE_psilander_fleet_creation = yes
			}
			custom_effect_tooltip = SWE_italian_ships_tt_2
			custom_effect_tooltip = ETH_purchase_obsolete_ships_tt
			set_country_flag = generic_purchase_old_ships_flag
		}
	}

	focus = {
		id = SWE_refit_gotaverken_for_rapid_repairs
		icon = GFX_focus_generic_refit_civilian_ships 
		x = -2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_gotaverken }
		relative_position_id = SWE_gotaverken
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			140 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

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

		completion_reward = {

			add_ideas = SWE_gotaverken_retooled_for_rapid_repairs
			
		}
	}

	focus = {
		id = SWE_kockums
		icon = GFX_focus_generic_midget_submarines
		x = -4
		y = 1

		cost = 5
		prerequisite = { focus = SWE_gotaverken }
		relative_position_id = SWE_gotaverken
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			138 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {

		}

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

		completion_reward = {
			138 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_ideas = midget_submarine_specialization_mtg
			}
			else = {
				add_ideas = midget_submarine_specialization
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			mio:SWE_kockums_organization = {
				add_mio_funds = 1000
			}
		}
	}

	focus = {
		id = SWE_retool_dockyards
		icon = GFX_goal_generic_wolf_pack
		x = -1
		y = 2

		cost = 10
		prerequisite = { focus = SWE_gotaverken }
		relative_position_id = SWE_gotaverken
		mutually_exclusive = { focus = SWE_rule_the_baltic }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			navy_experience = 35
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_ideas = SWE_small_scale_hull_focused_dockyards
			}
			else = {
				add_ideas = SWE_small_scale_hull_focused_dockyards_no_mtg
			}

			
		}
	}

	focus = {
		id = SWE_rule_the_baltic
		icon = GFX_goal_generic_navy_cruiser 
		x = 1
		y = 2

		cost = 10
		prerequisite = { focus = SWE_gotaverken }
		relative_position_id = SWE_gotaverken
		mutually_exclusive = { focus = SWE_retool_dockyards }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = bb_tech 
				name = SWE_rule_the_baltic
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_ideas = SWE_rule_the_baltic_idea
			}
			else = {
				add_ideas = SWE_rule_the_baltic_no_mtg
			}
			
		}
	}

	focus = {
		id = SWE_all_cards_on_deck
		icon = GFX_focus_SWE_all_cards_on_deck 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_rule_the_baltic }
		relative_position_id = SWE_rule_the_baltic
		#mutually_exclusive = { focus = SWE_coastal_support }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_decisive_battle_tactics
		}
	}

	focus = {
		id = SWE_coastal_support
		icon = GFX_focus_SWE_coastal_support
		x = 2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_rule_the_baltic }
		relative_position_id = SWE_rule_the_baltic
		#mutually_exclusive = { focus = SWE_all_cards_on_deck }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_coastal_support
		}
	}

	focus = {
		id = SWE_vasa_ii
		icon = GFX_focus_SWE_Vasa_II 
		x = 4
		y = 1

		cost = 10
		prerequisite = { focus = SWE_rule_the_baltic }
		relative_position_id = SWE_rule_the_baltic
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				has_tech = improved_ship_hull_heavy
			}
			else = {
				has_tech = basic_battlecruiser
			}
		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				if = {
					limit = { NOT = { has_government = communism }  }
					create_equipment_variant = {
						name = "HMS Vasa II"
						type = ship_hull_heavy_3
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_heavy_battery_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_fire_control_system_slot = ship_fire_control_system_3
							fixed_ship_radar_slot = ship_radar_2
							fixed_ship_engine_slot = heavy_ship_engine_4
							fixed_ship_secondaries_slot = dp_ship_secondaries_3
							fixed_ship_armor_slot = ship_armor_bc_3
							front_1_custom_slot = ship_heavy_battery_2
							mid_1_custom_slot = ship_anti_air_3
							mid_2_custom_slot = dp_ship_secondaries_2
							rear_1_custom_slot = ship_heavy_battery_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_heavy_3
							creator = SWE
							version_name = "HMS Vasa II"
						}
						requested_factories = 5
						progress = 0.6 
					}
				}
				else = {
					create_equipment_variant = {
						name = "Röd Orkan"
						type = ship_hull_heavy_3
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_heavy_battery_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_fire_control_system_slot = ship_fire_control_system_3
							fixed_ship_radar_slot = ship_radar_2
							fixed_ship_engine_slot = heavy_ship_engine_4
							fixed_ship_secondaries_slot = dp_ship_secondaries_3
							fixed_ship_armor_slot = ship_armor_bc_3
							front_1_custom_slot = ship_heavy_battery_2
							mid_1_custom_slot = ship_anti_air_3
							mid_2_custom_slot = dp_ship_secondaries_2
							rear_1_custom_slot = ship_heavy_battery_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_heavy_3
							creator = SWE
							version_name = "Röd Orkan"
						}
						requested_factories = 5
						progress = 0.6 
					}
				}
			}
			else = { #NON MTG
				if = {
					limit = { NOT = { has_government = communism }  }
					create_equipment_variant = {
						name = "Vasa II"
						type = battle_cruiser_2
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_heavy_battery_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_fire_control_system_slot = ship_fire_control_system_3
							fixed_ship_radar_slot = ship_radar_2
							fixed_ship_engine_slot = heavy_ship_engine_4
							fixed_ship_secondaries_slot = dp_ship_secondaries_3
							fixed_ship_armor_slot = ship_armor_bc_3
							front_1_custom_slot = ship_heavy_battery_2
							mid_1_custom_slot = ship_anti_air_3
							mid_2_custom_slot = dp_ship_secondaries_2
							rear_1_custom_slot = ship_heavy_battery_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = battle_cruiser_2
							creator = SWE
							version_name = "Vasa II"
						}
						requested_factories = 5
						progress = 0.6 
					}
				}
				else = {
					create_equipment_variant = {
						name = "Röd Orkan"
						type = battle_cruiser_2
						parent_version = 0
						modules = {
							fixed_ship_battery_slot = ship_heavy_battery_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_fire_control_system_slot = ship_fire_control_system_3
							fixed_ship_radar_slot = ship_radar_2
							fixed_ship_engine_slot = heavy_ship_engine_4
							fixed_ship_secondaries_slot = dp_ship_secondaries_3
							fixed_ship_armor_slot = ship_armor_bc_3
							front_1_custom_slot = ship_heavy_battery_2
							mid_1_custom_slot = ship_anti_air_3
							mid_2_custom_slot = dp_ship_secondaries_2
							rear_1_custom_slot = ship_heavy_battery_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = battle_cruiser_2
							creator = SWE
							version_name = "Röd Orkan"
						}
						requested_factories = 5
						progress = 0.6 
					}
				}
			}
			custom_effect_tooltip = SWE_nordljus_tt_2
			add_ideas = SWE_pride_of_the_baltic
		}
	}

	focus = {
		id = SWE_archapeligo_harrasment
		icon = GFX_focus_generic_torpedo_production
		x = -4
		y = 1

		cost = 10
		prerequisite = { focus = SWE_retool_dockyards }
		relative_position_id = SWE_retool_dockyards
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			every_navy_leader = {
				random_select_amount = 3
				limit = {
					NOT = { 
						has_trait = old_guard_navy 

					}
				}
				add_trait = {
				     character = THIS
				     slot = navy_leader
				     trait = green_water_expert
				}

				add_trait = {
				     character = THIS
				     slot = navy_leader
				     trait = inshore_fighter
				}
			}
			if = {
				limit = {
					NOT = { has_tech = smoke_generator }
					has_dlc = "Man the Guns"
				}
				set_technology = {
					smoke_generator = 1
					popup = no
				}
			}
			else = {
				navy_experience = 50
			}

			add_doctrine_cost_reduction = {
				cost_reduction = 0.3
				uses = 2
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = SWE_unrestricted_submarine_warfare
		icon = GFX_goal_generic_navy_submarine 
		x = -2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_retool_dockyards }
		relative_position_id = SWE_retool_dockyards
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = {
					NOT = {
						OR = {
							has_tech = advanced_ship_hull_submarine
							has_tech = advanced_submarine
						}
					}
				}


				add_tech_bonus = {
					name = ss_bonus
					ahead_reduction = 1
					uses = 1
					category = ss_tech
				}
				
				if = {
					limit = {
						has_dlc = "Man the Guns"
					}


					add_tech_bonus = {
						name = ss_bonus
						ahead_reduction = 1
						uses = 1
						technology = basic_submarine_snorkel
					}

					
				}
				else = {
					navy_experience = 20
				}
				
			}
			else = {
				navy_experience = 70
			}
		}
	}

	focus = {
		id = SWE_surface_raiders
		icon = GFX_focus_generic_destroyer 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_retool_dockyards }
		relative_position_id = SWE_retool_dockyards
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				has_tech = improved_ship_hull_light
			}
			else = {
				has_tech = improved_destroyer
			}
		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				if = {
					limit = { NOT = { has_government = communism }  }
					create_equipment_variant = {
						name = "HMS Tillit"
						type = ship_hull_light_3
						parent_version = 0
						modules = {

							fixed_ship_battery_slot = ship_light_battery_2
							fixed_ship_engine_slot = light_ship_engine_3

							front_1_custom_slot = ship_light_battery_2
							fixed_ship_fire_control_system_slot = ship_fire_control_system_2
							rear_1_custom_slot = ship_light_battery_2
							mid_1_custom_slot = ship_depth_charge_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_torpedo_slot = ship_torpedo_2
							fixed_ship_radar_slot = ship_sonar_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "HMS Tillit"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "HMS Tillit"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "HMS Tillit"
						}
						requested_factories = 5
						progress = 1
					}
				}
				else = {
					create_equipment_variant = {
						name = "Röda Flottan"
						type = ship_hull_light_3
						parent_version = 0
						modules = {

							fixed_ship_battery_slot = ship_light_battery_2
							fixed_ship_engine_slot = light_ship_engine_3

							front_1_custom_slot = ship_light_battery_2
							fixed_ship_fire_control_system_slot = ship_fire_control_system_2
							rear_1_custom_slot = ship_light_battery_2
							mid_1_custom_slot = ship_depth_charge_3
							fixed_ship_anti_air_slot = ship_anti_air_3
							fixed_ship_torpedo_slot = ship_torpedo_2
							fixed_ship_radar_slot = ship_sonar_2
						}
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Röda Flottan"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Röda Flottan"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = ship_hull_light_3
							creator = SWE
							version_name = "Röda Flottan"
						}
						requested_factories = 5
						progress = 1
					}
				}

			}
			else = { #NON MTG
				if = {
					limit = { NOT = { has_government = communism }}
				
					create_equipment_variant = {
						name = "HMS Tillit"
						type = destroyer_3
						parent_version = 0
					}
					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "HMS Tillit"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "HMS Tillit"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "HMS Tillit"
						}
						requested_factories = 5
						progress = 1
					}
				}
				else = {
					create_equipment_variant = {
						name = "Röda Flottan"
						type = destroyer_3
						parent_version = 0
					}

					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Röda Flottan"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Röda Flottan"
						}
						requested_factories = 5
						progress = 1
					}

					add_equipment_production = {
						equipment = {
							type = destroyer_3
							creator = SWE
							version_name = "Röda Flottan"
						}
						requested_factories = 5
						progress = 1
					}
				}
			}

			every_navy_leader = {
				limit = {
					NOT = { has_trait = old_guard_navy }
				}
				random_select_amount = 3
				add_trait = {
				     character = THIS
				     slot = navy_leader
				     trait = fleet_protector
				}

				add_trait = {
				     character = THIS
				     slot = navy_leader
				     trait = destroyer_leader
				}
			}

			add_tech_bonus = {
				bonus = 0.75
				uses = 1
				category = dd_tech # optional 
				# technology  = technology_id # optional
			}
		}
	}

	focus = {
		id = SWE_landverk_l_62
		icon = GFX_focus_FIN_foreign_anti_air 
		x = 0
		y = 1

		cost = 5
		prerequisite = { focus = SWE_bofors_fly_swatter }
		relative_position_id = SWE_bofors_fly_swatter
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			if = {
				limit = { has_dlc = "No Step Back" }
				has_tech = basic_light_tank_chassis
			}
			else = {
				has_tech = basic_light_tank
			}
			has_tech = antiair1
			
			capital_scope = { is_controlled_by = SWE }
		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
			    bonus = 1
			    uses = 1
			    category = cat_anti_air
			}

			add_tech_bonus = {
			    bonus = 0.5
			    uses = 1
			    category = artillery
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				create_equipment_variant = {
				    name = "Landsverk L-62"
				    type = light_tank_aa_chassis_2
				    parent_version = 1
				    modules = {
				        main_armament_slot = tank_anti_air_cannon_2
						turret_type_slot = tank_light_three_man_tank_turret
						suspension_type_slot = tank_torsion_bar_suspension
						armor_type_slot = tank_welded_armor
						engine_type_slot = tank_diesel_engine
				    }
				    upgrades = {
				        tank_nsb_engine_upgrade = 3
				        tank_nsb_armor_upgrade = 2
				    }
				}

				set_technology = {
					improved_light_tank_chassis = 1
					popup = no
				}

				add_equipment_to_stockpile = {
					type = light_tank_aa_chassis_2
					amount = 120
					variant_name = "Landsverk L-62"
				}
			}
			else = {

				set_technology = {
					improved_light_tank = 1
					improved_light_spaa = 1
					popup = no
				}
				

				add_equipment_to_stockpile = {
					type = light_tank_aa_equipment_2
					amount = 120
					variant_name = "Landsverk L-62"
				}
			}

			set_technology = {
				antiair2 = 1
				popup = no
			}

			division_template = {
				name = "Mobila Luftvärnsstyrkan"
				regiments = {
					light_sp_anti_air_brigade = { x = 0 y = 0 }
					light_sp_anti_air_brigade = { x = 0 y = 1 }
					light_sp_anti_air_brigade = { x = 0 y = 2 }
					motorized = { x = 1 y = 0 }
					motorized = { x = 1 y = 1 }
					motorized = { x = 1 y = 2 }
					motorized = { x = 1 y = 3 }
					motorized = { x = 1 y = 4 }
				}
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 } 
					anti_air = { x = 0 y = 2 }

				}

				override_model = SWE_light_sp_anti_air_brigade_1_entity
			}

			capital_scope = {
				create_unit = {
			    	division = "name = \"Mobila Luftvärnsstyrkan\" division_template = \"Mobila Luftvärnsstyrkan\" start_equipment_factor = 1 start_experience_factor = 0.7 "
		 	   		owner = SWE
				}
			}

			mio:SWE_landsverk_organization = {
				add_mio_funds = 500
			}

			mio:SWE_bofors_organization = {
				add_mio_funds = 500
			}
			
		}
	}

	focus = {
		id = SWE_bofors_anti_tank_gun
		icon = GFX_goal_generic_army_artillery2 
		x = -2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_bofors_fly_swatter }
		relative_position_id = SWE_bofors_fly_swatter
		


		ai_will_do = {
			factor = 10
			modifier = {
				has_game_rule = {
					rule = SWE_AI_BEHAVIOR
					option = SWE_DEMOCRATIC_NORDIC_DEFENCE_COUNCIL
				}
				NOT = { has_completed_focus = SWE_the_nordic_defense_council }
				has_war_support < 0.1
				has_stability > 0.7
				factor = 50
			}
		}


		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				name = SWE_bofors_anti_tank_gun
				bonus = 1
				uses = 2
				category = cat_anti_tank	# optional 
				# tecnology  = technology_id # optional
			}
			custom_effect_tooltip = SWE_bofors_anti_tank_gun_tt
			hidden_effect = {
				set_technology = {
					SWE_bofors_antitank_gun = 1
					popup = no
				}
			}
			SWE_folkhemmet_big_swap = yes

			mio:SWE_bofors_organization = {

				unlock_mio_trait_tooltip  = {
					trait = SWE_bofors_anti_tank_gun
				}
			}
		}
	}

	focus = {
		id = SWE_form_saab
		icon = GFX_goal_generic_construct_mil_factory 
		x = -5
		y = 1

		cost = 10
		prerequisite = { focus = SWE_bofors_fly_swatter }
		relative_position_id = SWE_bofors_fly_swatter
		

		ai_will_do = {
			factor = 10
			modifier = {
				has_game_rule = {
					rule = SWE_AI_BEHAVIOR
					option = SWE_DEMOCRATIC_NORDIC_DEFENCE_COUNCIL
				}
				NOT = { has_completed_focus = SWE_the_nordic_defense_council }
				has_war_support < 0.1
				has_stability > 0.7
				factor = 50
			}
		}


		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {
				prioritize = { 913 }
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			mio:SWE_saab_organization = {
				add_mio_size = 2
				unlock_mio_trait_tooltip  = {
					trait = SWE_mio_trait_forefront_of_aeroplane_development
				}
			}

			SWE_folkhemmet_big_swap = yes
		}
	}

	focus = {
		id = SWE_domestic_designs
		icon = GFX_goal_generic_air_fighter2 
		x = -1
		y = 1

		cost = 5
		prerequisite = { focus = SWE_form_saab }
		relative_position_id = SWE_form_saab
		mutually_exclusive = { focus = SWE_foreign_designs }
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			air_experience = 100
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = SWE_domestic_designs
					bonus = 0.75
					uses = 2
					category = plane_modules_tech
				}
			}
			else = {
				add_tech_bonus = {
					name = SWE_domestic_designs
					bonus = 0.75
					uses = 1
					category = light_fighter
				}
			}

			mio:SWE_saab_organization = {
				add_mio_funds = 1000
			}
			
		}
	}

	focus = {
		id = SWE_foreign_designs
		icon = GFX_focus_generic_copy_plane_designs
		x = 1
		y = 1

		cost = 5
		prerequisite = { focus = SWE_form_saab }
		relative_position_id = SWE_form_saab
		mutually_exclusive = { focus = SWE_domestic_designs }

		ai_will_do = {
			factor = 10		
		}

		available = {
			any_other_country = {
				is_major = yes
				has_government = ROOT
				NOT = { has_war_with = ROOT }
			}
		}

		bypass = {

		}

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

		completion_reward = {
			hidden_effect = {
				every_other_country = {
					limit = {
						is_major = yes
						has_government = ROOT
						NOT = { has_war_with = ROOT }
					}
					ROOT = {
						add_tech_bonus = {
							name = SWE_foreign_designs
							bonus = 0.35 
							uses = 1
							category = air_equipment # optional 
							# tecnology  = technology_id # optional
						}
					}
				}
			}
			custom_effect_tooltip = SWE_foreign_designs_tt
			
		}
	}

	focus = {
		id = SWE_formation_flying
		icon = GFX_focus_generic_multi_role_aircraft 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_domestic_designs focus = SWE_foreign_designs}
		relative_position_id = SWE_domestic_designs
		mutually_exclusive = { focus = SWE_marauder_bombers }
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_formation_flying_idea
		
		}
	}

	focus = {
		id = SWE_marauder_bombers
		icon = GFX_focus_SWE_marauder_bombers 
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_domestic_designs focus = SWE_foreign_designs}
		relative_position_id = SWE_foreign_designs
		mutually_exclusive = { focus = SWE_formation_flying }
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_marauder_bombers_idea
		}
	}

	focus = {
		id = SWE_airforce_modernization
		icon = GFX_focus_generic_aircraft_production 
		x = 1
		y = 1

		cost = 5
		prerequisite = { focus = SWE_formation_flying focus = SWE_marauder_bombers }
		relative_position_id = SWE_formation_flying
		

		ai_will_do = {
			factor = 5		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {

			air_experience = 50
			add_doctrine_cost_reduction = {
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine # optional 
				name = SWE_airforce_modernization
				# tecnology  = technology_id # optional
			}

			mio:SWE_saab_organization = {
				add_mio_size = 1
			}
		}
	}

	focus = {
		id = SWE_the_barrel
		icon = GFX_focus_SWE_the_barrel 
		x = -1
		y = 1

		cost = 10
		prerequisite = { focus = SWE_airforce_modernization }
		relative_position_id = SWE_airforce_modernization
		mutually_exclusive	= { focus = SWE_rockets }


		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}

			add_tech_bonus = {
				bonus = 1
				uses = 2 # was 1
				category  = jet_technology 
				name = SWE_the_barrel
			}

			#add_tech_bonus = {
			#	bonus = 1
			#	uses = 1
			#	technology = rocket_engines 
			#	name = SWE_the_barrel
			#}
			#add_tech_bonus = {
			#	bonus = 1
			#	uses = 1
			#	technology  = jet_engines 
			#	name = SWE_the_barrel
			#}

		}
	}

	focus = {
		id = SWE_rockets
		icon = GFX_focus_rocketry 
		x = 1
		y = 1

		cost = 10
		prerequisite = { focus = SWE_airforce_modernization }
		relative_position_id = SWE_airforce_modernization
		mutually_exclusive = { focus = SWE_the_barrel }

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_tech_bonus = {
				bonus = 1
				uses = 1
				technology  = experimental_rockets # optional
				name = SWE_rockets
			}

			add_tech_bonus = {
				bonus = 1
				uses = 1
				technology  = sp_rockets_improved_guidance # optional
				name = SWE_rockets
			}

			add_tech_bonus = {
				bonus = 0.75
				uses = 1
				technology  = improved_rocket_engines # optional
				name = SWE_rockets
			}
		}
	}

	#focus = {
	#	id = SWE_military_academy
	#	#icon = 
	#	x = 1
	#	y = 1
#
	#	cost = 10
	#	prerequisite = { focus = SWE_the_barrel focus = SWE_rockets focus = SWE_unrestricted_submarine_warfare focus = SWE_surface_raiders focus = SWE_all_cards_on_deck focus = SWE_coastal_support focus = SWE_vasa_ii}
	#	relative_position_id = SWE_the_barrel
	#	
#
	#	ai_will_do = {
	#		factor = 10		
	#	}
#
	#	available = {
#
	#	}
#
	#	bypass = {
#
	#	}
#
	#	cancel_if_invalid = yes
	#	continue_if_invalid = no
	#	available_if_capitulated = no
	#	search_filters = {  }
#
	#	completion_reward = {
	#	
	#	}
	#}

	focus = {
		id = SWE_license_skf_ball_bearings
		icon = GFX_focus_SWE_SKF_ball_bearings
		x = 4
		y = 1

		cost = 5
		prerequisite = { focus = SWE_saltsjobaden_agreement focus = SWE_reject_saltsjobaden }
		relative_position_id = SWE_saltsjobaden_agreement
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = {  FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {
			unlock_decision_tooltip = SWE_trade_ball_bearings
			custom_effect_tooltip = SWE_ball_bearing_trade_tt
		}
	}

	focus = {
		id = SWE_economic_deregulation
		icon = GFX_focus_ETH_adopt_the_lira
		x = 2
		y = 1

		cost = 10
		prerequisite = { focus = SWE_reject_saltsjobaden }
		relative_position_id = SWE_reject_saltsjobaden
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

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

		completion_reward = {
			hidden_effect = { #need tt because variables dont show up in tooltip
				remove_dynamic_modifier = {
					modifier = SWE_folkhemmet
				}
			}
			custom_effect_tooltip = SWE_economic_deregulation_tt
			add_ideas = SWE_economic_deregulation_idea
		}
	}

	focus = {
		id = SWE_swedes_not_sweden_to_finlands_aid
		icon = GFX_focus_SWE_Swedes_not_Sweden_to_finlands_aid 
		x = 7
		y = 1
		mutually_exclusive = {focus = SWE_finlands_cause_is_ours focus = SWE_the_aland_question}
		cost = 5
		prerequisite = { focus = SWE_continue_the_second_industrial_revolution focus = SWE_the_old_enemy_stirs }
		relative_position_id = SWE_continue_the_second_industrial_revolution
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			NOT = { has_war_with = FIN }
		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = {
					has_idea = neutrality_idea
				}
				remove_ideas = neutrality_idea
			}
			set_rule = { can_send_volunteers = yes }
			if = {
				limit = {
					FIN = {
						any_enemy_country = {
							is_major = yes
						}
					}
				}
				add_ideas = SWE_volunteers_upgraded

			}
			else = {
				add_ideas = SWE_volunteers
				custom_effect_tooltip = SWE_swedes_not_sweden_to_finlands_aid_tt
				show_ideas_tooltip = SWE_volunteers_upgraded
				custom_effect_tooltip = SWE_swedes_not_sweden_to_finlands_aid_tt_2
			}
			
			if = {
				limit = {
					NOT = { FIN = { has_war_with = ROOT } }
				}

				FIN = {

					add_equipment_to_stockpile = { 
						type = infantry_equipment_0
						amount = 2000 
						producer = PREV
					}

					add_equipment_to_stockpile = { 
						type = anti_air_equipment_1
						amount = 100 
						producer = PREV
					}

					add_equipment_to_stockpile = { 
						type = anti_tank_equipment_1
						amount = 100 
						producer = PREV
					}
				}
			}

		}
	}

	focus = {
		id = SWE_the_aland_question
		icon = GFX_focus_SWE_the_aland_question 
		x = 2
		y = 0
		mutually_exclusive = { focus = SWE_finlands_cause_is_ours focus = SWE_swedes_not_sweden_to_finlands_aid }
		cost = 10
		prerequisite = { focus = SWE_continue_the_second_industrial_revolution focus = SWE_the_old_enemy_stirs }
		relative_position_id = SWE_swedes_not_sweden_to_finlands_aid
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			145 = { 
				controller = {
					original_tag = FIN
				} 
			}

			FIN = {
				NOT = { has_war_with = ROOT }
				has_capitulated = no
				has_civil_war = no
			}
			is_subject = no
		}

		bypass = {
			145 = {
				controller = {
					original_tag = SWE
				}
			}
		}

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

		completion_reward = {
			FIN = {
				country_event = { id = AAT_Sweden_flashpoints.78 hours = 5 }
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				145 = {
					add_core_of = ROOT
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}

			custom_effect_tooltip = SWE_the_aland_question_tt
		}
	}

		focus = {
		id = SWE_coalition_war_cabinet
		icon = GFX_focus_generic_treaty 
		x = 5
		y = 2
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_continue_the_second_industrial_revolution }
		relative_position_id = SWE_continue_the_second_industrial_revolution
		mutually_exclusive = { focus = SWE_align_more_closely_with_the_landsorganisationen }

		ai_will_do = {
			factor = 10		
		}

		available = {
			democratic > 0.66
		}

		bypass = {

		}

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

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

			if = {
				limit = {
					has_idea = SWE_gustaf_v_idea
				}
				remove_ideas = SWE_gustaf_v_idea
			}
			custom_effect_tooltip = SWE_coalition_war_cabinet_tt
		}
	}

	focus = {
		id = SWE_winter_drill
		icon = GFX_focus_generic_commonwealth_build_infantry 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_coalition_war_cabinet }
		relative_position_id = SWE_coalition_war_cabinet
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

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

		completion_reward = {
			hidden_effect = {
				every_country_division = {
					hidden_effect = {
						add_history_entry = {
							key = SWE_winter_drill_entry
							subject = "Winter Drill"
							allow = no #(allow medal award)
						}
					}
				}
			}
			every_army_leader = {
				add_logistics = 1
			}

			custom_effect_tooltip = FIN_winter_warfare_battalion_tt

			hidden_effect = {
				set_technology = {
					winter_logistics_support_tech = 1
					popup = no
				}
			}
			custom_effect_tooltip = SWE_winter_drill_tt
		}
	}


	focus = {
	id = SWE_strike_the_capitalist_beast_down
	icon = GFX_focus_eng_expose_the_belly_of_the_bear 
	x = 0
	y = 2
	cost = 5
	prerequisite = { focus = SWE_align_more_closely_with_the_landsorganisationen }
	relative_position_id = SWE_align_more_closely_with_the_landsorganisationen
	ai_will_do = {
		factor = 10		
	}
	available = {
		communism > 0.2
	}
	bypass = {
	}
	cancel_if_invalid = no
	continue_if_invalid = no
	available_if_capitulated = no
	search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	completion_reward = {
		country_event = {
			id = AAT_Sweden_communism.1
			hours = 1
		}
		hidden_effect = {
			country_event = {
					id = AAT_Sweden_communism.7
					days = 120 # optional - can take hours/days/months
					random_days = 180 # optional - can take hours/days/months
				}	
		}
		add_war_support = 0.05
		add_stability = -0.1
  		set_politics = {
  			ruling_party = communism
  			elections_allowed = yes
  		}
  		add_opinion_modifier = {
  			target = GER
  			modifier = SWE_condemmed_soviet_ger
  		}
  		hidden_effect = {
  			add_opinion_modifier = {
  				target = GER
  				modifier = SWE_condemmed_soviet_ger_2
  			}
  		}

  		GER = {
	  		add_opinion_modifier = {
	  			target = PREV
	  			modifier = SWE_condemmed_soviet_ger
	  		}
	  		hidden_effect = {
	  			add_opinion_modifier = {
	  				target = PREV
	  				modifier = SWE_condemmed_soviet_ger_2
	  			}
	  		}
  		}

  		add_opinion_modifier = {
  			target = SOV
  			modifier = SWE_condemmed_soviet_sov
  		}
  		hidden_effect = {
  			add_opinion_modifier = {
  				target = SOV
  				modifier = SWE_condemmed_soviet_sov_2
  			}
  		}

  		SOV = {
	  		add_opinion_modifier = {
	  			target = PREV
	  			modifier = SWE_condemmed_soviet_sov
	  		}
	  		hidden_effect = {	
	  			add_opinion_modifier = {
	  				target = PREV
	  				modifier = SWE_condemmed_soviet_sov_2
	  			}
	  		}

  		}





  		hidden_effect = {
			if = {
				limit = {
					has_idea = neutrality_idea
				}
				remove_ideas = neutrality_idea
			}
	  		random_unit_leader = {
	  			set_unit_leader_flag = SWE_anti_communist_ringleader
	  		}
	  		random_unit_leader = {
	  			limit = {
	  				NOT = { has_unit_leader_flag = SWE_anti_communist_ringleader }
	  			}
	  			set_unit_leader_flag = SWE_anti_communist_ringleader	
	  		}

	  		random_unit_leader = {
	  			limit = {
	  				NOT = { has_unit_leader_flag = SWE_anti_communist_ringleader }
	  			}
	  			set_unit_leader_flag = SWE_anti_communist_ringleader	
	  		}
  		}
	}
}

	focus = {
		id = SWE_socialist_reforms
		icon = GFX_focus_SWE_socialist_reforms
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_strike_the_capitalist_beast_down }
		relative_position_id = SWE_strike_the_capitalist_beast_down
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			hidden_effect = {
				if = {
					limit = { has_dynamic_modifier = { modifier = SWE_folkhemmet } }
					remove_dynamic_modifier = { modifier = SWE_folkhemmet }
				}

				add_dynamic_modifier = { modifier = SWE_folkhemmet_communism }
			}
			SWE_calc_communist_folkhemmet = yes
			custom_effect_tooltip = SWE_socialist_reforms_tt

			unlock_decision_tooltip = {
			  	decision = SWE_socialists_reforms_decision_efficiency_gain
			  	show_effect_tooltip = yes # default is no
			  	show_modifiers = yes # default is no
			}
		}
	}

 	focus = {
		id = SWE_refuge_from_war
		icon = GFX_focus_SWE_refuge_from_war
		x = -2
		y = 0
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_strike_the_capitalist_beast_down }
		relative_position_id = SWE_socialist_reforms
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			hidden_effect = {
				SWE_calc_refugee_from_war = yes

				clamp_variable = {
					var = SWE_refugee_from_war_total_manpower_gained
					min = 0
					max = 80000
				}
				add_manpower = var:SWE_refugee_from_war_total_manpower_gained
			}
			custom_effect_tooltip = SWE_refuge_from_war_tt
		}
	}

	focus = {
		id = SWE_refuge_for_revolutionaries
		icon = GFX_focus_SWE_refuge_for_revolutionaries
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_refuge_from_war }
		relative_position_id = SWE_refuge_from_war
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_refuge_for_revolutionaries_tt
			if = {
				limit = {
					has_dlc = "Man the Guns"
					USA = {
						has_completed_focus = USA_america_first
					}
				}

				USA = {
					USA_victor_perlo = { set_nationality = ROOT }
					USA_whittaker_chambers = { set_nationality = ROOT }
					USA_harry_white = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "Man the Guns"
					MEX = {
						has_completed_focus = MEX_focus_liberalize_the_banking_sector
					}
				}
				MEX = { MEX_vicente_lombardo = { set_nationality = ROOT } }
			}

			if = {
				limit = {
					has_dlc = "La Resistance"
					SPR = {
						has_country_flag = scw_over
						OR = { #Nat Spain WON
							tag = SPA 
							tag = SPB 
						}
					}
				}

				SPR = {
					SPR_augusto_barcia_trelles = { set_nationality = ROOT }
					SPR_federica_montseny = { set_nationality = ROOT }
					SPR_dolores_ibarruri = { set_nationality = ROOT }
					SPR_federica_montseny = { set_nationality = ROOT }
					SPR_juan_andrade = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "La Resistance"
					POR = {
						has_completed_focus = POR_estado_novo
					}
				}

				POR = {
					POR_maria_lamas = {  set_nationality = ROOT }
					POR_bento_de_jesus_caraca = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "Man the Guns"
					HOL = {
						OR = {
							has_completed_focus = HOL_oranje_boven 
							has_completed_focus = HOL_cave_to_the_germans
							has_completed_focus = HOL_cave_to_the_british
						}
					}
				}
				HOL = {
					HOL_antonie_pannekoek = { set_nationality = ROOT }
					HOL_anton_de_kom = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "By Blood Alone"
					ITA = {
						OR = {
							has_completed_focus = ITA_culto_del_duce
							has_completed_focus = ITA_convene_the_grand_council
							has_completed_focus = ITA_foreign_affairs
						}
					}
				}

				ITA = { ITA_palmiro_togliatti = {  set_nationality = ROOT } 
					ITA_ignazio_silone = { set_nationality = ROOT }
					ITA_pompeo_colajanni = { set_nationality = ROOT } #General
					ITA_norma_barbolini = { set_nationality = ROOT }
					ITA_randolfo_pacciardi = { set_nationality = ROOT }
					ITA_fausto_gullo = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "Death or Dishonor"
					YUG = {
						has_completed_focus = YUG_western_focus
						is_ai = no
					}
					GRE = {
						OR = {
							has_completed_focus = GRE_compromise_with_the_monarchists
							has_completed_focus = GRE_the_kings_government
							has_completed_focus = GRE_tow_the_stalinist_line
						}
					}
				}

				YUG = { YUG_josip_broz_tito = { set_nationality = ROOT } }
			}

			if = {
				limit = {
					has_dlc = "Battle for the Bosporus"
					TUR = {
						OR = {
							has_completed_focus = TUR_fully_integrate_the_is_bank
							has_completed_focus = TUR_peace_at_home
							has_completed_focus = TUR_reinvigorate_turkish_nationalism
							has_completed_focus = TUR_kemalism_and_the_modern_movement
						}
					}
				}

				TUR = {
					TUR_nazim_hikmet = { set_nationality = ROOT }
					TUR_sevket_sureyya_aydemir = { set_nationality = ROOT }
				}
			}


			if = {
				limit = {
					has_dlc = "Battle for the Bosporus"
					GRE = {
						OR = {
							has_completed_focus = GRE_compromise_with_the_monarchists
							has_completed_focus = GRE_the_kings_government
						}
					}
				}

				GRE = {
					GRE_markos_vafiadis = { set_nationality = ROOT }
					GRE_sophoklis_venizelos = { set_nationality = ROOT }
					GRE_dimitrios_holevas = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "No Step Back"
				}

				if = {
					limit = {
						POL = {
							OR = {
								has_completed_focus = POL_assemble_the_regency_council
								has_completed_focus = POL_nationalist_constitution
							}
						}
					}

					POL = { POL_wanda_wasilewska = { set_nationality = ROOT } } 
				}

				if = {
					limit = {
						has_dlc = "No Step Back"
						POL = {
							OR = {
								has_completed_focus = POL_assemble_the_regency_council
								has_completed_focus = POL_nationalist_constitution
								has_completed_focus = POL_complete_april_constitution
							}
						}
					}

					POL = { 
						POL_henryk_floyar_rajchman = { set_nationality = ROOT } 
						POL_boleslaw_bierut = { set_nationality = ROOT }
						POL_edward_osobka_morawski = { set_nationality = ROOT }
					} 
				}

			}

			if = {
				limit = {
					has_dlc = "No Step Back"
					LIT = {
						has_completed_focus = LIT_secure_a_loyal_cabinet
					}
				}

				LIT = {
					LIT_mecislovas_gedvilas = { set_nationality = ROOT }
					LIT_vladas_mironas = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "No Step Back"
					LAT = {
						has_completed_focus = LAT_suspend_the_constitution
					}
				}

				LAT = {
					LAT_janis_rudzutaks = { set_nationality = ROOT }
					LAT_emilija_veinberga = { set_nationality = ROOT }
					LAT_janis_sudrabkalns = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "No Step Back"
					EST = {
						OR = {
							has_completed_focus = EST_era_of_silence
							has_completed_focus = EST_rally_the_nation
						}
					}
				}

				EST = {
					EST_august_jakobson = { set_nationality = ROOT }
					EST_voldemar_voolman = { set_nationality = ROOT }
					EST_henrik_allik = { set_nationality = ROOT }
				}
			}

			if = {
				limit = {
					has_dlc = "By Blood Alone"
					ETH = { 
						OR = {
							has_completed_focus = ETH_soviet_aid 
							has_completed_focus = ETH_reach_out_to_the_italians
							has_completed_focus = ETH_rally_around_the_emperor
						}
					}
				}
				ETH = {
					IA_emma_goldman = { set_nationality = ROOT }
					IA_sakutaro_iwasa = { set_nationality = ROOT }
				}
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SWE_exiled_revolutionaries
		}
	}

	focus = {
		id = SWE_liquidate_the_monarchy
		icon = GFX_focus_SWE_liquidate_the_monarchy 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_socialist_reforms focus = SWE_refuge_from_war focus = SWE_police_reforms }
		relative_position_id = SWE_socialist_reforms
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			country_event = { id = AAT_Sweden_communism.6 }
			remove_ideas = SWE_gustaf_v_idea
		}
	}

	focus = {
		id = SWE_establish_politburo
		icon = GFX_focus_generic_soviet_politics
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_liquidate_the_monarchy }
		relative_position_id = SWE_liquidate_the_monarchy	
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
	  		add_ideas = SWE_politiburo
			
			
			every_military_industrial_organization = {
				add_mio_funds = 500
			}
			
		}
	}

	focus = {
		id = SWE_five_year_plan
		icon = GFX_goal_generic_soviet_construction
		x = -2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_establish_politburo }
		relative_position_id = SWE_establish_politburo	
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}


	focus = {
		id = SWE_starve_the_fascists_of_iron
		icon = GFX_focus_generic_anti_fascist_diplomacy
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_five_year_plan }
		relative_position_id = SWE_five_year_plan	
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}

				if = {
					limit = {
						has_country_leader = {
							ruling_only = yes 
							character = SWE_nils_flyg
						}
					}

					send_embargo = SOV
				}
				else = {
					send_embargo = GER
				}
			}

			else = {
				if = {
					limit = {
						has_country_leader = {
							ruling_only = yes 
							character = SWE_nils_flyg
						}
					}

					SOV = {
						add_opinion_modifier = {
							target = PREV 
							modifier = SWE_embargoed_us
						}
					}
				}
				else = {
					GER = {
						add_opinion_modifier = {
							target = PREV 
							modifier = SWE_embargoed_us
						}
					}
				}
			}

			add_ideas = SWE_full_capacity_furnaces
		}
	}

	focus = {
		id = SWE_peoples_commissar_for_defense
		icon = GFX_focus_SOV_builder_of_the_red_army
		x = 2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_establish_politburo }
		relative_position_id = SWE_establish_politburo	
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_peoples_commissar_for_defense_idea
		}
	}

	focus = {
		id = SWE_support_danish_communists
		icon = GFX_focus_SWE_danish_communists 
		x = 2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_peoples_commissar_for_defense }
		relative_position_id = SWE_peoples_commissar_for_defense	
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {	
			DEN = {
				OR = {
					exists = no
					has_government = communism
				}
			}
		}

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

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}

				create_operative_leader = {
					name = "Jean Blæksprutten"
					bypass_recruitment = yes 
					available_to_spy_master = yes 
					traits = { operative_well_groomed operative_natural_orator }
					nationalities = { DEN SWE }
					GFX = GFX_portrait_europe_generic_operative_male_15
				}

				if = {
					limit = {
						has_idea = SWE_en_svensk_lyder_lar
					}

					swap_ideas = {
						remove_idea = SWE_en_svensk_lyder_lar
						add_idea = SWE_en_svensk_lyder_lar_2
					}
				}
				else = {
					add_ideas = SWE_en_svensk_lyder_lar
				}
				
			}

			if = {
				limit = {
					DEN = { NOT = { has_country_flag = banned_communism_flag } }
				}

				DEN = {
					add_timed_idea = {
						idea = SWE_foreign_communist_influence
						days = 420
					}
				}
			}

			unlock_decision_tooltip = SWE_pull_the_trigger_den
			
		}
	}

	focus = {
		id = SWE_support_norwegian_communists
		icon = GFX_focus_SWE_norwegian_communists 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_peoples_commissar_for_defense }
		relative_position_id = SWE_peoples_commissar_for_defense	
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {
			OR = {
				NOR = { exists = no }
				has_war_with = NOR
				AND = {

					NOR = { 
						NOT = { has_completed_focus = NOR_compromise_with_the_nkp }
						has_government = communism
					}
				}
			}
		}

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

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}

				create_operative_leader = {
					name = "Jimmy Muldvarp"
					bypass_recruitment = yes 
					available_to_spy_master = yes 
					traits = { operative_well_groomed operative_natural_orator }
					nationalities = { NOR SWE }
					GFX = GFX_portrait_europe_generic_operative_male_18
				}
				
				if = {
					limit = {
						has_idea = SWE_en_svensk_lyder_lar
					}

					swap_ideas = {
						remove_idea = SWE_en_svensk_lyder_lar
						add_idea = SWE_en_svensk_lyder_lar_2
					}
				}
				else = {
					add_ideas = SWE_en_svensk_lyder_lar
				}
			
			}

			if = {
				limit = {
					NOR = { NOT = { has_country_flag = banned_communism_flag } }
				}

				NOR = {
					add_timed_idea = {
						idea = SWE_foreign_communist_influence
						days = 420
					}
				}
			}
			if = {
				limit = {
					NOR = {
						NOT = { has_completed_focus = NOR_a_resurgent_labor_movement }
					}
				}
				unlock_decision_tooltip = SWE_pull_the_trigger_nor
			}
		}
	}

	focus = {
		id = SWE_finnish_buffer_state
		icon = GFX_focus_SWE_finnish_communists 
		x = -2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_peoples_commissar_for_defense }
		relative_position_id = SWE_peoples_commissar_for_defense	
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			FIN = {
				exists = yes
				is_subject = no
			}
		}

		bypass = {
			FIN = {
				OR = {
					has_government = communism
					has_war_with = ROOT
				}
			}
		}

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

		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}

				create_equipment_variant = {
					name = "Converted Gloster Gladiator"
					type = small_plane_airframe_1
					parent_version = 0
					modules={
						fixed_main_weapon_slot=light_mg_4x
						fixed_auxiliary_weapon_slot_1=heavy_mg_2x
						engine_type_slot=engine_1_1x
						special_type_slot_1=hmg_defense_turret
					}
					icon = "GFX_SWE_fighter1_medium"
				}
			}



			FIN = {
				add_equipment_to_stockpile = { 
					type = infantry_equipment_1
					amount = 3500 
					producer = SWE
				}

				add_equipment_to_stockpile = { 
					type = train_equipment_1
					amount = 5
					producer = SWE
				}
				if = {
					limit = {
						has_dlc = "By Blood Alone"
					}

					create_equipment_variant = {
						name = "Converted Gloster Gladiator"
						type = small_plane_airframe_1
						parent_version = 0
						modules={
							fixed_main_weapon_slot=light_mg_4x
							fixed_auxiliary_weapon_slot_1=heavy_mg_2x
							engine_type_slot=engine_1_1x
							special_type_slot_1=hmg_defense_turret
						}
						icon = "GFX_SWE_fighter1_medium"
					}

					add_equipment_to_stockpile = { 
						type = small_plane_airframe_1
						amount = 200
						producer = SWE
						variant_name = "Converted Gloster Gladiator" 
					}
				}
				else = {
					add_equipment_to_stockpile = { 
						type = fighter_equipment_1
						amount = 200
						producer = SWE
					}
				}
				if = {
					limit = {
						ROOT = { has_completed_focus = SWE_landverk_l_62 }
					}
					if = {
						limit = { has_dlc = "No Step Back" }
						add_equipment_to_stockpile = { 
							type = light_tank_aa_chassis_2
							amount = 200
							producer = SWE
							variant_name = "Landsverk L-62" 
						}
					}
					else = {
						add_equipment_to_stockpile = {
							type = light_tank_aa_equipment_2
							amount = 200
							variant_name = "Landsverk L-62"
						}
					}
				}
				add_manpower = 15000
			}
		}
	}

	focus = {
		id = SWE_universal_basic_income
		icon = GFX_focus_generic_join_comintern 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_support_norwegian_communists focus = SWE_support_danish_communists focus = SWE_finnish_buffer_state }
		relative_position_id = SWE_support_norwegian_communists	
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_universal_basic_income_idea
			custom_effect_tooltip = SWE_universal_basic_income_tt
		}
	}

	focus = {
		id = SWE_police_reforms
		icon = GFX_focus_generic_court
		x = 2
		y = 0
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_strike_the_capitalist_beast_down }
		relative_position_id = SWE_socialist_reforms
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {
			has_civil_war = yes

		}

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

		completion_reward = {
			if = {
				limit = {
					has_idea = SWE_fascist_counter_revolution_0
				}
				remove_ideas = SWE_fascist_counter_revolution_0
			}
			else_if = {
				limit = {
					has_idea = SWE_fascist_counter_revolution_1
				}
				remove_ideas = SWE_fascist_counter_revolution_1
			}
			else_if = {
				limit = {
					has_idea = SWE_fascist_counter_revolution_2
				}
				remove_ideas = SWE_fascist_counter_revolution_2
			}
			else = {
				effect_tooltip = {
					remove_ideas = SWE_fascist_counter_revolution_0
				}
			}

			country_event = {
				id = AAT_Sweden_communism.5 hours = 1
			}

		}
	}

	focus = {
		id = SWE_train_the_sheltered
		icon = GFX_focus_SWE_train_the_sheltered 
		x = -2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_winter_drill }
		relative_position_id = SWE_winter_drill
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			OR = {
				NOR = { 
					OR=  {
						has_capitulated = yes 
						exists = no
						is_subject = yes
					}
					NOT = { has_war_with = ROOT }
				} 
				
				DEN = { 
					OR = {
						has_capitulated = yes 
						exists = no
						is_subject = yes
					}
					NOT = { has_war_with = ROOT }
				} 
				
				FIN = { 
					OR = {
						has_capitulated = yes 
						exists = no
						is_subject = yes
					}
					NOT = { has_war_with = ROOT }
				}


				ICE = { 
					OR = {
						has_capitulated = yes 
						exists = no
						AND = {
							is_subject = yes
							NOT = { is_subject_of = DEN }
						}
					}
					NOT = { has_war_with = ROOT }
				}
			}
		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_train_the_sheltered_tt
			unlock_decision_tooltip = SWE_train_the_sheltered_decision  
		}
	}


	focus = {
		id = SWE_the_narvik_solution
		icon = GFX_focus_SWE_the_narvik_solution 
		x = 2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_coalition_war_cabinet }
		relative_position_id = SWE_coalition_war_cabinet
		

		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}		
		}

		available = {	
			NOT = {
				has_war_with = NOR
			}
			OR = {
				144 = {
					controller = { 
						OR = {
							NOT = { original_tag = NOR }
							AND = {
								original_tag = NOR
								OR = {
									is_subject = yes
									NOT = {
										has_government = democratic
										has_government = neutrality
									}
								}
							}
							
						}
					}
				}

				924 = {
					controller = { 
						OR = {
							NOT = { original_tag = NOR }
							AND = {
								original_tag = NOR
								OR = {
									is_subject = yes
									NOT = {
										has_government = democratic
										has_government = neutrality
									}
								}
							}
							
						}
					}
				}

				925 = {
					controller = { 
						OR = {
							NOT = { original_tag = NOR }
							AND = {
								original_tag = NOR
								OR = {
									is_subject = yes
									NOT = {
										has_government = democratic
										has_government = neutrality
									}
								}
							}
							
						}
					}
				}

				NOR = { is_subject = yes }
			}
		}

		bypass = {

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

		completion_reward = {

			#if = {
			#	limit = {
			#		NOR = { is_subject = yes }
			#	}
			#	if = {
			#		limit = {
			#			NOR = { is_ai = no }
			#		}
			#		NOR = { country_event = { id = AAT_Sweden.13 hours = 2 } 
			#	}
			#	else = {
			#		NOR = { OVERLORD = { country_event = { id = AAT_Sweden.13 hours = 2 }  } }
			#	}
			#}



			if = {
				limit = {
					144 = {
						controller = {
							NOT = {
								original_tag = SWE
							}
						}
					}
				}

				144 = {
					controller = {
						if = {
							limit = { 
								original_tag = NOR 
								is_subject = no
							}
							 country_event = { id = AAT_Sweden.13 hours = 2 } 
						}
						else_if = {
							limit = {
								original_tag = NOR
								is_subject = yes
								is_ai = no
								OVERLORD = { is_ai = yes }
							}
							controller = { country_event = { id = AAT_Sweden.13 hours = 2 } } 
						}
						else_if = {
							limit = {
								is_subject = yes
								OVERLORD = { is_ai = no }
							}
							OVERLORD = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
						else = {
							controller = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
					}
				}
			}

			if = {
				limit = {
					 924 = { 
					 	controller = {
					 		NOT = { 
					 			controls_state = 144
					 			original_tag = SWE
					 		}
					 	}
					 }
				}

				924 = { 
					controller = {
						if = {
							limit = { 
								original_tag = NOR 
								is_subject = no
							}
							NOR = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
						else_if = {
							limit = {
								original_tag = NOR
								is_subject = yes
								is_ai = no
								OVERLORD = { is_ai = yes }
							}
							NOR = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
						else_if = {
							limit = {
								is_subject = yes
								OVERLORD = { is_ai = no }
							}
							OVERLORD = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
						else = {
							controller = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
					}
				}
			}

			if = {
				limit = {
					 925 = { 
					 	controller = {
					 		NOT = { 
					 			OR = {
					 				controls_state = 144
					 				controls_state = 924
					 			}
					 			original_tag = SWE
					 		}
					 	}
					 }
				}
				925 = { 
					controller = {
						if = {
							limit = { 
								original_tag = NOR 
								is_subject = no
							}
							NOR = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
						else_if = {
							limit = {
								original_tag = NOR
								is_subject = yes
								is_ai = no
								OVERLORD = { is_ai = yes }
							}
							NOR = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
						else_if = {
							limit = {
								is_subject = yes
								OVERLORD = { is_ai = no }
							}
							OVERLORD = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
						else = {
							controller = { country_event = { id = AAT_Sweden.13 hours = 2 } }
						}
					}
				}
			}


							

			custom_effect_tooltip = if_they_accept
			effect_tooltip = {
				ROOT = {
					transfer_state = 144
					144 = {
						set_demilitarized_zone = yes
						add_compliance = 70
					}

					transfer_state = 924
					924 = {
						set_demilitarized_zone = yes
						add_compliance = 70
					}

					transfer_state = 925
					925 = {
						set_demilitarized_zone = yes
						add_compliance = 70
					}
				}
			}
		}
	}

	focus = {
		id = SWE_finlands_cause_is_ours
		icon = GFX_focus_EST_national_pride_in_finland 
		x = 4
		y = 0

		cost = 5
		prerequisite = { focus = SWE_continue_the_second_industrial_revolution focus = SWE_the_old_enemy_stirs }
		relative_position_id = SWE_swedes_not_sweden_to_finlands_aid
		mutually_exclusive = { focus = SWE_swedes_not_sweden_to_finlands_aid focus = SWE_the_aland_question }

		ai_will_do = {
			factor = 10		
		}

		available = {
			NOT = { has_war_with = FIN }
			is_subject = no
		}

		bypass = {
		}

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

		completion_reward = {
			unlock_decision_tooltip = {
				decision = SWE_gateway_to_peace_decision
				show_effect_tooltip = yes # default is no
				show_modifiers = yes # default is no
			}			
			#declare_war_on = {
			#	target = SOV
			#	type = liberate_wargoal
			#}
			#add_ideas = SWE_gateway_to_peace
			#add_timed_idea = { idea = SWE_with_finland_for_sweden days = 180  }
			#FIN = { 
			#	add_timed_idea = { idea = SWE_with_finland_for_sweden_fin days = 180 }
		#		add_ideas = SWE_gateway_to_peace
			#}

			#give_military_access = FIN
			#FIN = { give_military_access = ROOT }
		}
	}

 	focus = {
		id = SWE_the_nordic_defense_council
		icon = GFX_focus_SWE_the_nordic_defense_council 
		x = -5
		y = 2
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_the_old_enemy_stirs }
		relative_position_id = SWE_the_old_enemy_stirs
		mutually_exclusive = { focus = SWE_prevent_a_red_dictatorship }

		ai_will_do = {
			factor = 10		
		}

		available = {
			is_subject = no
			if = {
				limit = {
					is_ai = no
				}
				has_war_support > 0.24
				has_stability > 0.6
			}
			else = {
				has_war_support > 0.1
				has_stability > 0.6
			}

			has_government = democratic
			OR = {
				FIN = {
					has_capitulated = no
					is_subject = no
					has_war = no
					NOT = { FIN_is_lone_wolf_finland = yes }
				}

				NOR = {
					has_capitulated = no
					is_subject = no
					has_war = no
				}

				ICE = {
					has_capitulated = no
					has_war = no
					OR = {
						is_subject = no
						is_subject_of = DEN
					}
				}

				DEN = {
					has_capitulated = no
					is_subject = no
					has_war = no	
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			mio:SWE_saab_organization = {
				add_mio_funds = 600
			}

			mio:SWE_landsverk_organization = {
				add_mio_funds = 600
			}

			mio:SWE_gotaverken_organization = {
				add_mio_funds = 600
			}

			mio:SWE_husqvarna_organization = {
				add_mio_funds = 600
			}

			mio:SWE_bofors_organization = {
				add_mio_funds = 600
			}

			mio:SWE_volvo_organization = {
				add_mio_funds = 600
			}

			mio:SWE_scania_vabis_organization = {
				add_mio_funds = 600
			}
			hidden_effect = {
				add_opinion_modifier = {
					target = NOR
					modifier = DEN_deepening_partnership
				}
			}
            NOR = {
                add_opinion_modifier = {
                    target = SWE
                    modifier = DEN_deepening_partnership
                }
            }

            hidden_effect = {
	            add_opinion_modifier = {
	                target = DEN
	                modifier = DEN_deepening_partnership
	            }
            }
            DEN = {
                add_opinion_modifier = {
                    target = SWE
                    modifier = DEN_deepening_partnership
                }
            }

            hidden_effect = {
	            add_opinion_modifier = {
	                target = FIN
	                modifier = DEN_deepening_partnership
	            }
            }
            FIN = {
                add_opinion_modifier = {
                    target = SWE
                    modifier = DEN_deepening_partnership
                }
            }
            hidden_effect = {
	            add_opinion_modifier = {
	                target = ICE
	                modifier = DEN_deepening_partnership
	            }
            }
            ICE = {
                add_opinion_modifier = {
                    target = SWE
                    modifier = DEN_deepening_partnership
                }
            }
		}
	}

 	focus = {
		id = SWE_central_nordic_army_command
		icon = GFX_focus_SWE_the_nordic_centralized_nordic_army_command
		x = -3
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_the_nordic_defense_council }
		relative_position_id = SWE_the_nordic_defense_council
		mutually_exclusive = { focus = SWE_decentralized_nordic_army_command }

		ai_will_do = {
			factor = 10		
		}

		available = {
			num_of_controlled_factories > 29
			is_subject = no
		}

		bypass = {

		}

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

		completion_reward = {
			set_rule = { can_create_factions = yes }
			set_cosmetic_tag = SWE_nordic_defense_council
			retire_country_leader = yes
			promote_character = {
				character = SWE_nordic_defense_council_leader 
			}
			if = {
				limit = {
					NOR = {
						is_subject = no
					}
				}
				NOR = { country_event = { id = AAT_Sweden_nordic_defense_council.1 hours = 3 } }
			}


			if = {
				limit = {
					FIN = {
						is_subject = no
					}
				}
				if = {
					limit = {
						FIN = { has_idea = FIN_the_lone_wolf }
					}
					custom_effect_tooltip = FIN_the_lone_wolf_no_faction_tt
				}
				else = {
					FIN = { country_event = { id = AAT_Sweden_nordic_defense_council.1 hours = 3 } }
				}
			}


			if = {
				limit = {
					DEN = {
						is_subject = no
					}
				}
				DEN = { country_event = { id = AAT_Sweden_nordic_defense_council.1 hours = 3 } }
			}

			if = {
				limit = {
					ICE = {
						is_subject = no
					}
				}
				ICE = { country_event = { id = AAT_Sweden_nordic_defense_council.1 hours = 3 } }

			}


			#unlock_decision_category_tooltip = SWE_coax_nordic_defense_council_cat
			hidden_effect = {
				if = {
					limit = {
						has_idea = neutrality_idea
					}
					remove_ideas = neutrality_idea
				}
			}
			
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members

				if = {
					limit = { 
						has_capitulated = no 
						is_subject_of = ROOT
					}
					add_ideas = SWE_nordic_centralized_army
				}
			}

			#custom_effect_tooltip = SWE_central_nordic_army_command_tt
			show_ideas_tooltip = SWE_nordic_centralized_army
			custom_effect_tooltip = SWE_central_nordic_army_command_tt_2
		}
	}

	focus = {
		id = SWE_nordic_defense_fleet
		icon = GFX_focus_generic_navy_battleship2 
		x = 3
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_central_nordic_army_command }
		relative_position_id = SWE_central_nordic_army_command
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members
				if = {
					limit = { 
						has_capitulated = no 
						is_subject_of = ROOT
					}
					transfer_navy = {
						target = ROOT
					}
				}
			}

			custom_effect_tooltip = SWE_nordic_defense_fleet_tt
		}
	}

 	focus = {
		id = SWE_nordljus
		icon = GFX_goal_generic_navy_battleship 
		x = 1
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 20
		prerequisite = { focus = SWE_nordic_defense_fleet }
		relative_position_id = SWE_nordic_defense_fleet
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			is_special_project_completed = sp:sp_naval_super_heavy_battleship

			#if = {
				#limit = { has_dlc = "Man the Guns" }
				#has_tech = ship_hull_super_heavy
			#}
			#else = {
				#has_tech = heavy_battleship
			#}

			FIN = {
				is_subject_of = ROOT
				exists = yes
				has_capitulated = no
			}


			NOR = {
				is_subject_of = ROOT
				exists = yes
				has_capitulated = no
			}


			DEN = {
				is_subject_of = ROOT
				exists = yes
				has_capitulated = no
			}


			ICE = {
				is_subject_of = ROOT
				exists = yes
				has_capitulated = no
			}
		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = {
					has_dlc ="Man the Guns"
				}

				create_equipment_variant = {
					name = "Nordljus"
					type = ship_hull_super_heavy_1
					parent_version = 0
					modules = {
						fixed_ship_anti_air_slot=ship_anti_air_2
						fixed_ship_radar_slot=ship_radar_2
						fixed_ship_engine_slot=heavy_ship_engine_2
						fixed_ship_secondaries_slot=ship_secondaries_2
						fixed_ship_armor_slot=ship_armor_shbb
						front_1_custom_slot=ship_super_heavy_battery_1
						rear_1_custom_slot=ship_anti_air_2
						fixed_ship_battery_slot=ship_super_heavy_battery_1
						fixed_ship_fire_control_system_slot=ship_fire_control_system_2
						rear_2_custom_slot=ship_super_heavy_battery_1
						front_2_custom_slot=ship_super_heavy_battery_1
					}
				}

				add_equipment_production = {
					equipment = {
						type = ship_hull_super_heavy_1
						creator = SWE
						version_name = "Nordljus"
					}
					requested_factories = 5
					progress = 0.6 
				}
			}

			else = {

				add_equipment_production = {
					equipment = {
						type = SH_battleship_1
						creator = "SWE"
						version_name = "Nordljus" 
					}
					requested_factories = 1
					progress = 0.60
					amount = 1
				}
			}
			custom_effect_tooltip = SWE_nordljus_tt_2

			add_timed_idea = {
				idea = SWE_economic_strain
				days = 365
			}

			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members
				if = {
					limit = { 
						has_capitulated = no 
						is_subject_of = ROOT
					}

					add_timed_idea = {
						idea = SWE_economic_strain
						days = 365
					}

				}
			}

			custom_effect_tooltip = SWE_nordljus_tt
			effect_tooltip = {
				add_timed_idea = {
					idea = SWE_economic_strain
					days = 365
				}
			}
		}
	}

	focus = {
		id = SWE_nordic_centralized_air_command
		icon = GFX_focus_usa_escort_fighters 
		x = 1
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_central_nordic_army_command }
		relative_position_id = SWE_central_nordic_army_command
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members

				if = {
					limit = { 
						has_capitulated = no 
						is_subject_of = ROOT
						NOT = { original_tag = SWE }
					}
					transfer_units_fraction = {
						target = ROOT         # the recipient
						size = 1             # [0,1] Default value for the ratio below if they are not specified
						stockpile_ratio = 1  # [0,1] Overrides size modifier for the stockpiled equipment and fuel
						army_ratio = 0       # [0,1] Overrides size modifier for army
						navy_ratio = 0      # [0,1] Overrides size modifier for navy
						air_ratio = 1        # [0,1] Overrides size modifier for air
					}
				}
			}
			custom_effect_tooltip = SWE_nordic_centralized_air_command_tt
		}
	}

	
	focus = {
		id = SWE_centralized_military_aid
		icon = GFX_goal_generic_construct_mil_factory 
		x = -2
		y = 2
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_central_nordic_army_command }
		relative_position_id = SWE_central_nordic_army_command
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_centralized_military_aid_tt
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members

				if = {
					limit = { 
						has_capitulated = no 
					}
					random_core_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes
						}
					}
				}
			}

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

	focus = {
		id = SWE_merge_army_complexes
		icon = GFX_focus_generic_annex_country 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_centralized_military_aid }
		relative_position_id = SWE_centralized_military_aid
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_merge_army_complexes_tt
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members

				if = {
					limit = { 
						has_capitulated = no 
					}
					random_core_state = {
						limit = {  
							is_fully_controlled_by = PREV
							arms_factory > 0

						}
						remove_building = {
							type = arms_factory 
							level = 1
						}
					}

					ROOT = {		
						random_core_state = {
							limit = {  
								is_fully_controlled_by = THIS
								free_building_slots = {
									building = arms_factory
									size > 0
									include_locked = yes
								}
							}
							add_building_construction = {
								type = arms_factory
								level = 1
								instant_build = yes
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = SWE_cement_control_of_the_baltic
		icon = GFX_focus_SWE_the_narvik_solution 
		x = -1
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_nordic_defense_fleet }
		relative_position_id = SWE_nordic_defense_fleet
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {

			910 = {
				if = {
					limit = {
						controller = {
							has_full_control_of_state = PREV
							has_autonomy_state = autonomy_aat_defense_council_member
						}
					}

					set_state_owner_to = ROOT
					set_compliance = 100
				}

				if = {
					limit = {
						controller = {
							has_full_control_of_state = PREV
						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 3
						instant_build = yes
						province = 6361
					}

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

			145 = {
				if = {
					limit = {
						controller = {
							has_full_control_of_state = PREV
							has_autonomy_state = autonomy_aat_defense_council_member
						}
					}

					set_state_owner_to = ROOT
					set_compliance = 100
				}

				if = {
					limit = {
						controller = {
							has_full_control_of_state = PREV
						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 3
						instant_build = yes
						province = 9228
					}

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

			124 = {
				if = {
					limit = {

						controller = {
							original_tag = SWE
							has_full_control_of_state = PREV
						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 3
						instant_build = yes
						province = 408
					}

					add_building_construction = {
						type = coastal_bunker
						level = 3
						instant_build = yes
						province = 6258
					}

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


	focus = {
		id = SWE_decentralized_nordic_army_command
		icon = GFX_focus_SWE_the_nordic_decentralized_nordic_army_command 
		x = 3
		y = 1
		cost = 10
		prerequisite = { focus = SWE_the_nordic_defense_council }
		mutually_exclusive = { focus = SWE_central_nordic_army_command }
		relative_position_id = SWE_the_nordic_defense_council
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			num_of_factories > 35
			NOT = { NORDIC_alliance_created_already = yes }
			any_other_country = {
				NORDIC_is_nordic = yes 
				exists = yes 
				has_capitulated = no 
				is_in_faction = no 
			}
			is_subject = no
		}

		bypass = {

		}

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

		completion_reward = {
			
			IF = {
				limit = {
					has_dlc = "No Compromise, No Surrender"
				}
				set_rule = { can_create_factions = yes }
				create_faction_from_template = faction_template_SWE_the_nordic_defense_council
				add_faction_initiative = 1
			}
			ELSE = {
				set_rule = { can_create_factions = yes }
				create_faction = SWE_the_nordic_defense_council
			}

			complete_national_focus = NORDIC_form_joint_alliance
			every_other_country = {
				limit = {
					NORDIC_is_nordic = yes 
					is_subject = no
					IF= {
						limit = { SWE = { NORDIC_is_democratic = yes }}
						NORDIC_is_democratic = yes
					}
					ELSE_IF= {
						limit = { SWE = { NORDIC_is_monarchist = yes }}
						NORDIC_is_monarchist = yes
					}
					ELSE_IF= {
						limit = { SWE = { NORDIC_is_fascist = yes }}
						NORDIC_is_fascist = yes
					}
					ELSE_IF= {
						limit = { SWE = { NORDIC_is_communist = yes }}
						NORDIC_is_communist = yes
					}
				}
				country_event = { id = AAT_Sweden_nordic_defense_council.1 hours = 3 } 
				 
			}
		}
	}

	focus = {
		id = SWE_nordic_protection_complex
		icon = GFX_focus_generic_little_entente 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_merge_army_complexes }
		relative_position_id = SWE_merge_army_complexes
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_nordic_protection_complex_tt
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members

				if = {
					limit = { 
						has_capitulated = no 
					}
					random_core_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}

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

			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members
				if = {
					limit = {
						has_idea = SWE_nordic_centralized_army
					}
					remove_ideas = SWE_nordic_centralized_army
				}

				if = {
					limit = { 
						has_capitulated = no
					}
					if = {
						limit = {
							NOT = { original_tag = SWE }
						}
						add_ideas = SWE_nordic_protection_complex_idea
					}

					if = {
						limit = {
							OR = {
								has_idea = volunteer_only
								has_idea = limited_conscription
								has_idea = disarmed_nation 
							}
						}

						add_ideas = extensive_conscription
					}
				}
			}
			custom_effect_tooltip = SWE_decentralized_nordic_army_command_tt
			show_ideas_tooltip = SWE_nordic_protection_complex_idea

			custom_effect_tooltip = SWE_decentralized_nordic_army_command_tt_2
			effect_tooltip = {
				remove_ideas = SWE_nordic_centralized_army
			}

		}
	}


	focus = {
		id = SWE_decentralized_nordic_volunteer_group
		icon = GFX_focus_generic_manpower 
		x = -1
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_central_nordic_army_command }
		relative_position_id = SWE_central_nordic_army_command
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members

				if = {
					limit = { 
						has_capitulated = no 
						is_subject_of = ROOT
					}
					add_manpower = 5000 
					ROOT = { add_manpower = 5000 }
				}
			}

			custom_effect_tooltip = SWE_decentralized_nordic_volunteer_group_tt
		}
	}

	focus = {
		id = SWE_neither_death_nor_dishonor
		icon = GFX_focus_SWE_neither_death_nor_dishonor
		x = 1
		y = 5
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_decentralized_nordic_volunteer_group }
		prerequisite = { focus = SWE_nordic_centralized_air_command }
		prerequisite = { focus = SWE_nordic_defense_fleet }
		relative_position_id = SWE_central_nordic_army_command
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			set_variable = { SWE_nordic_defense_council_military_core_defense_factor = 0 }
	  		set_variable = { SWE_nordic_defense_council_military_core_attack_factor = 0 } 
	  		set_variable = { SWE_nordic_defense_council_factory_capacity_factor = 0 }
	  		set_variable = { SWE_nordic_defense_council_dockyard_capacity_factor = 0 }

			if = {
				limit = {
					has_dynamic_modifier = { modifier = SWE_nordic_defense_council_military_overhead }
				}
				remove_dynamic_modifier = {
					modifier = SWE_nordic_defense_council_military_overhead
				}
			}

			add_to_array = { SWE_nordic_defense_council_members = THIS }

			effect_tooltip = {
				add_dynamic_modifier = {
					modifier = SWE_neither_death_nor_dishonor
				}
			}
	  		custom_effect_tooltip = SWE_neither_death_nor_dishonor_tt
			for_each_scope_loop = {
				array = SWE_nordic_defense_council_members
				ROOT = {
					set_variable = { council_member_value = 0.04 }
					multiply_variable = { council_member_value = SWE_nordic_defense_council_members^num }
				}
			}


			hidden_effect = {
				for_each_scope_loop = {
					array = SWE_nordic_defense_council_members

	  				set_variable = { SWE_nordic_defense_council_military_core_defense_factor = ROOT.council_member_value }
	  				set_variable = { SWE_nordic_defense_council_military_core_attack_factor = ROOT.council_member_value }
	  				set_variable = { SWE_nordic_defense_council_factory_capacity_factor = ROOT.council_member_value }
	  				set_variable = { SWE_nordic_defense_council_dockyard_capacity_factor = ROOT.council_member_value }
					

					add_dynamic_modifier = {
						modifier = SWE_neither_death_nor_dishonor
					}
				}
			}

			#every_other_country = {
			#	limit = {
			#		OR = {
			#			original_tag = DEN
			#			original_tag = FIN
			#			original_tag = ICE
			#			original_tag = NOR
			#		}
			#		has_capitulated = no
			#		is_in_faction_with = ROOT
			#		NOT = { has_autonomy_state = autonomy_aat_defense_council_member }
			#	}
			#	add_to_variable = { SWE_nordic_defense_council_military_core_defense_factor = 0.04 }
	  		#	add_to_variable = { SWE_nordic_defense_council_military_core_attack_factor = 0.04 } 
	  		#	add_to_variable = { SWE_nordic_defense_council_factory_capacity_factor = 0.03 }
	  		#	add_to_variable = { SWE_nordic_defense_council_dockyard_capacity_factor = 0.03 }
			#}
			#custom_effect_tooltip = SWE_decentralized_nordic_army_command_tt
			#show_ideas_tooltip = SWE_nordic_protection_complex
		}
	}


	focus = {
		id = SWE_varnplikt
		icon = GFX_focus_SWE_varnplikt 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_winter_drill }
		relative_position_id = SWE_winter_drill
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			#has_government = democratic
		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = { SWE_varnplikt }
		}
	}

	focus = {
		id = SWE_rationing
		icon = GFX_focus_SWE_rations
		x = 2
		y = 1

		cost = 5
		prerequisite = { focus = SWE_varnplikt }
		relative_position_id = SWE_varnplikt
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

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

		completion_reward = {
			unlock_decision_tooltip = {
			 	decision = SWE_swap_herman_eriksson
			 	show_effect_tooltip = yes # default is no
			 	show_modifiers = no # default is no
			}
			custom_effect_tooltip = SWE_rationing_tt
			effect_tooltip = {
				unlock_decision_tooltip = SWE_gengas
				set_variable = { SWE_rationing_fuel_gain = 0.3 tooltip = base_fuel_gain_factor_tt }

				unlock_decision_tooltip = SWE_food_stamps
				set_variable = { SWE_rationing_war_stability_factor = 0.05 tooltip = war_stability_factor_tt }
				unlock_decision_tooltip = SWE_air_raid_shelters
				set_variable = { SWE_rationing_bombing_war_support = 0.0003 tooltip = weekly_bombing_war_support_tt }
				unlock_decision_tooltip = SWE_seize_civilian_tires
				141 = {
					add_resource = {
						type = rubber
						amount = 8
					}
				}
			}
			
			
			
			
		}
	}

	focus = {
		id = SWE_per_albin_bus
		icon = GFX_focus_SWE_per_albin_bus 
		x = -2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_varnplikt }
		relative_position_id = SWE_varnplikt
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			141 = { is_fully_controlled_by = ROOT }
		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_per_albin_bus_tt 
			division_template = {
				name = "Mobile Headquarter"
				regiments = {
					bus = { x = 0 y = 0 }
				}
				is_locked = yes
				override_model = SWE_bus_vehicle_entity
			}

			capital_scope = {
				create_unit = {
			    	division = "name = \"Mobile Headquarter\" division_template = \"Mobile Headquarter\" start_equipment_factor = 1 start_experience_factor = 1 "
		 	   		owner = SWE
				}
			}
			add_ideas = { SWE_per_albin_bus_idea }
			
		}
	}

	focus = {
		id = SWE_land_air_warfare
		icon = GFX_goal_generic_CAS 
		x = 2
		y = 1
		mutually_exclusive = {focus = SWE_defense_in_depth}
		cost = 10
		prerequisite = { focus = SWE_as_the_barometer_falls }
		relative_position_id = SWE_as_the_barometer_falls
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_land_air_warfare_0 
			army_experience = 25
			air_experience = 25
		}
	}

	focus = {
		id = SWE_defense_in_depth
		icon = GFX_focus_prc_infiltration 
		x = -2
		y = 1
		mutually_exclusive = { focus = SWE_land_air_warfare }
		cost = 10
		prerequisite = { focus = SWE_as_the_barometer_falls }
		relative_position_id = SWE_as_the_barometer_falls
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_defense_in_depth_0
			every_army_leader = {
				add_defense = 1
			}
			mio:SWE_bofors_organization = {
				add_mio_funds = 200

				unlock_mio_trait_tooltip  = {
					trait = SWE_mio_trait_defense_in_depth
				}
			}
		}	
	}

	focus = {
		id = SWE_ga_pa_tactics
		icon = GFX_goal_generic_army_tanks 
		x = 2
		y = 1
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 5
		prerequisite = { focus = SWE_defense_in_depth focus = SWE_land_air_warfare }
		relative_position_id = SWE_defense_in_depth
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			NOT = { has_completed_focus = SWE_prevent_a_red_dictatorship }
		}

		bypass = {

		}

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

		completion_reward = {
		 	add_ideas = SWE_ga_pa_tactics 
		}


	}

	focus = {
		id = SWE_hedgehog_defense
		icon = GFX_focus_SWE_hedgehog_defense 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_defense_in_depth }
		relative_position_id = SWE_defense_in_depth
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			swap_ideas = {
			 	remove_idea = SWE_defense_in_depth_0
			 	add_idea = SWE_defense_in_depth_1
			 }
		}
	}

	focus = {
		id = SWE_beneath_sticks_and_stones
		icon = GFX_focus_SWE_beneath_sticks_and_stone 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_hedgehog_defense }
		relative_position_id = SWE_hedgehog_defense
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		}

		bypass = {

		}

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

		completion_reward = {
			swap_ideas = {
			 	remove_idea = SWE_defense_in_depth_1
			 	add_idea = SWE_defense_in_depth_2
			 }
		}
	}


	focus = {
		id = SWE_per_albin_line
		icon = GFX_goal_generic_fortify_city 
		x = 2
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 5
		prerequisite = { focus = SWE_hedgehog_defense focus = SWE_rapid_response_force }
		relative_position_id = SWE_hedgehog_defense
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			if = {	
				limit = {
					138 = {
						is_fully_controlled_by = ROOT
					}
				}
				138 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							id = 6345

						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = {
							id = 9279
							
						}
					}

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

			if = {
				limit = {
					140 = {
						is_fully_controlled_by = ROOT
					}
				}

				140 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							id = 3063
						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 1
						instant_build = yes
						province = {
							id = 383
						}
					}
				}
			}

			if = {
				limit = {
					919 = {
						is_fully_controlled_by = ROOT
					}
				}

				919 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							id = 69
						}
					}
				}
			}

			if = {
				limit = {
					913 = {
						is_fully_controlled_by = ROOT
					}
				}
				913 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							id = 9393
							id = 11380
							id = 6311
						}
					}
				}
			}
			if = {
				limit = {
					141 = {
						is_fully_controlled_by = ROOT
					}
				}
				141 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							id = 6050
						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = {
							id = 6050
						}
					}
				}
			}

			if = {
				limit = {
					124 = {
						is_fully_controlled_by = ROOT
					}
				}
				124 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = {
							id = 6050
						}
					}

					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = {
							id = 408
							id = 6258
						}
					}

					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = {
							id = 6258
						}
					}
				}
			}

			custom_effect_tooltip = SWE_per_albin_line_tt
		}
	}

	focus = {
		id = SWE_rapid_response_force
		icon = GFX_focus_SWE_rapid_defense_force 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_land_air_warfare }
		relative_position_id = SWE_land_air_warfare
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			swap_ideas = {
				remove_idea = SWE_land_air_warfare_0
				add_idea = SWE_land_air_warfare_1
			}
			add_tech_bonus = {
				name = SWE_rapid_response_force
				bonus = 0.75
				uses = 2
				category = support_tech # optional 
				# technology  = technology_id # optional
			}
		}
	}

	focus = {
		id = SWE_tank_development
		icon = GFX_focus_generic_tank_production 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_rapid_response_force }
		relative_position_id = SWE_rapid_response_force
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			swap_ideas = {
				remove_idea = SWE_land_air_warfare_1
				add_idea = SWE_land_air_warfare_2
			}
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = armor # optional 
				# technology  = technology_id # optional
			}
		}
	}

	focus = {
		id = SWE_end_the_fubkrieg
		icon = GFX_goal_generic_position_armies  
		x = 2
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 5
		prerequisite = { focus = SWE_beneath_sticks_and_stones focus = SWE_tank_development }
		relative_position_id = SWE_beneath_sticks_and_stones
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP }

		completion_reward = {

			army_experience  = 35
			air_experience = 35
			navy_experience = 35

			add_doctrine_cost_reduction = {
				name = SWE_end_the_fubkrieg
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine # optional 
				# tecnology  = technology_id # optional
			}
			add_doctrine_cost_reduction = {
				name = SWE_end_the_fubkrieg
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine # optional 
				# tecnology  = technology_id # optional
			}

			add_doctrine_cost_reduction = {
				name = SWE_end_the_fubkrieg
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine # optional 
				# tecnology  = technology_id # optional
			}
		}
	}

	focus = {
		id = SWE_mobilization_of_society
		icon = GFX_focus_SOV_organize_wreckers 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 1
		prerequisite = { focus = SWE_beneath_sticks_and_stones }
		relative_position_id = SWE_beneath_sticks_and_stones
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_timed_idea = { idea = SWE_mobilization_of_society days = 180 }
		}
	}


	focus = {
		id = SWE_let_fly_all_guns
		icon = GFX_focus_SWE_let_fly_all_guns 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_tank_development }
		relative_position_id = SWE_tank_development
		

		ai_will_do = {
			factor = 10		
		}

		available = {
		 	NOT = { 
		 		has_idea = SWE_severe_lack_of_ammunition 
		 	}
		}

		bypass = {

		}

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

		completion_reward = {
			swap_ideas = {
				remove_idea = SWE_land_air_warfare_2
				add_idea = SWE_let_fly_all_guns_idea
			}

#			mio:SWE_bofors_organization = {
#				add_mio_funds = 200
#
#				unlock_mio_trait_tooltip  = {
#					department = SWE_mio_department_design_artillery
#					trait = SWE_let_fly_all_guns
#				}
#			}
		}
	}

	focus = {
		id = SWE_totalforsvar
		icon = GFX_goal_generic_military_sphere 
		x = 4
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_varnplikt }
		relative_position_id = SWE_varnplikt
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			democratic > 0.75
		}

		bypass = {

		}

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

		completion_reward = {
			if = {
				limit = {
					has_idea = war_economy 
				}
				add_ideas = tot_economic_mobilisation
				activate_decision = women_in_the_workforce
			}
			else_if = {
				limit = {
					has_idea = tot_economic_mobilisation
				}
				add_manpower = 30000
			}
			else = {
				add_ideas = war_economy
			}

			custom_effect_tooltip = SWE_totalforsvar_tt

		}
	}

	focus = {
		id = SWE_hemvarnet
		icon = GFX_focus_SOV_penal_battalions 
		x = -8
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_totalforsvar }
		relative_position_id = SWE_totalforsvar
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_hemvarnet_tt
			unlock_decision_tooltip = SWE_set_up_home_guard_forces
			unlock_decision_tooltip = SWE_activate_home_guard
			division_template = {
				name = "Hemvärn"
				is_locked = yes
				priority = 1
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
				}
			}
		}
	}


	focus = {
		id = SWE_swedish_shooting_movement
		icon = GFX_focus_focus_fra_maquis 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_hemvarnet }
		relative_position_id = SWE_hemvarnet
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_swedish_shooting_movement_tt
			hidden_effect = {
				every_core_state = {
					while_loop_effect = {
						limit = { check_variable = { SWE_shooting_movement_var > 0 } }
						ROOT = {
							add_equipment_to_stockpile = { 
								type = infantry_equipment_0
								amount = 100 
								producer = SWE
							}
							add_manpower = 400
						}

						subtract_from_variable = { SWE_shooting_movement_var = 1 }
					}
				}
			}
		}
	}

	focus = {
		id = SWE_lottakaren
		icon = GFX_focus_SWE_lottakoren 
		x = -6
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 5
		prerequisite = { focus = SWE_totalforsvar }
		relative_position_id = SWE_totalforsvar
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_lottakoren_idea
		}
	}

	focus = {
		id =  SWE_rapid_mobilization
		icon = GFX_focus_SOV_mobilization_plan 
		x = -4
		y = 1
		mutually_exclusive = {focus = SWE_secret_mobilization}
		cost = 10
		prerequisite = { focus = SWE_totalforsvar }
		relative_position_id = SWE_totalforsvar
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_rapid_mobilization_tt
			add_timed_idea = { idea = SWE_rapid_mobilization_idea days = 200 }
			
		}
	}

	focus = {
		id = SWE_operation_save_denmark
		icon = GFX_focus_generic_attack_denmark
		x = -1
		y = 3
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 5
		prerequisite = { focus = SWE_totalforsvar }
		relative_position_id = SWE_totalforsvar
		

		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}	
		}

		available = {
			DEN = {
				OR = {
					is_subject = yes
					has_capitulated = yes
					exists = no
					has_war = yes
					has_government = fascism
				}
			}
		}

		bypass = {
			OR = {
				hidden_trigger = {
					is_ai = yes
					is_historical_focus_on = yes
				}
				is_subject = yes
			}
		}

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

		completion_reward = {
			if = {
				limit = {
					DEN = { is_subject = yes }
				}

				DEN = {
					OVERLORD = { 
						SWE = {  
							declare_war_on = {
								target = PREV
								type = liberate_wargoal
							}
						}
					}
				}
			}
			else_if = {
				limit = {
					DEN = {
						has_government = fascism
					}
				}
				if = {
					limit = {
						DEN = { is_in_faction = yes }
					}
					DEN = {
						faction_leader = {
							SWE = {
								declare_war_on = {
									target = PREV
									type = liberate_wargoal
								}
							}
						}
					}
				}
				else = {
					declare_war_on = {
						target = DEN
						type = liberate_wargoal
					}
				}
				
			}
			else_if = {
				limit = {
					DEN = {
						has_capitulated = no
						exists = yes
						has_war = yes
						is_subject = no
						NOT = { has_government = fascism }
					}
				}

				DEN = {
					every_enemy_country = {
						SWE = {
							declare_war_on = {
								target = PREV
								type = liberate_wargoal
							}
						}
					}
				}
			}
			else = {
				every_state = {
					limit = {
						is_core_of = DEN
						NOT = { is_controlled_by = DEN }
					}

					controller = { 
						SWE = {  
							declare_war_on = {
								target = PREV
								type = liberate_wargoal
							}
						} 

					}
				}
			}

			add_timed_idea = { idea = SWE_save_denmark days = 70 }
		}
	}


	focus = {
		id = SWE_operation_save_norway
		icon = GFX_focus_generic_attack_norway 
		x = 1
		y = 3
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 5
		prerequisite = { focus = SWE_totalforsvar }
		relative_position_id = SWE_totalforsvar
		

		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}	
		}

		available = {

			NOR = {
				OR = {
					is_subject = yes
					has_capitulated = yes
					exists = no
					has_war = yes
					has_government = fascism
				}
			}
		}

		bypass = {
			OR = {
				hidden_trigger = {
					is_ai = yes
					is_historical_focus_on = yes
				}
				is_subject = yes
			}
		}

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

		completion_reward = {
			if = {
				limit = {
					NOR = { is_subject = yes }
				}

				NOR = {
					OVERLORD = { 
						SWE = {  
							declare_war_on = {
								target = PREV
								type = liberate_wargoal
							}
						}
					}
				}
			}
			else_if = {
				limit = {
					NOR = {
						has_government = fascism
					}
				}
				if = {
					limit = {
						NOR = { is_in_faction = yes }
					}
					NOR = {
						faction_leader = {
							SWE = {
								declare_war_on = {
									target = PREV
									type = liberate_wargoal
								}
							}
						}
					}
				}
				else = {
					declare_war_on = {
						target = NOR
						type = liberate_wargoal
					}
				}
				
			}
			else_if = {
				limit = {
					NOR = {
						has_capitulated = no
						exists = yes
						has_war = yes
						is_subject = no
						NOT = { has_government = fascism }
					}
				}

				NOR = {
					every_enemy_country = {
						SWE = {
							declare_war_on = {
								target = PREV
								type = liberate_wargoal
							}
						}
					}
				}
			}
			else = {
				every_state = {
					limit = {
						is_core_of = NOR
						NOT = { is_controlled_by = NOR }
					}

					controller = { 
						SWE = {  
							declare_war_on = {
								target = PREV
								type = liberate_wargoal
							}
						} 

					}
				}
			}

			add_timed_idea = { idea = SWE_save_norway days = 70 }
		}
	}

	focus = {
		id = SWE_secret_mobilization
		icon = GFX_focus_secret_rearmament
		x = -2
		y = 1
		mutually_exclusive = {focus = SWE_rapid_mobilization}
		cost = 10
		prerequisite = { focus = SWE_totalforsvar }
		relative_position_id = SWE_totalforsvar
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_timed_idea = {
				idea = SWE_secret_mobilization
				days = 913
			}
		}
	}

	focus = {
		id = SWE_jagartrupper
		icon = GFX_focus_ITA_banda_carita 
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_land_air_warfare}
		cost = 10
		prerequisite = { focus = SWE_varnplikt }
		relative_position_id = SWE_varnplikt
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			unlock_decision_tooltip = SWE_rangers_sabotage
			custom_effect_tooltip = SWE_jagartrupper_tt
			every_army_leader = {
				random_select_amount = 4
				limit = {
					NOT = {
						OR = {
							has_trait = winter_expert
							has_trait = desert_fox
							has_trait = swamp_fox
							has_trait = trait_mountaineer
							has_trait = hill_fighter
							has_trait = jungle_rat
							has_trait = ranger
							has_trait = urban_assault_specialist
							has_trait = adaptable
						}
					}
				}

				add_trait = {
					trait = ranger
				}
			}
		}
	}


	focus = {
		id = SWE_prevent_a_red_dictatorship
		icon = GFX_goal_support_fascism
		x = 5
		y = 2
		#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
		cost = 10
		prerequisite = { focus = SWE_the_old_enemy_stirs }
		relative_position_id = SWE_the_old_enemy_stirs
		mutually_exclusive = { focus = SWE_the_nordic_defense_council }

		ai_will_do = {
			factor = 10
			modifier = {
				has_game_rule = {
					rule = SWE_AI_BEHAVIOR
					option = SWE_DEMOCRATIC_NORDIC_DEFENCE_COUNCIL
				}
				factor = 0
			}
		}

		available = {
			OR = {
				OR = {
					fascism > 0.2
					neutrality > 0.2
				}
				AND = {
					fascism > 0.1
					neutrality > 0.1
				}
			}
		}

		bypass = {

		}

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

		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_war_support = 0.1
			add_stability = -0.05
		}
	}

	focus = {
		id = SWE_undermine_the_fascists
		icon = GFX_focus_SWE_undermine_fascism 
		x = -2
		y = 1
		mutually_exclusive = {focus = SWE_revoke_anti_militia_laws}
		cost = 5
		prerequisite = { focus = SWE_prevent_a_red_dictatorship }
		relative_position_id = SWE_prevent_a_red_dictatorship
		

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_country_flag = SWE_AI_RANDOM_FASCIST_INDEPENDENT
					has_game_rule = {
						rule = SWE_ai_behavior
						option = SWE_FASCIST_INDEPENDENT
					}
					has_country_flag = SWE_AI_RANDOM_FASCIST_PUPPET
					has_game_rule = {
						rule = SWE_ai_behavior
						option = SWE_FASCIST_PUPPET
					}
					has_country_flag = SWE_AI_RANDOM_PUPPET_BACKSTABBER
					has_game_rule = {
						rule = SWE_ai_behavior
						option = SWE_FASCIST_PUPPET_BACKSTABBER
					}
				}
			}		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_timed_idea = {
				idea = SWE_undermine_fascism
				days = 730
			} 	
		}
	}

	focus = {
		id = SWE_revoke_anti_militia_laws
		icon = GFX_focus_SWE_revoke_militia_law
		x = 2
		y = 1
		mutually_exclusive = {focus = SWE_undermine_the_fascists}
		cost = 10
		prerequisite = { focus = SWE_prevent_a_red_dictatorship }
		relative_position_id = SWE_prevent_a_red_dictatorship
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
				set_technology = {
					militia_tech = 1
					popup = no
				}
				every_army_leader = {
					random_select_amount = 3
					add_unit_leader_trait = militias_officer
				}

			hidden_effect = {

			#	set_variable = { SWE_stormtrupper_division_cap = 0 }
			#	set_variable = { SWE_max_stormtrupper_division_cap = 16 }
			#	add_to_variable = { SWE_stormtrupper_division_cap = 1 }
			#	clamp_variable = {
			#		var = SWE_stormtrupper_division_cap
			#		min = 0 
			#		max = SWE_max_stormtrupper_division_cap
			#	}
			
				division_template = {
					name = "Stormtrupper"		
					division_names_group = SWE_BS_01
					is_locked = yes
					#force_allow_recruiting = yes
					template_counter = 20
					# Note: Represents brownshirts
					regiments = {
						militia = { x = 0 y = 0 }
						militia = { x = 0 y = 1 }
						militia = { x = 1 y = 0 }
						militia = { x = 1 y = 1 }
					}
					override_model = SWE_militia_alt_0_entity
				}


				#set_division_template_cap = { 
				#	division_template = "Stormtrupper" 
				#	#division_cap = 24   
				#}
			}

			custom_effect_tooltip = SWE_revoke_anti_militia_laws_tt
		}
	}



	focus = {
		id = SWE_appeal_for_support
		icon = GFX_focus_generic_industrialists
		x = 2
		y = 1
		cost = 5
		prerequisite = { focus = SWE_undermine_the_fascists focus = SWE_revoke_anti_militia_laws}
		relative_position_id = SWE_undermine_the_fascists
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			custom_effect_tooltip = SWE_appeal_for_support_tt
			custom_effect_tooltip = SWE_appeal_for_support_dec_tt
		}
	}

	#focus = {
	#	id = SWE_stop_the_editorial_infighting
	#	#icon = 
	#	x = 0
	#	y = 1
	#	#mutually_exclusive = {focus = SWE_finlands_cause_is_ours}
	#	cost = 10
	#	prerequisite = { focus = SWE_revoke_anti_militia_laws }
	#	relative_position_id = SWE_revoke_anti_militia_laws
	#	
#
	#	ai_will_do = {
	#		factor = 10		
	#	}
#
	#	available = {
#
	#	}
#
	#	bypass = {
#
	#	}
#
	#	cancel_if_invalid = yes
	#	continue_if_invalid = no
	#	available_if_capitulated = no
	#	search_filters = {  }
#
	#	completion_reward = {
	#	
	#	}
	#}


	focus = {
		id = SWE_unify_the_national_socialist_movement
		icon = GFX_focus_generic_fascist_propaganda
		x = 2
		y = 1
		#mutually_exclusive = {focus = SWE_appeal_to_the_military }
		cost = 10
		prerequisite = { focus = SWE_appeal_for_support }
		prerequisite = { focus = SWE_revoke_anti_militia_laws }
		relative_position_id = SWE_appeal_for_support
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			country_event = {
				id = AAT_Sweden_nationalists.4
				hours = 1
			}
			custom_effect_tooltip = SWE_unify_the_national_socialist_movement_tt_1
			event_option_tooltip = AAT_Sweden_nationalists.4.a
			custom_effect_tooltip = SWE_unify_the_national_socialist_movement_tt_2
			event_option_tooltip = AAT_Sweden_nationalists.4.b
		}
	}

	focus = {
		id = SWE_meet_with_the_king
		icon = GFX_focus_SWE_meet_with_the_king 
		x = -2
		y = 1
		#mutually_exclusive = {focus = SWE_appeal_to_the_military }
		cost = 10
		prerequisite = { focus = SWE_appeal_for_support }
		prerequisite = { focus = SWE_undermine_the_fascists }
		relative_position_id = SWE_appeal_for_support
		

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			country_event = {
				id = AAT_Sweden_nationalists.19
				hours = 1
			}

			swap_ideas = {
				remove_idea = SWE_gustaf_v_idea
				add_idea = SWE_gustaf_v_idea_upgraded
			}
			custom_effect_tooltip = SWE_meet_with_the_king_tt
			

		}
	}


	focus = {
		id = SWE_attack_Landsorganisationen
		icon = GFX_focus_SWE_attack_landsorganisationen
		x = 0
		y = 1
		#mutually_exclusive = {focus = SWE_appeal_to_the_military }
		cost = 5
		prerequisite = { focus = SWE_meet_with_the_king }
		#prerequisite = { focus = SWE_unify_the_national_socialist_movement}
		relative_position_id = SWE_meet_with_the_king

		ai_will_do = {
			factor = 10		
		}

		available = {

		}

		bypass = {

		}

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

		completion_reward = {
			add_ideas = SWE_attack_unions
		}
	}

	focus = {
		id = SWE_organize_a_putsch
		icon = GFX_focus_SWE_organize_a_putsch
		prerequisite = { focus = SWE_unify_the_national_socialist_movement }
		mutually_exclusive = { focus = SWE_delegation_to_berlin }
		x = 0 
		y = 1
		relative_position_id = SWE_unify_the_national_socialist_movement
		cost = 10
		available = {
			fascism > 0.50 #Can't be higher that this due to advisor.
		}
	                
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			set_politics = {
				ruling_party = fascism
				elections_allowed = no
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SWE_birger_furugard
			show_ideas_tooltip = SWE_konrad_hallgren	
			show_ideas_tooltip = SWE_sven_hedengren
		}
	}
		focus = {
		id = SWE_delegation_to_berlin
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = SWE_unify_the_national_socialist_movement }
		mutually_exclusive = { focus = SWE_organize_a_putsch }
		x = 7
		y = 1
		relative_position_id = SWE_unify_the_national_socialist_movement
		cost = 10
		available = {
			any_other_country = {
				original_tag = GER
				has_government = fascism
				NOT = { has_war_with = ROOT }
			}
		}
	                
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			GER = {
				country_event = {
					id = AAT_Sweden_nationalists.1
					hours = 1
				}
			}
			custom_effect_tooltip = SWE_civil_war_tt
			custom_effect_tooltip = SWE_delegation_to_berlin_tt
			set_politics = {
				ruling_party = fascism
				elections_allowed = no
			}
			hidden_effect = {
				set_temp_variable = { SWE_opposing_ideology = party_popularity@democratic }
				add_to_temp_variable = { SWE_opposing_ideology = party_popularity@communism }
				multiply_temp_variable = { SWE_opposing_ideology = 1.5 }
				add_to_temp_variable = { SWE_half_of_unaligned_support = party_popularity@neutrality } 
				multiply_temp_variable = { SWE_part_of_unaligned_support = 0.25 }
				add_to_temp_variable = { SWE_opposing_ideology =  SWE_part_of_unaligned_support }
				start_civil_war = {
					ideology = democratic #SPLITTING TAG
					size = var:SWE_opposing_ideology
					if = {
						limit = {
							NOT = {
								has_template = "Arméfördelning"
							}
						}
						division_template = {
							name = "Arméfördelning"			
							division_names_group = SWE_INF_01

							regiments = {
								infantry = { x = 0 y = 0 }
								infantry = { x = 0 y = 1 }
								infantry = { x = 1 y = 0 }
								infantry = { x = 1 y = 1 }
								infantry = { x = 2 y = 0 }
								infantry = { x = 2 y = 1 }
							}
							support = {
								artillery = { x = 0 y = 0 }  
								engineer = { x = 0 y = 1 }   
								recon = { x = 0 y = 2 }      
							}
						}

					}
					every_country_division = {
						change_division_template = {
							division_template = "Arméfördelning" 
						}
					}
				}
			}


			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = SWE_birger_furugard
			show_ideas_tooltip = SWE_konrad_hallgren
			show_ideas_tooltip = SWE_sven_hedengren
		}
	}
	focus = {
		id = SWE_king_in_council
		icon = GFX_focus_SWE_king_in_council
		prerequisite = { focus = SWE_attack_Landsorganisationen }
		mutually_exclusive = { focus = SWE_restoring_order }
		x = 0 
		y = 1
		relative_position_id = SWE_attack_Landsorganisationen
		cost = 10
		available = {
			neutrality > 0.65
		}
	                
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			set_party_name = {
				ideology = neutrality
				name = SWE_kings_party
				long_name = SWE_kings_party_long
			}
			custom_effect_tooltip = SWE_king_in_council_tt
			hidden_effect = {
				set_politics = {
					ruling_party = neutrality
					elections_allowed = no
				}
			}
			SWE_king_gustaf_v = {
				add_country_leader_role = {
					country_leader={
						ideology=centrism
						expire="1965.1.1.1"
						id = -1
						traits = { SWE_ardent_conservative likes_germany }
					}
					promote_leader = yes
				}
			}

			add_field_marshal_role = {
				character = "SWE_king_gustaf_v"
				traits={ politically_connected media_personality old_guard }
				skill=1
				attack_skill=1
				defense_skill=1
				planning_skill=1
				logistics_skill=1
				
			}
			
		}

	}
	focus = {
		id = SWE_restoring_order
		icon = GFX_focus_generic_fascist_troops
		prerequisite = { focus = SWE_organize_a_putsch }
		mutually_exclusive = { focus = SWE_king_in_council }
		x = 0
		y = 1
		relative_position_id = SWE_organize_a_putsch
		cost = 5
		available = {
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_timed_idea = {
				idea = SWE_restoring_order_idea
				days = 365
			}
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				IF = {
					limit = {
						has_intelligence_agency = no 
					}
					create_intelligence_agency = yes
				}
				IF = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_passive_defense 
						}				
					}
					upgrade_intelligence_agency = upgrade_passive_defense 
				}
			}
			ELSE = {
				add_tech_bonus = {
					name = SWE_electronics_bonus
					bonus = 0.5
					uses = 2
					category = electronics
				}
			}
		}
	}

	focus = {
		id = SWE_economic_integration
		icon = GFX_focus_generic_german_trade
		prerequisite = { focus = SWE_delegation_to_berlin }
		mutually_exclusive = { focus = SWE_economic_independence }
		x = -1 
		y = 1
		relative_position_id = SWE_delegation_to_berlin
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				prioritize = { 141} 
				add_extra_state_shared_building_slots = 4
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}

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

	focus = {
		id = SWE_economic_independence
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = SWE_delegation_to_berlin }
		mutually_exclusive = { focus = SWE_economic_integration }
		x = 1 
		y = 1
		relative_position_id = SWE_delegation_to_berlin
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_timed_idea = {
				idea = SWE_independent_economy
				days = 730
			}
			add_autonomy_score = {
				value = 300
			}
		}
	}

	focus = {
		id = SWE_military_integration
		icon = GFX_focus_POL_beck_ribbentrop
		prerequisite = { focus = SWE_economic_independence focus = SWE_economic_integration }
		mutually_exclusive = { focus = SWE_military_independence }
		x = 0 
		y = 1
		relative_position_id = SWE_economic_integration
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP }

		completion_reward = {
			if = {
				limit = {
					GER = {
						has_completed_focus = GER_remilitarize_the_rhineland
					}
					NOT = { has_global_flag = von_lettow_is_in_a_country }
					has_dlc = "Waking the Tiger"
				}

				every_possible_country = {
					limit = {
						has_character = GER_paul_von_lettow_vorbeck
					}
					set_nationality = {
					    target_country = ROOT
					    character = GER_paul_von_lettow_vorbeck
					}	
				}
				
				set_global_flag = von_lettow_is_in_a_country
				
			}
			else = {
				army_experience = 55
			}
			every_unit_leader = {
				add_attack = 1
			}
			army_experience = 30
			navy_experience = 30
			air_experience = 30
		}
	}

	focus = {
		id = SWE_military_independence
		icon = GFX_focus_generic_fascist_troops
		prerequisite = { focus = SWE_economic_independence focus = SWE_economic_integration }
		mutually_exclusive = { focus = SWE_military_integration }
		x = 0 
		y = 1
		relative_position_id = SWE_economic_independence
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP }

		completion_reward = {
			add_autonomy_score = {
				value = 300
			}
			army_experience = 10
			navy_experience = 10
			air_experience = 10
			add_ideas = SWE_ger_defense
		}
	}

	focus = {
		id = SWE_germanify_sweden
		icon = GFX_focus_CZE_german_puppet
		prerequisite = { focus = SWE_military_independence focus = SWE_military_integration }
		mutually_exclusive = { focus = SWE_promote_nordic_identity }
		x = 0 
		y = 1
		relative_position_id = SWE_military_integration
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_ideas = SWE_adopted_ger_lang_idea
		}
	}

	focus = {
		id = SWE_promote_nordic_identity
		icon = GFX_focus_generic_scandinavian_alliance
		prerequisite = { focus = SWE_military_independence focus = SWE_military_integration }
		mutually_exclusive = { focus = SWE_germanify_sweden }
		x = 0 
		y = 1
		relative_position_id = SWE_military_independence
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			GER = {
				add_opinion_modifier = {
					target = PREV 
					modifier = SWE_unruly_subject
				} 
			}
			add_stability = 0.05
			add_war_support = 0.05
			every_state = {
				limit = {
					OR = {
						is_core_of = DEN
						is_core_of = NOR
					}
				}
				IF = {
					limit = {
						OWNER = {
							NOT = { tag = ROOT }
							
						}
					}
					add_claim_by = ROOT
				}				
			    IF = {
			    	limit = {
			    		OWNER = {
			    			original_tag = GER
			    		}
			    	}
			    	#Add event here for Germany to agree to transfer!
			    	ROOT = {
			    		transfer_state = PREV
			    	}
			    }
			}
			add_autonomy_score = {
				value = 300
			}
		}
	}

	focus = {
		id = SWE_finland_claims
		icon = GFX_focus_generic_develop_finland_silhouette
		prerequisite = { focus = SWE_germanify_sweden focus = SWE_promote_nordic_identity }
		#mutually_exclusive = { focus = SWE_germanify_sweden }
		x = 1
		y = 1
		relative_position_id = SWE_germanify_sweden
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	    bypass = {
	    	OR = {
	    		FIN = { is_subject_of = ROOT }
	    		FIN = {
	    			all_core_state = {
	    				is_controlled_by = ROOT
	    			}
	    		}
	    	}
	    }    
		search_filters = {}
		will_lead_to_war_with = FIN

		completion_reward = {
			
			add_autonomy_score = {
				value = 300
			}
			every_state = {
				limit = {
					is_core_of = FIN
				}
				IF = {
					limit = {
						OWNER = {
							NOT = { tag = ROOT }
							
						}
					}
					add_claim_by = ROOT
				}				
			    IF = {
			    	limit = {
			    		OWNER = {
			    			original_tag = GER
			    		}
			    	}
			    	GER = { country_event = { id = AAT_Sweden_nationalists.27 hours = 2 } }
			    }

			    if = {
			    	limit = {
			    		GER = { 
			    			is_ai = yes 
			    			NOT = { is_in_faction_with = FIN }
			    		}
			    	}

		    		111 = {
		    			owner = {
		    				ROOT = {
						    	create_wargoal = {
						    		type = annex_everything
						    		target = PREV
						    		generator = { 111 }
						    	}
					    	}
				    	}
			    	}
			    	
			    }
			}

			if = {
				limit = {
					FIN = {
						all_core_state = {
							is_fully_controlled_by = FIN
						}
					}
				}
				FIN = {  news_event = { id = AAT_Sweden_nationalists.30 hours = 2 } }
			}
			else = {
				FIN = {
					every_core_state = {
						if = {
							limit = {
								NOT = {
									is_in_array = {
										array = SWE.SWE_FIN_core_controllers
										value = THIS
									}
								}
							}

							add_to_array = { array = SWE.SWE_FIN_core_controllers }
							controller = { news_event = { id = AAT_Sweden_nationalists.30 hours = 2 } }
						}
					}
				}

				clear_array = SWE.SWE_FIN_core_controllers
			}
		}
	}

	focus = {
		id = SWE_uranium_project
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = SWE_germanify_sweden }
		#mutually_exclusive = { focus = SWE_germanify_sweden }
		x = -1
		y = 1
		relative_position_id = SWE_germanify_sweden
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.25
			}
			add_tech_bonus = {
				name = SWE_ger_swe_nuclear_bonus
				bonus = 0.5
				uses = 1 # was 2
				category = nuclear
			}
			GER = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
				add_tech_bonus = {
					name = SWE_ger_swe_nuclear_bonus
					bonus = 0.75 # was 1
					uses = 1
					category = nuclear
				}
			}
		}
	}

	focus = {
		id = SWE_betray_germany_plan
		icon = GFX_focus_ger_oppose_hitler
		prerequisite = { focus = SWE_promote_nordic_identity }
		#mutually_exclusive = { focus = SWE_germanify_sweden }
		x = 1
		y = 1
		relative_position_id = SWE_promote_nordic_identity
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
			GER = {
				has_war = yes
			}
		}
	                
		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = if_they_accept_tt
			custom_effect_tooltip = SWE_the_new_order_tt
			every_country = {
				limit = {
					OR = {
						has_war_with = SWE
						has_war_with = GER
					}
				}
				country_event = {
					id = AAT_Sweden_nationalists.23
					hours = 2
				}
			}
		}
	}

	focus = {
		id = SWE_establish_nordland
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = SWE_finland_claims }
		mutually_exclusive = { focus = SWE_the_new_order }
		x = -1
		y = 1
		relative_position_id = SWE_finland_claims
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = {}

		completion_reward = {
			
			213 = { set_state_flag = SWE_nordland_claims }
			214 = { set_state_flag = SWE_nordland_claims }
			215 = { set_state_flag = SWE_nordland_claims }
			216 = { set_state_flag = SWE_nordland_claims }
			879 = { set_state_flag = SWE_nordland_claims }
			825 = { set_state_flag = SWE_nordland_claims }
			262 = { set_state_flag = SWE_nordland_claims }
			397 = { set_state_flag = SWE_nordland_claims }
			880 = { set_state_flag = SWE_nordland_claims }
			581 = { set_state_flag = SWE_nordland_claims }

			GER = {
				country_event = { id = AAT_Sweden_nationalists.20 hours = 5 }
			}
			set_country_flag = SWE_nordland_created
			drop_cosmetic_tag = yes
			custom_effect_tooltip = SWE_establish_nordland_tt
			hidden_effect = {
				set_cosmetic_tag = SWE_nordland_ger
			}
			add_manpower = 65482
			every_state = {
				limit = {
					OR = {
						state = 111
						state = 145
						state = 148
						state = 149
						state = 150
						state = 926
						state = 927
						state = 928
						state = 929
						state = 930
						state = 37
						state = 99
						state = 101
						state = 337
						state = 910
						state = 911
						state = 912
						state = 100
						state = 38
						state = 124
						state = 138
						state = 139
						state = 140
						state = 141
						state = 666
						state = 913
						state = 915
						state = 916
						state = 917
						state = 918
						state = 919
						state = 110
						state = 142
						state = 143
						state = 144
						state = 920
						state = 921
						state = 922
						state = 923
						state = 924
						state = 925
						state = 914
					}
					NOT = {
						is_claimed_by = ROOT
						is_core_of = ROOT
					}
				}
				add_claim_by = ROOT
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				if = {
					limit = {
						213 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 213 }
				}
				else = {
					213 = { add_claim_by = SWE }
				}

				if = {
					limit = {
						214 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 214 }
				}
				else = {
					214 = { add_claim_by = SWE }
				}

				if = {
					limit = {
						215 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 215 }
				}
				else = {
					215 = { add_claim_by = SWE }
				}

				if = {
					limit = {
						216 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 216 }
				}
				else = {
					216 = { add_claim_by = SWE }
				}


				if = {
					limit = {
						879 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 879 }
				}
				else = {
					879 = { add_claim_by = SWE }
				}

				if = {
					limit = {
						825 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 825 }
				}
				else = {
					825 = { add_claim_by = SWE }
				}


				if = {
					limit = {
						397 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 397 }
				}
				else = {
					397 = { add_claim_by = SWE }
				}

				if = {
					limit = {
						880 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 880 }
				}
				else = {
					880 = { add_claim_by = SWE }
				}


				if = {
					limit = {
						581 = {
							is_controlled_by = GER
						}
					}
					SWE = { transfer_state = 581 }
				}
				else = {
					581 = { add_claim_by = SWE }
				}
			}
		}
	}

	focus = {
		id = SWE_the_new_order
		icon = GFX_focus_generic_nordic_territory
		prerequisite = { focus = SWE_finland_claims }
		mutually_exclusive = { focus = SWE_establish_nordland }
		x = 1 
		y = 1
		relative_position_id = SWE_finland_claims
		cost = 10
		available = {
			is_subject_of = GER
			has_government = fascism
		}
	                
		search_filters = {}
		completion_reward = {
			custom_effect_tooltip = SWE_the_new_order_tt_2
			drop_cosmetic_tag = yes
			hidden_effect = {
				set_cosmetic_tag = SWE_the_new_order
			}
			every_country = {
				limit = {
					has_War_with = ROOT
					has_country_flag = SWE_peace_out_when_sweden_stabs_ger_in_the_back
				}
				white_peace = {
					tag = ROOT
					message = SWE_the_new_order_peace_message
				}

			}

			if = {
				limit = {
					has_dlc = "No Step Back"
				}

				set_technology = {
					basic_heavy_tank_chassis = 1
					popup = no
				}
				set_technology = {
					improved_heavy_tank_chassis = 1
					popup = no
				}

				create_equipment_variant = {
				    name = "Captured Tiger Variant"
				    type = heavy_tank_chassis_2
				    parent_version = 1
				    modules = {
						main_armament_slot=tank_heavy_cannon_2
						engine_type_slot=tank_diesel_engine
						special_type_slot_1=tank_radio_3
						special_type_slot_2=armor_skirts
						special_type_slot_3=easy_maintenance
						special_type_slot_4=extra_ammo_storage
						turret_type_slot=tank_heavy_three_man_tank_turret
						suspension_type_slot=tank_christie_suspension
						armor_type_slot=tank_welded_armor
				    }
				    upgrades = {
				        tank_nsb_engine_upgrade = 9
				        tank_nsb_armor_upgrade = 12
				    }
				}

				add_equipment_to_stockpile = { 
					type = heavy_tank_chassis_2
					amount = 150
					variant_name = "Captured Tiger Variant"
				}



			}
			else = {
				set_technology = {
					basic_heavy_tank = 1
					popup = no
				}
				set_technology = {
					improved_heavy_tank = 1
					popup = no
				}
				add_equipment_to_stockpile = {
					type = heavy_tank_equipment_2
					amount = 150
					variant_name = "Captured Tiger Variant"

				}
			}

			add_equipment_to_stockpile = { 
				type = motorized_equipment
				amount = 600 
				producer = GER
			}

			division_template = {
				name = "Swedish Armored Liberation Division"
				regiments = {
					heavy_armor = { x = 0 y = 0 }
					heavy_armor = { x = 0 y = 1 }
					heavy_armor = { x = 0 y = 2 }
					heavy_armor = { x = 0 y = 3 }
					heavy_armor = { x = 0 y = 4 }

					heavy_armor = { x = 1 y = 0 }
					heavy_armor = { x = 1 y = 1 }
					heavy_armor = { x = 1 y = 2 }
					heavy_armor = { x = 1 y = 3 }
					heavy_armor = { x = 1 y = 4 }

					heavy_armor = { x = 2 y = 0 }

					motorized = { x = 3 y = 0 }
					motorized = { x = 3 y = 1 }
					motorized = { x = 3 y = 2 }
					motorized = { x = 3 y = 3 }
					motorized = { x = 3 y = 4 }

					motorized = { x = 4 y = 0 }
					motorized = { x = 4 y = 1 }
					motorized = { x = 4 y = 2 }
					motorized = { x = 4 y = 3 }
					motorized = { x = 4 y = 4 }


				}
				support = {
					engineer = { x = 0 y = 0 }
					artillery = { x = 0 y = 1 } 
					anti_air = { x = 0 y = 2 }

				}

				override_model = GER_heavy_armor_2_entity
			}

			add_manpower = 18400
			capital_scope = {
				create_unit = {
			    	division = "name = \"Swedish Armored Liberation Division\" division_template = \"Swedish Armored Liberation Division\" start_equipment_factor = 1 start_experience_factor = 0.05"
		 	   		owner = SWE
				}
			}

			if = {
				limit = {
					is_subject = yes
					overlord = {
						is_in_faction_with = ROOT
					}
				}

				leave_faction = yes
			}
			OVERLORD = {
				set_autonomy = {
					target = ROOT
					autonomy_state = autonomy_free
				}
				country_event = { id = AAT_Sweden_nationalists.26 hours = 4 random_hours = 1 }
				
			}



			effect_tooltip = {
				GER = {
					create_wargoal = {
						target = ROOT
						type = puppet_wargoal_focus
					}
				}
			}
		}
	}

	focus = {
		id = SWE_mythologize_swedish_history
		icon = GFX_focus_SWE_counter_revolution
		prerequisite = { focus = SWE_restoring_order focus = SWE_king_in_council }

		x = -2
		y = 1
		relative_position_id = SWE_restoring_order
		cost = 5
		available = {
		}
	                
		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = SWE_mythologize_swedish_history_tt
			IF = {
				limit = {
					has_country_flag = SWE_aristocratic_support
				}
				activate_mission = SWE_implement_aristocracy_reforms_countdown
			}
			IF = {
				limit = {
					has_country_flag = SWE_appeal_to_industrialists_flag
				}
				activate_mission = SWE_implement_industrialist_reforms_countdown
			}
			IF = {
				limit = {
					has_country_flag = SWE_appeal_to_military_flag
				}
				activate_mission = SWE_implement_military_reforms_countdown
			}
			IF = {
				limit = {
					has_country_flag = SWE_appeal_to_rural_flag
				}
				activate_mission = SWE_implement_rural_reforms_countdown
			}
			if = {
				limit = {
					has_completed_focus = SWE_revoke_anti_militia_laws
				}
				add_popularity = {
					ideology = fascism 
					popularity = 0.1
				}
			}
			else = {
				add_popularity = {
					ideology = neutrality 
					popularity = 0.1
				}
			}


			add_political_power = 120


		}
	}

	focus = {
		id = SWE_approach_the_allies
		 icon = GFX_focus_SWE_approach_the_allies
		prerequisite = { focus = SWE_mythologize_swedish_history }
		mutually_exclusive = { focus =  SWE_narvik_crisis }
		x = -5
		y = 1
		relative_position_id = SWE_mythologize_swedish_history
		cost = 5
		available = {
			OR = {
				ENG = {
					is_faction_leader = yes
					NOT = { has_war_with = ROOT }
				}
				USA = {  
					is_faction_leader = yes
					NOT = { has_war_with = ROOT }
				}
			}
		}

		bypass = {
			OR = {
				is_in_faction_with = ENG
				is_in_faction_with = USA
				is_subject = yes
			}
		}
	                
		search_filters = {}

		completion_reward = {
			if = {
				limit = {
					ENG = { is_faction_leader = yes }
				}

				ENG = { country_event = { id = generic.2 hours = 6 } }
				ENG = {
					add_to_tech_sharing_group = SWE_allies_tech_sharing_group
				}

				every_country = {
					limit = { is_in_faction_with = ENG }
					add_to_tech_sharing_group = SWE_allies_tech_sharing_group
				}

				add_to_tech_sharing_group = SWE_allies_tech_sharing_group
			}
			else_if = {
				limit = { 
					USA = { is_faction_leader = yes } 
				 }	
				 USA = { country_event = { id = generic.2 hours = 6 } }
			}

		}
	}

	focus = {
		id = SWE_join_allies_for_colonies
		icon = GFX_focus_SWE_exchange_of_holdings
		prerequisite = { focus = SWE_approach_the_allies }

		x = 0
		y = 2
		relative_position_id = SWE_approach_the_allies
		cost = 10
		available = {
			OR = {
				274 = {
					NOT = { controller = { has_war_with = ROOT } }
				}
				359 = {
					NOT = { controller = { has_war_with = ROOT } }
				}
				320 = {
					NOT = { controller = { has_war_with = ROOT } }
				}
				694 = {
					NOT = { controller = { has_war_with = ROOT } }
				}
			}
		}

		bypass = { is_subject = yes }
	    


		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			effect_tooltip = {
				if = {
					limit = {
						274 = {
							controller = {
								NOT = { has_war_with = ROOT }
							}
						}
					}
					274 = {
						controller = {
							country_event = { id = AAT_Sweden.28 hours = 1 }
						}
					}
				}

				if = {
					limit = {
						359 = {
							controller = {
								NOT = { has_war_with = ROOT }
							}
						}
					}
					359 = {
						controller = {
							country_event = { id = AAT_Sweden.28 hours = 1 }
						}
					}
				}

				if = {
					limit = {
						320 = {
							controller = {
								NOT = { has_war_with = ROOT }
							}
						}
					}
					320 = {
						controller = {
							country_event = { id = AAT_Sweden.28 hours = 1 }
						}
					}
				}

				if = {
					limit = {
						694 = {
							controller = {
								NOT = { has_war_with = ROOT }
							}
						}
					}
					694 = {
						controller = {
							country_event = { id = AAT_Sweden.28 hours = 1 }
						}
					}
				}
			}

			if = {
				limit = {
					274 = {
						controller = {
							NOT = { has_war_with = ROOT }
						}
					}
				}
				274 = {
					PREV = { add_to_array = { SWE_states_to_transfers = PREV } }
					controller = {
						country_event = { id = AAT_Sweden.28 hours = 1 }
					}
				}
			}

			if = {
				limit = {
					359 = {
						controller = {
							NOT = { has_war_with = ROOT }
						}
					}
				}
				359 = {
					PREV = { add_to_array = { SWE_states_to_transfers = PREV } }
				}
			}

			if = {
				limit = {
					320 = {
						controller = {
							NOT = { has_war_with = ROOT }
						}
					}
				}
				320 = {
					PREV = { add_to_array = { SWE_states_to_transfers = PREV } }
				}
			}

			if = {
				limit = {
					694 = {
						controller = {
							NOT = { has_war_with = ROOT }
						}
					}
				}
				694 = {
					PREV = { add_to_array = { SWE_states_to_transfers = PREV } }
				}
			}
		}
	}

	focus = {
		id = SWE_narvik_crisis
		icon = GFX_focus_generic_attack_norway
		prerequisite = { focus = SWE_mythologize_swedish_history }
		mutually_exclusive = { focus = SWE_approach_the_allies }
		x = -3
		y = 1
		relative_position_id = SWE_mythologize_swedish_history
		cost = 5
		available = {
			has_war_support > 0.4
			has_army_manpower = { size > 80000 }
			OR = {
				144 = { is_fully_controlled_by = NOR }
				925 = { is_fully_controlled_by =  NOR }
				924 = { is_fully_controlled_by =  NOR }
			}
		}

		bypass = {
			is_subject = yes
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

			NOR = { country_event = { id = AAT_Sweden.50 hours = 4 }}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {

				transfer_state = 144
				transfer_state = 924
				transfer_state = 925
				
			}

			custom_effect_tooltip = SWE_crisis_affecting_variables
		}
	}
	focus = {
		id = SWE_bornholm_crisis
		icon = GFX_focus_generic_attack_denmark
		prerequisite = { focus = SWE_mythologize_swedish_history }

		x = -1 
		y = 1
		relative_position_id = SWE_mythologize_swedish_history
		cost = 5
		available = {
			has_war_support > 0.4
			has_army_manpower = { size > 80000 }
			910 = { controller = { NOT = { is_in_faction_with = ROOT } } }
		}

		bypass = {
			OR = {
				is_subject = yes
				910 = {
					controller = { 
						OR = {
							has_war_with = ROOT 
							tag = ROOT 
						}
					}
				}
			}
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			
			910 = {
				controller = {
					country_event = { id = AAT_Sweden.31 hours = 6 }
				}
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				transfer_state = 910
			}

			custom_effect_tooltip = SWE_crisis_affecting_variables
		}
	}
	focus = {
		id = SWE_the_aland_issue
		icon = GFX_focus_generic_attack_finland
		prerequisite = { focus = SWE_mythologize_swedish_history }

		x = 1
		y = 1
		relative_position_id = SWE_mythologize_swedish_history
		cost = 5
		available = {
			has_war_support > 0.4
			has_army_manpower = { size > 80000 }
			145 = {
				controller = {
					NOT = { has_war_with = ROOT }
				}
			}
		}

		bypass = {
			OR = {
				145 = {
					controller = { original_tag = ROOT }
				}
				is_subject = yes
			}
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			145 = {
				controller = {
					country_event = { id = AAT_Sweden.40 hours = 4 }
				}

			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				transfer_state = 145
				
				145 = { 
					add_core_of = ROOT 
					add_extra_state_shared_building_slots = 2
				}

				if = {
					limit = {
						145 = { is_demilitarized_zone = yes }
					}
					145 = { set_demilitarized_zone = no }
				}
				
			}
			custom_effect_tooltip = SWE_crisis_affecting_variables
		}
	}

	focus = {
		id = SWE_scramble_for_the_baltic
		icon = GFX_focus_SOV_baltic_security
		#icon = GFX_focus_LAT_threat_on_our_border
		prerequisite = { focus = SWE_mythologize_swedish_history }

		x = 3
		y = 1
		relative_position_id = SWE_mythologize_swedish_history
		cost = 10
		available = {
			has_war_support > 0.4
			has_army_manpower = { size > 80000 }
			OR = {
				LAT = { 
					exists = yes 
					NOT = { is_in_faction_with = ROOT }
				}
				LIT = { 
					exists = yes 
					NOT = { is_in_faction_with = ROOT }
				}
				EST = { 
					exists = yes 
					NOT = { is_in_faction_with = ROOT }
				}
			}
		}

		bypass = {
			is_subject = yes
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			IF = {
				limit = {
					LAT = {
						exists = yes 
						NOT = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = LAT
					type = puppet_wargoal_focus
					generator = { 808 }
					expire = 0
				}
			}
			IF = {
				limit = {
					LIT = {
						exists = yes 
						NOT = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = LIT
					type = puppet_wargoal_focus
					generator = { 11 }
					expire = 0
				}
			}
			IF = {
				limit = {
					EST = {
						exists = yes 
						NOT = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = EST
					type = puppet_wargoal_focus
					generator = { 812 }
					expire = 0
				}
			}
		}
	}

	focus = {
		id = SWE_join_the_anti_soviet_pact
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = SWE_mythologize_swedish_history }

		x = 5
		y = 1
		relative_position_id = SWE_mythologize_swedish_history
		cost = 5
		available = {
		}
	                
		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			set_country_flag = anti_comintern_member
			
			diplomatic_relation = { 
				country = GER 
				relation = non_aggression_pact 
				active = yes 
			}

			GER = {
				set_country_flag = {
					flag = SWE_GER_avoid_dow_nordics
					value = 1
					days = 730
				}
				add_opinion_modifier = { target = ROOT modifier = anti_comintern_pact_opinion } 
			}
			add_opinion_modifier = { target = GER modifier = anti_comintern_pact_opinion }

			add_ideas = anti_soviet_pact
			every_other_country = {
				limit = {
					original_tag = SOV
				}
				add_opinion_modifier = { target = ROOT modifier = worse_pact_against_us }
			}

			custom_effect_tooltip = SWE_join_the_anti_soviet_pact_tt
		}
	}
	focus = {
		id = SWE_demand_atlantic_resource_rights
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = SWE_bornholm_crisis }

		x = 0 
		y = 1
		relative_position_id = SWE_bornholm_crisis
		cost = 5
		available = {
			910 = {
				is_owned_and_controlled_by = SWE
			}

			OR = {
				DEN = {
					OR = {
						controls_state = 101
						controls_state = 337
					}

					exists = yes
				}
				ICE = { is_subject_of = DEN }
			}
		}

		bypass = {
			OR = {
				is_subject = yes
				AND = {
					337 = { is_controlled_by = SWE  }
					101  = { is_controlled_by = SWE }
				}

				AND = {
					337 = { controller = { is_in_faction_with = SWE  }}
					101 = { controller = { is_in_faction_with = SWE  }}
				}
			}		
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			DEN = {
				country_event = { id = AAT_Sweden.34 hours = 4 }
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				if = {
					limit = {
						ICE = {
							is_subject_of = DEN
						}
					}
					puppet = ICE 
				}

				transfer_state = 101
				transfer_state = 337
			}
			custom_effect_tooltip = SWE_crisis_affecting_variables
		}
	}
	focus = {
		id = SWE_demand_demilitarization_of_finnish_border
		icon = GFX_focus_SWE_finnish_demilitarization
		prerequisite = { focus = SWE_the_aland_issue }
		mutually_exclusive = { focus = SWE_swedish_finnish_defense_agreement }
		x = 0 
		y = 1
		relative_position_id = SWE_the_aland_issue
		cost = 5
		available = {
			145 = {
				is_owned_and_controlled_by = SWE
			}
		}

		bypass = {
			148 = {
				OR = {
					owner = {
						OR = {
							has_war = yes
							is_subject_of = ROOT
						}
					}
					is_owned_by = ROOT
					is_demilitarized_zone = yes
				}
			}
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {

			148 = {
				owner = {
					country_event = { id = AAT_Sweden.43 hours = 4 }
				}
			}
			custom_effect_tooltip = if_they_accept
			effect_tooltip = {
				148 = {
					set_demilitarized_zone = yes
				}

				add_war_support = 0.06
			}

			custom_effect_tooltip = SWE_crisis_affecting_variables
		}
	}
	focus = {
		id = SWE_united_kingdoms_of_sweden_and_norway
		 icon = GFX_focus_SWE_united_kingdoms_of_norway_and_sweden
		prerequisite = { focus = SWE_narvik_crisis }

		x = 0 
		y = 2
		relative_position_id = SWE_narvik_crisis
		cost = 10
		available = {
			NOR = {
				exists = yes
				is_subject = no
			}
		}

		bypass = {
			OR = {
				NOR = {
					is_subject_of = ROOT
				}
				is_subject = yes
			}
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			NOR = { 
				country_event = { id = AAT_Sweden.53 hours = 4 }
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				puppet = NOR
				
			} 
		}
	}
	focus = {
		id = SWE_swedish_finnish_defense_agreement
		icon = GFX_focus_SWE_swedish_finnish_defense_agreement
		prerequisite = { focus = SWE_the_aland_issue focus = SWE_join_the_anti_soviet_pact }
		mutually_exclusive = { focus = SWE_demand_demilitarization_of_finnish_border }
		x = 2 
		y = 1
		relative_position_id = SWE_the_aland_issue
		cost = 10
		available = {
			FIN = {
				is_in_faction = no
				is_subject = no
				exists = yes
			}
		}
	                
		search_filters = {}

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction_from_template = {
				template = faction_template_NORDIC_alliance_democratic
				name = SWE_swedish_finnish_defense_agreement_faction
			}
			FIN = {
				country_event = { id = generic.5 hours = 4 }
			}
		}
	}
	focus = {
		id = SWE_danish_alignment
		icon = GFX_focus_generic_annex_country
		prerequisite = { focus = SWE_demand_atlantic_resource_rights }

		x = 0 
		y = 1
		relative_position_id = SWE_demand_atlantic_resource_rights
		cost = 10
		available = {
			
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }
		bypass = {
			OR = {
				is_subject = yes
				has_war_with = DEN
				DEN = {
					is_subject = yes
				}
			}
		}
		completion_reward = {
			country_event = { id = AAT_Sweden.37 hours = 1 }
			if = {
				limit = {
					has_country_flag = SWE_DEN_surrendered_islands
					has_country_flag = SWE_DEN_gave_bornholm
				}
				effect_tooltip = {
					puppet = DEN
				}
			}
			else = {

				custom_effect_tooltip = if_they_accept_tt
				effect_tooltip = { puppet = DEN }
			}
			
		}
	}
	focus = {
		id = SWE_finnish_integration
		icon = GFX_focus_SWE_finnish_integration
		prerequisite = { focus = SWE_demand_demilitarization_of_finnish_border }

		x = 0 
		y = 1
		relative_position_id = SWE_demand_demilitarization_of_finnish_border
		cost = 10
		available = {
			FIN = {
				is_subject = no
				exists = yes
				has_capitulated = no
				NOT = { has_war_with = ROOT }
			}
		}

		bypass = {
			is_subject_of = ROOT
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			SWE = {
				country_event = { id = AAT_Sweden.46 hours = 2 }
			}
			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				puppet = FIN
			}
		}
	}
	focus = {
		id = SWE_crusade_against_bolshevism
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = SWE_swedish_finnish_defense_agreement focus = SWE_join_the_anti_soviet_pact focus = SWE_finnish_integration }

		x = 2
		y = 2
		relative_position_id = SWE_swedish_finnish_defense_agreement
		cost = 10
		available = {
			SOV = {
				exists = yes
				NOT = { is_in_faction_with = ROOT }
			}
		}

		bypass = {
			is_subject = yes
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = { #TODO 
			declare_war_on = {
				target = SOV
				type = annex_everything
			}
			add_timed_idea = { idea = SWE_crusade_against_the_eastern_threat days = 365 }
			custom_effect_tooltip = SWE_crusade_against_bolshevism_tt
		}
	}
	focus = {
		id = SWE_reclaiming_the_rus
		icon = GFX_focus_SWE_reclaiming_the_rus
		prerequisite = { focus = SWE_crusade_against_bolshevism }

		x = 0 
		y = 1
		relative_position_id = SWE_crusade_against_bolshevism
		cost = 10
		available = {
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			every_state = {
				limit = {
					OR = {
						region = 131 #Ukraine
						region = 130 #Belarus
						region = 132 #Novgorod
						state = 813 #Virumaa
						state = 234
						state = 217 #Stalingrad
					}
					NOT = { state = 137 } #Crimea
				} 
				add_claim_by = ROOT
			}
		}
	}
	focus = {
		id = SWE_greater_nordic_reich
		icon = GFX_focus_SOV_reinforce_western_naval_bases
		prerequisite = { focus = SWE_danish_alignment focus = SWE_united_kingdoms_of_sweden_and_norway focus = SWE_finnish_integration }

		x = 0 
		y = 2
		relative_position_id = SWE_danish_alignment
		cost = 10
		available = {
		}
	                
		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			custom_effect_tooltip = SWE_greater_nordic_reich_tt
			unlock_decision_tooltip = SWE_integrate_fin
			unlock_decision_tooltip = SWE_integrate_nor
			unlock_decision_tooltip = SWE_integrate_den
			unlock_decision_tooltip = SWE_integrate_ice
			set_cosmetic_tag = SWE_greater_nordic_reich_tag
		}
	}
 
 	focus = {
		id = SWE_the_cross_we_bear
		 icon = GFX_focus_generic_scandinavian_alliance
		prerequisite = { focus =  SWE_operation_save_norway focus = SWE_operation_save_denmark focus = SWE_neither_death_nor_dishonor }

		x = 1
		y = 1
		relative_position_id = SWE_operation_save_denmark
		cost = 10
		available = {
		}
	                
		search_filters = {}

		completion_reward = {

			add_dynamic_modifier = { modifier = SWE_the_cross_we_bear_idea }
			custom_effect_tooltip = SWE_the_cross_we_bear_tt_1
			effect_tooltip = { SWE_increase_the_cross_we_bear = yes }

			SWE_is_norway_mostly_occupied = yes
			SWE_is_finland_mostly_occupied = yes
			SWE_is_denmark_mostly_occupied = yes

			
			custom_effect_tooltip = SWE_the_cross_we_bear_tt_2
			effect_tooltip = {
				add_to_variable = { SWE_cross_we_bear_army_morale_factor = SWE_cross_we_bear_army_morale_factor_increase tooltip = army_morale_factor_tt }
				add_to_variable = { SWE_cross_we_bear_conscription = SWE_cross_we_bear_conscription_increase tooltip = conscription_tt }
			}
		}
	}

	focus = {
		id = SWE_scandinavian_defense_union
		icon = GFX_focus_generic_scandinavian_alliance
		prerequisite = { focus =  SWE_universal_basic_income }
		mutually_exclusive = { focus = SWE_the_threat_of_the_iron_curtain}
		x = 3
		y = 1
		relative_position_id = SWE_universal_basic_income
		cost = 5
		available = {
			OR = {
				NOR = { 
					AND = { 
						exists = yes 
						is_subject = no
					}
				}
				DEN = { 
					AND = { 
						exists = yes 
						is_subject = no
					}
				}
				FIN = { 
						AND = { 
							exists = yes 
							is_subject = no
						}
					}
				ICE = { 
					AND = { 
						exists = yes 
						is_subject = no
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}	
		}
	                
		search_filters = {}
		bypass = {
			hidden_trigger = {
				OR = {
					is_subject = yes
                    AND = {
                        is_ai = yes
                        is_historical_focus_on = yes
                    }
                    is_in_faction = yes
                }
			}
		}
		completion_reward = {
			create_faction_from_template = {
				template = faction_template_NORDIC_alliance_democratic
				name = scandinavian_defense_union
				icon = GFX_faction_logo_generic_9
			}
			NOR = {	SWE_scandinavian_defense_union_invite = yes	}
			DEN = {	SWE_scandinavian_defense_union_invite = yes	}
			FIN = {	SWE_scandinavian_defense_union_invite = yes	}
			ICE = {	SWE_scandinavian_defense_union_invite = yes	}
		}
	}
	focus = {
		id = SWE_the_threat_of_the_iron_curtain
		icon = GFX_focus_SWE_the_threat_of_the_iron_curtain
		prerequisite = { focus =  SWE_universal_basic_income focus = SWE_the_cross_we_bear }
		mutually_exclusive = { focus = SWE_scandinavian_defense_union }
		x = 4 
		y = 0
		relative_position_id = SWE_scandinavian_defense_union
		cost = 10
		bypass = {
			OR = {
				ROOT = {
					is_in_faction = yes
				}
				hidden_trigger = {
					is_ai = yes
					is_historical_focus_on = yes
				}
				is_subject = yes
			}
		}
		available = {
			any_other_country = {
				is_major = yes
				is_faction_leader = yes
				has_government = ROOT
				NOT = { is_in_faction_with = ROOT }
			}
		}

		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}	
		}
	                
		search_filters = {}

		completion_reward = {
			every_other_country = {
				limit = {
					is_major = yes
					is_faction_leader = yes
					has_government = ROOT
				}
				country_event = {
					id =  AAT_Sweden.23
					hours = 1
				}
			}
		}
	}
	focus = {
		id = SWE_special_forces
		icon = GFX_focus_eng_special_air_service
		prerequisite = { focus = SWE_the_threat_of_the_iron_curtain }

		x = 1 
		y = 1
		relative_position_id = SWE_the_threat_of_the_iron_curtain
		cost = 10
		available = {
		}
	                
		search_filters = {}

		completion_reward = {
			country_event = {
				id =  AAT_Sweden.25
				hours = 1
			}
		}
	}
	focus = {
		id = SWE_acquire_ww2_tanks_and_wrecks
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = SWE_scandinavian_defense_union }

		x = -1 
		y = 1
		relative_position_id = SWE_scandinavian_defense_union
		cost = 10
		available = {
		}
	                
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			#custom_effect_tooltip = "Check who won and lost ww2 to determine which vehicles you get"
			add_equipment_to_stockpile = { 
				type = heavy_tank_chassis_3 
				amount = 50
				producer = GER 
			}
			add_equipment_to_stockpile = { 
				type = medium_tank_chassis_2 
				amount = 100 
				producer = GER 
			}
			add_equipment_to_stockpile = { 
				type = medium_tank_chassis_3 
				amount = 100
				producer = GER 
			}
			add_tech_bonus = {
				name = SWE_acquire_ww2_tanks_and_wrecks
				bonus = 0.75
				uses = 2
				category = cat_medium_armor
			
			}
			add_tech_bonus = {
				name = SWE_acquire_ww2_tanks_and_wrecks
				bonus = 1
				uses = 1
				category = cat_heavy_armor
			}
		}
	}
	focus = {
		id = SWE_extend_the_time_of_preparedness
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = SWE_scandinavian_defense_union focus = SWE_the_threat_of_the_iron_curtain }

		x = 2
		y = 1
		relative_position_id = SWE_scandinavian_defense_union
		cost = 10
		available = {
		}
	                
		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_WAR_SUPPORT}

		completion_reward = {
			add_war_support = 0.1
			add_manpower = 26000
		}
	}
	focus = {
		id = SWE_increase_intelligence_funding
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = SWE_acquire_ww2_tanks_and_wrecks }

		x = 0 
		y = 1
		relative_position_id = SWE_acquire_ww2_tanks_and_wrecks
		cost = 10
		available = {
		}
	                
		search_filters = {}

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				IF = {
					limit = {
						has_intelligence_agency = no 
					}
					create_intelligence_agency = yes
				}
				IF = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_passive_defense 
						}				
					}
					upgrade_intelligence_agency = upgrade_passive_defense 
				}
				IF = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_blueprint_stealing 
						}				
					}
					upgrade_intelligence_agency = upgrade_blueprint_stealing 
				}

				add_ideas = { SWE_security_service_funding }
			}
			ELSE = {
				add_tech_bonus = {
					name = SWE_electronics_bonus
					bonus = 1
					uses = 2
					category = electronics
				}
			}
			IF = {
				limit = { 
					has_dlc = "By Blood Alone" 
					has_dlc = "La Resistance"
				}
				set_technology = { photo_reconnaisance = 1 }
			}
			else = {
				air_experience = 50
			}
		}
	}
	focus = {
		id = SWE_karnvapenprogram
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = SWE_extend_the_time_of_preparedness }

		x = 0 
		y = 1
		relative_position_id = SWE_extend_the_time_of_preparedness
		cost = 10
		available = {
		}
	                
		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {

			IF = {
				limit = {
					NOT = {
						has_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = SWE_karnvapenprogram_nuclear_bonus
					bonus = 0.5 # was 1
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}
			ELSE = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.75
				}
			}

			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.25
			}

			add_tech_bonus = {
				name = SWE_karnvapenprogram_air_bonus
				bonus = 0.75 # was 1
				uses = 1
				category = air_equipment
			}

		}
	}
	focus = {
		id = SWE_specialized_equipment
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = SWE_special_forces }

		x = 0 
		y = 1
		relative_position_id = SWE_special_forces
		cost = 10
		available = {
		}
	                
		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = SWE_specialized_equipment_tt
			IF = {
				limit = {
					has_country_flag = SWE_has_marines
				}
				navy_experience = 25
				army_experience = 25
				IF = {
					limit = { 
						has_dlc = "Man the Guns" 
					}
					IF = {
						limit = {
							NOT = {
								has_tech = mtg_transport
							}
						}
						set_technology = { mtg_transport = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = mtg_landing_craft
							}
						}
						set_technology = { mtg_landing_craft = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = mtg_tank_landing_craft
							}
						}
						set_technology = { mtg_tank_landing_craft = 1 }
					}
					IF = {
						limit = { 
							has_dlc = "No Step Back" 
						}
						IF = {
							limit = {
								NOT = { has_tech = amphibious_tank_chassis }
							}
						set_technology = { amphibious_tank_chassis = 1}
						}
						ELSE_IF = {
							limit = {
								NOT = { has_tech = amphibious_drive }
							}
							set_technology = { amphibious_drive = 1}
						}
					}
					ELSE = {
						IF = {
							limit = {
								NOT = { has_tech = amphibious_tank }
							}
							set_technology = { amphibious_tank = 1}
						}
						ELSE_IF = {
							limit = {
								NOT = { has_tech = amphibious_tank_2 }
							}
							set_technology = { amphibious_tank_2 = 1}
						}
					}	
				}
				ELSE = {
					IF = {
						limit = {
							NOT = {
								has_tech = transport
							}
						}
						set_technology = { transport = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = landing_craft
							}
						}
						set_technology = { landing_craft = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = tank_landing_craft
							}
						}
						set_technology = { tank_landing_craft = 1 }
					}
				}
			}
			ELSE_IF = {
				limit = {
					has_country_flag = SWE_has_rangers
				}
				IF = {
					limit = { NOT = { has_tech = infantry_at }}
					set_technology = { infantry_at = 1 }
				}
				ELSE_IF = {
					limit = { NOT = { has_tech = infantry_at2 }}
					set_technology = { infantry_at2 = 1 }
				}		
				IF = {
					limit = { NOT = { has_tech = night_vision }}
					set_technology = { night_vision = 1 }
				}
				ELSE_IF = {
					limit = { NOT = { has_tech = night_vision2 }}
					set_technology = { night_vision2 = 1 }
				}		
				army_experience = 50
			}
			ELSE_IF = {
				limit = {
					has_country_flag = SWE_has_paratroopers
				}
				# Light tanks for air dropped variants
				IF = {
					limit = { has_dlc = "No Step Back" }
					IF = {
						limit = {
							NOT = {
								has_tech = basic_light_tank_chassis
							}
						}
						set_technology = { basic_light_tank_chassis = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = improved_light_tank_chassis
							}
						}
						set_technology = { improved_light_tank_chassis = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = advanced_light_tank_chassis
							}
						}
						set_technology = { advanced_light_tank_chassis = 1 }
					}
				}
				ELSE = {
					IF = {
						limit = {
							NOT = {
								has_tech = basic_light_tank
							}
						}
						set_technology = { basic_light_tank = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = improved_light_tank
							}
						}
						set_technology = { improved_light_tank = 1 }
					}
					ELSE_IF = {
						limit = {
							NOT = {
								has_tech = advanced_light_tank
							}
						}
						set_technology = { advanced_light_tank = 1 }
					}
				}
				army_experience = 25
				air_experience = 25
			}
		}
	}
	focus = {
		id = SWE_war_games
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = SWE_increase_intelligence_funding focus = SWE_karnvapenprogram }

		x = -1 
		y = 1
		relative_position_id = SWE_karnvapenprogram
		cost = 10
		available = {
			any_other_country = {
				is_major = yes
				is_faction_leader = yes
				NOT = {
					is_in_faction_with = ROOT
					has_government = ROOT
				}
			}
		}
	                
		search_filters = {}

		completion_reward = {
			every_other_country = {
				limit = {
					is_major = yes
					is_faction_leader = yes
					NOT = {
						has_government = SWE
						is_in_faction_with = SWE
					}
				}
				# I really don't like doing it this way as it's not dynamic, so I'm just adding the starting majors plus communist and nationalist china for now as they're the most likely majors most of the time.
				IF = {
					limit = { original_tag = SOV }
					SWE = {
						add_ideas = { SWE_anti_sov_cold_war }
					}
				}
				IF = {
					limit = { original_tag = GER }
					SWE = {
						add_ideas = { SWE_anti_ger_cold_war }
					}
				}
				IF = {
					limit = { original_tag = USA }
					SWE = {
						add_ideas = { SWE_anti_usa_cold_war }
					}
				}
				IF = {
					limit = { original_tag = ENG }
					SWE = {
						add_ideas = { SWE_anti_eng_cold_war }
					}
				}
				IF = {
					limit = { original_tag = JAP }
					SWE = {
						add_ideas = { SWE_anti_jap_cold_war }
					}
				}
				IF = {
					limit = { original_tag = ITA }
					SWE = {
						add_ideas = { SWE_anti_ita_cold_war }
					}
				}
				IF = {
					limit = { original_tag = FRA }
					SWE = {
						add_ideas = { SWE_anti_fra_cold_war }
					}
				}
				IF = {
					limit = { original_tag = PRC }
					SWE = {
						add_ideas = { SWE_anti_prc_cold_war }
					}
				}
				IF = {
					limit = { original_tag = CHI }
					SWE = {
						add_ideas = { SWE_anti_chi_cold_war }
					}
				}
			}
		}
	}
	focus = {
		id = SWE_the_lion_of_the_north_rises
		icon = GFX_focus_SWE_the_lion_of_the_north
		prerequisite = { focus = SWE_karnvapenprogram focus = SWE_specialized_equipment }

		x = 1 
		y = 1
		relative_position_id = SWE_karnvapenprogram
		cost = 10
		available = {
		}
	                
		search_filters = {}

		completion_reward = {
			add_ideas = { SWE_lion_of_the_north }
		}
	}
	focus = {
		id = SWE_preemptive_strike
		icon = GFX_focus_ger_strike_at_the_source
		prerequisite = { focus = SWE_the_lion_of_the_north_rises focus = SWE_war_games }

		x = 1 
		y = 1
		relative_position_id = SWE_war_games
		cost = 10
		available = {
			is_subject = no
		}
  		bypass = {
			hidden_trigger = {
				is_ai = yes
				is_historical_focus_on = yes
			}
		}          

		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0
			}	
		}
		search_filters = {FOCUS_FILTER_ANNEXATION}

		completion_reward = {
			every_other_country = {
				limit = {
					is_major = yes
					is_faction_leader = yes
					NOT = { has_government = SWE }
					NOT = { is_in_faction_with = SWE }
				}
				SWE = {
					create_wargoal = {
						target = PREV
						type = puppet_wargoal_focus
					}
				}
			}
		}
	}

	focus = {
		id = SWE_research_slot_2
		icon = GFX_focus_research
		x = 0
		y = 1

		cost = 10
		prerequisite = { focus = SWE_end_the_fubkrieg }
		relative_position_id = SWE_end_the_fubkrieg
		

		ai_will_do = {
			factor = 10		
		}

		available = {
			num_of_factories > 80
		}

		bypass = {

		}

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

		completion_reward = {
			add_research_slot = 1
		}
	}
}

