### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_INTERNAL_AFFAIRS}
### search_filters = {FOCUS_FILTER_ARMY_XP}
### search_filters = {FOCUS_FILTER_NAVY_XP}
### search_filters = {FOCUS_FILTER_AIR_XP}
### search_filters = {FOCUS_FILTER_BALANCE_OF_POWERS}
### search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER}
### search_filters = {FOCUS_FILTER_MILITARY_CHARACTER}
### search_filters = {FOCUS_FILTER_INTERNATIONAL_TRADE}

focus_tree = { 
	id = finnish_focus

	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = FIN
		}
	}
	
	default = no

	initial_show_position = {
		x = 23
		y = 0
	}

	continuous_focus_position = { x = 45 y = 1500 }

	shared_focus = NORDIC_form_joint_alliance

##     ## ####  ######  ########  #######  ########  ####  ######     ###    ##       
##     ##  ##  ##    ##    ##    ##     ## ##     ##  ##  ##    ##   ## ##   ##       
##     ##  ##  ##          ##    ##     ## ##     ##  ##  ##        ##   ##  ##       
#########  ##   ######     ##    ##     ## ########   ##  ##       ##     ## ##       
##     ##  ##        ##    ##    ##     ## ##   ##    ##  ##       ######### ##       
##     ##  ##  ##    ##    ##    ##     ## ##    ##   ##  ##    ## ##     ## ##       
##     ## ####  ######     ##     #######  ##     ## ####  ######  ##     ## ######## 



	focus = {
		id = FIN_finnish_neutrality
		icon = GFX_focus_FIN_finnish_neutrality
		x = 2
		y = 0
		cost = 5
		ai_will_do = {
		factor = 6
	    }

		available = {
			has_government = neutrality
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_political_power = 50
			add_war_support = -0.05
			add_stability = 0.05

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = FIN_risto_ryti

			hidden_effect = {
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					FIN_vaino_tanner = {
						if = {
							limit = {
								has_trait = FIN_humble_appeaser_tanner
							}
							add_trait = {
								trait = appeaser
								slot = political_advisor
							}
							remove_trait = {
								trait = FIN_humble_appeaser_tanner
								slot = political_advisor
							}
						}
					}
					FIN_miina_sillanpaa = {
						if = {
							limit = {
								has_trait = FIN_champion_of_equality_sillanpaa
							}
							add_trait = {
								trait = champion_of_equality
								slot = political_advisor
							}
							remove_trait = {
								trait = FIN_champion_of_equality_sillanpaa
								slot = political_advisor
							}
						}
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
						has_dlc = "Arms Against Tyranny"
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}
	
	focus = {
		id = FIN_political_unity
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = FIN_finnish_neutrality }

		x = -4
		y = 1
		relative_position_id = FIN_finnish_neutrality
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_political_power = 100
			FIN_bop_low_increase_effect = yes

			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = FIN_ilmari_kianto

			show_unit_leaders_tooltip = FIN_aarne_sihvo
		}
	}

	focus = {
		id = FIN_align_the_agrarian_league
		icon = GFX_focus_generic_workers
		prerequisite = { focus = FIN_political_unity  }

		x = -3
		y = 1
		relative_position_id = FIN_political_unity
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_political_power = 50

			FIN_bop_very_low_increase_effect = yes

			add_popularity = {
				ideology = neutrality
				popularity = 0.03
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = FIN_urho_kekkonen
		}
	}

	focus = {
		id = FIN_the_finnish_swedish_peoples_party
		icon = GFX_focus_generic_industrialists
		prerequisite = {  focus = FIN_political_unity }

		x = 2
		y = 0
		relative_position_id = FIN_align_the_agrarian_league
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_political_power = 50

			FIN_bop_very_low_increase_effect = yes

			add_popularity = {
				ideology = neutrality
				popularity = 0.03
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = FIN_ralf_torngren
			show_ideas_tooltip = FIN_ernst_von_born
		}
	}
	
	focus = {
		id = FIN_collaboration_with_the_left
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = FIN_political_unity }

		x = 1
		y = 1
		relative_position_id = FIN_political_unity
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_political_power = 50

			FIN_bop_very_low_increase_effect = yes

			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = FIN_vaino_tanner
			show_ideas_tooltip = FIN_miina_sillanpaa
		}
	}
	
	focus = {
		id = FIN_railways_and_infrastructure
		icon = GFX_focus_generic_railroad
		prerequisite = { focus = FIN_political_unity }

		x = 0
		y = 2
		relative_position_id = FIN_political_unity
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			#Railway to Pori and Rauma and Naval Base in Pori
			if = {
				limit = {
					has_full_control_of_state = 926 #TURKU
				}
				if = {
					limit = {
						926 = {
							naval_base < 10
						}
					}
					926 = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = naval_base
							level = 2
							instant_build = yes
							province = 3117
						}
						build_railway = { #To Pori
							path = { 3025 3009 3117 }
						}
						build_railway = { #To Rauma
							path = { 11172 9094 169 }
						}
					}
				}
			}

			#Railway Kemi-Rovaniemi and Supply Hub in Rovaniemi
			if = {
				limit = {
					has_full_control_of_state = 148 #LAPPI
				}

				148 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = supply_node
						level = 1
						instant_build = yes
						province = 6087
					}
					build_railway = { #Kemi - Rovaniemi
						path = { 11164 162 6087 }
					}
				}
			}

			#Railway Lappeenranta - Savonlinna - Varkaus and Supply Hub in Savonlinna
			if = {
				limit = {
					controls_province = 6082 #Lappeenranta
					controls_province = 52
					controls_province = 3131
					controls_province = 37 #Savonlina
					controls_province = 136 #Varkaus
					controls_province = 11043
				}
				930 = { #MIKKELI
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = supply_node
						level = 1
						instant_build = yes
						province = 37
					}
				}
				build_railway = { #Lappeenranta - Savonlinna - Varkaus
					path = { 6082 52 3131 37 136 11043 }
				}
			}

			#Supply Hub in Kaajani (KUOPIO)
			if = {
				limit = {
					controls_province = 3125
				}
				150 = {
					add_building_construction = {
						type = supply_node
						level = 1
						instant_build = yes
						province = 3125
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_repurpose_small_industries
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = FIN_railways_and_infrastructure }

		x = 0
		y = 2
		relative_position_id = FIN_railways_and_infrastructure
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = FIN_repurposed_small_industries

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				prioritize = { 150 } #KUOPIO
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = FIN_expand_state_military_factories
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = FIN_repurpose_small_industries }

		x = 0
		y = 1
		relative_position_id = FIN_repurpose_small_industries
		cost = 10
		available = {
			has_tech = construction4
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			if = {
				limit = {
					has_idea = FIN_national_industry_modernize
				}
				swap_ideas = {
					remove_idea = FIN_national_industry_modernize
					add_idea = FIN_national_industry_final
				}
			}
			else_if = { #To prevent duplicated NS when debugging etc
				limit = {
					NOT = { has_idea = FIN_national_industry_expand }
				}
				add_ideas = FIN_national_industry_expand
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = FIN_every_finnish_mio_tt
				every_military_industrial_organization = {
					limit = {
						OR = {
							is_military_industrial_organization = FIN_crichton_vulcan_organization
							is_military_industrial_organization = FIN_valtion_panssaritehdas_organization
							is_military_industrial_organization = FIN_valtion_lentokonetehdas_organization
							is_military_industrial_organization = FIN_valtion_kivaaritehdas_organization
							is_military_industrial_organization = FIN_valtion_tykkitehdas_organization
							is_military_industrial_organization = FIN_sisu_auto_organization
						}
					}
					add_mio_size = 1
					add_mio_research_bonus = 0.1
				}
			}
		}
	}
	
	focus = {
		id = FIN_a_new_course_for_kokoomus
		icon = GFX_focus_FIN_a_new_course_for_kokoomus
		prerequisite = { focus = FIN_expand_state_military_factories }
		mutually_exclusive = { focus = FIN_strengthen_military_administration }
		x = -1
		y = 1
		relative_position_id = FIN_expand_state_military_factories
		cost = 10
		available = {
			OR = {
				has_country_leader = {
					ruling_only = yes
					character = FIN_pehr_evind_svinhufvud
				}
				has_country_leader = {
					ruling_only = yes
					character = FIN_juho_kusti_paasikivi
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = {
			FIN_bop_low_increase_effect = yes

			add_political_power = 100

			if = { #Only do it if he is the country leader (he can't come back)
				limit = {
					has_country_leader = {
						ruling_only = yes
						character = FIN_pehr_evind_svinhufvud
					}
				}
				FIN_pehr_evind_svinhufvud = {
					swap_country_leader_traits = {
						remove = member_of_the_suojeluskunta
						add = member_of_the_suojeluskunta_improved
					}
					add_country_leader_trait = kokoomus_policies
				}
			}
			FIN_juho_kusti_paasikivi = {
				swap_country_leader_traits = {
					remove = paasikivi_doctrine
					add = paasikivi_doctrine_improved
				}
				add_country_leader_trait = kokoomus_policies
			}
			hidden_effect = {
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	focus = {
		id = FIN_the_finnish_throne
		icon = GFX_focus_FIN_the_finnish_throne
		prerequisite = { focus = FIN_a_new_course_for_kokoomus }
		x = 0
		y = 1
		relative_position_id = FIN_a_new_course_for_kokoomus
		cost = 10

		allow_branch = {
			has_completed_focus = FIN_a_new_course_for_kokoomus
			OR = {
				has_country_leader = {
					ruling_only = yes
					character = FIN_pehr_evind_svinhufvud
				}
				has_country_leader = {
					ruling_only = yes
					character = FIN_prince_wolfgang_von_hesse
				}
			}
		}

		available = {
			has_country_leader = {
				ruling_only = yes
				character = FIN_pehr_evind_svinhufvud
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_country_leader_role = {
				character =  FIN_prince_wolfgang_von_hesse
				promote_leader = yes
				country_leader = {
					ideology = despotism
					expire = "1965.1.1.1"
					traits = { crown_prince_of_finland personal_agenda_von_hesse }
				}
			}

			set_party_name = {
				ideology = neutrality
				long_name = FIN_neutrality_party_monarchist_long
				name = FIN_neutrality_party_monarchist
			}

			add_popularity = {
				ideology = neutrality
				popularity = -0.3
			}

			if = {
				limit = {
					has_completed_focus = FIN_greater_finland
				}
				set_cosmetic_tag = FIN_greater_kingdom_of_finland
			}
			else = {
				set_cosmetic_tag = FIN_kingdom_of_finland
			}
		}
	}
	
	focus = { 
		id = FIN_strengthen_military_administration
		icon = GFX_focus_FIN_strengthen_military_administration
		prerequisite = { focus = FIN_expand_state_military_factories }
		mutually_exclusive = { focus = FIN_a_new_course_for_kokoomus }
		x = 1
		y = 1
		relative_position_id = FIN_expand_state_military_factories
		cost = 10
		available = {
			has_country_leader = {
				ruling_only = yes
				character = FIN_carl_mannerheim
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }

		completion_reward = {
			FIN_bop_low_increase_effect = yes

			army_experience = 50
			air_experience = 25
			navy_experience = 25

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				every_country_division = {
					random_select_amount = 12
					add_divisional_commander_xp = 650
					hidden_effect = {
						add_history_entry = {
							key = FIN_strengthen_military_administration_history_entry
							subject = "Military Merit Award"
							allow = yes #(allow medal award)
						}
					}
				}
			}

			FIN_carl_mannerheim = {
				swap_country_leader_traits = {
					remove = sotamarsalkka
					add = sotamarsalkka_improved
				}
			}
		}
	}
	
	focus = {
		id = FIN_reach_out_to_scandinavia
		icon = GFX_focus_generic_nordic_territory
		prerequisite = { focus = FIN_finnish_neutrality }

		x = 0
		y = 1
		relative_position_id = FIN_finnish_neutrality
		cost = 5
		available = {
	    }

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			every_other_country = {
				limit = {
					NORDIC_is_nordic = yes
					NOT = { has_war_with = ROOT }
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = FIN_nordic_amity
				}
				ROOT = {
					add_opinion_modifier = {
						target = PREV
						modifier = FIN_nordic_amity
					}
				}
			}

			hidden_effect = {
				every_other_country = {
					limit = {
						NORDIC_is_nordic = yes
						NOT = { has_war_with = ROOT }
					}
					add_ai_strategy = {
						type = befriend 
						id = ROOT
						value = 25
					}
					ROOT = {
						add_ai_strategy = {
							type = befriend 
							id = PREV
							value = 25
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_moderate_politics
		icon = GFX_goal_generic_neutrality_focus
		prerequisite = { focus = FIN_reach_out_to_scandinavia }

		x = 0
		y = 1
		relative_position_id = FIN_reach_out_to_scandinavia
		cost = 5
		available = {
			has_government = neutrality
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_BALANCE_OF_POWER }

		completion_reward = {
			add_political_power = 50
			FIN_bop_very_low_increase_effect = yes
		}
	}
	


	
	focus = {
		id = FIN_the_lone_wolf
		icon = GFX_focus_FIN_the_lone_wolf
		prerequisite = { focus = FIN_moderate_politics }
		x = 0
		y = 1
		relative_position_id = FIN_moderate_politics
		cost = 5
		available = {
			is_subject = no
			is_in_faction = no
			threat > 0.5
			NOT = { has_government = democratic }
			NOT = { has_government = communism }
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_political_power = 100
			add_stability = 0.05
			add_war_support = 0.05

			add_ideas = FIN_the_lone_wolf
		}
	}
	focus = {
		id = FIN_cooperation_with_germany
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = FIN_the_lone_wolf }

		x = 0
		y = 1
		relative_position_id = FIN_the_lone_wolf
		cost = 5
		
		bypass = {
			OR = {
				is_in_faction_with = GER
				is_subject_of = GER
				has_subject = SOV
				has_subject = GER
				NOT = { country_exists = GER }
				GER = { has_capitulated = yes }
				GER = { has_war_with = SOV }
				SOV = { exists = no }
				GER = { has_subject = SOV }
				AND = {
					has_war_with = SOV
					NOT = { has_country_flag = FIN_winter_war_ongoing_flag }
				}
			}
		}

		available = {
			date > 1940.7.1
			is_subject = no
			NOT = { has_government = communism }
			NOT = { is_in_faction_with = SOV }
			NOT = { has_non_aggression_pact_with = SOV }
			NOT = { has_guaranteed = SOV }
			NOT = { has_country_flag = FIN_winter_war_ongoing_flag }
			GER = {
				NOT = { has_war_with = ROOT }
				NOT = { 
					any_allied_country = {
						has_war_with = ROOT
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"	
				}
				custom_effect_tooltip = FIN_cooperation_with_germany_subsidies_tt

				hidden_effect = {
					add_equipment_subsidy = {
						cic = FIN_basic_subsidies_value
						equipment_type = small_plane_airframe
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = FIN_basic_subsidies_value
						equipment_type = medium_plane_airframe
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = FIN_basic_subsidies_value
						equipment_type = light_tank_chassis
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = FIN_basic_subsidies_value
						equipment_type = medium_tank_chassis
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = FIN_basic_subsidies_value
						equipment_type = artillery_equipment
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = FIN_basic_subsidies_value
						equipment_type = anti_air_equipment
						seller_tags = { GER } 
					}
					add_equipment_subsidy = {
						cic = FIN_basic_subsidies_value
						equipment_type = anti_tank_equipment
						seller_tags = { GER } 
					}
				}
			}

			GER = {
				country_event = { id = AAT_finland_continuation_war.01 hours = 8 random_hours = 4 }
			}

			custom_effect_tooltip = if_they_accept_tt
			effect_tooltip = {
				FIN_pact_for_continuation_war_start = yes

				if = {
					limit = {
						has_dlc = "No Step Back"
					}
					add_equipment_to_stockpile = { 
						type = light_tank_chassis_1
						amount = 50
						producer = GER
					}
				}
				else = {
					add_equipment_to_stockpile = { 
						type = light_tank_equipment_1
						amount = 50
						producer = GER
					}
				}
				if = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					add_equipment_to_stockpile = { 
						type = small_plane_airframe_1
						amount = 50
						producer = GER
					}
				}
				else = {
					add_equipment_to_stockpile = { 
						type = fighter_equipment_1
						amount = 50
						producer = GER
					}
				}
				add_equipment_to_stockpile = { 
					type = convoy_1
					amount = 50
					producer = GER
				}
				add_equipment_to_stockpile = { 
					type = artillery_equipment_1
					amount = 50
					producer = GER
				}
				add_equipment_to_stockpile = { 
					type = anti_air_equipment_1
					amount = 25
					producer = GER
				}
				add_equipment_to_stockpile = { 
					type = infantry_equipment_1
					amount = 3000
					producer = GER
				}
				add_equipment_to_stockpile = { 
					type = support_equipment_1
					amount = 300
					producer = GER
				}
			}
			custom_effect_tooltip = FIN_pact_for_continuation_war_fin_focus_tt
		}
	}
	
	focus = {
		id = FIN_wartsila_engine_production
		icon = GFX_focus_FIN_wartsila_engine_production
		prerequisite = { focus = FIN_cooperation_with_germany }

		x = -1
		y = 1
		relative_position_id = FIN_cooperation_with_germany
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {
			army_experience = 15
			navy_experience = 15
			air_experience = 15

			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				every_military_industrial_organization = {
					limit = {
						OR = {
							is_military_industrial_organization = FIN_crichton_vulcan_organization
							is_military_industrial_organization = FIN_valtion_panssaritehdas_organization
							is_military_industrial_organization = FIN_valtion_lentokonetehdas_organization
							is_military_industrial_organization = FIN_sisu_auto_organization
						}
					}
					add_mio_size = 1
					unlock_mio_trait_tooltip = FIN_mio_trait_wartsila_engine_production
				}
			}
		}
	}
	
	focus = {
		id = FIN_german_military_advisors
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = FIN_cooperation_with_germany }

		x = 1
		y = 1
		relative_position_id = FIN_cooperation_with_germany
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			army_experience = 50
			add_command_power = 25

			add_doctrine_cost_reduction = {
				name = FIN_german_military_advisors
				cost_reduction = 0.25
				uses = 3
				category = land_doctrine
				category = air_doctrine
				category = naval_doctrine
			}

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = GER_nikolaus_von_falkenhorst
		}
	}
	
	focus = {
		id = FIN_finnish_march_of_conquest
		icon = GFX_focus_generic_attack_finland
		prerequisite = { focus = FIN_wartsila_engine_production }
		prerequisite = { focus = FIN_german_military_advisors }

		x = 1
		y = 1
		relative_position_id = FIN_wartsila_engine_production
		cost = 10
		available = {
			is_subject = no
			has_dynamic_modifier = { modifier = FIN_finnish_army }
			all_core_state = {
				is_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			FIN_bop_low_increase_effect = yes

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = {
				FIN_finnish_army_conscription_factor = 0.1
				tooltip = conscription_factor_tt
			}
			
			add_timed_idea = {
				idea = FIN_finnish_march_of_conquest
				days = 730
			}

			custom_effect_tooltip = FIN_heimosodat_dec_tt
		}
	}
	

	focus = {
		id = FIN_weapon_caches
		icon = GFX_focus_FIN_weapon_caches
		prerequisite = { focus = FIN_finnish_neutrality }

		x = 2
		y = 0
		relative_position_id = FIN_reach_out_to_scandinavia


		cost = 5

		available = {
			threat > 0.35
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			unlock_decision_category_tooltip = FIN_national_defense_category
		}
	}
	
	focus = {
		id = FIN_national_unity
		icon = GFX_focus_EST_national_pride_in_finland
		prerequisite = { focus = FIN_finnish_neutrality }

		x = 2
		y = 0
		relative_position_id = FIN_weapon_caches
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_BALANCE_OF_POWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_stability = 0.05
			FIN_bop_medium_increase_effect = yes

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = FIN_vilho_annala
		}
	}
	

	focus = {
		id = FIN_arm_the_lotta_svard
		icon = GFX_focus_SWE_lottakoren
		prerequisite = { focus = FIN_national_unity }

		x = 0
		y = 1
		relative_position_id = FIN_national_unity
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_ideas = FIN_lotta_svard

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

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = FIN_hilja_riipinen

			show_unit_leaders_tooltip = FIN_fanni_luukkonen
		}
	}

	focus = {
		id = FIN_union_of_finnish_brothers_in_arms
		icon = GFX_focus_FIN_union_of_finnish_borthers_in_arms
		prerequisite = { focus = FIN_arm_the_lotta_svard }

		x = 0
		y = 2
		relative_position_id = FIN_arm_the_lotta_svard
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_ideas = FIN_union_of_finnish_brothers_in_arms

			show_unit_leaders_tooltip = FIN_paavo_talvela
		}
	}

	focus = {
		id = FIN_parmis_devils
		icon = GFX_focus_FIN_parmis_devils
		prerequisite = { focus = FIN_union_of_finnish_brothers_in_arms }

		x = 1
		y = 1
		relative_position_id = FIN_union_of_finnish_brothers_in_arms
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			#Spawn Penal divisions
			custom_effect_tooltip = FIN_parmis_devils_spawn_tt
			hidden_effect = {
				#set_technology = { penal_infantry = 1 popup = no } #Note: Granting tech will make the penal battalion available for any template
				division_template = {
					name = "Rangaistusdivisioona"
					division_names_group = FIN_PEN_01
					is_locked = yes
					force_allow_recruiting = yes
					override_model = FIN_infantry_alt_1_entity
					division_cap = 6

					regiments = {
						penal_battalion = { x = 0 y = 0 }
						penal_battalion = { x = 0 y = 1 }
						penal_battalion = { x = 0 y = 2 }
						penal_battalion = { x = 1 y = 0 }
						penal_battalion = { x = 1 y = 1 }
						penal_battalion = { x = 1 y = 2 }
						penal_battalion = { x = 2 y = 0 }
						penal_battalion = { x = 2 y = 1 }
						penal_battalion = { x = 2 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}
				capital_scope = {
					create_unit = {
						division = "division_template = \"Rangaistusdivisioona\" start_experience_factor = 1 start_equipment_factor = 1.0"
						officer = {
							name = FIN_nikke_parmi
							portraits = {
								army = {
									large = GFX_portrait_FIN_nikke_parmi
									small = GFX_portrait_FIN_nikke_parmi_small
								}
							}
						}
						owner = ROOT
					}
				}
				if = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					random_country_division = {
						limit = {
							division_has_battalion_in_template = penal_battalion
						}
						add_divisional_commander_xp = 2300
						add_history_entry = {
							key = FIN_parmis_devils
							subject = "Pärmi's Devils"
							allow = no #(allow medal award)
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_militarized_society
		icon = GFX_focus_generic_limited_social_mobilization
		prerequisite = { focus = FIN_union_of_finnish_brothers_in_arms }

		x = 0
		y = 2
		relative_position_id = FIN_union_of_finnish_brothers_in_arms
		cost = 5
		available = {
			OR = {
				has_idea = all_adults_serve
				has_idea = scraping_the_barrel
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = FIN_militarized_society

			hidden_effect = {
				if = {
					limit = {
						has_dlc = "No Step Back"
						has_completed_focus = FIN_national_armor_focus
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}
	
	focus = {
		id = FIN_a_cry_for_help
		icon = GFX_focus_FIN_a_cry_for_help
		prerequisite = { focus = FIN_national_unity }
		x = 1
		y = 2
		relative_position_id = FIN_national_unity
		cost = 5
		available = {
			custom_trigger_tooltip = {
				tooltip = FIN_in_a_defensive_war_against_a_major_tt
				any_enemy_country = {
					is_major = yes
					ROOT = { has_defensive_war_with = PREV }
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			if = { #Just for tooltip purposes
				limit = {
					has_war = no
					country_exists = SWE
					NOT = {
						has_war_with = SWE
						any_enemy_country = {
							is_in_faction_with = SWE
						}
					}
					SWE = { is_subject = no }
				}
				effect_tooltip = {
					country_event = AAT_finland_winter_war.01
				}
			}
			else_if = {
				limit = {
					country_exists = SWE
					NOT = {
						has_war_with = SWE
						any_enemy_country = {
							is_in_faction_with = SWE
						}
					}
					SWE = { is_subject = no }
				}
				country_event = AAT_finland_winter_war.01
			}

			add_timed_idea = {
				idea = FIN_international_volunteers
				days = 365
			}
		}
	}
		
	focus = {
		id = FIN_greater_finland
		icon = GFX_focus_FIN_greater_finland
		prerequisite = { focus = FIN_finnish_march_of_conquest focus = FIN_militarized_society }

		x = -2
		y = 1
		relative_position_id = FIN_militarized_society
		cost = 10
		available = {
			is_subject = no
			all_core_state = {
				is_controlled_by = ROOT
			}
			controls_state = 213 #MURMANSK
			controls_state = 215 #ONEGA
			controls_state = 216 #OLONETS
		}

		search_filters = {}

		completion_reward = {
			FIN_bop_low_increase_effect = yes

			213 = { #MURMANSK
				add_core_of = ROOT
			}
			215 = { #ONEGA
				add_core_of = ROOT
			}
			216 = { #OLONETS
				add_core_of = ROOT
			}
			666 = { #NORRBOTTEN
				add_core_of = ROOT
			}
			925 = { #FINNMARK
				add_core_of = ROOT
			}

			if = {
				limit = {
					has_country_leader = {
						ruling_only = yes
						character = FIN_prince_wolfgang_von_hesse
					}
				}
				set_cosmetic_tag = FIN_greater_kingdom_of_finland
			}
			else = {
				set_cosmetic_tag = FIN_greater_finland
			}

			add_state_claim = 208 #LUGA
			add_state_claim = 195 #LENINGRAD
			add_state_claim = 244 #VOLKHOV
			add_state_claim = 264 #TIKHVIN
		}
	}



########    ###     ######   ######  ####  ######  ######## 
##         ## ##   ##    ## ##    ##  ##  ##    ##    ##    
##        ##   ##  ##       ##        ##  ##          ##    
######   ##     ##  ######  ##        ##   ######     ##    
##       #########       ## ##        ##        ##    ##    
##       ##     ## ##    ## ##    ##  ##  ##    ##    ##    
##       ##     ##  ######   ######  ####  ######     ##    











#### ##    ## ########  ##     ##  ######  ######## ########  ####    ###    ##          ########  ########     ###    ##    ##  ######  ##     ## 
 ##  ###   ## ##     ## ##     ## ##    ##    ##    ##     ##  ##    ## ##   ##          ##     ## ##     ##   ## ##   ###   ## ##    ## ##     ## 
 ##  ####  ## ##     ## ##     ## ##          ##    ##     ##  ##   ##   ##  ##          ##     ## ##     ##  ##   ##  ####  ## ##       ##     ## 
 ##  ## ## ## ##     ## ##     ##  ######     ##    ########   ##  ##     ## ##          ########  ########  ##     ## ## ## ## ##       ######### 
 ##  ##  #### ##     ## ##     ##       ##    ##    ##   ##    ##  ######### ##          ##     ## ##   ##   ######### ##  #### ##       ##     ## 
 ##  ##   ### ##     ## ##     ## ##    ##    ##    ##    ##   ##  ##     ## ##          ##     ## ##    ##  ##     ## ##   ### ##    ## ##     ## 
#### ##    ## ########   #######   ######     ##    ##     ## #### ##     ## ########    ########  ##     ## ##     ## ##    ##  ######  ##     ## 


	focus = {
		id = FIN_enhance_southern_infrastructure
		icon = GFX_goal_generic_construct_infrastructure

		x = 9
		y = 0
		relative_position_id = FIN_finnish_neutrality



		cost = 10
		available = {
			has_full_control_of_state = 111 #UUSIMAA (Helsinki)
			has_full_control_of_state = 926 #TURKU
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			#UUSIMAA (Helsinki)
			111 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			#TURKU
			926 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			# Turku - Hanko - Helsinki
			build_railway = {
				path = { 3083 9194 11211 6108 11105 }
			}

			#HÄME
			if = {
				limit = {
					has_full_control_of_state = 927
				}
				927 = { #HÄME
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}

					#Supply Hub in Tampere
					add_building_construction = {
						type = supply_node
						level = 1
						province = 3137
						instant_build = yes
					}
				}

				# Helsinki - Tampere - Hämeenlinna
				build_railway = {
					path = { 11105 9129 11172 3025 3137 9167 }
				}
			}
			
			#KYME
			if = {
				limit = {
					has_full_control_of_state = 928
				}
				928 = { #KYME
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					#Naval Base in Kotka
					add_building_construction = {
						type = supply_node
						level = 1
						province = 3061
						instant_build = yes
					}
				}

				if = {
					limit = {
						has_full_control_of_state = 930
						has_full_control_of_state = 927
					}
					# Helsinki - Hämeenlinna - Lahti - Kouvola - Kotka
					build_railway = {
						path = { 11105 9129 6144 9167 67 9073 9183 3061 }
					}
					# Helsinki - Porvoo - Kotka
					build_railway = {
						path = { 11105 6009 204 3161 3061 }
					}
				}
				else = {
					# Helsinki - Porvoo - Kouvola - Kotka
					build_railway = {
						path = { 11105 9129 6144 6009 204 9183 3061 }
					}
				}

				#VIIPURI
				if = {
					limit = {
						controls_province = 9206 #Controls Viipuri VP
					}
					# Kouvola - Viipuri
					build_railway = {
						path = { 9183 11056 6082 9206 }
					}
				}
			}
			
			#MIKKELI
			if = {
				limit = {
					has_full_control_of_state = 930
				}
				930 = { #MIKKELI
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = FIN_industrial_development
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = FIN_enhance_southern_infrastructure }

		x = 0
		y = 1
		relative_position_id = FIN_enhance_southern_infrastructure
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

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

			#UUSIMAA (Helsinki)
			if = {
				limit = {
					controls_state = 111
				}
				111 = { #UUSIMAA (Helsinki)
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_state = {
					prioritize = { 928 } #KYME
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			#TURKU
			if = {
				limit = {
					controls_state = 926
				}
				926 = { #TURKU
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_owned_state = {
					prioritize = { 149 } #VAASA
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_bank_of_aland
		icon = GFX_focus_usa_reestablish_the_gold_standard
		prerequisite = { focus = FIN_industrial_development }

		x = -2
		y = 1
		relative_position_id = FIN_industrial_development
		cost = 10
		
		bypass = {
			has_civil_war = no
			NOT = {
				145 = { #ÅLAND
					is_owned_by = ROOT
				}
			}
		}

		available = {
			145 = { #ÅLAND
				is_owned_and_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_political_power = 70
			add_stability = 0.05
			add_timed_idea = {
				idea = FIN_bank_of_aland_ns
				days = 730
			}
		}
	}
	
	focus = {
		id = FIN_suomen_akatemia
		icon = GFX_focus_research
		prerequisite = { focus = FIN_bank_of_aland }

		x = 0
		y = 1
		relative_position_id = FIN_bank_of_aland
		cost = 5
		available = {
			has_tech = computing_machine
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_research_slot = 1
			add_tech_bonus = {
				name = FIN_suomen_akatemia
				bonus = 0.75
				uses = 1
				category = electronics
			}
		}
	}
	
	focus = {
		id = FIN_janiskoski_power_plant
		icon = GFX_focus_generic_energy
		prerequisite = { focus = FIN_industrial_development }

		x = 0
		y = 1
		relative_position_id = FIN_industrial_development
		cost = 5
		available = {
			722 = { #PETSAMO
				OR = {
					is_controlled_by = ROOT
					controller = {
						is_subject_of = ROOT
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			722 = { #PETSAMO
				set_state_category = rural
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 4
				}
			}
		}
	}
	
	focus = {
		id = FIN_found_pohjolan_voima
		icon = GFX_focus_generic_land_reclamation
		prerequisite = { focus = FIN_janiskoski_power_plant }

		x = 0
		y = 2
		relative_position_id = FIN_janiskoski_power_plant
		cost = 10
		available = {
			has_tech = construction3
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = FIN_pohjolan_voima

			custom_effect_tooltip = FIN_found_pohjolan_voima_factories_tt
			every_core_state = {
				random_select_amount = 5
				limit = {
					is_fully_controlled_by = ROOT
					infrastructure > 2
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = FIN_expand_imatra_hydropower_plant
		icon = GFX_goal_generic_construction
		prerequisite = { focus = FIN_janiskoski_power_plant }

		x = 1
		y = 1
		relative_position_id = FIN_janiskoski_power_plant
		cost = 5
		available = {
			has_full_control_of_state = 928 #KYME
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			928 = { #KYME
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 4
				}
			}
		}
	}
	
	focus = {
		id = FIN_makola_mine
		icon = GFX_focus_generic_mining_industry
		prerequisite = { focus = FIN_expand_imatra_hydropower_plant }

		x = 1
		y = 1
		relative_position_id = FIN_expand_imatra_hydropower_plant
		cost = 5
		available = {
			has_tech = excavation3
			has_full_control_of_state = 929 #OULU
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			929 = { #OULU
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = supply_node
					level = 1
					province = 11132
					instant_build = yes
				}

				add_resource = {
					type = steel
					amount = 4
				}
				add_resource = {
					type = chromium
					amount = 2
				}
			}

			# Oulu - Nivala
			build_railway = {
				path = { 158 11121 195 11132 }
			}

			if = {
				limit = {
					has_full_control_of_state = 149
				}
				# Oulu - Vaasa
				build_railway = {
					path = { 158 11121 195 66 3172 11065 3122 }
				}
			}
		}
	}
	
	focus = {
		id = FIN_power_from_the_dams
		icon = GFX_focus_generic_hydroelectric_energy
		prerequisite = { focus = FIN_expand_imatra_hydropower_plant }

		x = 0
		y = 2
		relative_position_id = FIN_expand_imatra_hydropower_plant
		cost = 5
		available = {
			has_tech = construction4
			148 = {
				is_owned_and_controlled_by = ROOT
			}
			929 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = FIN_hydro_electric_expansion

			random_core_state = {
				prioritize = { 927 } #HÄME (Tampere)
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					NOT = { has_state_flag = FIN_power_from_the_dams_flag }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = FIN_power_from_the_dams_flag
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			148 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 11164
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			929 = {
				add_building_construction = {
					type = dam
					level = 1
					instant_build = yes
					province = {
						id = 158
					}
				}
				custom_effect_tooltip = {
					localization_key = building_state_modifier|dam
					INDENT = "    "
				}
			}

		}
	}
	
	focus = {
		id = FIN_tire_factory_at_nokia
		icon = GFX_focus_generic_improve_roads
		prerequisite = { focus = FIN_industrial_development }

		x = 2
		y = 1
		relative_position_id = FIN_industrial_development
		cost = 3
		available = {
			has_full_control_of_state = 927 #HÄME (Tampere - Nokia)
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = FIN_tire_factory_at_nokia
				bonus = 1
				uses = 2
				category = synth_resources
			}
			
			if = {
				limit = {
					has_tech = synth_oil_experiments
				}
				FIN_nokia_tires_after_tech_effect = yes
			}
			else = {
				custom_effect_tooltip = FIN_tire_factory_at_nokia_tech_tt
				effect_tooltip = {
					927 = {
						add_extra_state_shared_building_slots = 3
						custom_effect_tooltip = FIN_tire_factory_at_nokia_add_synthetic_refineries_tt
					}
				}
				if = {
					limit = {
						has_idea = FIN_nokia
					}
					swap_ideas = {
						remove_idea = FIN_nokia
						add_idea = FIN_nokia_improved
					}
				}
				else = {
					custom_effect_tooltip = FIN_improves_nokia_designer_tt
					effect_tooltip = {
						swap_ideas = {
							remove_idea = FIN_nokia
							add_idea = FIN_nokia_improved
						}
					}
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_sisu_auto_organization = {
					unlock_mio_trait_tooltip  = FIN_mio_trait_recycled_materials
				}
			}
		}
	}

	focus = {
		id = FIN_vaisala_radiosonde_tests
		icon = GFX_goal_generic_radar
		prerequisite = { focus = FIN_industrial_development }

		x = 4
		y = 1
		relative_position_id = FIN_industrial_development
		cost = 5
		available = {
			has_full_control_of_state = 111 #UUSIMAA (Helsinki)
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = FIN_vaisala_radiosonde_tests
				bonus = 0.75
				uses = 2
				category = electronics
			}
			111 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = FIN_contract_with_yhteissisu
		icon = GFX_focus_generic_truck
		prerequisite = { focus = FIN_tire_factory_at_nokia }
		prerequisite = { focus = FIN_outokumpu_for_defence_industry }

		x = 1
		y = 1
		relative_position_id = FIN_tire_factory_at_nokia
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_sisu_auto_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.35
					unlock_mio_trait_tooltip = FIN_mio_trait_yhteissisus_modern_premises
				}
			}
			else = {
				if = {
					limit = {
						has_idea = FIN_sisu_auto
					}
					swap_ideas = {
						remove_idea = FIN_sisu_auto
						add_idea = FIN_sisu_auto_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = FIN_sisu_auto
							add_idea = FIN_sisu_auto_improved
						}
					}
				}
			}
		}
	}

	focus = {
		id = FIN_industrial_upgrade_in_harjavalta #Power plant and copper)
		icon = GFX_goal_generic_production
		prerequisite = { focus = FIN_outokumpu_for_defence_industry }

		x = 3
		y = 1
		relative_position_id = FIN_tire_factory_at_nokia
		cost = 5
		available = {
			has_full_control_of_state = 926 #TURKU
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			926 = { #TURKU
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 1
					instant_build = yes
					province = 3083
				}
				add_resource = {
					type = steel
					amount = 4
				}
				add_resource = {
					type = chromium
					amount = 4
				}
			}
		}
	}

	focus = {
		id = FIN_expand_mining_prospection
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = FIN_expand_imatra_hydropower_plant }
		prerequisite = { focus = FIN_industrial_upgrade_in_harjavalta }

		x = -1
		y = 1
		relative_position_id = FIN_industrial_upgrade_in_harjavalta
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = FIN_expand_mining_prospection_tt
			every_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
					has_resources_amount = {
						resource = steel
						amount > 0
					}
				}
				add_resource = {
					show_state_in_tooltip = no
					type = steel
					amount = 2 #WARNING No vars supported here so if this changes the custom tooltip above needs to be updated. Tack
				}
			}

			#PETSAMO Chromium
			if = {
				limit = {
					controls_state = 722
				}
				722 = {
					add_resource = {
						type = chromium
						amount = 2
					}
				}
			}

			#OULU Chromium
			if = {
				limit = {
					controls_state = 929
				}
				929 = {
					add_resource = {
						type = chromium
						amount = 2
					}
				}
			}

			#TURKU Chromium
			if = {
				limit = {
					controls_state = 926
				}
				926 = {
					add_resource = {
						type = chromium
						amount = 2
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_elijarvi_mine
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = FIN_expand_mining_prospection }

		x = 0
		y = 1
		relative_position_id = FIN_expand_mining_prospection
		cost = 5
		available = {
			has_full_control_of_state = 148 #LAPPI (Kemi)
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			148 = { #LAPPI (Kemi)
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 4
				}
				add_resource = {
					type = chromium
					amount = 2
				}
			}
		}
	}
	
	focus = {
		id = FIN_tornio_steel_factory
		icon = GFX_focus_generic_steel
		prerequisite = { focus = FIN_elijarvi_mine }

		x = 0
		y = 1
		relative_position_id = FIN_elijarvi_mine
		cost = 5
		available = {
			has_full_control_of_state = 148 #LAPPI (Kemi)
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			148 = { #LAPPI (Kemi)
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 6
				}
				add_resource = {
					type = chromium
					amount = 4
				}
			}
		}
	}
	
	focus = {
		id = FIN_outokumpu_for_defence_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = FIN_suomen_maavoimat }

		x = 4
		y = 0
		relative_position_id = FIN_tire_factory_at_nokia
		cost = 10
		available = {
			has_full_control_of_state = 926 #TURKU (Pori)
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			926 = { #TURKU (Pori)
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 6
				}
			}
		}
	}

	focus = {
		id = FIN_oy_alkoholiliike
		icon = GFX_focus_FIN_oy_alkoholiliike
		prerequisite = { focus = FIN_outokumpu_for_defence_industry }

		x = 1
		y = 1
		relative_position_id = FIN_outokumpu_for_defence_industry
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05

			custom_effect_tooltip = FIN_oy_alkoholiliike_ns_tt
			hidden_effect = {
				set_technology = {
					molotov_cocktails_tech = 1
					popup = no
				}
			}
		}
	}

	focus = {
		id = FIN_integrate_oy_tikkakoski
		icon = GFX_focus_SOV_merge_plants
		prerequisite = { focus = FIN_outokumpu_for_defence_industry }

		x = 0
		y = 2
		relative_position_id = FIN_outokumpu_for_defence_industry
		cost = 5
		available = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_valtion_kivaaritehdas_organization = {
					has_mio_size > 4
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

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

			random_core_state = {
				prioritize = { 149 } #VAASA (Tikkakoski - Jyväskylä)
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}

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

					unlock_mio_trait_tooltip = FIN_mio_trait_oy_tikkakoski
				}
			}
			else = {
				if = {
					limit = {
						has_idea = FIN_valtion_kivaaritehdas
					}
					swap_ideas = {
						remove_idea = FIN_valtion_kivaaritehdas
						add_idea = FIN_valtion_kivaaritehdas_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = FIN_valtion_kivaaritehdas
							add_idea = FIN_valtion_kivaaritehdas_improved
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_national_firepower
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = FIN_integrate_oy_tikkakoski }

		x = 0
		y = 1
		relative_position_id = FIN_integrate_oy_tikkakoski
		cost = 10
		available = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_valtion_tykkitehdas_organization = {
					has_mio_size > 4
				}
			}
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = FIN_national_firepower
				bonus = 0.5
				uses = 2
				category = artillery
			}

			random_core_state = {
				prioritize = { 149 } #VAASA (Tikkakoski - Jyväskylä)
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_valtion_tykkitehdas_organization = {
					add_mio_size = 1
					add_mio_research_bonus = 0.1
					add_mio_funds_gain_factor = 0.35
				}
			}
			else = {
				if = {
					limit = {
						has_idea = FIN_valtion_tykkitehdas
					}
					swap_ideas = {
						remove_idea = FIN_valtion_tykkitehdas
						add_idea = FIN_valtion_tykkitehdas_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = FIN_valtion_tykkitehdas
							add_idea = FIN_valtion_tykkitehdas_improved
						}
					}
				}
			}
		}
	}



##     ## #### ##       #### ########    ###    ########  ##    ##    ########  ########     ###    ##    ##  ######  ##     ## 
###   ###  ##  ##        ##     ##      ## ##   ##     ##  ##  ##     ##     ## ##     ##   ## ##   ###   ## ##    ## ##     ## 
#### ####  ##  ##        ##     ##     ##   ##  ##     ##   ####      ##     ## ##     ##  ##   ##  ####  ## ##       ##     ## 
## ### ##  ##  ##        ##     ##    ##     ## ########     ##       ########  ########  ##     ## ## ## ## ##       ######### 
##     ##  ##  ##        ##     ##    ######### ##   ##      ##       ##     ## ##   ##   ######### ##  #### ##       ##     ## 
##     ##  ##  ##        ##     ##    ##     ## ##    ##     ##       ##     ## ##    ##  ##     ## ##   ### ##    ## ##     ## 
##     ## #### ######## ####    ##    ##     ## ##     ##    ##       ########  ##     ## ##     ## ##    ##  ######  ##     ## 



	focus = {
		id = FIN_increase_military_budget
		icon = GFX_focus_FIN_increase_military_budget

		x = 17
		y = 0
		relative_position_id = FIN_enhance_southern_infrastructure
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = FIN_increase_military_budget
				bonus = 0.5
				uses = 2
				category = infantry_weapons
				category = artillery
				category = motorized_equipment
				category = support_tech
				category = air_equipment
				category = naval_equipment
			}

			random_core_state = {
				prioritize = { 111 } #UUSIMAA (Helsinki)
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = FIN_suomen_maavoimat
		icon = GFX_focus_FIN_suomen_maavoimat
		prerequisite = { focus = FIN_increase_military_budget }

		x = -6
		y = 1
		relative_position_id = FIN_increase_military_budget
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			random_core_state = {
				prioritize = { 149 } #VAASA (Valtion Tykkitehdas premises in Jyväskylä)
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			#TOOLTIP STUFF TO MAKE MAINTENANCE A BIT LESS PAINFUL (no vars will show up in tooltips) - Changes to initial modifiers values will have to be adjusted in both dynamic modifiers
			effect_tooltip = {
				add_ideas = FIN_finnish_army_fake
			}
			hidden_effect = {
				add_dynamic_modifier = {	modifier = FIN_finnish_army }
			}
		}
	}

	focus = {
		id = FIN_operation_kilpapurjehdus
		icon = GFX_focus_SWE_the_aland_question
		prerequisite = { focus = FIN_suomen_maavoimat }

		x = -2
		y = 1
		relative_position_id = FIN_suomen_maavoimat
		cost = 5

		available = {
			threat > 0.7
			145 = { #ÅLAND
				is_demilitarized_zone = yes
			}
		}

		continue_if_invalid = yes
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_MANPOWER }

		completion_reward = {
			army_experience = 15
			navy_experience = 15

			145 = { #ÅLAND
				set_demilitarized_zone = no
				if = {
					limit = {
						naval_base < 9
					}
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 9228
					}
				}
				if = {
					limit = {
						bunker < 9
					}
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 9228
					}
				}
				if = {
					limit = {
						coastal_bunker < 9
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = 9228
					}
				}
				if = {
					limit = {
						anti_air_building < 5
					
					}
					add_building_construction = {
						type = anti_air_building
						level = 1
						instant_build = yes
					}
				}
			}

			hidden_effect = {
				news_event = { id = aat_news.101 hours = 16 random_hours = 8 }
			}
		}
	}
	
	focus = {
		id = FIN_extra_refresher_exercises
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = FIN_suomen_maavoimat }

		x = 0
		y = 1
		relative_position_id = FIN_suomen_maavoimat
		cost = 10
		available = {
			threat > 0.25
		}

		continue_if_invalid = yes
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MANPOWER }

		completion_reward = {
			army_experience = 15

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_experience_gain_army_factor = 0.05 tooltip = experience_gain_army_factor_tt }
			add_to_variable = { FIN_finnish_army_dig_in_speed_factor = 0.1 tooltip = dig_in_speed_factor_tt }
			add_to_variable = { FIN_finnish_army_training_time_factor = -0.1 tooltip = training_time_factor_tt }
			add_to_variable = { FIN_finnish_army_mobilization_speed = 0.1 tooltip = mobilization_speed_tt }
			add_to_variable = { FIN_finnish_army_conscription_factor = 0.1 tooltip = conscription_factor_tt }
		}
	}
	
	focus = {
		id = FIN_the_cold_front
		icon = GFX_focus_SOV_the_road_of_life
		prerequisite = { focus = FIN_extra_refresher_exercises }

		x = -2
		y = 1
		relative_position_id = FIN_extra_refresher_exercises
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_acclimatization_cold_climate_gain_factor = 0.1 tooltip = acclimatization_cold_climate_gain_factor_tt }
			add_to_variable = { FIN_finnish_army_cas_damage_reduction = 0.15 tooltip = cas_damage_reduction_tt }
			add_to_variable = { FIN_finnish_army_winter_attrition_factor = -0.15 tooltip = winter_attrition_factor_tt }

			army_experience = 15

			#TODO_Manu: Nice to have: Simo Häyä event chain starting here?
		}
	}
	
	focus = {
		id = FIN_jaeger_movement
		icon = GFX_focus_FIN_jaeger_movement
		prerequisite = { focus = FIN_extra_refresher_exercises }

		x = 0
		y = 1
		relative_position_id = FIN_extra_refresher_exercises
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			army_experience = 15

			set_technology = { bicycle_infantry = 1 popup = no }

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_special_forces_cap = 0.15 tooltip = special_forces_cap_tt }
			add_to_variable = { FIN_finnish_army_breakthrough_factor = 0.05 tooltip = breakthrough_factor_tt }
			add_to_variable = { FIN_finnish_army_special_forces_out_of_supply_factor = -0.1 tooltip = special_forces_out_of_supply_factor_tt }

			show_unit_leaders_tooltip = FIN_hannu_hannuksela
			show_unit_leaders_tooltip = FIN_hjalmar_siilasvuo
			show_unit_leaders_tooltip = FIN_taavetti_laatikainen

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = FIN_johan_arajuuri
		}
	}
	
	focus = {
		id = FIN_salvaged_and_retooled
		icon = GFX_focus_FIN_salvaged_and_retooled
		prerequisite = { focus = FIN_extra_refresher_exercises }

		x = 2
		y = 1
		relative_position_id = FIN_extra_refresher_exercises
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			army_experience = 15

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_equipment_capture_factor = 0.3 tooltip = equipment_capture_factor_tt }
			add_to_variable = { FIN_finnish_army_equipment_conversion_speed = 0.3 tooltip = equipment_conversion_speed_tt }
			add_to_variable = { FIN_finnish_army_production_lack_of_resource_penalty_factor = -0.15 tooltip = production_lack_of_resource_penalty_factor_tt }

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				every_military_industrial_organization = {
					limit = {
						OR = {
							is_military_industrial_organization = FIN_valtion_panssaritehdas_organization
							is_military_industrial_organization = FIN_valtion_kivaaritehdas_organization
							is_military_industrial_organization = FIN_valtion_tykkitehdas_organization
							is_military_industrial_organization = FIN_sisu_auto_organization
						}
					}
					add_mio_design_team_assign_cost = -0.5
					add_mio_design_team_change_cost = -0.2
					complete_mio_trait = FIN_mio_trait_salvaged_and_retooled
				}
			}

			add_tech_bonus = {
				name = FIN_salvaged_and_retooled
				bonus = 0.5
				uses = 1
				category = cat_mechanized_equipment
			}

			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				add_tech_bonus = {
					name = FIN_salvaged_and_retooled
					bonus = 0.5
					uses = 2
					category = cat_light_armor
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					create_equipment_variant = {
						name = "BT-42"
						type = light_tank_chassis_2
						parent_version = 0
						modules = {
							main_armament_slot = tank_close_support_gun
							turret_type_slot = tank_light_two_man_tank_turret
							suspension_type_slot = tank_christie_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
						}
						upgrades = {
							tank_nsb_engine_upgrade = 10
							tank_nsb_armor_upgrade = 2
						}
						icon = "GFX_FIN_improved_light_art_medium"
						design_team = mio:FIN_valtion_panssaritehdas_organization
					}
				}
				else = {
					create_equipment_variant = {
						name = "BT-42"
						type = light_tank_chassis_2
						parent_version = 0
						modules = {
							main_armament_slot = tank_close_support_gun
							turret_type_slot = tank_light_two_man_tank_turret
							suspension_type_slot = tank_christie_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
						}
						upgrades = {
							tank_nsb_engine_upgrade = 10
							tank_nsb_armor_upgrade = 2
						}
						icon = "GFX_FIN_improved_light_art_medium"
					}
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				if = {
					limit = {
						has_tech = mechanised_infantry3
					}
					mio:FIN_sisu_auto_organization = {
						unlock_mio_trait_tooltip = FIN_mio_trait_repurposed_equipment
					}
				}
				else = {
					custom_effect_tooltip = FIN_salvaged_and_retooled_sisu_trait_repurposed_tt
					mio:FIN_sisu_auto_organization = {
						unlock_mio_trait_tooltip = FIN_mio_trait_repurposed_equipment
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_winter_warfare
		icon = GFX_focus_generic_winter_warfare
		prerequisite = { focus = FIN_the_cold_front }

		x = 0
		y = 1
		relative_position_id = FIN_the_cold_front
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			army_experience = 25

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_acclimatization_cold_climate_gain_factor = 0.15 tooltip = acclimatization_cold_climate_gain_factor_tt }
			add_to_variable = { FIN_finnish_army_winter_attrition_factor = -0.15 tooltip = winter_attrition_factor_tt }
			add_to_variable = { FIN_finnish_army_supply_combat_penalties_on_core_factor = -0.15 tooltip = supply_combat_penalties_on_core_factor_tt }

			custom_effect_tooltip = FIN_winter_warfare_battalion_tt

			hidden_effect = {
				set_technology = {
					winter_logistics_support_tech = 1
					popup = no
				}
			}
		}
	}
	
	focus = {
		id = FIN_motti_tactics
		icon = GFX_focus_FIN_motti_tactics
		prerequisite = { focus = FIN_jaeger_movement focus = FIN_salvaged_and_retooled }
		prerequisite = { focus = FIN_the_cold_front }

		x = 0
		y = 1
		relative_position_id = FIN_jaeger_movement
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			army_experience = 25

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_org_loss_when_moving = -0.15 tooltip = org_loss_when_moving_tt }
			add_to_variable = { FIN_finnish_army_recon_factor_while_entrenched = 0.1 tooltip = recon_factor_while_entrenched_tt }
			add_to_variable = { FIN_finnish_army_army_attack_speed_factor = 0.1 tooltip = army_attack_speed_factor_tt }

			show_unit_leaders_tooltip = FIN_matti_aarnio

			unlock_decision_category_tooltip = FIN_motti_tactics_category
		}
	}
	
	focus = {
		id = FIN_foreign_armor
		icon = GFX_focus_FIN_foreign_anti_air
		prerequisite = { focus = FIN_salvaged_and_retooled }

		x = 1
		y = 1
		relative_position_id = FIN_salvaged_and_retooled
		cost = 5
		available = {
			NOT = {
				is_justifying_wargoal_against = SWE
			}
			SWE = {
				exists = yes
				has_capitulated = no
				NOT = { is_justifying_wargoal_against = ROOT	}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {
			add_tech_bonus = {
				name = FIN_foreign_armor
				bonus = 0.5
				uses = 2
				category = armor
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = FIN_foreign_armor_equipment_and_subsidies_tt
			}
			else = {
				custom_effect_tooltip = FIN_foreign_armor_equipment_only_tt
			}

			effect_tooltip = { #Just tooltip purposes
				every_other_country = {
					limit = {
						OR = {
							original_tag = GER
							original_tag = ITA
							original_tag = ENG
							original_tag = FRA
							original_tag = SOV
							original_tag = SWE
						}
						FIN_can_purchase_equipment_from_country = yes
					}
					display_individual_scopes = yes
				}
			}

			hidden_effect = {
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					if = {
						limit = {
							GER = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = light_tank_chassis
							seller_tags = { GER } 
						}
					}
					if = {
						limit = {
							ITA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = light_tank_chassis
							seller_tags = { ITA } 
						}
					}
					if = {
						limit = {
							ENG = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = light_tank_chassis
							seller_tags = { ENG } 
						}
					}
					if = {
						limit = {
							FRA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = light_tank_chassis
							seller_tags = { FRA } 
						}
					}
					if = {
						limit = {
							SOV = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = light_tank_chassis
							seller_tags = { SOV } 
						}
					}
					if = {
						limit = {
							SWE = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = light_tank_chassis
							seller_tags = { SWE } 
						}
					}
				}

				if = {
					limit = {
						has_dlc = "No Step Back"
					}
					if = {
						limit = {
							GER = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_1
							amount = 50
							producer = GER
						}
						add_equipment_to_stockpile = { 
							type = heavy_tank_chassis_1
							amount = 15
							producer = GER
						}
					}
					if = {
						limit = {
							ITA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_1
							amount = 35
							producer = ITA
						}
					}
					if = {
						limit = {
							ENG = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_0
							amount = 50
							producer = ENG
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_1
							amount = 25
							producer = ENG
						}

						if = {
							limit = {
								NOT = { has_country_flag = FIN_vickers_template_created_flag }
							}
							create_equipment_variant = {
								name = "Vickers Mark E Tpye B"
								type = light_tank_chassis_0
								parent_version = 0
								modules = {
									main_armament_slot = tank_high_velocity_cannon
									turret_type_slot = tank_light_one_man_tank_turret
									suspension_type_slot = tank_bogie_suspension
									armor_type_slot = tank_riveted_armor
									engine_type_slot = tank_gasoline_engine
									special_type_slot_1 = secondary_turret_hmg
								}
								upgrades = {
									tank_nsb_armor_upgrade = 3
									tank_nsb_engine_upgrade = 2
								}
								obsolete = yes
								icon = "GFX_FIN_gw_tank_destroyer_vickers_medium"
								model = "commonwealth_gfx_light_armor_entity"
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_0
							variant_name = "Vickers 6 ton A"
							amount = 26
							producer = ENG
						}
					}
					if = {
						limit = {
							FRA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_0
							amount = 25
							producer = FRA
						}
						add_equipment_to_stockpile = { 
							type = medium_tank_chassis_0
							amount = 15
							producer = FRA
						}
					}
					if = {
						limit = {
							SOV = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_1
							variant_name = "T-26TU mod. 1933"
							amount = 50
							producer = SOV
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_1
							variant_name = "BT-5"
							amount = 25
							producer = SOV
						}
						add_equipment_to_stockpile = { 
							type = medium_tank_chassis_0
							amount = 15
							producer = SOV
						}
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
							SWE = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_0
							amount = 35
							producer = SWE
						}
						add_equipment_to_stockpile = { 
							type = light_tank_chassis_1
							amount = 15
							producer = SWE
						}

						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
							}
							model = "FIN_light_sp_anti_air_brigade_entity"
							icon = "GFX_SWE_basic_light_spaa_medium"
						}
						add_equipment_to_stockpile = { 
							type = light_tank_aa_chassis_2
							variant_name = "Landsverk L-62"
							amount = 15
							producer = SWE
						}
					}
				}
				else = {
					if = {
						limit = {
							GER = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_equipment_1
							amount = 50
							producer = GER
						}
						add_equipment_to_stockpile = { 
							type = heavy_tank_equipment_1
							amount = 15
							producer = GER
						}
					}
					if = {
						limit = {
							ITA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = light_tank_equipment_1
							amount = 35
							producer = ITA
						}
					}
					if = {
						limit = {
							ENG = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = gw_tank_equipment
							amount = 50
							producer = ENG
						}
						add_equipment_to_stockpile = { 
							type = light_tank_equipment_1
							amount = 25
							producer = ENG
						}
					}
					if = {
						limit = {
							FRA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = gw_tank_equipment
							amount = 25
							producer = FRA
						}
						add_equipment_to_stockpile = { 
							type = light_tank_equipment_1
							amount = 15
							producer = FRA
						}
					}
					if = {
						limit = {
							SOV = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = gw_tank_equipment
							amount = 50
							producer = SOV
						}
						add_equipment_to_stockpile = { 
							type = light_tank_equipment_1
							amount = 25
							producer = SOV
						}
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
							SWE = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = gw_tank_equipment
							amount = 35
							producer = SWE
						}
						add_equipment_to_stockpile = { 
							type = light_tank_equipment_1
							amount = 15
							producer = SWE
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_utilize_the_sami
		icon = GFX_focus_FIN_utilize_the_sami
		prerequisite = { focus = FIN_winter_warfare }

		x = -1
		y = 1
		relative_position_id = FIN_winter_warfare
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_ideas = FIN_sami_pathfinders

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

	focus = {
		id = FIN_long_range_patrols
		icon = GFX_focus_FIN_sissi
		prerequisite = { focus = FIN_winter_warfare }
		prerequisite = { focus = FIN_motti_tactics }

		x = 1
		y = 1
		relative_position_id = FIN_winter_warfare
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			custom_effect_tooltip = FIN_long_range_patrols_battalion_tt

			hidden_effect = {
				set_technology = {
					long_range_patrol_support_tech = 1
					popup = no
				}
			}
		}
	}
	
	focus = {
		id = FIN_finnish_radio_intelligence
		icon = GFX_focus_generic_cryptologic_bomb
		prerequisite = { focus = FIN_motti_tactics }

		x = 1
		y = 1
		relative_position_id = FIN_motti_tactics
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_RESEARCH }

		completion_reward = {
			army_experience = 25

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_intel_from_combat_factor = 0.1 tooltip = intel_from_combat_factor_tt }
			add_to_variable = { FIN_finnish_army_recon_factor_while_entrenched = 0.1 tooltip = recon_factor_while_entrenched_tt }

			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = FIN_reino_hallamaa
		}
	}
	
	focus = {
		id = FIN_sissi
		icon = GFX_focus_FIN_the_cold_front
		prerequisite = { focus = FIN_long_range_patrols }
		prerequisite = { focus = FIN_finnish_radio_intelligence }
		prerequisite = { focus = FIN_utilize_the_sami }
		mutually_exclusive = { focus = FIN_national_armor_focus }
		x = 1
		y = 1
		relative_position_id = FIN_long_range_patrols
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			army_experience = 35

			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_initiative_factor = 0.02 tooltip = initiative_factor_tt }
			add_to_variable = { FIN_finnish_army_recon_factor_while_entrenched = 0.1 tooltip = recon_factor_while_entrenched_tt }
			add_to_variable = { FIN_finnish_army_modifier_army_sub_unit_long_range_patrol_support_attack_factor = 0.1 tooltip = modifier_army_sub_unit_long_range_patrol_support_attack_factor_tt }
			add_to_variable = { FIN_finnish_army_modifier_army_sub_unit_long_range_patrol_support_defence_factor = 0.1 tooltip = modifier_army_sub_unit_long_range_patrol_support_defence_factor_tt }		

			show_unit_leaders_tooltip = FIN_erkki_raappana
		}
	}
	
	focus = {
		id = FIN_national_armor_focus
		icon = GFX_focus_generic_tank_production
		prerequisite = { focus = FIN_salvaged_and_retooled }
		prerequisite = { focus = FIN_finnish_radio_intelligence }
		mutually_exclusive = { focus = FIN_sissi }
		x = 0
		y = 3
		relative_position_id = FIN_salvaged_and_retooled
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {

			add_breakthrough_progress = {
				specialization = specialization_land
				value = 0.5
			}

			add_tech_bonus = {
				name = FIN_national_armor_focus
				bonus = 0.5
				uses = 1 # was 2
				category = armor
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			show_unit_leaders_tooltip = FIN_ruben_lagus

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_valtion_panssaritehdas_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.35
				}
			}
			else = {
				if = {
					limit = {
						has_idea = FIN_valtion_panssaritehdas
					}
					swap_ideas = {
						remove_idea = FIN_valtion_panssaritehdas
						add_idea = FIN_valtion_panssaritehdas_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = FIN_valtion_panssaritehdas
							add_idea = FIN_valtion_panssaritehdas_improved
						}
					}
				}
			}

			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					create_equipment_variant = { #Made-up
						name = "Pukki"
						type = light_tank_chassis_3
						parent_version = 0
						modules = {
							main_armament_slot = tank_small_cannon_2
							turret_type_slot = tank_light_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_1
							special_type_slot_2 = secondary_turret_hmg
							special_type_slot_3 = additional_machine_guns
							special_type_slot_4 = additional_machine_guns
						}
						upgrades = {
							tank_nsb_engine_upgrade = 10
							tank_nsb_armor_upgrade = 8
						}
						design_team = mio:FIN_valtion_panssaritehdas_organization
					}
					
					create_equipment_variant = { #Made-up
						name = "Sonni"
						type = medium_tank_chassis_2
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon
							turret_type_slot = tank_medium_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_1
							special_type_slot_2 = secondary_turret_small_cannon
							special_type_slot_3 = additional_machine_guns
							special_type_slot_4 = additional_machine_guns
						}
						upgrades = {
							tank_nsb_engine_upgrade = 9
							tank_nsb_armor_upgrade = 6
						}
						design_team = mio:FIN_valtion_panssaritehdas_organization
					}
				}
				else = {
					create_equipment_variant = { #Made-up
						name = "Pukki"
						type = light_tank_chassis_3
						parent_version = 0
						modules = {
							main_armament_slot = tank_small_cannon_2
							turret_type_slot = tank_light_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_1
							special_type_slot_2 = secondary_turret_hmg
							special_type_slot_3 = additional_machine_guns
							special_type_slot_4 = additional_machine_guns
						}
						upgrades = {
							tank_nsb_engine_upgrade = 10
							tank_nsb_armor_upgrade = 8
						}
					}
					
					create_equipment_variant = { #Made-up
						name = "Sonni"
						type = medium_tank_chassis_2
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon
							turret_type_slot = tank_medium_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_1
							special_type_slot_2 = secondary_turret_small_cannon
							special_type_slot_3 = additional_machine_guns
							special_type_slot_4 = additional_machine_guns
						}
						upgrades = {
							tank_nsb_engine_upgrade = 9
							tank_nsb_armor_upgrade = 6
						}
					}
				}

				hidden_effect = {
					if = {
						limit = {
							has_completed_focus = FIN_militarized_society
						}
						mark_focus_tree_layout_dirty = yes
					}
				}
			}
		}
	}

	focus = {
		id = FIN_innovative_designs
		icon = GFX_focus_generic_army_tanks2
		prerequisite = { focus = FIN_national_armor_focus }
		x = 0
		y = 1
		relative_position_id = FIN_national_armor_focus
		cost = 35

		allow_branch = {
			has_dlc = "No Step Back"
			has_completed_focus = FIN_national_armor_focus
			has_completed_focus = FIN_militarized_society
		}

		available = {
			has_tech = super_heavy_tank_chassis
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = { #Intended that this is not to shown to the player until the other focus is completed.
				limit = {
					has_completed_focus = FIN_militarized_society
				}
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
				create_equipment_variant = {
					name = "Hyökkäysvaunu"
					type = super_heavy_tank_chassis_1
					parent_version = 0
					modules = {
						main_armament_slot = tank_heavy_cannon_2
						turret_type_slot = tank_super_heavy_three_man_tank_turret
						suspension_type_slot = tank_torsion_bar_suspension
						armor_type_slot = tank_riveted_armor
						engine_type_slot = tank_gasoline_engine
						special_type_slot_1 = secondary_turret_hmg
						special_type_slot_2 = secondary_turret_hmg
						special_type_slot_3 = wet_ammo_storage
						special_type_slot_4 = empty
					}
					upgrades = {
						tank_nsb_engine_upgrade = 18
						tank_nsb_armor_upgrade = 7
					}
					icon = "GFX_FIN_super_heavy_tank_2_medium"
				}

				add_equipment_production = {
					equipment = {
						type = super_heavy_tank_chassis_1
						creator = "FIN"
						version_name = "Hyökkäysvaunu"
					}
					requested_factories = 1
					progress = 0.6
					efficiency = 50
				}
			}
		}
	}
	
	focus = {
		id = FIN_underground_resistance_cells
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = FIN_suomen_maavoimat }

		x = 2
		y = 1
		relative_position_id = FIN_suomen_maavoimat
		cost = 5
		available = {
			has_defensive_war = yes
		}

		search_filters = {}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_ideas = FIN_underground_resistance_cells_ns
			}
			else = {
				add_ideas = FIN_underground_resistance_cells_ns_no_lar
			}
		}
	}
	
	focus = {
		id = FIN_mannerheim_line
		icon = GFX_goal_fortify_the_westwall
		prerequisite = { focus = FIN_suomen_maavoimat }

		x = 4
		y = 1
		relative_position_id = FIN_suomen_maavoimat
		cost = 5
		available = {
			has_full_control_of_state = 146 #KARJALA
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			146 = { #KARJALA
				#Mannerheim Line
				add_building_construction = {
					type = bunker
					level = 3
					instant_build = yes
					province = 9105
				}
				add_building_construction = {
					type = bunker
					level = 3
					instant_build = yes
					province = 9100
				}

				#Supply Hub defenses
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 3187
				}

				#Viipuri
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes
					province = 9206
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 9206
				}
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 9206
				}

				#Viipuri - Supply Hub to the North East (Sortavala?)
				build_railway = {
					path = { 9206 11162 3050 6150 3187 }
				}

				add_dynamic_modifier = {
					modifier = FIN_mannerheim_line_expansion_modifier
					scope = FIN
				}
			}
		}
	}
	
	focus = {
		id = FIN_defense_in_depth
		icon = GFX_goal_generic_defence
		prerequisite = { focus = FIN_mannerheim_line }

		x = 0
		y = 1
		relative_position_id = FIN_mannerheim_line
		cost = 5
		available = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_army_ns_intro
			add_to_variable = { FIN_finnish_army_max_dig_in_factor = 0.1 tooltip = max_dig_in_factor_tt }
			add_to_variable = { FIN_finnish_army_dig_in_speed_factor = 0.05 tooltip = dig_in_speed_factor_tt }

			add_timed_idea = {
				idea = FIN_fortification_effort
				days = 730
			}

			if = {
				limit = {
					has_full_control_of_state = 146 #KARJALA
					has_full_control_of_state = 928 #KYME
					has_full_control_of_state = 930 #MIKKELI
				}
				146 = {
					#Viipuri
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 9206
					}
				}
				928 = {
					#Lappeenranta
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 6082
					}
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 52
					}
				}
				930 = {
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 3131
					}
					#Savonlina
					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 37
					}
					add_building_construction = {
						type = supply_node
						level = 1
						instant_build = yes
						province = 37
					}
				}

				#Viipuri - Lappeenranta - Savonlina
				build_railway = {
					path = { 9206 6082 52 3131 37 }
				}
			}
		}
	}
	
	focus = {
		id = FIN_helsinki_air_defense
		icon = GFX_focus_generic_air_defense
		prerequisite = { focus = FIN_mannerheim_line focus = FIN_expand_air_bases }

		x = 1
		y = 2
		relative_position_id = FIN_mannerheim_line
		cost = 5
		available = {
			is_special_project_completed = sp:sp_air_radar
			controls_state = 111 #UUSIMAA (Helsinki)
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			111 = { #UUSIMAA (Helsinki)
				add_building_construction = {
					type = bunker
					level = 3
					instant_build = yes
					province = 11105
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes
					province = 11105
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = FIN_suomen_ilmavoimat
		icon = GFX_focus_FIN_suomen_ilmavoimat
		prerequisite = { focus = FIN_increase_military_budget }

		x = 7
		y = 0
		relative_position_id = FIN_suomen_maavoimat
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_AIR_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			air_experience = 25

			add_tech_bonus = {
				name = FIN_suomen_ilmavoimat
				bonus = 0.75
				uses = 1
				category = air_equipment
			}
			add_doctrine_cost_reduction = {
				name = FIN_suomen_ilmavoimat
				cost_reduction = 0.75
				uses = 1
				category = air_doctrine
			}

			random_core_state = {
				prioritize = { 111 } #UUSIMAA (Helsinki) (Valtion Lentokonetehdas premises in Jyväskylä)
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			
			effect_tooltip = {
				add_ideas = FIN_finnish_airforce_fake
			}
			hidden_effect = {
				add_dynamic_modifier = { modifier = FIN_finnish_airforce }
			}
		}
	}
	
	focus = {
		id = FIN_expand_air_bases
		icon = GFX_focus_generic_air_bases
		prerequisite = { focus = FIN_suomen_ilmavoimat }

		x = -1
		y = 1
		relative_position_id = FIN_suomen_ilmavoimat
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			# UUSIMAA (Helsinki)
			if = {
				limit = {
					controls_state = 111
					111 = {
						air_base < 9
					}
				}
				111 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}

			# TURKU (Pori)
			if = {
				limit = {
					controls_state = 926
					926 = {
						air_base < 9
					}
				}
				926 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}

			#KYME (Kouvola)
			if = {
				limit = {
					controls_state = 928
					928 = {
						air_base < 9
					}
				}
				928 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}

			#LAPPLAND
			if = {
				limit = {
					controls_state = 148
				}
				if = {
					limit = {
						148 = {
							air_base < 9
						}
					}
					148 = {
						add_building_construction = {
							type = air_base
							level = 2
							instant_build = yes
						}
					}
				}
				148 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					#Supply Hub in Rovaniemi
					add_building_construction = {
						type = supply_node
						level = 1
						instant_build = yes
						province = 6087
					}
					#Kemi - Rovaniemi
					build_railway = {
						path = { 11164 162 6087 }
					}
				}
			}

			#PETSAMO
			if = {
				limit = {
					controls_state = 722
				}
				if = {
					limit = {
						722 = {
							air_base < 10
						}
					}
					722 = {
						add_building_construction = {
							type = air_base
							level = 1
							instant_build = yes
						}
					}
				}
			}
		}
	}

	focus = {
		id = FIN_foreign_aircraft
		icon = GFX_focus_generic_copy_plane_designs
		prerequisite = { focus = FIN_expand_air_bases }

		x = 0
		y = 1
		relative_position_id = FIN_expand_air_bases
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INTERNATIONAL_TRADE }

		completion_reward = {
			add_tech_bonus = {
				name = FIN_foreign_aircraft
				bonus = 0.5
				uses = 2
				category = air_equipment
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				custom_effect_tooltip = FIN_foreign_aircraft_equipment_and_subsidies_tt
			}
			else = {
				custom_effect_tooltip = FIN_foreign_aircraft_equipment_only_tt
			}

			effect_tooltip = { #Just tooltip purposes
				every_other_country = {
					limit = {
						OR = {
							original_tag = GER
							original_tag = ITA
							original_tag = ENG
							original_tag = FRA
							original_tag = USA
							original_tag = SOV
							original_tag = SWE
							original_tag = HOL
						}
						FIN_can_purchase_equipment_from_country = yes
					}
					display_individual_scopes = yes
				}
			}

			hidden_effect = {
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					if = {
						limit = {
							GER = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { GER } 
						}
					}
					if = {
						limit = {
							ITA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { ITA } 
						}
					}
					if = {
						limit = {
							ENG = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { ENG } 
						}
					}
					if = {
						limit = {
							FRA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { FRA } 
						}
					}
					if = {
						limit = {
							USA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { USA } 
						}
					}
					if = {
						limit = {
							SOV = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { SOV } 
						}
					}
					if = {
						limit = {
							SWE = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { SWE } 
						}
					}
					if = {
						limit = {
							HOL = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_subsidy = {
							cic = FIN_basic_subsidies_value
							equipment_type = small_plane_airframe
							seller_tags = { HOL } 
						}
					}
				}
			
				if = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					if = {
						limit = {
							GER = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_1
							amount = 50
							producer = GER
						}
						add_equipment_to_stockpile = { 
							type = small_plane_cas_airframe_1
							amount = 35
							producer = GER
						}
						add_equipment_to_stockpile = { 
							type = small_plane_naval_bomber_airframe_1
							amount = 35
							producer = GER
						}
					}
					if = {
						limit = {
							ITA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = medium_plane_airframe_1
							amount = 25
							producer = ITA
						}
					}
					if = {
						limit = {
							ENG = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_0
							amount = 50
							producer = ENG
						}
						add_equipment_to_stockpile = { 
							type = medium_plane_airframe_1
							amount = 25
							producer = ENG
						}
					}
					if = {
						limit = {
							FRA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_naval_bomber_airframe_0
							amount = 35
							producer = FRA
						}
					}
					if = {
						limit = {
							USA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_1
							amount = 25
							producer = USA
						}
					}
					if = {
						limit = {
							SOV = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_0
							amount = 50
							producer = SOV
						}
						add_equipment_to_stockpile = { 
							type = medium_plane_airframe_1
							amount = 35
							producer = SOV
						}
						add_equipment_to_stockpile = { 
							type = large_plane_airframe_0
							amount = 25
							producer = SOV
						}
					}
					if = {
						limit = {
							HOL = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = medium_plane_airframe_0
							amount = 25
							producer = HOL
						}
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
							SWE = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = small_plane_airframe_0
							amount = 35
							producer = SWE
						}
					}
				}
				else = {
					if = {
						limit = {
							GER = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = fighter_equipment_1
							amount = 50
							producer = GER
						}
						add_equipment_to_stockpile = { 
							type = CAS_equipment_1
							amount = 35
							producer = GER
						}
						add_equipment_to_stockpile = { 
							type = nav_bomber_equipment_1
							amount = 35
							producer = GER
						}
					}
					if = {
						limit = {
							ITA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = nav_bomber_equipment_1
							amount = 25
							producer = ITA
						}
					}
					if = {
						limit = {
							ENG = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = fighter_equipment_0
							amount = 50
							producer = ENG
						}
						add_equipment_to_stockpile = { 
							type = CAS_equipment_1
							amount = 25
							producer = ENG
						}
					}
					if = {
						limit = {
							FRA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = nav_bomber_equipment_1
							amount = 35
							producer = FRA
						}
					}
					if = {
						limit = {
							USA = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = fighter_equipment_0
							amount = 25
							producer = USA
						}
					}
					if = {
						limit = {
							SOV = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = fighter_equipment_0
							amount = 50
							producer = SOV
						}
						add_equipment_to_stockpile = { 
							type = tac_bomber_equipment_0
							amount = 35
							producer = SOV
						}
						add_equipment_to_stockpile = { 
							type = strat_bomber_equipment_1
							amount = 25
							producer = SOV
						}
					}
					if = {
						limit = {
							HOL = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = tac_bomber_equipment_0
							amount = 25
							producer = HOL
						}
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
							SWE = {
								FIN_can_purchase_equipment_from_country = yes
							}
						}
						add_equipment_to_stockpile = { 
							type = fighter_equipment_0
							amount = 35
							producer = SWE
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_pilot_training
		icon = GFX_focus_SOV_flying_clubs
		prerequisite = { focus = FIN_suomen_ilmavoimat }

		x = 1
		y = 1
		relative_position_id = FIN_suomen_ilmavoimat
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			air_experience = 25

			custom_effect_tooltip = FIN_modify_finnish_airforce_ns_intro
			add_to_variable = { FIN_finnish_airforce_air_weather_penalty = -0.1 tooltip = air_weather_penalty_tt }
			add_to_variable = { FIN_finnish_airforce_air_ace_generation_chance_factor = 0.1 tooltip = air_ace_generation_chance_factor_tt }
			add_to_variable = { FIN_finnish_airforce_air_home_defence_factor = 0.1 tooltip = air_home_defence_factor_tt }

			add_doctrine_cost_reduction = {
				name = FIN_pilot_training
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}

			add_ace = {
				name = Jorma
				surname = Sarvanto
				callsign = Zamba
				type = fighter_unique
			}

			add_ace = {
				name = Jorma
				surname = Karhunen
				callsign = Joppe
				type = fighter_good
			}
		}
	}

	focus = {
		id = FIN_expand_air_force_academy
		icon = GFX_focus_FIN_expand_air_force_academy
		prerequisite = { focus = FIN_pilot_training }

		x = 0
		y = 1
		relative_position_id = FIN_pilot_training
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_AIR_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			air_experience = 35

			custom_effect_tooltip = FIN_modify_finnish_airforce_ns_intro
			add_to_variable = { FIN_finnish_airforce_air_ace_generation_chance_factor = 0.1 tooltip = air_ace_generation_chance_factor_tt }
			add_to_variable = { FIN_finnish_airforce_ace_effectiveness_factor = 0.1 tooltip = ace_effectiveness_factor_tt }
			add_to_variable = { FIN_finnish_airforce_air_mission_efficiency = 0.05 tooltip = air_mission_efficiency_tt }

			add_doctrine_cost_reduction = {
				name = FIN_expand_air_force_academy
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			}

			#Air Bases in VAASA state (Kauhava and Tikkakoski)
			if = {
				limit = {
					controls_state = 149
				}
				149 = {
					add_building_construction = {
						type = air_base
						level = 2
						instant_build = yes
					}
				}
			}

			add_ace = {
				name = Ilmari
				surname = Juutilainen
				callsign = Illu
				type = fighter_genius
			}

			add_ace = {
				name = Hans
				surname = Wind
				callsign = Hasse
				type = fighter_genius
			}

			add_ace = {
				name = Oiva
				surname = Tuominen
				callsign = Oippa
				type = fighter_unique
			}
		}
	}
	
	focus = {
		id = FIN_naval_airforce
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = FIN_suomen_ilmavoimat }
		prerequisite = { focus = FIN_suomen_merivoimat }

		x = 2
		y = 3
		relative_position_id = FIN_suomen_ilmavoimat
		cost = 10
		available = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				has_tech = iw_small_airframe
			}
		}

		search_filters = {  FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_airforce_ns_intro
			add_to_variable = { FIN_finnish_airforce_naval_strike_targetting_factor = 0.1 tooltip = naval_strike_targetting_factor_tt }
			custom_effect_tooltip = FIN_naval_airforce_ns_tt

			hidden_effect = {
				add_ideas = FIN_hidden_naval_bomber_production_ns
			}

			add_tech_bonus = {
				name = FIN_naval_airforce
				bonus = 0.75
				uses = 1
				category = naval_bomber
			}

			air_experience = 15
			navy_experience = 15

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				if = {
					limit = {
						has_tech = basic_small_airframe
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = {
							name = "VL Kotka" 
							type = small_plane_naval_bomber_airframe_1
							modules = {
								fixed_main_weapon_slot = torpedo_mounting
								engine_type_slot = engine_1_1x
								special_type_slot_1 = empty
							}
							icon = "GFX_FIN_naval_bomber1_medium"
							design_team = mio:FIN_valtion_lentokonetehdas_organization
						}
					}
					else = {
						create_equipment_variant = {
							name = "VL Kotka" 
							type = small_plane_naval_bomber_airframe_1
							modules = {
								fixed_main_weapon_slot = torpedo_mounting
								engine_type_slot = engine_1_1x
								special_type_slot_1 = empty
							}
							icon = "GFX_FIN_naval_bomber1_medium"
						}
					}
				}
				else = {
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = {
							name = "VL Kotka" 
							type = small_plane_naval_bomber_airframe_0
							allow_without_tech = yes #Tooltip purposes (focus requires tech anyways)
							modules = {
								fixed_main_weapon_slot = torpedo_mounting
								engine_type_slot = engine_1_1x
								special_type_slot_1 = empty
							}
							icon = "GFX_FIN_iw_small_naval_bomber_1_medium"
							design_team = mio:FIN_valtion_lentokonetehdas_organization
						}
					}
					else = {
						create_equipment_variant = {
							name = "VL Kotka" 
							type = small_plane_naval_bomber_airframe_0
							allow_without_tech = yes #Tooltip purposes (focus requires tech anyways)
							modules = {
								fixed_main_weapon_slot = torpedo_mounting
								engine_type_slot = engine_1_1x
								special_type_slot_1 = empty
							}
							icon = "GFX_FIN_iw_small_naval_bomber_1_medium"
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_national_aircraft_production
		icon = GFX_focus_generic_aircraft_production
		prerequisite = { focus = FIN_expand_air_bases }
		prerequisite = { focus = FIN_pilot_training }

		x = 1
		y = 2
		relative_position_id = FIN_expand_air_bases
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = FIN_national_aircraft_production
				bonus = 0.5
				uses = 2
				category = air_equipment
			}

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

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_valtion_lentokonetehdas_organization = {
					add_mio_size = 1
					add_mio_funds_gain_factor = 0.35
					add_mio_research_bonus = 0.1
					add_mio_design_team_assign_cost = -0.5
				}
			}
			else = {
				if = {
					limit = {
						has_idea = FIN_valtion_lentokonetehdas
					}
					swap_ideas = {
						remove_idea = FIN_valtion_lentokonetehdas
						add_idea = FIN_valtion_lentokonetehdas_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = FIN_valtion_lentokonetehdas
							add_idea = FIN_valtion_lentokonetehdas_improved
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_support_for_ground_forces
		icon = GFX_focus_generic_cas_aircraft
		prerequisite = { focus = FIN_national_aircraft_production }
		mutually_exclusive = { focus = FIN_dominate_the_skies }
		x = -1
		y = 1
		relative_position_id = FIN_national_aircraft_production
		cost = 10
		available = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				has_tech = iw_small_airframe
			}
		}

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_airforce_ns_intro
			add_to_variable = { FIN_finnish_airforce_air_cas_efficiency = 0.1 tooltip = air_cas_efficiency_tt }
			custom_effect_tooltip = FIN_support_for_ground_forces_ns_tt

			hidden_effect = {
				add_ideas = FIN_hidden_cas_production_ns
			}

			add_tech_bonus = {
				name = FIN_support_for_ground_forces
				bonus = 0.75
				uses = 1
				category = cas_bomber
			}

			air_experience = 15

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				if = {
					limit = {
						has_tech = improved_small_airframe
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "VL Kemi"
							type = small_plane_cas_airframe_2
							parent_version = 0
							modules = {
								fixed_main_weapon_slot = bomb_locks
								fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
								engine_type_slot = engine_2_1x
							}
							icon = "GFX_FIN_CAS2_medium"
							design_team = mio:FIN_valtion_lentokonetehdas_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "VL Kemi"
							type = small_plane_cas_airframe_2
							parent_version = 0
							modules = {
								fixed_main_weapon_slot = bomb_locks
								fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
								engine_type_slot = engine_2_1x
							}
							icon = "GFX_FIN_CAS2_medium"
						}
					}
				}
				else_if = {
					limit = {
						has_tech = basic_small_airframe
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "VL Kemi"
							type = small_plane_cas_airframe_1
							parent_version = 0
							modules = {
								fixed_main_weapon_slot = bomb_locks
								fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
								engine_type_slot = engine_1_1x
							}
							icon = "GFX_FIN_CAS1_medium"
							design_team = mio:FIN_valtion_lentokonetehdas_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "VL Kemi"
							type = small_plane_cas_airframe_1
							parent_version = 0
							modules = {
								fixed_main_weapon_slot = bomb_locks
								fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
								engine_type_slot = engine_1_1x
							}
							icon = "GFX_FIN_CAS1_medium"
						}
					}
				}
				else = {
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "VL Kemi"
							type = small_plane_cas_airframe_0
							parent_version = 0
							modules = {
								fixed_main_weapon_slot = bomb_locks
								engine_type_slot = engine_1_1x
							}
							icon = "GFX_FIN_CAS1_medium"
							design_team = mio:FIN_valtion_lentokonetehdas_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "VL Kemi"
							type = small_plane_cas_airframe_0
							parent_version = 0
							modules = {
								fixed_main_weapon_slot = bomb_locks
								engine_type_slot = engine_1_1x
							}
							icon = "GFX_FIN_CAS1_medium"
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_dominate_the_skies
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = FIN_national_aircraft_production }
		mutually_exclusive = { focus = FIN_support_for_ground_forces }
		x = 1
		y = 1
		relative_position_id = FIN_national_aircraft_production
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_AIR_XP FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_airforce_ns_intro
			add_to_variable = { FIN_finnish_airforce_air_superiority_efficiency = 0.1 tooltip = air_superiority_efficiency_tt }
			custom_effect_tooltip = FIN_dominate_the_skies_ns_tt

			hidden_effect = {
				add_ideas = FIN_hidden_fighter_production_ns
			}

			add_tech_bonus = {
				name = FIN_dominate_the_skies
				bonus = 0.75
				uses = 1
				category = light_fighter
			}

			air_experience = 15

			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				if = {
					limit = {
						has_dlc = "Arms Against Tyranny"
					}
					create_equipment_variant = {
						name = "VL Pyörremyrsky"
						type = small_plane_airframe_4
						parent_version = 0
						modules = {
							fixed_main_weapon_slot = heavy_mg_2x
							fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x
							fixed_auxiliary_weapon_slot_2 = bomb_locks
							engine_type_slot = engine_4_1x
						}
						icon = "GFX_FIN_modern_small_fighter_1_medium"
						design_team = mio:FIN_valtion_lentokonetehdas_organization
					}
					create_equipment_variant = {
						name = "VL Humu"
						type = small_plane_airframe_3
						parent_version = 0
						modules = {
							fixed_main_weapon_slot = heavy_mg_2x
							fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
							engine_type_slot = engine_3_1x
						}
						icon = "GFX_FIN_fighter3_medium"
						design_team = mio:FIN_valtion_lentokonetehdas_organization
					}

					create_equipment_variant = {
						name = "VL Myrsky"
						type = small_plane_airframe_2
						parent_version = 0
						modules = {
							fixed_main_weapon_slot = heavy_mg_2x
							fixed_auxiliary_weapon_slot_1 = bomb_locks
							engine_type_slot = engine_2_1x
						}
						icon = "GFX_FIN_fighter2_medium"
						design_team = mio:FIN_valtion_lentokonetehdas_organization
					}

					create_equipment_variant = { #Made-up
						name = "IVL Haukka II"
						type = small_plane_airframe_1
						parent_version = 0
						modules = {
								fixed_main_weapon_slot = heavy_mg_2x
								engine_type_slot = engine_1_1x
							}
						icon = "GFX_FIN_fighter1_medium"
						design_team = mio:FIN_valtion_lentokonetehdas_organization
					}

					create_equipment_variant = {
						name = "IVL Haukka"
						type = small_plane_airframe_0
						parent_version = 0
						modules = {
								fixed_main_weapon_slot = light_mg_2x
								engine_type_slot = engine_1_1x
							}
						icon = "GFX_FIN_early_fighter_medium"
						design_team = mio:FIN_valtion_lentokonetehdas_organization
					}
				}
				else = {
					create_equipment_variant = {
						name = "VL Pyörremyrsky"
						type = small_plane_airframe_4
						parent_version = 0
						modules = {
							fixed_main_weapon_slot = heavy_mg_2x
							fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x
							fixed_auxiliary_weapon_slot_2 = bomb_locks
							engine_type_slot = engine_4_1x
						}
						icon = "GFX_FIN_modern_small_fighter_1_medium"
					}
					create_equipment_variant = {
						name = "VL Humu"
						type = small_plane_airframe_3
						parent_version = 0
						modules = {
							fixed_main_weapon_slot = heavy_mg_2x
							fixed_auxiliary_weapon_slot_1 = heavy_mg_2x
							engine_type_slot = engine_3_1x
						}
						icon = "GFX_FIN_fighter3_medium"
					}

					create_equipment_variant = {
						name = "VL Myrsky"
						type = small_plane_airframe_2
						parent_version = 0
						modules = {
							fixed_main_weapon_slot = heavy_mg_2x
							fixed_auxiliary_weapon_slot_1 = bomb_locks
							engine_type_slot = engine_2_1x
						}
						icon = "GFX_FIN_fighter2_medium"
					}

					create_equipment_variant = { #Made-up
						name = "IVL Haukka II"
						type = small_plane_airframe_1
						parent_version = 0
						modules = {
								fixed_main_weapon_slot = heavy_mg_2x
								engine_type_slot = engine_1_1x
							}
						icon = "GFX_FIN_fighter1_medium"
					}

					create_equipment_variant = {
						name = "IVL Haukka"
						type = small_plane_airframe_0
						parent_version = 0
						modules = {
								fixed_main_weapon_slot = light_mg_2x
								engine_type_slot = engine_1_1x
							}
						icon = "GFX_FIN_early_fighter_medium"
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_expand_production_lines
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = FIN_support_for_ground_forces focus = FIN_dominate_the_skies }
		mutually_exclusive = { focus = FIN_modernize_production_lines }
		x = -1
		y = 1
		relative_position_id = FIN_support_for_ground_forces
		cost = 10
		available = {
			has_tech = advanced_machine_tools
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					any_core_state = {
						arms_factory > 0
						free_building_slots = {
							building = arms_factory
							size > 1
						}
					}
				}
				random_core_state = {
					limit = {
						arms_factory > 0
						free_building_slots = {
							building = arms_factory
							size > 1
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
					if = {
						limit = {
							ROOT = {
								any_core_state = {
									NOT = { state = PREV.PREV }
									arms_factory > 0
									free_building_slots = {
										building = arms_factory
										size > 1
									}
								}
							}
						}
						ROOT = {
							random_core_state = {
								limit = {
									NOT = { state = PREV.PREV }
									arms_factory > 0
									free_building_slots = {
										building = arms_factory
										size > 1
									}
								}
								add_extra_state_shared_building_slots = 2
								add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
							}
						}
					}
					else = {
						ROOT = {
							random_core_state = {
								limit = {
									NOT = { state = PREV.PREV }
									free_building_slots = {
										building = arms_factory
										size > 1
									}
								}
								add_extra_state_shared_building_slots = 2
								add_building_construction = {
									type = arms_factory
									level = 2
									instant_build = yes
								}
							}
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_modernize_production_lines
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = FIN_dominate_the_skies focus = FIN_support_for_ground_forces }
		prerequisite = { focus = FIN_naval_airforce }
		mutually_exclusive = { focus = FIN_expand_production_lines }
		x = 1
		y = 1
		relative_position_id = FIN_dominate_the_skies
		cost = 10
		available = {
			has_tech = advanced_machine_tools
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					has_completed_focus = FIN_support_for_ground_forces
				}
				custom_effect_tooltip = FIN_modernize_production_lines_cas_designs_tt
				hidden_effect = {
					if = {
						limit = {
							has_idea = FIN_hidden_cas_production_ns
						}
						swap_ideas = {
							remove_idea = FIN_hidden_cas_production_ns
							add_idea = FIN_hidden_cas_production_ns_improved
						}
					}
					else = { #Extra check for weird situations
						add_ideas = FIN_hidden_cas_production_ns_improved
					}
				}
			}
			else_if = {
				limit = {
					has_completed_focus = FIN_dominate_the_skies
				}
				custom_effect_tooltip = FIN_modernize_production_lines_fighter_designs_tt
				hidden_effect = {
					if = {
						limit = {
							has_idea = FIN_hidden_fighter_production_ns
						}
						swap_ideas = {
							remove_idea = FIN_hidden_fighter_production_ns
							add_idea = FIN_hidden_fighter_production_ns_improved
						}
					}
					else = { #Extra check for weird situations
						add_ideas = FIN_hidden_fighter_production_ns_improved
					}
				}
			}
			else = {
				custom_effect_tooltip = FIN_modernize_production_lines_no_focus_tt
			}

			custom_effect_tooltip = FIN_modernize_production_lines_naval_airforce_tt
			hidden_effect = {
				if = {
					limit = {
						has_idea = FIN_hidden_naval_bomber_production_ns
					}
					swap_ideas = {
						remove_idea = FIN_hidden_naval_bomber_production_ns
						add_idea = FIN_hidden_naval_bomber_production_ns_improved
					}
				}
				else = { #Extra check for weird situations
					add_ideas = FIN_hidden_naval_bomber_production_ns_improved
				}
			}
		}
	}
	
	focus = {
		id = FIN_suomen_merivoimat
		icon = GFX_focus_FIN_suomen_merivoimat
		prerequisite = { focus = FIN_increase_military_budget }

		x = 6
		y = 0
		relative_position_id = FIN_suomen_ilmavoimat
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			navy_experience = 25

			add_tech_bonus = {
				name = FIN_suomen_merivoimat
				bonus = 0.75
				uses = 1
				category = naval_equipment
			}
			add_doctrine_cost_reduction = {
				name = FIN_suomen_merivoimat
				cost_reduction = 0.75
				uses = 1
				category = naval_doctrine
			}

			random_core_state = {
				prioritize = { 149 } #VAASA
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			effect_tooltip = {
				add_ideas = FIN_finnish_navy_fake
			}
			hidden_effect = {
				add_dynamic_modifier = { modifier = FIN_finnish_navy }
			}
		}
	}
	
	focus = {
		id = FIN_the_merchant_fleet
		icon = GFX_focus_generic_merchant_fleet
		prerequisite = { focus = FIN_suomen_merivoimat }

		x = -3
		y = 1
		relative_position_id = FIN_suomen_merivoimat
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
			add_to_variable = { FIN_finnish_navy_convoy_retreat_speed = 0.1 tooltip = convoy_retreat_speed_tt }
			custom_effect_tooltip = FIN_the_merchant_fleet_ns_tt

			hidden_effect = {
				add_ideas = FIN_hidden_convoy_production_ns
			}

			add_equipment_to_stockpile = { 
				type = convoy
				amount = 50 
				producer = ROOT
			}
		}
	}
	
	focus = {
		id = FIN_conversion_of_civilian_vessels
		icon = GFX_focus_generic_refit_civilian_ships
		prerequisite = { focus = FIN_the_merchant_fleet }
		prerequisite = { focus = FIN_coastal_defense }

		x = 1
		y = 1
		relative_position_id = FIN_the_merchant_fleet
		cost = 10
		available = {
			has_war = yes
			if = {
				limit = {
					NOT = { has_dlc = "Man the Guns" }
				}
				has_tech = early_destroyer
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_to_variable = { FIN_finnish_navy_refit_speed = 0.1 tooltip = refit_speed_tt }
			}
			custom_effect_tooltip = FIN_conversion_of_civilian_vessels_ns_tt

			hidden_effect = {
				if = {
					limit = {
						has_dlc = "Man the Guns"
					}
					add_ideas = FIN_hidden_dd_and_coastal_defense_production_ns
				}
				else = {
					add_ideas = FIN_hidden_dd_and_coastal_defense_production_ns_no_mtg
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_crichton_vulcan_organization = {
					add_mio_funds_gain_factor = 0.15
				}
			}
			else = {
				if = {
					limit = {
						has_idea = FIN_crichton_vulcan
					}
					swap_ideas = {
						remove_idea = FIN_crichton_vulcan
						add_idea = FIN_crichton_vulcan_improved
					}
				}
				else = {
					effect_tooltip = {
						swap_ideas = {
							remove_idea = FIN_crichton_vulcan
							add_idea = FIN_crichton_vulcan_improved
						}
					}
				}
			}

			unlock_decision_category_tooltip = generic_refit_civilian_ships_category
			set_country_flag = refit_convoy_ships_flag #Necessary flag for unlocking Refit Civilian Ships decs 
			#The variants created here replace the variants that can be created via decisions
			set_country_flag = refit_to_destroyer_flag
			set_country_flag = refit_to_cruiser_flag

			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				# DESTROYER
				create_equipment_variant = { #Made-up
					name = "Refitted Destroyer Class" 		
					type = ship_hull_light_1
					name_group = "FIN_DD_HISTORICAL" #Note: Doesn't matter if ROOT is not DEN, the effect will grab the appropriate country-specific name list anyways
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_light_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = light_ship_engine_1
						fixed_ship_torpedo_slot = ship_torpedo_1
						mid_1_custom_slot = empty
						rear_1_custom_slot = empty
					}
					obsolete = yes
					design_team = mio:FIN_crichton_vulcan_organization
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_light_1
						creator = "FIN"
						version_name = "Refitted Destroyer Class"
					}
					name = "Mikkeli"
					requested_factories = 1
					progress = 0.75
					amount = 3
					industrial_manufacturer = mio:FIN_crichton_vulcan_organization
				}

				# Light Cruiser
				create_equipment_variant = { #Made-up
					name = "Refitted Cruiser Class"				
					type = ship_hull_cruiser_1
					name_group = FIN_CL_HISTORICAL
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_light_medium_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = cruiser_ship_engine_1
						fixed_ship_armor_slot = ship_armor_cruiser_1
						fixed_ship_secondaries_slot = dp_ship_secondaries_1
						mid_1_custom_slot = empty
						mid_2_custom_slot = empty
						rear_1_custom_slot = empty
					}
					obsolete = yes
					design_team = mio:FIN_crichton_vulcan_organization
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_cruiser_1
						creator = "FIN"
						version_name = "Refitted Cruiser Class"
					}
					name = "Pori"
					requested_factories = 1
					progress = 0.75
					amount = 1
					industrial_manufacturer = mio:FIN_crichton_vulcan_organization
				}
			}
			#NO MTG
			else = {
				# DESTROYER	
				create_equipment_variant = { #Made-up
					name = "Refitted Destroyer Class"
					type = destroyer_1
					upgrades = {
						ship_torpedo_upgrade = 0
						destroyer_engine_upgrade = 0
						ship_ASW_upgrade = 0
						ship_anti_air_upgrade = 0
					}
					obsolete = yes
					design_team = mio:FIN_crichton_vulcan_organization
				}	
				#Line Production
				add_equipment_production = {
					equipment = {
						type = destroyer_1
						creator = "FIN"
						version_name = "Refitted Destroyer Class"
					}
					name = "Mikkeli"
					requested_factories = 1
					progress = 0.75
					amount = 3
					industrial_manufacturer = mio:FIN_crichton_vulcan_organization
				}

				if = {
					limit = {
						NOT = { has_tech = early_light_cruiser }
					}
					hidden_effect = {
						set_technology = {
							early_light_cruiser = 1
						}
					}
				}
				# CRUISER
				create_equipment_variant = { #Made-up
					name = "Refitted Cruiser Class"
					type = light_cruiser_1
					upgrades = {
						ship_reliability_upgrade = 0
						ship_engine_upgrade = 0
						ship_gun_upgrade = 0
						ship_anti_air_upgrade = 0
					}
					obsolete = yes
					design_team = mio:FIN_crichton_vulcan_organization
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = light_cruiser_1
						creator = "FIN"
						version_name = "Refitted Cruiser Class"
					}
					name = "Pori"
					requested_factories = 1
					progress = 0.75
					amount = 1
					industrial_manufacturer = mio:FIN_crichton_vulcan_organization
				}
			}

			# COASTAL DEFENSE SHIP
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				create_equipment_variant = { #Made-up
					name = "Refitted Coastal Defense Ship"
					type = ship_hull_cruiser_coastal_defense_ship
					name_group = FIN_BC_HISTORICAL
					parent_version = 0
					allow_without_tech = yes #Makes no difference since focus grants appropriate tech (above), but it improves tooltip
					modules = {
						front_1_custom_slot = ship_anti_air_1
						mid_1_custom_slot = ship_anti_air_1
						#mid_2_custom_slot = ship_anti_air_1
						rear_1_custom_slot = ship_light_medium_battery_1
						fixed_ship_battery_slot = ship_light_medium_battery_1
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = cruiser_ship_engine_1
						fixed_ship_secondaries_slot = ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_cruiser_1
					}
					design_team = mio:FIN_crichton_vulcan_organization
				}
				#Line Production
				add_equipment_production = {
					equipment = {
						type = ship_hull_cruiser_coastal_defense_ship
						creator = "FIN"
						version_name = "Refitted Coastal Defense Ship"
					}
					name = "Voima"
					requested_factories = 1
					progress = 0.75
					amount = 3
					industrial_manufacturer = mio:FIN_crichton_vulcan_organization
				}
			}
		}
	}
	
	focus = {
		id = FIN_coastal_defense
		icon = GFX_focus_FIN_coastal_defense
		prerequisite = { focus = FIN_suomen_merivoimat }

		x = 0
		y = 1
		relative_position_id = FIN_suomen_merivoimat
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
			add_to_variable = { FIN_finnish_navy_spotting_chance = 0.05 tooltip = spotting_chance_tt }

			if = {
				limit = {
					any_core_state = {
						is_fully_controlled_by = ROOT
						is_coastal = yes
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 0
						}
					}
				}
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						is_coastal = yes
						dockyard > 0
						free_building_slots = {
							building = dockyard
							size > 0
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
						is_coastal = yes
						free_building_slots = {
							building = dockyard
							size > 0
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

			add_doctrine_cost_reduction = {
				name = FIN_coastal_defense
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			
			show_unit_leaders_tooltip = FIN_svante_sundman

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

				if = {
					limit = {
						NOT = { has_tech = railway_gun }
					}
					add_tech_bonus = {
						name = FIN_coastal_defense
						bonus = 0.5
						uses = 1
						technology = railway_gun
					}
				}
			}

			# Tooltip for unlocking Coastal Garrisons dec
			if = {
				limit = {
					NOT = { has_country_flag = FIN_coastal_garrisons_deployed_flag }
				}
				custom_effect_tooltip = FIN_coastal_defense_coastal_garrisons_dec_tt
			}

			#Reduce cost and time if already unlocked
			if = {
				divide_variable = { FIN_coastal_garrisons_pp_xp_cost = 2 }
				set_variable = { FIN_coastal_garrisons_pp_xp_cost_trigger = FIN_coastal_garrisons_pp_xp_cost }
				add_to_variable = { FIN_coastal_garrisons_pp_xp_cost_trigger = -1 }
				divide_variable = { FIN_coastal_garrisons_cp_cost = 2 }
				set_variable = { FIN_coastal_garrisons_cp_cost_trigger = FIN_coastal_garrisons_cp_cost }
				add_to_variable = { FIN_coastal_garrisons_cp_cost_trigger = -1 }
				divide_variable = { FIN_coastal_garrisons_time = 2 }
			}
		}
	}

	focus = {
		id = FIN_marine_jaeger_divisions
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = FIN_coastal_defense }
		x = 0
		y = 1
		relative_position_id = FIN_coastal_defense
		cost = 10
		available = {
			has_tech = marines
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
			add_to_variable = { FIN_finnish_navy_extra_marine_supply_grace = 48 tooltip = extra_marine_supply_grace_tt }
			add_to_variable = { FIN_finnish_navy_naval_invasion_capacity = 15 tooltip = naval_invasion_capacity_tt }

			add_doctrine_cost_reduction = {
				name = FIN_marine_jaeger_divisions
				cost_reduction = 0.75
				uses = 2
				category = marine_tech
			}

			hidden_effect = {
				if = {
					limit = {
						NOT = { has_template = "Marines" }
					}
					load_oob = "unlock_marines"
				}
			}

			division_template = {
				name = "Rannikkojääkäritdivisioona"
				template_counter = 33
				regiments = {
					marine = { x = 0 y = 0 }
					marine = { x = 0 y = 1 }
					marine = { x = 1 y = 0 }
					marine = { x = 1 y = 1 }
					marine = { x = 2 y = 0 }
					marine = { x = 2 y = 1 }
				}
				support = {
					engineer = { x = 0 y = 0 }
					recon = { x = 0 y = 1 }
					artillery = { x = 0 y = 2 }
				}
			}

			capital_scope = {
				create_unit = {
					division = "division_template = \"Rannikkojääkäritdivisioona\" start_experience_factor = 0.7 start_equipment_factor = 1.0"
					owner = ROOT
					count = 1
				}
			}
		}
	}
	
	focus = {
		id = FIN_rapid_raiders
		icon = GFX_focus_generic_destroyer
		prerequisite = { focus = FIN_coastal_defense }
		mutually_exclusive = { focus = FIN_deep_sea_raiders }
		x = -1
		y = 2
		relative_position_id = FIN_coastal_defense
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			navy_experience = 35

			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = FIN_rapid_raiders
					bonus = 0.75
					uses = 2
					category = cat_torpedoes
					category = dd_tech
				}
			}
			else = {
				add_tech_bonus = {
					name = FIN_rapid_raiders
					bonus = 0.75
					uses = 2
					category = dd_tech
				}
			}

			random_core_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 926 111 149 } #TURKU HELSINKI VAASA
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_crichton_vulcan_organization = {
					complete_mio_trait = FIN_mio_trait_rapid_raiders
					add_mio_size = 1 #For Covering Production line below
				}
			}

			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				if = {
					limit = {
						has_tech = improved_ship_hull_light
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "Turku Class"
							type = ship_hull_light_3
							name_group = FIN_DD_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_battery_slot = ship_light_battery_1
								fixed_ship_anti_air_slot = ship_anti_air_1
								fixed_ship_fire_control_system_slot = empty
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = light_ship_engine_3
								fixed_ship_torpedo_slot = ship_torpedo_2
								mid_1_custom_slot = ship_torpedo_2
								rear_1_custom_slot = ship_torpedo_2
								front_1_custom_slot = ship_anti_air_1
							}
							design_team = mio:FIN_crichton_vulcan_organization
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_light_3
								creator = "FIN"
								version_name = "Turku Class"
							}
							name = "Turku"
							requested_factories = 1
							progress = 0.65
							amount = 3
							industrial_manufacturer = mio:FIN_crichton_vulcan_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "Turku Class"
							type = ship_hull_light_3
							name_group = FIN_DD_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_battery_slot = ship_light_battery_1
								fixed_ship_anti_air_slot = ship_anti_air_1
								fixed_ship_fire_control_system_slot = empty
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = light_ship_engine_3
								fixed_ship_torpedo_slot = ship_torpedo_2
								mid_1_custom_slot = ship_torpedo_2
								rear_1_custom_slot = ship_torpedo_2
								front_1_custom_slot = ship_anti_air_1
							}
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_light_3
								creator = "FIN"
								version_name = "Turku Class"
							}
							name = "Turku"
							requested_factories = 1
							progress = 0.65
							amount = 3
						}
					}
				}
				else_if = {
					limit = {
						has_tech = basic_ship_hull_light
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "Turku Class"
							type = ship_hull_light_2
							name_group = FIN_DD_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_battery_slot = ship_light_battery_1
								fixed_ship_anti_air_slot = ship_anti_air_1
								fixed_ship_fire_control_system_slot = empty
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = light_ship_engine_2
								fixed_ship_torpedo_slot = ship_torpedo_2
								mid_1_custom_slot = ship_torpedo_2
								rear_1_custom_slot = ship_torpedo_2
								#front_1_custom_slot = ship_light_battery_2
							}
							design_team = mio:FIN_crichton_vulcan_organization
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_light_2
								creator = "FIN"
								version_name = "Turku Class"
							}
							name = "Turku"
							requested_factories = 1
							progress = 0.55
							amount = 3
							industrial_manufacturer = mio:FIN_crichton_vulcan_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "Turku Class"
							type = ship_hull_light_2
							name_group = FIN_DD_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_battery_slot = ship_light_battery_1
								fixed_ship_anti_air_slot = ship_anti_air_1
								fixed_ship_fire_control_system_slot = empty
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = light_ship_engine_2
								fixed_ship_torpedo_slot = ship_torpedo_2
								mid_1_custom_slot = ship_torpedo_2
								rear_1_custom_slot = ship_torpedo_2
								#front_1_custom_slot = ship_light_battery_2
							}
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_light_2
								creator = "FIN"
								version_name = "Turku Class"
							}
							name = "Turku"
							requested_factories = 1
							progress = 0.55
							amount = 3
						}
					}
				}
				else = {
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "Turku Class"
							type = ship_hull_light_1
							name_group = FIN_DD_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_battery_slot = ship_light_battery_1
								fixed_ship_anti_air_slot = ship_anti_air_1
								fixed_ship_fire_control_system_slot = empty
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = light_ship_engine_1
								fixed_ship_torpedo_slot = ship_torpedo_1
								mid_1_custom_slot = ship_torpedo_1
								rear_1_custom_slot = ship_torpedo_1
								#front_1_custom_slot = ship_light_battery_2
							}
							design_team = mio:FIN_crichton_vulcan_organization
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_light_1
								creator = "FIN"
								version_name = "Turku Class"
							}
							name = "Turku"
							requested_factories = 1
							progress = 0.45
							amount = 3
							industrial_manufacturer = mio:FIN_crichton_vulcan_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "Turku Class"
							type = ship_hull_light_1
							name_group = FIN_DD_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_battery_slot = ship_light_battery_1
								fixed_ship_anti_air_slot = ship_anti_air_1
								fixed_ship_fire_control_system_slot = empty
								fixed_ship_radar_slot = empty
								fixed_ship_engine_slot = light_ship_engine_1
								fixed_ship_torpedo_slot = ship_torpedo_1
								mid_1_custom_slot = ship_torpedo_1
								rear_1_custom_slot = ship_torpedo_1
								#front_1_custom_slot = ship_light_battery_2
							}
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_light_1
								creator = "FIN"
								version_name = "Turku Class"
							}
							name = "Turku"
							requested_factories = 1
							progress = 0.45
							amount = 3
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_deep_sea_raiders
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = FIN_coastal_defense }
		mutually_exclusive = { focus = FIN_rapid_raiders }
		x = 1
		y = 2
		relative_position_id = FIN_coastal_defense
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			navy_experience = 35

			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = FIN_deep_sea_raiders
					bonus = 0.75
					uses = 2
					category = ss_tech
					category = cat_torpedoes
				}
			}
			else = {
				add_tech_bonus = {
					name = FIN_deep_sea_raiders
					bonus = 0.75
					uses = 2
					category = ss_tech
				}
			}

			random_core_state = {
				limit = {
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				prioritize = { 926 111 149 } #TURKU HELSINKI VAASA
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_crichton_vulcan_organization = {
					complete_mio_trait = FIN_mio_trait_deep_sea_raiders
					add_mio_size = 1
				}
			}
			
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				if = {
					limit = {
						has_tech = improved_ship_hull_submarine
					}
					if = {
						limit = {
							has_tech = basic_submarine_snorkel
						}
						if = {
							limit = {
								has_dlc = "Arms Against Tyranny"
							}
							create_equipment_variant = {
								name = "Oulu Class"
								type = ship_hull_submarine_3
								name_group = FIN_SS_HISTORICAL
								parent_version = 0
								allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
								modules = {
									fixed_ship_torpedo_slot = ship_torpedo_sub_2
									fixed_ship_engine_slot = sub_ship_engine_2
									front_1_custom_slot = ship_torpedo_sub_2
									mid_1_custom_slot = ship_sub_snorkel_1
									rear_1_custom_slot = ship_torpedo_sub_2
								}
								design_team = mio:FIN_crichton_vulcan_organization
							}
						}
						else = {
							create_equipment_variant = {
								name = "Oulu Class"
								type = ship_hull_submarine_3
								name_group = FIN_SS_HISTORICAL
								parent_version = 0
								allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
								modules = {
									fixed_ship_torpedo_slot = ship_torpedo_sub_2
									fixed_ship_engine_slot = sub_ship_engine_2
									front_1_custom_slot = ship_torpedo_sub_2
									mid_1_custom_slot = ship_sub_snorkel_1
									rear_1_custom_slot = ship_torpedo_sub_2
								}
							}
						}
					}
					else = {
						if = {
							limit = {
								has_dlc = "Arms Against Tyranny"
							}
							create_equipment_variant = { #Made-up
								name = "Oulu Class"
								type = ship_hull_submarine_3
								name_group = FIN_SS_HISTORICAL
								parent_version = 0
								allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
								modules = {
									fixed_ship_torpedo_slot = ship_torpedo_sub_2
									fixed_ship_engine_slot = sub_ship_engine_2
									front_1_custom_slot = ship_torpedo_sub_2
									mid_1_custom_slot = empty
									rear_1_custom_slot = ship_torpedo_sub_2
								}
								design_team = mio:FIN_crichton_vulcan_organization
							}
						}
						else = {
							create_equipment_variant = { #Made-up
								name = "Oulu Class"
								type = ship_hull_submarine_3
								name_group = FIN_SS_HISTORICAL
								parent_version = 0
								allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
								modules = {
									fixed_ship_torpedo_slot = ship_torpedo_sub_2
									fixed_ship_engine_slot = sub_ship_engine_2
									front_1_custom_slot = ship_torpedo_sub_2
									mid_1_custom_slot = empty
									rear_1_custom_slot = ship_torpedo_sub_2
								}
							}
						}
					}
					
					#Line Production
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						add_equipment_production = {
							equipment = {
								type = ship_hull_submarine_3
								creator = "FIN"
								version_name = "Oulu Class"
							}
							name = "Oulu"
							requested_factories = 1
							progress = 0.65
							amount = 3
							industrial_manufacturer = mio:FIN_crichton_vulcan_organization
						}
					}
					else = {
						add_equipment_production = {
							equipment = {
								type = ship_hull_submarine_3
								creator = "FIN"
								version_name = "Oulu Class"
							}
							name = "Oulu"
							requested_factories = 1
							progress = 0.65
							amount = 3
						}
					}
				}
				else_if = {
					limit = {
						has_tech = basic_ship_hull_submarine
					}
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "Oulu Class"
							type = ship_hull_submarine_2
							name_group = FIN_SS_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_torpedo_slot = ship_torpedo_sub_2
								fixed_ship_engine_slot = sub_ship_engine_2
								rear_1_custom_slot = ship_torpedo_sub_2
							}
							design_team = mio:FIN_crichton_vulcan_organization
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_submarine_2
								creator = "FIN"
								version_name = "Oulu Class"
							}
							name = "Oulu"
							requested_factories = 1
							progress = 0.55
							amount = 3
							industrial_manufacturer = mio:FIN_crichton_vulcan_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "Oulu Class"
							type = ship_hull_submarine_2
							name_group = FIN_SS_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_torpedo_slot = ship_torpedo_sub_2
								fixed_ship_engine_slot = sub_ship_engine_2
								rear_1_custom_slot = ship_torpedo_sub_2
							}
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_submarine_2
								creator = "FIN"
								version_name = "Oulu Class"
							}
							name = "Oulu"
							requested_factories = 1
							progress = 0.55
							amount = 3
						}
					}
				}
				else = {
					if = {
						limit = {
							has_dlc = "Arms Against Tyranny"
						}
						create_equipment_variant = { #Made-up
							name = "Oulu Class"
							type = ship_hull_submarine_1
							name_group = FIN_SS_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_torpedo_slot = ship_torpedo_sub_1
								fixed_ship_engine_slot = sub_ship_engine_1
								rear_1_custom_slot = ship_torpedo_sub_1
							}
							design_team = mio:FIN_crichton_vulcan_organization
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_submarine_1
								creator = "FIN"
								version_name = "Oulu Class"
							}
							name = "Oulu"
							requested_factories = 1
							progress = 0.45
							amount = 3
							industrial_manufacturer = mio:FIN_crichton_vulcan_organization
						}
					}
					else = {
						create_equipment_variant = { #Made-up
							name = "Oulu Class"
							type = ship_hull_submarine_1
							name_group = FIN_SS_HISTORICAL
							parent_version = 0
							allow_without_tech = yes #Makes no difference since checks for tech, for tooltip purposes only
							modules = {
								fixed_ship_torpedo_slot = ship_torpedo_sub_1
								fixed_ship_engine_slot = sub_ship_engine_1
								rear_1_custom_slot = ship_torpedo_sub_1
							}
						}
						#Line Production
						add_equipment_production = {
							equipment = {
								type = ship_hull_submarine_1
								creator = "FIN"
								version_name = "Oulu Class"
							}
							name = "Oulu"
							requested_factories = 1
							progress = 0.45
							amount = 3
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_sea_mines_strategy
		icon = GFX_focus_generic_mine_warfare
		prerequisite = { focus = FIN_rapid_raiders focus = FIN_deep_sea_raiders }

		x = 1
		y = 1
		relative_position_id = FIN_rapid_raiders
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_RESEARCH }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
				add_to_variable = { FIN_finnish_navy_mines_planting_by_fleets_factor = 0.1 tooltip = mines_planting_by_fleets_factor_tt }
				add_to_variable = { FIN_finnish_navy_naval_mines_effect_reduction = 0.15 tooltip = naval_mines_effect_reduction_tt }
				navy_experience = 25
				

				# Tooltip for unlocking Mine the Sea dec
				if = {
					limit = {
						NOT = { has_country_flag = FIN_sea_mines_deployed_flag }
					}
					custom_effect_tooltip = FIN_defensive_preparations_mining_the_sea_dec_tt
				}

				#Reduce cost and time if already unlocked
				if = {
					divide_variable = { FIN_mining_the_sea_pp_xp_cost = 2 }
					set_variable = { FIN_mining_the_sea_pp_xp_cost_trigger = FIN_mining_the_sea_pp_xp_cost }
					add_to_variable = { FIN_mining_the_sea_pp_xp_cost_trigger = -1 }
					divide_variable = { FIN_mining_the_sea_cp_cost = 2 }
					set_variable = { FIN_mining_the_sea_cp_cost_trigger = FIN_mining_the_sea_cp_cost }
					add_to_variable = { FIN_mining_the_sea_cp_cost_trigger = -1 }
					divide_variable = { FIN_mining_the_sea_time = 2 }
				}
			}
			else = {
				navy_experience = 50
				add_tech_bonus = {
					name = FIN_sea_mines_strategy
					bonus = 0.75
					uses = 2
					category = dd_tech
					category = cl_tech
				}
			}

			add_doctrine_cost_reduction = {
				name = FIN_sea_mines_strategy
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
		}
	}
	
	focus = {
		id = FIN_strengthen_the_naval_bases
		icon = GFX_focus_generic_coastal_fort
		prerequisite = { focus = FIN_suomen_merivoimat }

		x = 2
		y = 1
		relative_position_id = FIN_suomen_merivoimat
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_to_variable = { FIN_finnish_navy_repair_speed_factor = 0.1 }
			custom_effect_tooltip = FIN_strengthen_the_naval_bases_ns_tt

			if = {
				limit = {
					has_full_control_of_state = 926
				}
				#TURKU
				926 = {
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 3083
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = 3083
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 111
				}
				#UUSIMAA (Helsinki)
				111 = {
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 11105
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = 11105
					}
				}
			}

			if = {
				limit = {
					has_full_control_of_state = 145
				}
				#ÅLAND
				145 = {
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 9228
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = 9228
					}
				}
			}
				
			if = {
				limit = {
					has_full_control_of_state = 149
				}
				#VAASA
				149 = {
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 3122
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = 3122
					}
				}
			}
				
			if = {
				limit = {
					has_full_control_of_state = 929
				}
				#OULU
				929 = {
					add_building_construction = {
						type = naval_base
						level = 2
						instant_build = yes
						province = 158
					}
					add_building_construction = {
						type = coastal_bunker
						level = 2
						instant_build = yes
						province = 158
					}
				}
			}
		}
	}
	
	focus = {
		id = FIN_acquire_andros_dockyards
		icon = GFX_focus_FIN_acquire_andros_dockyards
		prerequisite = { focus = FIN_suomen_merivoimat }

		x = 4
		y = 1
		relative_position_id = FIN_suomen_merivoimat
		cost = 5
		available = {
			has_full_control_of_state = 926
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
			add_to_variable = {
				FIN_finnish_navy_industrial_capacity_dockyard = 0.05
				tooltip = industrial_capacity_dockyard_tt
			}

			if = {
				limit = {
					926 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				926 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

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

					unlock_mio_trait_tooltip = FIN_mio_trait_andros_engines
				}
			}
		}
	}

	focus = {
		id = FIN_expand_ship_building_industry
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = FIN_strengthen_the_naval_bases }
		prerequisite = { focus = FIN_acquire_andros_dockyards }

		x = 0
		y = 1
		relative_position_id = FIN_strengthen_the_naval_bases
		cost = 10
		available = {
			OR = {
				has_full_control_of_state = 111 #UUSIMAA (Helsinki)
				has_full_control_of_state = 928 #KYME (Kotka)
				has_full_control_of_state = 149 #VAASA (Vaasa)
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
			add_to_variable = { FIN_finnish_navy_production_speed_dockyard_factor = 0.1 tooltip = production_speed_dockyard_factor_tt }

			#UUSIMAA (Helsinki)
			if = {
				limit = {
					111 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				111 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

			#KYME (Kotka)
			if = {
				limit = {
					928 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				928 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}

			#VAASA (Vaasa)
			if = {
				limit = {
					149 = {
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes
						}
					}
				}
				149 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = FIN_expansion_towards_the_atlantic
		icon = GFX_focus_FIN_expansion_towards_the_atlantic
		prerequisite = { focus = FIN_sea_mines_strategy }
		prerequisite = { focus = FIN_expand_ship_building_industry }

		x = 2
		y = 1
		relative_position_id = FIN_sea_mines_strategy
		cost = 10
		available = {
			#state is in the atlantic
			custom_trigger_tooltip = {
				tooltip = FIN_state_is_in_the_atlantic_tt
				any_controlled_state = {
					FIN_state_is_european_and_on_the_atlantic = yes
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			custom_effect_tooltip = FIN_modify_finnish_navy_ns_intro
			add_to_variable = {
				FIN_finnish_navy_industrial_capacity_dockyard = 0.1
				tooltip = industrial_capacity_dockyard_tt
			}
			add_to_variable = {
				FIN_finnish_navy_experience_gain_navy_unit_factor = 0.1
				tooltip = experience_gain_navy_unit_factor_tt
			}
			add_to_variable = {
				FIN_finnish_navy_naval_coordination = 0.05
				tooltip = naval_coordination_tt
			}
			add_to_variable = {
				FIN_finnish_navy_naval_equipment_upgrade_xp_cost = -0.1
				tooltip = naval_equipment_upgrade_xp_cost_tt
			}

			add_tech_bonus = {
				name = FIN_expansion_towards_the_atlantic
				bonus = 0.75
				uses = 2
				category = cv_tech
				category = bb_tech
				category = bc_tech
				category = ca_tech
			}

			custom_effect_tooltip = FIN_expansion_towards_the_atlantic_no_state_tt

			if = {
				limit = {
					any_controlled_state = {
						FIN_state_is_european_and_on_the_atlantic = yes
					}
				}
				custom_effect_tooltip = generic_current_effects
			}

			random_controlled_state = {
				limit = {
					FIN_state_is_european_and_on_the_atlantic = yes
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province =  {
						all_provinces = yes
						limit_to_naval_base = yes
					}
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FIN_crichton_vulcan_organization = {
					add_mio_size = 1
					add_mio_research_bonus = 0.1
					add_mio_design_team_assign_cost = -0.5
				}
			}

			every_character = {
				limit = {
					is_navy_leader = yes
					
				}
				random_select_amount = 2
				add_skill_level = 1
			}
		}
	}
}
