focus_tree = {

	id = sweden

	country = {
		factor = 0

		modifier = {
			add = 20
			original_tag = SWE
		}
	}


	continuous_focus_position = { x = 1570 y = 410 }

	#Post-Crisis Fiscal Decisions
	focus = {
		id = SWE_post_crisis_fiscal_decisions
		icon = renounce_treaty

		x = 0
		y = 0

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = { }

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			country_event = Sweden.5
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_riksbank_policy
		icon = self_management

		x = 0
		y = 1
		relative_position_id = SWE_post_crisis_fiscal_decisions

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_post_crisis_fiscal_decisions
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			country_event = Sweden.6
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_currency_policy
		icon = money

		x = 0
		y = 2
		relative_position_id = SWE_post_crisis_fiscal_decisions

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_riksbank_policy
		}

		mutually_exclusive = { }

		available = {
		}

		bypass = { }

		completion_reward = {
			add_political_power = 50
			add_stability = 0.02
		}

		ai_will_do = {
			factor = 10
		}
	}

	#Improve the 122
	focus = {
		id = SWE_improve_the_stridsvagn_122
		icon = stridsvagn_122

		x = 1
		y = 5

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = { }

		mutually_exclusive = { }

		available = {
			NOT = { has_war_with = GER }
		}

		bypass = { }

		completion_reward = {
			if = {
				#Get a new tank tech and some new tanks.
				limit = { NOT = { has_tech = MBT_4 } }
				add_equipment_to_stockpile = {
					type = MBT_4
					amount = 20
					producer = SWE
				}
				set_technology = { MBT_4 = 1 }

				#If you already have the tech, you get some more tanks to still have a viable focus.
				else = {
					add_equipment_to_stockpile = {
						type = MBT_4
						amount = 40
						producer = SWE
					}
				}

				GER = {
					add_opinion_modifier = {
						target = SWE
						modifier = military_deals
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_contracts_for_german_armament_companies
		icon = leopard_2a6

		x = 0
		y = 1
		relative_position_id = SWE_improve_the_stridsvagn_122

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_improve_the_stridsvagn_122
		}

		mutually_exclusive = { }

		available = {
			date > 2015.01.01
			NOT = { has_war_with = GER }
		}

		bypass = { }

		completion_reward = {

		if = {
			#Get a new tank tech and some new tanks.
			limit = { NOT = { has_tech = MBT_5 } }
			add_equipment_to_stockpile = {
				type = MBT_4
				amount = 20
				producer = SWE
			}
			set_technology = { MBT_5 = 1 }

			#If you already have the tech, you get some more tanks to still have a viable focus.
			else = {
					add_equipment_to_stockpile = {
					type = MBT_5
					amount = 40
					producer = SWE
				}
			}

			GER = {
				add_opinion_modifier = {
					target = SWE
					modifier = military_deals
				}
			}
		}

		}

		ai_will_do = {
			factor = 10
		}
	}


	#Öresund Bridge
	focus = {
		id = SWE_oresund_bridge
		icon = infrastructure

		x = 2
		y = 0

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = { }

		mutually_exclusive = { }

		available = {
			has_full_control_of_state = 550
		}

		bypass = { }

		completion_reward = {
			DEN = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
			if = {
				limit = { has_full_control_of_state = 550 }
				550 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_expand_e20
		icon = infrastructure

		x = 0
		y = 2
		relative_position_id = SWE_oresund_bridge

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_oresund_bridge
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		available = {
			has_full_control_of_state = 550
		}

		bypass = { }

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

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_expand_malmo_harbor
		icon = naval_dockyard

		x = -1
		y = 3
		relative_position_id = SWE_oresund_bridge

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_expand_e20
		}

		mutually_exclusive = { }

		available = {
			has_full_control_of_state = 550
		}

		bypass = { }

		completion_reward = {
			550 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 9279
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_expand_the_merchant_fleet
		icon = cruisers

		x = -2
		y = 4
		relative_position_id = SWE_oresund_bridge

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_expand_malmo_harbor
		}
		prerequisite = {
			focus = SWE_currency_policy
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
		add_equipment_to_stockpile = {
			type = convoy_1
			amount = 100
			producer = SWE
		}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_expand_the_stockholm_docks
		icon = naval_dockyard

		x = 0
		y = 4
		relative_position_id = SWE_oresund_bridge

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_expand_malmo_harbor
		}

		mutually_exclusive = { }

		available = {
			has_full_control_of_state = 34
		}

		bypass = { }

		completion_reward = {
			34 = {
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 6050
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	#Northern Friendship
	focus = {
		id = SWE_northern_friendship
		icon = volunteer_alliance

		x = 6
		y = 0

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = { }

		mutually_exclusive = {
			focus = SWE_northern_ambition
		}

		available = { }

		bypass = { }

		completion_reward = {
			add_political_power = 150
			add_stability = 0.02
			every_country = {
				limit = { OR = { original_tag = ICE original_tag = NOR original_tag = DEN original_tag = FIN } }
				add_opinion_modifier = {
					target = SWE
					modifier = political_outreach
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_friendship_with_denmark
		icon = align_to_denmark

		x = -3
		y = 1
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_friendship
		}
		prerequisite = {
			focus = SWE_oresund_bridge
		}

		mutually_exclusive = { }

		available = {
			NOT = { has_war_with = DEN }
		}

		bypass = { }

		completion_reward = {
			DEN = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_friendship_with_norway
		icon = align_to_norway

		x = -1
		y = 1
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_friendship
		}

		mutually_exclusive = { }

		available = {
			NOT = { has_war_with = NOR }
		}

		bypass = { }

		completion_reward = {
			NOR = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_friendship_with_the_baltic_states
		icon = align_to_baltic_states

		x = 1
		y = 1
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_friendship
		}

		mutually_exclusive = { }

		available = {
			OR = {
				NOT = { has_war_with = EST }
				NOT = { has_war_with = LAT }
				NOT = { has_war_with = LIT }
			}
		}

		bypass = { }

		completion_reward = {
			if = { limit = { NOT = { has_war_with = EST } }
				EST = {
					add_opinion_modifier = {
						target = SWE
						modifier = diplomatic_proximity
					}
				}
			}
			if = { limit = { NOT = { has_war_with = LAT } }
				LAT = {
					add_opinion_modifier = {
						target = SWE
						modifier = diplomatic_proximity
					}
				}
			}
			if = { limit = { NOT = { has_war_with = LIT } }
				LIT = {
					add_opinion_modifier = {
						target = SWE
						modifier = diplomatic_proximity
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_swedish_norwegian_steel_production
		icon = production

		x = -2
		y = 2
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_friendship_with_norway
		}

		mutually_exclusive = { }

		available = {
			has_full_control_of_state = 442
		}

		bypass = { }

		completion_reward = {
			NOR = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
				reverse_add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
			442 = {
				add_resource = {
					type = steel
					amount = 20
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_friendship_with_finland
		icon = align_to_finland

		x = 0
		y = 2
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_friendship_with_norway
		}

		mutually_exclusive = { }

		available = {
			NOT = { has_war_with = FIN }
		}

		bypass = { }

		completion_reward = {
			FIN = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_job_opportunities_in_scania
		icon = industry_democratic3

		x = -3
		y = 3
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_friendship_with_denmark
		}
		prerequisite = {
			focus = SWE_expand_e20
		}

		mutually_exclusive = { }

		available = {
			has_full_control_of_state = 34
		}

		bypass = { }

		completion_reward = {
			34 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_friendship_with_iceland
		icon = align_to_iceland

		x = 0
		y = 3
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_friendship_with_finland
		}

		mutually_exclusive = { }

		available = {
			NOT = { has_war_with = ICE }
		}

		bypass = { }

		completion_reward = {
			ICE = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_expand_e6
		icon = infrastructure

		x = -2
		y = 4
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_swedish_norwegian_steel_production
		}
		prerequisite = {
			focus = SWE_job_opportunities_in_scania
		}

		mutually_exclusive = { }

		available = {
			has_full_control_of_state = 550

			has_full_control_of_state = 35
		}

		bypass = { }

		completion_reward = {
			550 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}

			35 = {
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_further_european_integration
		icon = align_to_europe

		x = -2
		y = 5
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_expand_e6
		}

		mutually_exclusive = { }

		available = {
			has_idea = EU_member
		}

		completion_reward = {
			every_country = {
				limit = { }

				add_opinion_modifier = {
					target = SWE
					modifier = european_commitment
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_reform_the_diplomatic_agenda
		icon = race_relations2

		x = -3
		y = 6
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_further_european_integration
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_ideas = political_power_bonus
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_invite_european_experts
		icon = research

		x = -1
		y = 6
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_further_european_integration
		}

		mutually_exclusive = { }

		available = {
			has_idea = EU_member
		}

		bypass = { }

		completion_reward = {
			if = {
				limit = { GER = { has_idea = EU_member } }
				add_tech_bonus = {
					name = land_doc_bonus
					bonus = 0.25
					category = land_doctrine
				}
				else = {
					add_tech_bonus = {
						name = land_doc_bonus
						bonus = 0.1
						category = land_doctrine
					}
				}
			}
			if = {
				limit = { FRA = { has_idea = EU_member  } }
				add_tech_bonus = {
					name = air_doc_bonus
					bonus = 0.25
					category = land_doctrine
				}
				else = {
					add_tech_bonus = {
						name = air_doc_bonus
						bonus = 0.1
						category = land_doctrine
					}
				}
			}
			if = {
				limit = { ENG = { has_idea = EU_member  } }
				add_tech_bonus = {
					name = naval_doc_bonus
					bonus = 0.25
					category = land_doctrine
				}
				else = {
					add_tech_bonus = {
						name = naval_doc_bonus
						bonus = 0.1
						category = land_doctrine
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_befriend_germany
		icon = align_to_germany

		x = -4
		y = 7
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_contracts_for_german_armament_companies
			focus = SWE_reform_the_diplomatic_agenda
		}

		mutually_exclusive = { }

		available = {
			NOT = { has_war_with = GER }

		}

		bypass = { }

		completion_reward = {
			GER = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_education_reform
		icon = research

		x = -2
		y = 7
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_invite_european_experts
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_ideas = scientific_advances2
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_european_military_contracts
		icon = military_mission

		x = 0
		y = 7
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_invite_european_experts
		}

		mutually_exclusive = { }

		available = {
			has_idea = EU_member
		}

		bypass = { }

		completion_reward = {
			army_experience = 30
			navy_experience = 30
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_befriend_france
		icon = align_to_france

		x = -3
		y = 8
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_reform_the_diplomatic_agenda
		}
		prerequisite = {
			focus = SWE_befriend_germany
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			FRA = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_armored_initiative
		icon = tanks4

		x = -1
		y = 8
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_european_military_contracts
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_tech_bonus = {
				name = tank_bonus
				bonus = 0.3
				category = Cat_ARMOR
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_artillery_initiative
		icon = artillery

		x = 1
		y = 8
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_european_military_contracts
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_tech_bonus = {
				name = artillery_bonus
				bonus = 0.3
				category = Cat_ARTILLERY
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_infantry_weapons_initiative
		icon = small_arms4

		x = 3
		y = 8
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_european_military_contracts
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_tech_bonus = {
				name = infantry_bonus
				bonus = 0.3
				technology = infantry_weapons
				technology = infantry_weapons1
				technology = infantry_weapons2
				technology = infantry_weapons3
				technology = infantry_weapons4
				technology = infantry_weapons5
				technology = infantry_weapons6
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_befriend_the_united_kingdom
		icon = align_to_britain

		x = -4
		y = 9
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_befriend_france
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			ENG = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_overhaul_the_university_system
		icon = research

		x = -2
		y = 9
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_befriend_france
		}
		prerequisite = {
			focus = SWE_education_reform
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_research_slot = 1
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_befriend_italy
		icon = align_to_italy

		x = -4
		y = 10
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_befriend_the_united_kingdom
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			ITA = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_join_nato
		icon = align_to_nato

		x = -5
		y = 11
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_befriend_italy
		}

		mutually_exclusive = {
			focus = SWE_defensive_doctrines
		}

		available = { }

		bypass = { }

		completion_reward = {
			USA = {
				country_event = NATO.14
			}
			if = {
				limit = { SOV = { is_in_faction = yes NOT = { is_in_faction_with = USA } } }
				SOV = {
					add_opinion_modifier = {
						target = SWE
						modifier = major_breach_of_trust
					}
				}
			}
 			hidden_effect = {
				remove_ideas = neutrality_idea
			}

		}

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

	focus = {
		id = SWE_defensive_doctrines
		icon = military_fort

		x = -3
		y = 11
		relative_position_id = SWE_northern_friendship

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_befriend_italy
		}

		mutually_exclusive = {
			focus = SWE_join_nato
		}

		available = { }

		bypass = { }

		completion_reward = {
			add_ideas = defensive_preparations2
		}

		ai_will_do = {
			factor = 40
		}
	}

	#Northern Ambition
	focus = {
		id = SWE_northern_ambition
		icon = forceful_treaty

		x = 11
		y = 0

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = { }

		mutually_exclusive = {
			focus = SWE_northern_friendship
		}

		available = { }

		bypass = { }

		completion_reward = {
			add_political_power = -50
			add_stability = -0.05
			add_war_support = -0.15
			remove_ideas = neutrality_idea
		}

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

	focus = {
		id = SWE_northern_nationalism
		icon = fascism

		x = -2
		y = 1
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_ambition
		}

		mutually_exclusive = {
			focus = SWE_justify_swedish_imperialism
		}

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = {
				ideology = nationalist
				popularity = 0.05
			}
			recalculate_party = yes
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_justify_swedish_imperialism
		icon = align_to_sweden

		x = 2
		y = 1
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_ambition
		}

		mutually_exclusive = {
			focus = SWE_northern_nationalism
		}

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = {
				ideology = nationalist
				popularity = 0.05
			}
			recalculate_party = yes
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_partnership_of_convenience
		icon = align_to_russia

		x = 5
		y = 1
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_ambition
		}

		mutually_exclusive = {
			focus = SWE_animosity_towards_russia
		}

		available = { }

		bypass = { }

		completion_reward = {
			SOV = {
				add_opinion_modifier = {
					target = SWE
					modifier = declaration_of_friendship
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_join_csto
		icon = align_to_csto

		x = 5
		y = 2
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_partnership_of_convenience
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			SOV = { add_to_faction = SWE }
			if = {
				limit = { FIN = { NOT = { is_in_faction_with = SOV } } }
				FIN = {
					add_opinion_modifier = { target = SWE modifier = imminent_danger_to_national_security }
				}
			}
			if = {
				limit = { NOR = { NOT = { is_in_faction_with = SOV } } }
				NOR = {
					add_opinion_modifier = { target = SWE modifier = major_breach_of_trust }
				}
			}
			if = {
				limit = { DEN = { NOT = { is_in_faction_with = SOV } } }
				DEN = {
					add_opinion_modifier = { target = SWE modifier = major_breach_of_trust }
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_animosity_towards_russia
		icon = war2

		x = 7
		y = 1
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_ambition
		}

		mutually_exclusive = {
			focus = SWE_partnership_of_convenience
		}

		available = { }

		bypass = { }

		completion_reward = {
			add_stability = 0.02
			add_political_power = 20
			SOV = {
				add_opinion_modifier = {
					target = SWE
					modifier = minor_sanctions_relations
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_glorify_protestantism
		icon = flames_of_rebellion

		x = -3
		y = 2
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_nationalism
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_war_support = 0.05
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_rediscover_racial_theories
		icon = become_puppet

		x = -1
		y = 2
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_northern_nationalism
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = {
				ideology = nationalist
				popularity = 0.05
			}
			recalculate_party = yes
			
			add_war_support = -0.1
			add_political_power = -40
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_glorify_the_royal_family
		icon = monarchism

		x = 1
		y = 2
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_justify_swedish_imperialism
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = {
				ideology = nationalist
				popularity = 0.05
			}
			recalculate_party = yes
			
			add_war_support = 0.05
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_demand_equality_for_finland_swedes
		icon = military_deal

		x = 3
		y = 2
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_justify_swedish_imperialism
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			FIN = { country_event = Sweden.8 }
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_glorify_the_viking_heritage
		icon = political_pressure

		x = -3
		y = 3
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_glorify_protestantism
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = {
				ideology = nationalist
				popularity = 0.05
			}
			NOR = {
				add_popularity = {
					ideology = nationalist
					popularity = 0.05
				}
			}
			DEN = {
				add_popularity = {
					ideology = nationalist
					popularity = 0.05
				}
			}
			ICE = {
				add_popularity = {
					ideology = nationalist
					popularity = 0.05
				}
			}
			recalculate_party = yes
			if = {
				limit = { NOR = { NOT = { has_government = nationalist } } }
				NOR = { add_opinion_modifier = { target = SWE modifier = minor_sanctions_relations } }
			}
			if = {
				limit = { DEN = { NOT = { has_government = nationalist } } }
				DEN = { add_opinion_modifier = { target = SWE modifier = minor_sanctions_relations } }
			}
			if = {
				limit = { ICE = { NOT = { has_government = nationalist } } }
				ICE = { add_opinion_modifier = { target = SWE modifier = minor_sanctions_relations } }
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_declare_the_finns_honorary_northeners
		icon = fascism3

		x = -1
		y = 3
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_rediscover_racial_theories
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = {
				ideology = nationalist
				popularity = 0.05
			}
			FIN = {
				add_popularity = {
					ideology = nationalist
					popularity = 0.05
				}
			}
			recalculate_party = yes
			if = {
				limit = { FIN = { NOT = { has_government = nationalist } } }
				FIN = { add_opinion_modifier = { target = SWE modifier = minor_sanctions_relations } }
			}
			if = {
				limit = { FIN = { has_government = nationalist } }
				FIN = { add_opinion_modifier = { target = SWE modifier = minor_sanctions_relations } }
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_the_king_of_sweden
		icon = swedish_monarchy

		x = 1
		y = 3
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_glorify_the_royal_family
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			clear_array = ruling_party
			clear_array = gov_coalition_array
			add_to_array = { ruling_party = 23 } #Monarchist
			add_to_variable = { party_pop_array^23 = 0.25 } #Monarchist
			recalculate_party = yes
			IF = {
				limit = {
					NOT = {
						has_government = nationalist
					}
				}
				add_popularity = {
					ideology = nationalist
					popularity = 0.25
				}
				recalculate_party = yes
				set_politics = {
					ruling_party = nationalist
					elections_allowed = no
				}
			}
			else = {
				meta_effect = {
					text = {
						set_country_flag = [META_SET_RULING_PARTY]
					}
					META_SET_RULING_PARTY = "[meta_set_ruling_leader]"
				}
				set_leader = yes
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_anti_finnish_sentiment
		icon = attack_democracy

		x = 3
		y = 3
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_demand_equality_for_finland_swedes
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			FIN = {
				add_opinion_modifier = {
					target = SWE
					modifier = minor_sanctions_relations
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_embrace_the_northern_resistance_movement
		icon = attack_democracy4

		x = -5
		y = 4
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_glorify_the_viking_heritage
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = { ideology = nationalist popularity = 0.05 }
			recalculate_party = yes
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_the_northern_alliance
		icon = alliance_purple

		x = -2
		y = 4
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_glorify_the_viking_heritage
		}
		prerequisite = {
			focus = SWE_declare_the_finns_honorary_northeners
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {

			add_popularity = { ideology = nationalist popularity = 0.05 }
			recalculate_party = yes
			set_politics = {
				ruling_party = nationalist
				elections_allowed = no
			}
			create_faction = northern_alliance
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_utilize_the_church_of_sweden
		icon = demand_territory2

		x = 0
		y = 4
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_the_king_of_sweden
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_war_support = 0.05
			add_stability = 0.03
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_the_emperor_of_sweden
		icon = swedish_monarchy2

		x = 2
		y = 4
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_the_king_of_sweden
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = { ideology = nationalist popularity = 0.05 }
			recalculate_party = yes
			add_political_power = 200
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_northern_militias
		icon = entente

		x = -5
		y = 5
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_embrace_the_northern_resistance_movement
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_manpower = 25000
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_baltic_colonization_plan
		icon = war

		x = -3
		y = 5
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_the_northern_alliance
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			country_event = Sweden.9
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_government_propaganda
		icon = propaganda

		x = -1
		y = 5
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_the_northern_alliance
			focus = SWE_utilize_the_church_of_sweden
		}


		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_political_power = 150
			add_stability = 0.01
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_offer_province_status_to_estonia
		icon = attack_estonia

		x = 1
		y = 5
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_the_emperor_of_sweden
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			EST = { country_event = Sweden.10 }
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_tillbaka_till_riket
		icon = attack_finland

		x = 3
		y = 5
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_the_emperor_of_sweden
		}
		prerequisite = {
			focus = SWE_anti_finnish_sentiment
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			every_state = {
				limit = { is_core_of = FIN }
				add_claim_by = ROOT
			}
			create_wargoal = {
				target = FIN
				type = take_claimed_state
				generator = {
					111 145 149
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_aryan_pact
		icon = nazism

		x = -3
		y = 6
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_baltic_colonization_plan
		}

		mutually_exclusive = { }

		available = {
			has_government = nationalist
			GER = { has_government = nationalist }
			is_puppet = no
			GER = { is_puppet = no }
		}

		bypass = { }

		completion_reward = {
			SWE = { give_guarantee = GER }
			GER = { give_guarantee = SWE }
			add_opinion_modifier = {
				target = GER
				modifier = declaration_of_friendship
			}
			reverse_add_opinion_modifier = {
				target = GER
				modifier = declaration_of_friendship
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_state_control_of_newspapers
		icon = self_management

		x = -1
		y = 6
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_government_propaganda
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_stability = 0.04
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_censor_the_internet
		icon = propaganda

		x = 1
		y = 6
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_government_propaganda
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			add_popularity = { ideology = communism popularity = -0.05 }
			add_popularity = { ideology = fascism popularity = -0.05 }
			add_popularity = { ideology = democratic popularity = -0.05 }
			recalculate_party = yes
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_ally_the_kaiser
		icon = german_monarchy

		x = 3
		y = 6
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_tillbaka_till_riket
		}

		mutually_exclusive = { }

		available = {
			has_government = nationalist
			GER = { has_government = nationalist }
			is_puppet = no
			GER = { is_puppet = no }
		}

		bypass = { }

		completion_reward = {
			SWE = { give_guarantee = GER }
			GER = { give_guarantee = SWE }
			add_opinion_modifier = {
				target = GER
				modifier = declaration_of_friendship
			}
			reverse_add_opinion_modifier = {
				target = GER
				modifier = declaration_of_friendship
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_the_swedish_imperial_army
		icon = combined_arms

		x = 5
		y = 6
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_tillbaka_till_riket
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			army_experience = 50
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_the_swedish_imperial_air_force
		icon = escort_fighters

		x = 7
		y = 6
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_tillbaka_till_riket
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			air_experience = 50
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_the_swedish_imperial_navy
		icon = navy3

		x = 9
		y = 6
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_tillbaka_till_riket
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			navy_experience = 50
			random_owned_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}

		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SWE_pro_swedish_video_games
		icon = cryptologic_bomb

		x = 1
		y = 7
		relative_position_id = SWE_northern_ambition

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		prerequisite = {
			focus = SWE_censor_the_internet
		}

		mutually_exclusive = { }

		available = { }

		bypass = { }

		completion_reward = {
			country_event = Sweden.7
		}

		ai_will_do = {
			factor = 10
		}
	}

}
