### 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}

focus_tree = {
	id = norwegian_focus

	country = {
		factor = 0
		
		modifier = {
			add = 10
			NOR_AAT = yes 
		}
	}
	
	default = no

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



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

	focus = {
		id = NOR_a_resurgent_labor_movement
		icon = GFX_focus_NOR_a_resurgent_labor_movement
		x = 4
		y = 0 
		mutually_exclusive = { focus = NOR_vote_of_no_confidence focus = NOR_continue_nygaardsvold_government focus = NOR_the_stumbling_storting  }
		cost = 5

		allow_branch = {
			if = {
				limit ={
					has_hide_rule = yes 
				}
				NOT = {
					has_completed_focus = NOR_vote_of_no_confidence
					has_completed_focus = NOR_continue_nygaardsvold_government
					has_completed_focus = NOR_the_stumbling_storting
				}
			}
		}

		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 100
			remove_ideas = { NOR_anti_communist_sentiment_ns } 
			hidden_effect = {
				set_country_flag = NOR_going_communist 
				find_global_platonic_countries = yes
			}
			country_event = {
				id = AAT_norway.11
			}
			custom_effect_tooltip = the_following_will_happen_TT
			event_option_tooltip = AAT_norway.11.a
			mark_focus_tree_layout_dirty = yes 
		}
	}

	focus = {
		id = NOR_vote_of_no_confidence
		icon = GFX_focus_NOR_vote_of_no_confidence
		mutually_exclusive = { focus = NOR_continue_nygaardsvold_government focus = NOR_the_stumbling_storting  focus = NOR_a_resurgent_labor_movement }
		x = 11
		y = 0
		relative_position_id = NOR_a_resurgent_labor_movement

		offset = {
			x = -11
			y = 0 
			trigger = {
				has_hide_rule = yes 
				has_completed_focus = NOR_vote_of_no_confidence 
			}
		}

		cost = 5

		allow_branch = {
			if = {
				limit = {
					has_hide_rule = yes 
				}
				NOT = {
					has_completed_focus = NOR_continue_nygaardsvold_government
					has_completed_focus = NOR_a_resurgent_labor_movement
					has_completed_focus = NOR_the_stumbling_storting
				}
			}
		}

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

			hidden_effect = {
				set_country_flag = NOR_going_dem_allied 
				NOR_set_variables_alt_dem = yes 
			}

			custom_effect_tooltip = NOR_unlocking_prep_allied_dem_TT
			remove_ideas = { NOR_complacent_cabinet_ns } 

			custom_effect_tooltip = generic_skip_one_line_tt
			
			country_event = { id = AAT_norway.12 }
			custom_effect_tooltip = the_following_will_happen_TT
			event_option_tooltip = AAT_norway.12.a
			mark_focus_tree_layout_dirty = yes 
		}
	}

	focus = {
		id = NOR_continue_nygaardsvold_government
		
		icon = GFX_focus_NOR_continue_nygaardsvold_government 
		
		mutually_exclusive = { focus = NOR_vote_of_no_confidence focus = NOR_a_resurgent_labor_movement focus = NOR_the_stumbling_storting }
		x = 8
		y = 0
		relative_position_id = NOR_vote_of_no_confidence

		offset = {
			x = -17 
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_continue_nygaardsvold_government
			}
		}

		allow_branch = {
			if = {
				limit = {
					has_hide_rule = yes 
				}
				NOT = {
					has_completed_focus = NOR_vote_of_no_confidence
					has_completed_focus = NOR_a_resurgent_labor_movement
					has_completed_focus = NOR_the_stumbling_storting
				}
			}
		}

		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				add = 100
				NOR_is_historical_ai = yes 
			}
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_political_power = 100
			hidden_effect = {
				NOR_set_prepare_variables_historical = yes
				set_country_flag = NOR_going_dem_historical 
			}
			country_event = {
				id = AAT_norway.9
				hours = 2 
			}
			custom_effect_tooltip = the_following_will_happen_TT
			event_option_tooltip = AAT_norway.9.a
			mark_focus_tree_layout_dirty = yes 
		}
	}

	focus = {
		id = NOR_weathering_the_storm_to_come
		icon = GFX_focus_NOR_weathering_the_storm_to_come
		prerequisite = { focus = NOR_continue_nygaardsvold_government focus = NOR_vote_of_no_confidence }
		x = -4
		y = 1
		relative_position_id = NOR_continue_nygaardsvold_government 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic 
			NOT = {
				has_idea = NOR_complacent_cabinet_ns
			}
		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_owned_state = {
				limit = {
					free_building_slots = {
						building = arms_factory 
						size > 0 
						include_locked = yes 
					}
					NOT = { state = 914 } # F you Jan Mayen
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 1 
				add_building_construction = {
					type = arms_factory 
					level = 1 
					instant_build = yes 
				}
			}
			add_war_support = 0.1
			if = {
				limit = {
					has_country_flag = NOR_going_dem_allied 
				}
				custom_effect_tooltip = NOR_unlocking_prep_deploy_allied_dem_TT
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_expedite_training
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_prioritize_production
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_offensive_push
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_focus_on_defense
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
			}
			else = {
				custom_effect_tooltip = NOR_unlocking_prep_deploy_dem_his_TT
			}
		}
	}

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

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

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

	focus = {
		id = NOR_compromise_with_the_nkp # STALINIST Path 
		icon = GFX_focus_NOR_compromise_with_the_nkp
		prerequisite = { focus = NOR_a_resurgent_labor_movement }
		mutually_exclusive = { focus = NOR_prosecute_the_nkp }
		x = -3
		y = 1
		relative_position_id = NOR_a_resurgent_labor_movement


		allow_branch = {
			if = {
				limit = {
					has_hide_rule = yes 
				}
				NOT = { has_completed_focus = NOR_prosecute_the_nkp }
				NOT = {	has_completed_focus = NOR_vote_of_no_confidence }
				NOT = { has_completed_focus = NOR_continue_nygaardsvold_government }
				NOT = { has_completed_focus = NOR_the_stumbling_storting }
			}
		}

		offset = {
			x = 3 
			y = 0 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_compromise_with_the_nkp
			}
		}
		cost = 5
		available = {
			if = {
				limit = {
					has_character = NOR_lev_trotsky
				}
				NOR_lev_trotsky = { is_hired_as_advisor = no }
			}
			
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			set_country_flag = NOR_going_stalinist
			set_variable = { NOR_comm_prep_max_preparedness = 20 }
			add_popularity = {
				ideology = communism
				popularity = 0.15
			}
			add_political_power = 65
			if = {
				limit = {
					SOU = {
						exists = yes 
						has_government = communism 
					}
				}
				if = {
					limit = { #Checking if SOV is Trotskyist  
						SOU = { has_completed_focus = SOV_the_left_opposition }
					}
					add_opinion_modifier = { # SOV loves Trotsky so we hate you 
						target = ROOT 
						modifier = NOR_communist_not_aligned_bad
					}
				}
				else = {
					SOU = { # We're both kinda stalinists yay 
						add_opinion_modifier = {
							target = ROOT 
							modifier = NOR_communist_aligned_good
						}
					}
				}
			}
			else = {
				find_biggest_communist = yes 
				var:GLOBAL.platonic_big_communist = {
					add_opinion_modifier = {
						target = ROOT 
						modifier = NOR_communist_aligned_good
					}
				}
			}
			hidden_effect = { 
				find_global_platonic_countries = yes 
				mark_focus_tree_layout_dirty = yes 
			}
			remove_advisor_role = {
				character = NOR_lev_trotsky
				slot = political_advisor 
			}
			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = NOR_kirsten_hansteen
		}
	}

	focus = {
		id = NOR_prosecute_the_nkp
		icon = GFX_focus_NOR_prosecute_the_nkp
		prerequisite = { focus = NOR_a_resurgent_labor_movement }
		mutually_exclusive = { focus = NOR_compromise_with_the_nkp}
		x = 3
		y = 1
		relative_position_id = NOR_a_resurgent_labor_movement
		
		allow_branch = {	
			if = {
				limit = {
					has_hide_rule = yes 
				}
				NOT = { has_completed_focus = NOR_compromise_with_the_nkp }
				NOT = {	has_completed_focus = NOR_vote_of_no_confidence }
				NOT = { has_completed_focus = NOR_continue_nygaardsvold_government }
				NOT = { has_completed_focus = NOR_the_stumbling_storting }
			}
		}

		offset = {
			x = -3 
			y = 0 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_prosecute_the_nkp
			}
		}
		cost = 5
		available = {
			
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			set_party_name = {
				ideology = communism
				name = NOR_arbeiderklassen_name
				long_name = NOR_arbeiderklassen_long
			}
			set_variable = { NOR_comm_prep_max_preparedness = 20 }
			add_popularity = {
				ideology = communism
				popularity = 0.075
			}
			add_political_power = 50
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = NOR_jeanette_olsen
			set_country_flag = NOR_going_against_stalin 
			if = {
				limit = {
					SOU = {
						exists = yes 
						has_government = communism 
					}
				}
				if = {
					limit = {
						SOU = { # SOV Not Trotskyists   
							NOT = { has_completed_focus = SOV_the_left_opposition } 
						}
					}
					SOU = { # How dare you prosecute our boys 
						add_opinion_modifier = {
							target = ROOT 
							modifier = NOR_communist_not_aligned_bad
						}
					}
				}
				else = {
					SOU = { # Trotsky's Pals 
						add_opinion_modifier = {
							target = ROOT 
							modifier = NOR_communist_aligned_good
						}
					}
				}
				hidden_effect = { 
					find_global_platonic_countries = yes 
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	focus = {
		id = NOR_the_seeds_of_the_revolution
		icon = GFX_focus_SOV_organization_centralization_discipline
		prerequisite = { focus = NOR_compromise_with_the_nkp focus = NOR_prosecute_the_nkp }

		x = 3
		y = 1
		relative_position_id = NOR_compromise_with_the_nkp
		cost = 10
		available = {
			communism > 0.1
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 50
			add_popularity = {
				ideology = communism 
				popularity = 0.08
			}
			custom_effect_tooltip = NOR_prepare_communist_unlock_TT
		}
	}

	focus = {
		id = NOR_the_voice_of_the_people
		icon = GFX_focus_prc_agrarian_socialism
		prerequisite = { focus = NOR_the_seeds_of_the_revolution }

		x = -2
		y = 1
		relative_position_id = NOR_the_seeds_of_the_revolution
		cost = 5
		available = {
			communism > 0.2
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
			add_stability = 0.05
			add_political_power = 50 
			unlock_decision_tooltip = {
				decision = NOR_communist_propaganda_campaign
				show_effect_tooltip = yes 
			}
		}
	}

	focus = { 
		id = NOR_organize_partisan_militias
		icon = GFX_focus_generic_limited_social_mobilization
		prerequisite = { focus = NOR_the_seeds_of_the_revolution }

		x = 0
		y = 1
		relative_position_id = NOR_the_seeds_of_the_revolution
		cost = 5
		available = {
			communism > 0.2
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_manpower = 5000
			custom_effect_tooltip = NOR_communist_prep_unlock_level_3_TT
		}
	}

	focus = {
		id = NOR_consolidate_power
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = NOR_vote_of_no_confidence focus = NOR_prosecute_the_nkp }

		x = 11
		y = 2

		offset = {
			x = -11
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_vote_of_no_confidence
			}
		}
		cost = 5
		available = {
			OR = {
				has_idea = NOR_anti_communist_sentiment_ns				
				AND = {
					NOT = { has_idea = NOR_anti_communist_sentiment_ns }
					has_government = communism	
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					has_government = communism 
				}
				add_popularity = {
					popularity = -0.1
					ideology = communism 
				}
			}
			else_if = {
				limit = {
					has_government = democratic
				}
				add_popularity = {
					popularity = -0.1
					ideology = democratic  
				}
				#set_cosmetic_tag = NOR_alt_democratic
			}
			add_political_power = 100 
		}
	}

	focus = {
		id = NOR_demand_nationalizations
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = NOR_the_seeds_of_the_revolution }

		x = 2
		y = 1
		relative_position_id = NOR_the_seeds_of_the_revolution
		cost = 5
		available = {
			communism > 0.2
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					count_triggers = {
						amount = 3 
						110 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						921 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						922 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						142 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						920 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						143 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						923 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						144 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						924 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
						925 = {
							is_fully_controlled_by = ROOT
							industrial_complex < 1
						}
					}			
				}
				every_owned_state = {
					limit = {
						is_fully_controlled_by = ROOT 
						industrial_complex < 1 
						NOT = { state = 914 } # Jan Mayen =( 
					}
					random_select_amount = 3
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = NOR_squash_dissent
		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		prerequisite = { focus = NOR_consolidate_power }

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

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			
			add_stability = 0.1
			if = {
				limit = {
					has_government = communism 
				}
				add_popularity = {
					popularity = -0.05
					ideology = communism 
				}
			}
			else_if = {
				limit = {
					has_government = democratic
				}
				add_popularity = {
					popularity = -0.05
					ideology = democratic  
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = NOR_jonas_lie	
			}

		}
	}

	focus = {
		id = NOR_denounce_the_german_reich
		icon = GFX_focus_ger_oppose_hitler
		prerequisite = { focus = NOR_consolidate_power }

		dynamic = yes
		
		x = 1
		y = 1
		relative_position_id = NOR_consolidate_power
		cost = 10
		available = {
			is_subject = no
			has_civil_war = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			if = {
				limit = {
					has_government = communism 
				}
				add_popularity = {
					popularity = 0.15
					ideology = communism 
				}
			}
			else_if = {
				limit = {
					has_government = democratic
				}
				add_popularity = {
					popularity = 0.15
					ideology = democratic  
				}
			}
			add_political_power = 100
			add_war_support = 0.15
			if = {
				limit = {
					GER = {
						exists = yes 
						is_major = yes 
						has_government = fascism
						has_capitulated = no 
					}
				}
				GER = {
					add_opinion_modifier = {
						target = ROOT
						modifier = NOR_denounced_us
					}
				}
			}
			else = {
				find_biggest_fascist_bully = yes
				var:GLOBAL.platonic_fascist_bully = {
					add_opinion_modifier = {
						target = ROOT
						modifier = NOR_denounced_us
					}	
				}
			}			
			every_other_country = {
				limit = {
					has_government = democratic 
					NOT = { has_war_with = ROOT }
				}
				add_opinion_modifier = {
					target = ROOT 
					modifier = NOR_denounced_tyranny
				}
			}
		}
	}

	focus = {
		id = NOR_moscows_education_centers
		icon = GFX_focus_NOR_moscows_education_centers
		prerequisite = { focus = NOR_compromise_with_the_nkp }

		x = -3
		y = 1
		relative_position_id = NOR_compromise_with_the_nkp
		cost = 10
		available = {
			has_government = communism 
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_political_power = 50 
			add_ideas = { NOR_communist_education_centers_ns_1 }
		}
	}

	focus = {
		id = NOR_workers_and_farmers_rise
		icon = GFX_focus_generic_workers_and_farmers_rise
		prerequisite = { focus = NOR_the_voice_of_the_people }
		prerequisite = { focus = NOR_organize_partisan_militias }
		prerequisite = { focus = NOR_demand_nationalizations }

		x = 0
		y = 1
		relative_position_id = NOR_organize_partisan_militias
		cost = 10

		available = {
 			check_variable = {
 				var = NOR_country_preparedness
 				value = 8
 				compare = greater_than_or_equals 
 				tooltip = NOR_required_prep_communist_TT
 			}
 			NOT = {
 				has_government = communism
 			}
 			communism > 0.35
		}

		bypass = {
			has_government = communism
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		completion_reward = {
			effect_tooltip = {
				if = {
					limit = {
						has_idea = NOR_the_hard_thirties_ns 
					}
					remove_ideas = { NOR_the_hard_thirties_ns }
				}
				else_if = {
					limit = {
						has_idea = NOR_the_hard_thirties_ns_2
					}
					remove_ideas = { NOR_the_hard_thirties_ns_2 }

				}
				else_if = {
					limit = {
						has_idea = NOR_the_hard_thirties_ns_3
					}
					remove_ideas = { NOR_the_hard_thirties_ns_3 }

				}
			}
			if = {
				limit = {
					has_idea = NOR_birger_ljungberg
				}
				deactivate_advisor = NOR_birger_ljungberg
			}
			retire_character = NOR_kristian_laake 			
			custom_effect_tooltip = NOR_communist_civil_war_start_TT
			
			hidden_effect = { 
				NOR_start_communist_civil_war = yes
			}
		}
	}

	focus = {
		id = NOR_war_in_finland
		icon = GFX_focus_generic_attack_finland
		prerequisite = { focus = NOR_workers_and_farmers_rise }
		prerequisite = { focus = NOR_compromise_with_the_nkp }

		x = -3
		y = 1
		relative_position_id = NOR_workers_and_farmers_rise
		cost = 10
		available = {
			if = {
				limit = {
					is_historical_focus_on = yes 
					SOU = {
						exists = yes 
						NOT = { has_completed_focus = SOV_beaten_but_not_defeated }
					}
				}
				SOU = {
					OR = {
						has_wargoal_against = { target = FIN }
						has_war_with = FIN
					}
				}
			}
			else = {
				FIN = {
					exists = yes 
					NOT = { has_government = communism }
				}
			}			
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_ANNEXATION FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {
			add_timed_idea = {
				idea = NOR_liberate_finland_ns
				days = 730
			}
			army_experience = 25
			navy_experience = 25 
			air_experience = 25
			add_political_power = 60
			create_wargoal = {
				target = FIN
				type = topple_government	
			}
		}
	}

	focus = {
		id = NOR_defend_finland
		icon = GFX_focus_FIN_suomalainen_sosialismi
		prerequisite = { focus = NOR_workers_and_farmers_rise }
		prerequisite = { focus = NOR_prosecute_the_nkp }

		x = 3
		y = 1
		relative_position_id = NOR_workers_and_farmers_rise
		cost = 5
		available = {
			has_war_support > 0.6
			is_subject = no
			has_civil_war = no
			FIN = {
				OR = {
					owns_state = 146
					owns_state = 147
					owns_state = 722
				}
			}
			FIN = {
				NOT = { has_war_with = ROOT }
				has_capitulated = no
			}
			if = {
				limit = {
					is_historical_focus_on = yes 
					SOU = {
						exists = yes 
						NOT = { has_completed_focus = SOV_beaten_but_not_defeated }
					}
				}
				SOU = {
					OR = {
						has_wargoal_against = { target = FIN }
						has_war_with = FIN
					}
				}
			}
			else = {
				FIN = {
					exists = yes 
					NOT = { has_government = communism }
				}
				any_other_country = {
					is_major = yes 
					has_wargoal_against = FIN 
				}
			}
		}

		bypass = {
			FIN = {
				NOT = {
					owns_state = 146
					owns_state = 147
					owns_state = 722
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		completion_reward = {
			if = {
				limit = {
					FIN = {
						has_war = no 
					}
				}
				give_guarantee = FIN 
			}
			else = {
				add_to_war = {
					targeted_alliance = FIN
					enemy = SOV 
					hostility_reason = asked_to_join 
				}
			}
			add_war_support = 0.2
			add_political_power = 100 
			add_manpower = 15000
			SOV = {
				add_opinion_modifier = {
					target = ROOT 
					modifier = NOR_wants_to_defend_finland_bad
				}
			}
			FIN = {
				add_opinion_modifier = {
					target = ROOT
					modifier = NOR_wants_to_defend_finland_good
				}
			}
		}
	}

	focus = {
		id = NOR_send_the_king_back_to_denmark
		icon = GFX_focus_NOR_send_the_king_back_to_denmark
		prerequisite = { focus = NOR_workers_and_farmers_rise }

		x = 0
		y = 1
		relative_position_id = NOR_workers_and_farmers_rise
		cost = 5
		available = {
			has_civil_war = no
			has_government = communism
		}

		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			if = {
				limit = {
					DEN = {
						exists = yes 
						NOT = { has_country_flag = DEN_depose_the_king }
					}
				}
				DEN = {
					country_event = {
						id = AAT_norway_communist.8
						days = 5
					}
				}
				effect_tooltip = {
					NOR_king_haakon_vii = {
						set_nationality = DEN 
					}
					NOR_prince_olav = {
						set_nationality = DEN
					}
				}
			}
			else_if = {
				limit = {
					ENG = {
						exists = yes 
						NOT = { has_completed_focus = ENG_the_fate_of_the_royal_family }
					}
				}
				ENG = {
					country_event = {
						id = AAT_norway_communist.8
						days = 5
					}
				}
				effect_tooltip = {
					NOR_king_haakon_vii = {
						set_nationality = ENG 
					}
					NOR_prince_olav = {
						set_nationality = ENG
					}
				}
			}
			else_if = {
				limit = {
					SWE = {
						exists = yes
						NOT = { has_completed_focus = SWE_liquidate_the_monarchy }
					}
				}
				SWE = {
					country_event = {
						id = AAT_norway_communist.8
						days = 5
					}
				}
				effect_tooltip = {
					NOR_king_haakon_vii = {
						set_nationality = SWE 
					}
					NOR_prince_olav = {
						set_nationality = SWE
					}
				}
			}
			else = { # Royal Family exiled
				retire_character = NOR_king_haakon_vii
				retire_character = NOR_prince_olav
			}

			custom_effect_tooltip = CHL_skip_one_line_tt

			if = {
				limit = {
					has_idea = NOR_the_hard_thirties_ns 
				}
				remove_ideas = { NOR_the_hard_thirties_ns }
			}
			else_if = {
				limit = {
					has_idea = NOR_the_hard_thirties_ns_2
				}
				remove_ideas = { NOR_the_hard_thirties_ns_2 }

			}
			else_if = {
				limit = {
					has_idea = NOR_the_hard_thirties_ns_3
				}
				remove_ideas = { NOR_the_hard_thirties_ns_3 }
			}

			if = {
				limit = {
					has_idea = NOR_birger_ljungberg
				}
				deactivate_advisor = NOR_birger_ljungberg
				retire_character = NOR_kristian_laake 
			}
			if = {
				limit = {
					has_idea = NOR_kristian_laake
				}
				remove_ideas = {
					NOR_kristian_laake
				}
				retire_character = NOR_kristian_laake 
			}

			country_event = { id = AAT_norway_communist.7 }

			add_stability = 0.2
			add_popularity = {
				ideology = communism 
				popularity = 0.2
			}
			add_political_power = 100
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_worker_armies
		icon = GFX_focus_generic_workers
		prerequisite = { focus = NOR_send_the_king_back_to_denmark }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_core_of = ROOT 
					is_controlled_by = ROOT
					infrastructure < 4 
				}
				random_select_amount = 2
				add_building_construction = {
					type = infrastructure 
					level = 2
					instant_build = yes
				}
			}
			every_owned_state = {
				limit = {
					is_core_of = ROOT 
					is_controlled_by = ROOT 
					free_building_slots = {
						building = industrial_complex 
						size > 1
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex 
					level = 2 
					instant_build = yes 
				}
			}
		}
	}

	focus = {
		id = NOR_nationalize_the_hydro_plants
		icon = GFX_focus_generic_hydroelectric_energy
		prerequisite = { focus = NOR_send_the_king_back_to_denmark }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_political_power = 75
			if = {
				limit = {
					has_idea = NOR_aat_norsk_hydro
				}
				swap_ideas = {
					remove_idea = NOR_aat_norsk_hydro
					add_idea = NOR_folks_hydro
				}
			}
			else = {
				effect_tooltip = {
					swap_ideas = {
						remove_idea = NOR_aat_norsk_hydro
						add_idea = NOR_folks_hydro
					}
				}
			}
		}
	}

	focus = {
		id = NOR_expand_military_industry
		icon = GFX_focus_generic_modernize_industry
		prerequisite = { focus = NOR_send_the_king_back_to_denmark }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_core_of = ROOT 
					is_controlled_by = ROOT 
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory 
					level = 2
					instant_build = yes 
				}
			}
		}
	}

	focus = {
		id = NOR_a_new_norway

		icon = {
			trigger = {
				has_country_flag = NOR_going_stalinist
			}
			value = GFX_focus_NOR_a_new_norway_SOV_communism
		}

		icon = {
			trigger = {
				has_country_flag = NOR_trotsky_embraced
			}
			value = GFX_focus_NOR_a_new_norway_Trotsky_communism
		}
		icon = {
			value = GFX_focus_NOR_a_new_norway_communism 
		}

		prerequisite = { focus = NOR_worker_armies }
		prerequisite = { focus = NOR_nationalize_the_hydro_plants }
		prerequisite = { focus = NOR_expand_military_industry }

		x = 0
		y = 1
		relative_position_id = NOR_worker_armies
		cost = 10
		available = {
			communism > 0.75
			has_dynamic_modifier = { modifier = NOR_independent_norway_dmod }
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					has_country_flag = NOR_going_stalinist
				}
				set_cosmetic_tag = NOR_SOV_communism
			}
			else_if = {
				limit = {
					has_country_flag = NOR_trotsky_embraced
				}
				set_cosmetic_tag = NOR_trotsky_communism
			}
			else = {
				set_cosmetic_tag = NOR_SOV_communism	
			}
			custom_effect_tooltip = NOR_modify_independent_norway_TT
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_army_org_factor
				value = 0.15
				tooltip = army_org_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_navy_org_factor
				value = 0.1
				tooltip = navy_org_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_war_stability_factor
				value = 0.2
				tooltip = war_stability_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_war_support_factor
				value = 0.15
				tooltip = war_support_factor_tt
			}
		}
	}

	focus = {
		id = NOR_reawaken_the_permanent_revolution
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = NOR_squash_dissent }
		prerequisite = { focus = NOR_prosecute_the_nkp }

		x = -1
		y = 1
		relative_position_id = NOR_squash_dissent
		cost = 10
		available = {
			communism > 0.5
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = { 
					is_in_faction = no 
					NORDIC_alliance_created_already = no
					any_other_country = {
						NORDIC_is_nordic = yes
						has_government = communism 
						is_in_faction = no 
					} 
				}
				create_faction_from_template = {
					template = faction_template_world_revolution
					name = NORDIC_alliance_communist
				}
				every_other_country = {
					limit = {
						NORDIC_is_nordic = yes 
						has_government = communism
						is_subject = no
					}
					country_event = {
						id = generic.5
						hours = 2
					}
				}
				complete_national_focus = NORDIC_form_joint_alliance
			}
			else_if = {
				limit = {
					any_other_country = {
						original_tag = SOV
						has_government = communism
						has_country_leader = {
							character = SOV_lev_trotsky
							ruling_only = yes 
						} 
						is_faction_leader = yes
						is_subject = no
					}
				}
				random_other_country = {
					limit = {
						original_tag = SOV
						has_government = communism
						has_country_leader = {
							character = SOV_lev_trotsky
							ruling_only = yes 
						}
						is_faction_leader = yes
						is_subject = no
					}
					country_event = { id = generic.2 }
				}
			}
			else = {
				create_faction_from_template = {
					template = faction_template_world_revolution
					name = NOR_northern_international
				}
				every_other_country = {
					limit = {
						has_government = communism 
						NOT = {
							has_war_with = ROOT 
							has_country_leader = {
								character = SOV_iosif_stalin
								ruling_only = yes 
							}
						}
						is_in_faction = no 
						is_subject = no
					}
					country_event = { id = generic.5 }
				}
			}

			custom_effect_tooltip = CHL_skip_one_line_tt

			add_timed_idea = {
				idea = NOR_permanent_revolution_ns
				days = 1095
			}

			custom_effect_tooltip = CHL_skip_one_line_tt

			# I know There's a better way to do this but the tooltip looks wrong otherwise. 
			if = {
				limit ={
					SWE = {
						NOT = { 
							has_government = communism 
							is_in_faction_with = ROOT 
						}						
					}
				}
				create_wargoal = {
					type = annex_everything
					target = SWE
				}
			}
			if = {
				limit ={
					FIN = {
						NOT = { 
							has_government = communism 
							is_in_faction_with = ROOT 
						}						
					}
				}
				create_wargoal = {
					type = annex_everything
					target = FIN
				}
			}

			if = {
				limit ={
					DEN = {
						NOT = { 
							has_government = communism 
							is_in_faction_with = ROOT 
						}						
					}
				}
				create_wargoal = {
					type = annex_everything
					target = DEN
				}
			}
			if = {
				limit ={
					ICE = {
						NOT = { 
							has_government = communism 
							is_in_faction_with = ROOT 
						}						
					}
				}
				create_wargoal = {
					type = annex_everything
					target = ICE
				}
			}
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_norwegian_engineering
		icon = GFX_focus_DEN_no_regulations
		prerequisite = { focus = NOR_reawaken_the_permanent_revolution }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			unlock_mio_policy_tooltip = {
				policy = mio_policy_NOR_general_permanent_industrial_revolution
			}
			mio:NOR_thunes_mekaniske_verksted_organization ={
				add_mio_funds = 1000
			}
			mio:NOR_akers_mekaniske_verksted_organization = {
				add_mio_funds = 1000
			}
			mio:NOR_norsk_spraengstofindustri_organization = {
				add_mio_funds = 1000 
			}
		}
	}

	focus = {
		id = NOR_crush_stalin
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = NOR_reawaken_the_permanent_revolution }
		prerequisite = { focus = NOR_defend_finland }

		x = 1
		y = 1
		relative_position_id = NOR_defend_finland
		cost = 10
		available = {
			has_war_support > 0.75
			is_subject = no
			has_civil_war = no
			if = {
				limit = { # Stalin is SOMEWHERE and he will be crushed
					NOR_stalin_exists = yes 
				} 
				SOV = {
					exists = yes
					has_government = communism 
					has_country_leader = {
						character = SOV_iosif_stalin
						ruling_only = yes 
					}
					NOT = { is_in_faction_with = ROOT }
				}
			}
			else_if = { # Some sort of Stalin Adjacent SOV exists 
				limit = {
					any_other_country = { 
						original_tag = SOV
						has_government = communism
						NOT = { has_completed_focus = SOV_the_left_opposition }
						has_capitulated = no
					}
				}
				SOB = { #Right Opposition SOV
					exists = yes 
					has_government = communism
					NOT = { is_in_faction_with = ROOT }
				}
			}
			else_if = { # Some other fascist 
				limit = {
					NOT = {
						any_other_country = {
							original_tag = SOV
							has_government = communism
							has_capitulated = no 		
						}
					}
					has_variable = GLOBAL.platonic_big_communist
				}
				var:GLOBAL.platonic_big_communist = {
					has_capitulated = no 
					has_government = communism
					NOT = { is_in_faction_with = ROOT }
				} 
			}
			else = { # Just for the tooltip 
				SOV = {
					exists = yes
					has_government = communism 
					has_country_leader = {
						character = SOV_iosif_stalin
						ruling_only = yes 
					}
					NOT = { is_in_faction_with = ROOT }
				}	
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_POLITICAL }

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

			custom_effect_tooltip = CHL_skip_one_line_tt

			army_experience = 25
			navy_experience = 25 
			air_experience = 25 
			add_political_power = 75

			custom_effect_tooltip = CHL_skip_one_line_tt

			if = {
				limit = { # Stalin is SOMEWHERE and he will be crushed
					NOR_stalin_exists = yes 
				} 
				if = {
					limit = {
						NOT = {
							has_wargoal_against = { target = SOV }
							has_war_with = SOV
						}
					}
					create_wargoal = {
						type = topple_government
						target = SOV
					}
				}
			}
			else_if = { # Some sort of Stalin Adjacent SOV exists 
				limit = {
					any_other_country = { 
						original_tag = SOV
						has_government = communism
						NOT = { has_completed_focus = SOV_the_left_opposition }
						has_capitulated = no
					}
				}
				if = {
					limit = {
						NOT = {
							has_wargoal_against = { target = SOB }
							has_war_with = SOB
						}
					}
					create_wargoal = {
						type = topple_government
						target = SOB
					}
				}
			}
			else_if = { # Some other fascist 
				limit = {
					NOT = {
						any_other_country = {
							original_tag = SOV
							has_government = communism
							has_capitulated = no 		
						}
					}
					has_variable = GLOBAL.platonic_big_communist
				}
				var:GLOBAL.platonic_big_communist = { 
					ROOT = {
						if = {
							limit = {
								NOT = {
									has_wargoal_against = { target = PREV } # I don't trust variables for these things
									has_war_with = PREV
								}
							}
							create_wargoal = {
								type = topple_government
								target = PREV
							}
						}
					}
				} 
			}
			else = { # Just for the tooltip 
				create_wargoal = {
					type = topple_government
					target = SOV
				}
			} 
		}
	}

	focus = {
		id = NOR_prepare_for_war
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = NOR_squash_dissent }
		prerequisite = { focus = NOR_denounce_the_german_reich }

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

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } #Not you Jan Mayen
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes 
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory 
					level = 1
					instant_build = yes
				}
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } #Not you Jan Mayen
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes 
					}
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}

			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } #Not you Jan Mayen
					air_base > 0
					air_base < 8
				}
				random_select_amount = 4
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
			}
			add_manpower = 10000
			if = {
				limit = {
					has_country_flag = NOR_going_dem_allied
				}
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_military_industry_expansion
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
			}
		}
	}

	focus = {
		id = NOR_join_the_allies
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = NOR_denounce_the_german_reich }
		prerequisite = { focus = NOR_liberal_conservative_alliance }

		x = 1
		y = 1
		relative_position_id = NOR_denounce_the_german_reich
		cost = 5
		available = {
			is_subject = no
			ENG = {
				exists = yes 
				has_capitulated = no 
				has_government = democratic 
				is_faction_leader = yes 
				NOT = { has_war_with = ROOT }
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 75
			add_popularity = {
				ideology = democratic
				popularity = 0.15
			}
			if = {
				limit = {
					ENG = {
						exists = yes 
						has_capitulated = no 
						has_government = democratic 
						is_faction_leader = yes 
						NOT = { has_war_with = ROOT }
					}
				}
				ENG = {
					country_event = { id = generic.2 }
				}
			}
			else = {
				find_best_democratic_ally_leader = yes 
				var:GLOBAL.platonic_democratic_ally_leader = {
					country_event = { id = generic.2 }	
				}	
			}
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_proactive_defense
		icon = GFX_focus_generic_attack_nordic_territory
		prerequisite = { focus = NOR_prepare_for_war focus = NOR_join_the_allies focus = NOR_reawaken_the_permanent_revolution }

		x = 0
		y = 1
		relative_position_id = NOR_prepare_for_war
		cost = 10
		available = {
			has_war_support > 0.75
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {
			add_war_support = 0.15
			add_command_power = 50
			army_experience = 30
			navy_experience = 30
			air_experience = 30 
			every_military_industrial_organization = {
				limit = {
					is_mio_available = yes 
				}
				tooltip = every_mio_tt
				add_mio_funds = 800
			} 
			if = {
				limit = {
					has_government = democratic  
					is_in_faction = no 
					NORDIC_alliance_created_already = no 
				}
				IF = {
					limit = {
						has_dlc = "No Compromise, No Surrender"
					}
					set_rule = { can_create_factions = yes }
					create_faction_from_template = faction_template_NORDIC_alliance_democratic
					add_faction_initiative = 1
					add_to_faction = FROM
				}
				ELSE = {
					set_rule = { can_create_factions = yes }
					create_faction = NORDIC_alliance_democratic
					add_to_faction = FROM
				}
				complete_national_focus = NORDIC_form_joint_alliance
			}
		}
	}

	focus = {
		id = NOR_secure_the_swedish_iron_ore
		icon = GFX_focus_generic_attack_sweden
		prerequisite = { focus = NOR_proactive_defense }

		x = -1
		y = 1

		relative_position_id = NOR_proactive_defense

		cost = 10
		
		available = {	
			is_subject = no
			SWE = {
				exists = yes
				NOT = {
					OR = {
						is_subject_of = ROOT
						is_in_faction_with = ROOT
					}
				}
			}
		}

		bypass = {
			SWE = {
				OR = {		
					exists = no
					is_subject_of = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SWE
				generator = { 666 }
			}
			add_timed_idea = {
				idea = NOR_attack_sweden_ns
				days = 730
			}
		}
	}

	focus = {
		id = NOR_secure_denmark
		icon = GFX_focus_generic_attack_denmark
		prerequisite = { focus = NOR_proactive_defense }

		x = 1
		y = 1

		relative_position_id = NOR_proactive_defense

		cost = 10

		available = {
			is_subject = no
			DEN = {
				exists = yes
				NOT = {
					OR = {
						is_subject_of = ROOT
						is_in_faction_with = ROOT
					}
				}
			}
		}

		bypass = {
			DEN = {
				OR = {
					exists = no
					is_subject_of = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = DEN
			}
			add_timed_idea = {
				idea = NOR_attack_denmark_ns
				days = 730
			}		
		}
	}
	focus = {
		id = NOR_crush_hitler
		icon = GFX_focus_attack_germany
		prerequisite = { focus = NOR_secure_the_swedish_iron_ore focus = NOR_secure_denmark }

		x = 1
		y = 1
		relative_position_id = NOR_secure_the_swedish_iron_ore
		cost = 10
		available = {
			is_subject = no
			if = {
				limit = {
					any_other_country = { 
						original_tag = GER 
						has_government = fascism
					}
				}
				any_other_country = { 
					original_tag = GER 
					has_government = fascism
				}
			}
			else_if = {
				limit = {
					has_variable = GLOBAL.platonic_fascist_bully
				}
				var:GLOBAL.platonic_fascist_bully = {
					exists = yes 
					is_major = yes 
					has_government = fascism
					has_capitulated = no 
				}
			}
		}

		bypass = {
			NOT = {
				any_other_country = {
					is_major = yes 
					has_government = fascism 
					has_capitulated = no 
				}
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ANNEXATION FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_POLITICAL }

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

			custom_effect_tooltip = CHL_skip_one_line_tt

			army_experience = 25
			navy_experience = 25 
			air_experience = 25 
			add_political_power = 75

			custom_effect_tooltip = CHL_skip_one_line_tt

			if = {
				limit = {
					GER = {
						exists = yes 
						has_government = fascism
					}
					NOT = {
						has_wargoal_against = { target = GER }
						has_war_with = GER
					}
				}
				create_wargoal = {
					type = topple_government
					target = GER
				}
			}
			else = {
				random_other_country = {
					limit = {
						original_tag = GER
						has_government = fascism
					}
					set_variable = { NOR.AltGer = THIS }

				}
				var:NOR.AltGer = {
					NOR = {
						create_wargoal = {
							type = topple_government
							target = PREV
						} 
					}	
				} 
			}
		}
	}

	focus = {
		id = NOR_invite_secret_army
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = NOR_moscows_education_centers }

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

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {			
			division_template = {  
				name = "Hemmelige Hæren" 
				force_allow_recruiting = yes
				priority = 1
				template_counter = 75
				regiments = {
					militia = { x = 0 y = 0 }
					militia = { x = 0 y = 1 }
					militia = { x = 0 y = 2 }
					militia = { x = 1 y = 0 }
					militia = { x = 1 y = 1 }
					militia = { x = 1 y = 2 }
				}
				support = {
				}
				override_model = NOR_irregular_entity				
			}

			random_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } # Not Jan Mayen
				}
				effect_tooltip = {
					create_unit = {
						division = "name = \"1. Hemmelige Hæren\" division_template = \"Hemmelige Hæren\" start_experience_factor = 0.25 start_equipment_factor = 0.5"
						owner = NOR
						allow_spawning_on_enemy_provs = no
						count = 5  
					}
				}
				hidden_effect = {
					create_unit = {
						division = "name = \"1. Hemmelige Hæren\" division_template = \"Hemmelige Hæren\" start_experience_factor = 0.25 start_equipment_factor = 0.5"
						owner = NOR
						allow_spawning_on_enemy_provs = no  
					}
					create_unit = {
						division = "name = \"2. Hemmelige Hæren\" division_template = \"Hemmelige Hæren\" start_experience_factor = 0.25 start_equipment_factor = 0.5"
						owner = NOR
						allow_spawning_on_enemy_provs = no  
					}
					create_unit = {
						division = "name = \"3. Hemmelige Hæren\" division_template = \"Hemmelige Hæren\" start_experience_factor = 0.25 start_equipment_factor = 0.5"
						owner = NOR
						allow_spawning_on_enemy_provs = no  
					}
					create_unit = {
						division = "name = \"4. Hemmelige Hæren\" division_template = \"Hemmelige Hæren\" start_experience_factor = 0.25 start_equipment_factor = 0.5"
						owner = NOR
						allow_spawning_on_enemy_provs = no  
					}
					create_unit = {
						division = "name = \"5. Hemmelige Hæren\" division_template = \"Hemmelige Hæren\" start_experience_factor = 0.25 start_equipment_factor = 0.5"
						owner = NOR
						allow_spawning_on_enemy_provs = no  
					}
				}
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.12
			}	
		}
	}

	focus = {
		id = NOR_revive_pomor_trade
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = NOR_moscows_education_centers }

		x = 1
		y = 1
		relative_position_id = NOR_moscows_education_centers
		cost = 10
		available = {
			NOT = {
				SOV = { has_war_with = ROOT }
			}
			924 = {
				is_fully_controlled_by = ROOT
			}
			925 = {
				is_fully_controlled_by = ROOT
			}
		}

		bypass = {
			SOV = {
				OR = {
					exists = no 
					NOT = { has_government = communism }
					has_war_with = ROOT 
					NOT = {	owns_state = 214 }
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			SOV = {
				country_event = {
					id = AAT_norway_communist.1
					hours = 3 
				}
			}
			custom_effect_tooltip = if_they_accept
			event_option_tooltip = AAT_norway_communist.2.a
			event_option_tooltip = AAT_norway_communist.1.a
			effect_tooltip = {
				SOV = {
					214 = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}
		}
	}

	focus = {
		id = NOR_join_the_comintern
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = NOR_invite_secret_army }
		prerequisite = { focus = NOR_revive_pomor_trade }

		x = 1
		y = 1
		relative_position_id = NOR_invite_secret_army
		cost = 10
		available = {
			is_subject = no
			any_other_country = {
				has_government = communism 
				original_tag = SOV
				is_faction_leader = yes 
			}
		}
		bypass = {
			OR = {
				NOT = {
					any_other_country = {
						has_government = communism
						original_tag = SOV
						is_faction_leader = yes 
					}
				}
				any_other_country = {
					has_government = communism
					original_tag = SOV
					is_faction_leader = yes 
					is_in_faction_with = ROOT
				}
			}
			
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {	
					SOV = {
						has_government = communism 
						is_faction_leader = yes 
					}
				}
				SOU = {
					country_event = {
						id = generic.2
						hours = 3
					}
				}
			}
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_soviet_industrial_cooperation
		icon = GFX_focus_generic_communist_industry
		prerequisite = { focus = NOR_revive_pomor_trade }

		x = 1
		y = 1
		relative_position_id = NOR_revive_pomor_trade
		cost = 10
		available = {
			any_other_country = {
				has_government = communism 
				is_faction_leader = yes 
			}	
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {	
					SOV = {
						has_government = communism 
						is_faction_leader = yes 
					}
				}
				SOV = {
					country_event = {
						id = AAT_norway_communist.4
						hours = 4
					}
				}
			}
			else = {
				find_biggest_communist = yes
				var:GLOBAL.platonic_big_communist = {
					country_event = {
						id = AAT_norway_communist.4
						hours = 4
					}
				}
			}
			custom_effect_tooltip = if_they_accept
			event_option_tooltip = AAT_norway_communist.5.a
		}
	}

	focus = {
		id = NOR_field_hospitals
		 
		icon = GFX_focus_generic_field_hostpital
		
		prerequisite = { focus = NOR_invite_secret_army }

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

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MANPOWER }

		completion_reward = {
			army_experience = 50
			add_manpower = 1000
			add_tech_bonus = {
				name = NOR_field_hospitals
				bonus = 1
				uses = 2
				category = hospital_tech
			}
		}
	}

	focus = {
		id = NOR_expanded_conscription_drive
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = NOR_field_hospitals }

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

		search_filters = { FOCUS_FILTER_MANPOWER }

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

	focus = {
		id = NOR_invite_soviet_designers
		icon = GFX_focus_SOV_the_glory_of_the_red_army_communism
		prerequisite = { focus = NOR_join_the_comintern }
		prerequisite = { focus = NOR_soviet_industrial_cooperation }

		x = 1
		y = 1
		relative_position_id = NOR_join_the_comintern
		cost = 10
		available = {
			any_other_country = {
				has_government = communism 
				is_faction_leader = yes 
			}	
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			unlock_military_industrial_organization_tooltip = mio:SOV_morozov_design_bureau_organization
			mio:SOV_morozov_design_bureau_organization = {
				add_mio_size = 3
			}
			unlock_military_industrial_organization_tooltip = mio:SOV_rubin_design_bureau_organization
			mio:SOV_rubin_design_bureau_organization = {
				add_mio_size = 3
			}
			unlock_military_industrial_organization_tooltip = mio:SOV_gaz_organization
			mio:SOV_gaz_organization = {
				add_mio_size = 3
			}
		}
	}
	
###########################################################################################
###########################################################################################
###########################################################################################

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

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

	focus = {
		id = NOR_liberal_conservative_alliance
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = NOR_vote_of_no_confidence }

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

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_stability = 0.15
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
			add_political_power = 50
		}
	}

	focus = {
		id = NOR_sabotage_unions
		icon = GFX_focus_spr_crush_the_revolution
		prerequisite = { focus = NOR_liberal_conservative_alliance }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_timed_idea = {
				idea = NOR_reduced_workers_rights_ns
				days = 548
			}
		}
	}

	focus = {
		id = NOR_invite_foreign_investment
		icon = GFX_focus_generic_industrialists
		prerequisite = { focus = NOR_liberal_conservative_alliance }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_other_country = {
				limit = {
					is_major = yes 
					has_government = democratic
					NOT = { has_war_with = ROOT }
				}
				country_event = {
					id = AAT_norway_allied.1
					hours = 2
				}
				custom_effect_tooltip = if_they_accept_tt
				event_option_tooltip = AAT_norway_allied.2.a
			}
		}
	}

	focus = {
		id = NOR_invite_transnational_manufacturers
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = NOR_sabotage_unions }
		prerequisite = { focus = NOR_invite_foreign_investment }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			unlock_military_industrial_organization_tooltip = mio:ENG_de_havilland_organization
			unlock_military_industrial_organization_tooltip = mio:USA_chrysler_organization
			mio:ENG_de_havilland_organization = {
				add_mio_funds = 1000 
			}
			mio:USA_chrysler_organization = {
				add_mio_funds = 1000 
			}
		}
	}

	focus = {
		id = NOR_contain_the_labor_movement
		icon = GFX_focus_spr_masters_of_our_own_fate
		prerequisite = { focus = NOR_weathering_the_storm_to_come }
		prerequisite = { focus = NOR_sabotage_unions }

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

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = -0.1
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.08
			}
			add_political_power = 50		
			add_war_support = 0.15
		}
	}

	focus = {
		id = NOR_uproot_secret_army
		icon = GFX_focus_generic_anti_fascist_diplomacy
		prerequisite = { focus = NOR_contain_the_labor_movement }

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

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_command_power = 30
			add_popularity = {
				ideology = fascism
				popularity = -0.1
			}
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = 2000 
				producer = NOR
			}
		}
	}

	focus = {
		id = NOR_support_finland_in_winter_war
		icon = GFX_focus_invite_finland
		prerequisite = { focus = NOR_contain_the_labor_movement }
		prerequisite = { focus = NOR_rearm_for_defense } 

		x = 1
		y = 1
		relative_position_id = NOR_contain_the_labor_movement
		cost = 5
		available = {
			SOU = {
				has_war_with = FIN
			}
			FIN = {
				NOT = { has_war_with = ROOT }
				has_capitulated = no
			}
		}

		bypass = {
			FIN = { 
				OR = {
					exists = no 
					is_in_faction_with = SOU
					has_government = communism

				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
		 	army_experience = 15	 	
			add_war_support = 0.05			
			FIN = {
				add_command_power = 20			
				add_equipment_to_stockpile = { 
					type = infantry_equipment_0
					amount = 2000 
					producer = PREV
				}

				add_equipment_to_stockpile = { 
					type = support_equipment_1
					amount = 200 
					producer = PREV
				}

				add_equipment_to_stockpile = { 
					type = convoy_1
					amount = 25
					producer = PREV
				}				
			}
		}			
	}

	focus = {
		id = NOR_replace_laake
		icon = GFX_focus_NOR_replace_laake		

		prerequisite = { focus = NOR_the_kings_no focus = NOR_uproot_secret_army}


		x = -3
		y = 6
		relative_position_id = NOR_weathering_the_storm_to_come
		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_HISTORICAL }

		available_if_capitulated = yes

		completion_reward = {
			effect_tooltip = { retire_character = NOR_kristian_laake } 
			country_event = {
				id = AAT_norway_allied.4
			}
		}
	}

#	focus = {
#		id = NOR_arrest_quisling
#		
#		icon = GFX_focus_NOR_arrest_quisling
#		
#		prerequisite = { focus = NOR_replace_laake }
#
#		x = 0
#		y = 1
#		relative_position_id = NOR_replace_laake
#		
#		cost = 5
#		
#		available = {
#			has_character = NOR_vidkun_quisling	
#		}
#
#		bypass = {
#			has_completed_focus = NOR_fascist_invasion_of_norway 
#		}
#
#		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_POLITICAL }
#
#		available_if_capitulated = yes		
#
#		completion_reward = {
#			remove_ideas = { NOR_anti_communist_sentiment_ns }
#			add_popularity = {
#				ideology = fascism
#				popularity = -0.2
#			}
#			add_popularity = {
#				ideology = democratic 
#				popularity = 0.15 
#			}
#			retire_character = NOR_vidkun_quisling
#			mark_focus_tree_layout_dirty = yes
#		}
#	}

	focus = {
		id = NOR_protect_finnmark_from_the_bolsheviks
		icon = GFX_focus_ger_bulwark_against_bolshevism
		prerequisite = { focus = NOR_uproot_secret_army }
		prerequisite = { focus = NOR_support_finland_in_winter_war }

		x = 1
		y = 1
		relative_position_id = NOR_uproot_secret_army
		cost = 10
		available = {
			owns_state = 925
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_manpower = 3000
			925 = {	
				add_building_construction = { 
					type = bunker	
					level = 3 
					instant_build = yes 
					province = {
						all_provinces = yes
						limit_to_border = yes
					}
				}
			}
		}
	}

	focus = {
		id = NOR_reform_the_army
		icon = GFX_focus_chi_army_reform
		prerequisite = { focus = NOR_replace_laake }

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

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		available_if_capitulated = yes

		completion_reward = {
			if = {
				limit = {
					has_idea = NOR_birger_ljungberg
				}
				deactivate_advisor = NOR_birger_ljungberg
			}
			army_experience = 50
			add_command_power = 60
			add_political_power = 75
			add_war_support = 0.2
			unlock_decision_tooltip = {
				decision = NOR_alt_dem_modernize_armed_forces_decision
				show_effect_tooltip = yes 
				show_modifiers = yes 
			}
		}
	}

	focus = {
		id = NOR_improved_training
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = NOR_reform_the_army }

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

		search_filters = {}

		available_if_capitulated = yes

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

	focus = {
		id = NOR_officers_academy
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = NOR_reform_the_army }

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

		search_filters = { FOCUS_FILTER_ARMY_XP }

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 75
			add_command_power = 50
			custom_effect_tooltip = unlocks_spirit_of_the_academy_TT
			show_ideas_tooltip = NOR_flexible_officers_academy_spirit 
		}
	}

	focus = {
		id = NOR_offensive_doctrines
		icon = GFX_goal_generic_attack_allies
		prerequisite = { focus = NOR_improved_training }
		prerequisite = { focus = NOR_officers_academy }

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

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_NAVY_XP FOCUS_FILTER_AIR_XP }

		available_if_capitulated = yes

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = NOR_offensive_doctrines
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			add_doctrine_cost_reduction = {
				name = NOR_offensive_doctrines
				cost_reduction = 0.6
				uses = 2
				category = special_forces_doctrine
			}
			army_experience = 50
			navy_experience = 50
			air_experience = 50
			add_command_power = 50
			
		}
	}


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

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

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

	focus = {
		id = NOR_broken_gun_policies
		icon = GFX_focus_NOR_broken_gun_policies
		prerequisite = { focus = NOR_continue_nygaardsvold_government }
		x = -1
		y = 1
		relative_position_id = NOR_continue_nygaardsvold_government 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic 
		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = { NOR_broken_gun_ns }
			add_popularity = {
				ideology = democratic 
				popularity = 0.025
			}
			custom_effect_tooltip = NOR_prepare_historical_unlock_TT
		}
	}

	focus = {
		id = NOR_leaving_the_hard_thirties_behind
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = NOR_continue_nygaardsvold_government }
		x = 2
		y = 1
		relative_position_id = NOR_continue_nygaardsvold_government 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic 
		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			NOR_reduce_hard_thirties_ns = yes
			add_stability = 0.05
			add_war_support = 0.05 
			add_popularity = {
				ideology = communism 
				popularity = 0.05
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.03
			}
		}
	}

	focus = {
		id = NOR_cut_military_budget
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = NOR_leaving_the_hard_thirties_behind }
		prerequisite = { focus = NOR_broken_gun_policies }
		x = -2
		y = 1
		relative_position_id = NOR_leaving_the_hard_thirties_behind 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			swap_ideas = {
				remove_idea = NOR_broken_gun_ns
				add_idea = NOR_broken_gun_ns_2
			}
		}
	}

	focus = {
		id = NOR_bail_out_towns
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = NOR_leaving_the_hard_thirties_behind }
		x = 2
		y = 1
		relative_position_id = NOR_leaving_the_hard_thirties_behind 

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			every_owned_state = {   
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes 
					}
					NOT = { state = 914 } # >=( No Polar bear factories 
					is_controlled_by = ROOT 
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex 
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = NOR_restore_public_trust_in_the_storting
		icon = GFX_focus_NOR_restore_public_trust_in_the_storting
		prerequisite = { focus = NOR_broken_gun_policies focus = NOR_weathering_the_storm_to_come }
		x = -1
		y = 1
		relative_position_id = NOR_broken_gun_policies 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.1
			add_political_power = 65
			add_command_power = 25
			add_popularity = {
				ideology = democratic 
				popularity = 0.1
			}
			if = {
				limit = {
					has_country_flag = NOR_going_dem_allied
				}
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_economic_relief_measures
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
			}
		}
	}

	focus = {
		id = NOR_the_neutrality_guard
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = NOR_weathering_the_storm_to_come }
		x = 0
		y = 1
		relative_position_id = NOR_weathering_the_storm_to_come 

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				limit = {
					has_tech = tech_military_police
				}
				division_template = {
					name = "Nøytralitetsvakt"  
					division_names_group = NOR_INF_01
				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
					}
					support = {
						recon = { x = 0 y = 0 }
						military_police = { x = 0 y = 1 }
					}
				}
			}
			else = {
				division_template = {
					name = "Nøytralitetsvakt" 
					division_names_group = NOR_INF_01
				
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
					}
					support = {
						recon = { x = 0 y = 0 }
					}
				}
				army_experience = 20
				add_tech_bonus = {
					name = NOR_the_neutrality_guard
					bonus = 0.5
					uses = 1 
					category = military_police_tech
				}	
			}
			110 = { # Oslofjord
				create_unit = {
					division = "division_template = \"Nøytralitetsvakt\" start_experience_factor = 0.15"
					owner = NOR 
					count = 4
				}
			}
		}
	}

	focus = {
		id = NOR_rearm_for_defense
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = NOR_restore_public_trust_in_the_storting }
		prerequisite = { focus = NOR_the_neutrality_guard }
		x = 1
		y = 1
		relative_position_id = NOR_the_neutrality_guard
		
		cost = 10
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				name = NOR_rearm_for_defense
				bonus = 1.0
				uses = 1
				category = infantry_weapons 
			}
			add_ideas = { NOR_defensive_rearmament_ns }
			unlock_decision_tooltip = {
				decision = NOR_focus_on_training
				show_effect_tooltip = yes 
				show_modifiers = yes 
			}
			
			if = {
				limit = {
					NOT = {
						has_completed_focus = NOR_vote_of_no_confidence
					}
				}
				remove_ideas = { NOR_broken_gun_ns_3 }
			}

			custom_effect_tooltip = when_at_war_TT
			if = {
				limit = {
					has_completed_focus = NOR_vote_of_no_confidence
				}
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_integrate_militias
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
			}
			else = {
				unlock_decision_tooltip = {
					decision = NOR_dem_his_integrate_militias
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
			}
		}
	}

	focus = {
		id = NOR_fde_intelligence_agency
		icon = GFX_focus_generic_secret_service_agency
		prerequisite = { focus = NOR_support_finland_in_winter_war focus = NOR_rearm_for_defense }

		x = -1
		y = 2
		relative_position_id = NOR_rearm_for_defense

		offset = {
			x = 0 
			y = -1 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_continue_nygaardsvold_government
			}
		}
		cost = 10
		
		allow_branch = {
			has_dlc = "La Resistance"
			NOR_kings_no_allow_trigger = yes 
		}
		
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_offsite_building = {
				type = industrial_complex 
				level = 2
			}
			create_intelligence_agency = {
				name = "Forsvarets Etterretningstjeneste"
				icon = GFX_intelligence_agency_logo_NOR_historical_intelligence
			}
		}
	}

	focus = {
		id = NOR_patrol_our_coast
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = NOR_rearm_for_defense }

		x = 1
		y = 1
		relative_position_id = NOR_rearm_for_defense
		
		cost = 10
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP }

		completion_reward = {
			random_owned_state = {
				limit = {
					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_tech_bonus = {
				name = NOR_patrol_our_coast
				bonus = 0.75
				uses = 2
				category = dd_tech 
			}
			if = {
				limit = { has_dlc = "Man the Guns" }
				add_tech_bonus = {
					name = NOR_patrol_our_coast
					bonus = 0.75
					uses = 2
					category = naval_minelaying 
				}
			}
			else = {
				navy_experience = 20
			}
			if = {
				limit = {
					has_country_flag = NOR_going_dem_allied
				}
				unlock_decision_tooltip = {
					decision = NOR_alt_dem_naval_expansion
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}

			}
			else = {
				unlock_decision_tooltip = {
					decision = NOR_naval_expanion
					show_effect_tooltip = yes 
					show_modifiers = yes 
				}
			}
		}
	}

	focus = {
		id = NOR_social_incrementalism
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = NOR_cut_military_budget }

		x = 0
		y = 1
		relative_position_id = NOR_cut_military_budget
		cost = 10
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_stability = 0.1
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			swap_ideas = {
				remove_idea = NOR_broken_gun_ns_2
				add_idea = NOR_broken_gun_ns_3
			}
			remove_ideas = { NOR_complacent_cabinet_ns }

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = NOR_kirsten_hansteen
		}
	}

	focus = {
		id = NOR_print_more_money
		icon = GFX_focus_hol_abandon_the_gold_standard
		prerequisite = { focus = NOR_leaving_the_hard_thirties_behind }

		x = 0
		y = 2 
		
		relative_position_id = NOR_leaving_the_hard_thirties_behind
		
		cost = 10
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			NOR_reduce_hard_thirties_ns = yes
			add_timed_idea = {
				idea = NOR_printing_money_ns
				days = 365
			}
		}
	}

	focus = {
		id = NOR_restart_public_investment
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = NOR_social_incrementalism }
		prerequisite = { focus = NOR_print_more_money }

		x = 1
		y = 1
		relative_position_id = NOR_social_incrementalism
		cost = 5
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			NOR_reduce_hard_thirties_ns = yes
			add_popularity = {
				ideology = democratic
				popularity = 0.1
			}

		}
	}

	focus = {
		id = NOR_coastal_defense
		icon = GFX_focus_generic_coastal_fort
		prerequisite = { focus = NOR_restart_public_investment focus = NOR_patrol_our_coast }

		x = -1
		y = 1
		relative_position_id = NOR_restart_public_investment

		offset = {
			x = -1 
			y = 0 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_vote_of_no_confidence
			}
		}
		cost = 5
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					is_coastal = yes
					NOT = { 
						OR = {
							state = 110
							state = 144
						}
					}
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					instant_build = yes  
					province = {
						all_provinces = yes
						limit_to_coastal = yes
						limit_to_victory_point = yes 
					}
				}
			}
			110 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes  
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
				}
			}
			144 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes  
					province = {
						all_provinces = yes
						limit_to_coastal = yes 
					}
				}
			}
			unlock_decision_tooltip = {
				decision = NOR_public_investment_drive 
				show_effect_tooltip = yes
				show_modifiers = yes
			}
		}
	}

	focus = {
		id = NOR_fortify_norway
		icon = GFX_focus_generic_fortify_norway
		prerequisite = { focus = NOR_restart_public_investment focus = NOR_patrol_our_coast }

		x = 2
		y = 0
		relative_position_id = NOR_coastal_defense
		cost = 5
		available = {
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { 
						OR = {
							state = 110
							state = 144
						}
					}
				}
				add_building_construction = {
					type = bunker
					level = 1
					instant_build = yes  
					province = {
						all_provinces = yes
						limit_to_victory_point = yes 
					}
				}
			}
			110 = {
				add_building_construction = {
					type = bunker
					level = 2
					instant_build = yes  
					province = {
						all_provinces = yes
						limit_to_victory_point = yes 
					}
				}
			}
			144 = {
				add_building_construction = {
					type = coastal_bunker
					level = 2
					instant_build = yes  
					province = {
						all_provinces = yes 
						limit_to_victory_point = yes 
					}
				}
			}		
		} 
	}

	focus = {
		id = NOR_the_kings_no
		
		icon = GFX_focus_NOR_the_kings_no
		
		prerequisite = { focus = NOR_coastal_defense focus = NOR_fortify_norway }

		x = 1
		y = 1
		relative_position_id = NOR_coastal_defense
		cost = 5

		available_if_capitulated = yes
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
		}
		
		available = {
			has_war = yes
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			NOR_set_mobile_government_variables = yes 
			remove_ideas = { NOR_anti_communist_sentiment_ns }
			custom_effect_tooltip = NOR_mobile_government_decisions_TT
			if = {
				limit = {
					has_mtg = yes
				}
				unlock_decision_tooltip = { decision = NOR_prepare_exile show_effect_tooltip = yes}
			}
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_prince_olavs_inspiration
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = NOR_the_kings_no }

		x = -5
		y = 1
		relative_position_id = NOR_the_kings_no
		cost = 5

		available_if_capitulated = yes 
		
		allow_branch = { 
			NOR_kings_no_allow_trigger = yes 
		}

		available = {
			has_capitulated = yes
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			add_legitimacy = 20
			add_political_power = 50
			NOR_add_25_convoys = yes  
			add_stability = 0.1
			add_war_support = 0.25
			add_naval_commander_role = {
				character = NOR_prince_olav
				traits={ navy_media_personality bold blockade_runner }
				skill=5
				attack_skill=6
				defense_skill=3
				maneuvering_skill=3
				coordination_skill=5
			}
		}
	}

	focus = {
		id = NOR_establish_milorg
		icon = GFX_focus_NOR_establish_milorg
		prerequisite = { focus = NOR_the_kings_no }

		x = -3
		y = 1
		relative_position_id = NOR_the_kings_no
		cost = 5

		available_if_capitulated = yes 
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
		}
		
		available = {
			has_capitulated = yes
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			unlock_decision_tooltip = {
				decision = NOR_weapons_for_the_resistance
				show_effect_tooltip = no
			}
			unlock_decision_tooltip = NOR_joint_training_exercise
		}
	}

	focus = {
		id = NOR_approach_the_coordinating_committee
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = NOR_the_kings_no }

		x = -1
		y = 1
		relative_position_id = NOR_the_kings_no
		cost = 10
		
		available_if_capitulated = yes 
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
		}		
		
		available = {
			has_capitulated = yes 
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_ideas = { NOR_coordinating_committee }
		}
	}

	focus = {
		id = NOR_approach_kretsen
		icon = GFX_focus_NOR_approach_kretsen
		prerequisite = { focus = NOR_the_kings_no }

		x = 1
		y = 1
		relative_position_id = NOR_the_kings_no
		cost = 10

		available_if_capitulated = yes 
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
			has_government = democratic
		}

		available = {			
			has_capitulated = yes 
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_ideas = { NOR_kretsen_ns }
		}
	}

	focus = {
		id = NOR_use_xu
		icon = GFX_focus_generic_national_security
		prerequisite = { focus = NOR_establish_milorg }

		x = -1
		y = 1
		relative_position_id = NOR_establish_milorg
		cost = 10
		
		available_if_capitulated = yes 
		
		available = {
			has_capitulated = yes
			has_government = democratic
		}
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				create_operative_leader = {
					name = "Kasper Skjeggenes"
					GFX = GFX_portrait_europe_generic_operative_male_22
					traits = { operative_escape_artist operative_commando }
					available_to_spy_master = yes
					female = no
					nationalities = { NOR }
				}
				create_operative_leader = {
					name = "Astrid Løken"
					GFX = GFX_portrait_europe_generic_operative_female_22
					traits = { operative_infiltrator }
					available_to_spy_master = yes
					female = yes
					nationalities = { NOR }
				}
				unlock_decision_tooltip = NOR_foment_resistance_in_state
			}
			else = {
				add_ideas = { NOR_XU_ns }
			}
		}
	}

	focus = {
		id = NOR_recruit_norwegian_refugees
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = NOR_establish_milorg }

		x = 1
		y = 1
		relative_position_id = NOR_establish_milorg
		cost = 10
		
		available_if_capitulated = yes 
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
		}

		available = {
			has_capitulated = yes
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_command_power = 50
			add_political_power = 100
			add_manpower = 10000
		}
	}

	focus = {
		id = NOR_empower_sivorg
		icon = GFX_focus_NOR_empower_sivorg
		prerequisite = { focus = NOR_approach_the_coordinating_committee }
		prerequisite = { focus = NOR_approach_kretsen }

		x = 1
		y = 1
		relative_position_id = NOR_approach_the_coordinating_committee
		cost = 10
		
		available_if_capitulated = yes 
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
		}

		available = {
			has_capitulated = yes
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_legitimacy = 10
			add_political_power = 25
			hidden_effect = {
				remove_ideas = { NOR_kretsen_ns NOR_coordinating_committee }
				add_ideas = { NOR_sivorg_ns }  
			}
			effect_tooltip = {
				swap_ideas = {
					remove_idea = NOR_ketsen_plus_KK_fake_ns
					add_idea = NOR_sivorg_ns
				}
			}
			NOR_add_50_convoys = yes 
		}
	}

	focus = {
		id = NOR_preparing_the_return_to_norway
		icon = GFX_focus_NOR_preparing_the_return_to_norway
		prerequisite = { focus = NOR_use_xu }
		prerequisite = { focus = NOR_recruit_norwegian_refugees }

		x = 1
		y = 1
		relative_position_id = NOR_use_xu
		cost = 10
		
		available_if_capitulated = yes 
		
		allow_branch = {
			NOR_kings_no_allow_trigger = yes 
		}

		available = {
			has_capitulated = yes
			has_government = democratic
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MILITARY_CHARACTER }

		completion_reward = {
			unlock_decision_tooltip = {
				decision = NOR_support_rebellion
				show_effect_tooltip = no 
			}
			effect_tooltip = {
				add_naval_commander_role = {
					Character = NOR_king_haakon_vii
					traits={ navy_media_personality gentlemanly naval_lineage fleet_protector }			
					skill=5
					attack_skill=2
					defense_skill=6
					maneuvering_skill=4
					coordination_skill=4
				}
			}
			if = {
				limit = {
					has_country_flag = NOR_bamse_activated
				}
				custom_effect_tooltip = NOR_bamse_tooltip  
			}
		}
	}

	focus = {
		id = NOR_the_stumbling_storting
		
		icon = GFX_focus_NOR_the_stumbling_storting

		mutually_exclusive = { focus = NOR_continue_nygaardsvold_government focus = NOR_vote_of_no_confidence focus = NOR_a_resurgent_labor_movement}
		x = 16
		y = 0
		relative_position_id = NOR_continue_nygaardsvold_government

		allow_branch = {
			if = {
				limit = {
					has_hide_rule = yes 

				}
				NOT = {
					has_completed_focus = NOR_vote_of_no_confidence
					has_completed_focus = NOR_a_resurgent_labor_movement
					has_completed_focus = NOR_continue_nygaardsvold_government
				}
			}
		}

		offset = {
			x = -35
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_the_stumbling_storting
			}
		}

		offset = {
			x = 5 
			y = 0 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_the_chamberlains_overture
			}
		}

		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			hidden_effect = {
				find_global_platonic_countries = yes 
			}
			country_event = { id = AAT_norway.10 }
			custom_effect_tooltip = the_following_will_happen_TT
			event_option_tooltip = AAT_norway.10.a
			mark_focus_tree_layout_dirty = yes
		}
	}

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

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

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


	focus = {
		id = NOR_lurk_in_the_shadows
		icon = GFX_focus_NOR_lurk_in_the_shadows
		prerequisite = { focus = NOR_the_stumbling_storting }
		mutually_exclusive = { focus = NOR_the_chamberlains_overture }
		x = -5
		y = 1
		
		relative_position_id = NOR_the_stumbling_storting
		
		allow_branch = {
			if = {
				limit = {
					has_hide_rule = yes 
				}
				NOT = { has_completed_focus = NOR_continue_nygaardsvold_government }
				NOT = { has_completed_focus = NOR_vote_of_no_confidence }
				NOT = { has_completed_focus = NOR_a_resurgent_labor_movement }
				NOT = { has_completed_focus = NOR_the_chamberlains_overture }
			}
		}

		offset = {
			x = 5 
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_lurk_in_the_shadows
			}
		}
		cost = 5

		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			hidden_effect = {
				set_country_flag = NOR_going_fascist 
				find_biggest_fascist = yes
				find_local_dangerous_fascist = yes  
			}
			NOR_set_prepare_variables_fascist = yes 	
			add_political_power = 50
			add_popularity = {
				ideology = fascism 
				popularity = 0.05
			}
			unlock_decision_tooltip = {
				decision = NOR_prepare_state_fascist
				show_effect_tooltip = yes 
			}
			mark_focus_tree_layout_dirty = yes
		}
	}

	focus = {
		id = NOR_the_chamberlains_overture
		
		icon = GFX_focus_NOR_the_chamberlains_overture
		
		prerequisite = { focus = NOR_the_stumbling_storting}
		mutually_exclusive = { focus = NOR_lurk_in_the_shadows }
		x = 8
		y = 1
		
		relative_position_id = NOR_the_stumbling_storting
		
		allow_branch = {
			if = {
				limit = {
					has_hide_rule = yes 		

				}
				NOT = { has_completed_focus = NOR_continue_nygaardsvold_government }
				NOT = { has_completed_focus = NOR_vote_of_no_confidence }
				NOT = { has_completed_focus = NOR_a_resurgent_labor_movement }
				NOT = { has_completed_focus = NOR_lurk_in_the_shadows }
			}	
		}

		offset = {
			x = -8
			y = 0 
			trigger = {
				has_hide_rule = yes 
				has_completed_focus = NOR_the_chamberlains_overture
			}
		}
		cost = 5

		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			unlock_decision_tooltip = {
				decision = NOR_prepare_state_monarchist
				show_effect_tooltip = no 
			}
			hidden_effect = {
				set_country_flag = NOR_going_monarchist 
			}
			country_event = {
				id = AAT_norway_monarchist.1
			}
			custom_effect_tooltip = the_following_will_happen_TT
			event_option_tooltip = AAT_norway_monarchist.1.a	
			mark_focus_tree_layout_dirty = yes
		}
	}

#	focus = {
#		id = NOR_fascist_invasion_of_norway
#		icon = GFX_focus_generic_attack_norway
#		prerequisite = { focus = NOR_continue_nygaardsvold_government }
#
#		x = 6
#		y = 4
#		relative_position_id = NOR_continue_nygaardsvold_government
#		
#		offset = {
#			x = -1
#			y = -3
#			trigger = {
#				has_hide_rule = yes
#				has_completed_focus = NOR_arrest_quisling
#				NOT = {
#					has_global_flag = NOR_quislings_coup_happened
#					has_country_flag = NOR_delayed_quislings_coup
#				}
#			}	
#		}
#
#		cost = 10
#		available = {
#			custom_trigger_tooltip = {
#				tooltip = NOR_invasion_focus_TT
#				if = {
#					limit = {
#						any_other_country = {
#							original_tag = GER 
#							has_government = fascism 
#							exists = yes 
#							has_capitulated = no 
#						}
#					}
#					GER = {
#						has_offensive_war_with = ROOT 
#					}
#				}
#				else = {
#					any_other_country = {
#						has_government = fascism 
#						capital_scope = {
#							is_on_continent = europe
#						}
#						has_offensive_war_with = ROOT
#					}
#				}
#			}
#		}
#
#		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }
#
#		completion_reward = {
#			add_stability = -0.25
#			add_war_support = 0.25
#			add_political_power = 100 	
#			add_popularity = {
#				ideology = fascism 
#				popularity = -0.1
#			}
#			mark_focus_tree_layout_dirty = yes
#		}
#	}

	focus = {
		id = NOR_ask_for_foreign_support
		icon = GFX_goal_support_fascism
		prerequisite = { focus = NOR_lurk_in_the_shadows }

		x = -3
		y = 1
		relative_position_id = NOR_lurk_in_the_shadows
		cost = 5
		available = {
			has_war = no
			NOT = { has_government = fascism }

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			find_biggest_fascist_bully = yes 
			if = {
				limit = {
					any_other_country = {
						original_tag = GER 
						has_government = fascism 
					}
				}
				random_other_country = {
					limit = {
						original_tag = GER
						has_government = fascism
					}
					country_event = {
						id = AAT_norway_fascist.4
						hours = 3 
					}	
				}
			}
			else = {
				var:platonic_local_dangerous_fascist = {
					country_event = {
						id = AAT_norway_fascist.4
						hours = 3 
					}
				}
			}
			custom_effect_tooltip = if_they_accept
			event_option_tooltip = AAT_norway_fascist.5.a
		}
	}

	focus = {
		id = NOR_approach_the_fatherland_league
		icon = GFX_focus_NOR_approach_the_fatherland_league
		prerequisite = { focus = NOR_lurk_in_the_shadows }

		x = -1
		y = 1
		relative_position_id = NOR_lurk_in_the_shadows
		cost = 5
		available = {
			fascism > 0.15
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = {
			add_political_power = 50
			add_popularity = {
				ideology = democratic
				popularity = -0.05
			}
			hidden_effect = { find_local_dangerous_fascist = yes }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = NOR_joakim_lehmkuhl
		}
	}

	focus = {
		id = NOR_cultivate_the_conservative_parties
		icon = GFX_goal_tripartite_pact
		prerequisite = { focus = NOR_lurk_in_the_shadows }

		x = 1
		y = 1
		relative_position_id = NOR_lurk_in_the_shadows
		cost = 5
		available = {
			fascism > 0.15
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_political_power = 80
			hidden_effect = { find_local_dangerous_fascist = yes }			
			add_popularity = {
				ideology = democratic
				popularity = -0.05
			}
		}
	}

	focus = {
		id = NOR_get_industrialist_support
		icon = GFX_focus_generic_industrialists
		prerequisite = { focus = NOR_lurk_in_the_shadows }

		x = 3
		y = 1
		relative_position_id = NOR_lurk_in_the_shadows
		cost = 10
		available = {
			has_war = no
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_equipment_to_stockpile = {
				type = convoy_1
				amount = 65
			} 
			add_equipment_to_stockpile = { 
				type = motorized_equipment
				amount = 35
				producer = NOR
			}
			every_owned_state = {
				limit = {
					free_building_slots = {
					    building = arms_factory
					    size > 1
					    include_locked = yes
					}
				}
				random_select_amount = 2 
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1 
					instant_build = yes 
				}
			}
		}
	}

	focus = {
		id = NOR_nasjonal_samling
		icon = GFX_focus_NOR_nasjonal_samling
		prerequisite = { focus = NOR_approach_the_fatherland_league }
		prerequisite = { focus = NOR_cultivate_the_conservative_parties }

		x = 1
		y = 1
		relative_position_id = NOR_approach_the_fatherland_league
		cost = 10
		available = {
			fascism > 0.35
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			#hidden_effect = {
			#	find_global_platonic_countries = yes 
			#}
			add_war_support = 0.1
			add_stability = -0.05

			custom_effect_tooltip = CHL_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = NOR_birger_meidell

			custom_effect_tooltip = CHL_skip_one_line_tt

			IF = {
				limit = {
					any_other_country = {
						original_tag = GER
						has_government = fascism
						exists = yes 
						has_civil_war = no
					}
				}
				unlock_decision_tooltip = {
				 	decision = NOR_invite_fascist_to_invade
				 	show_effect_tooltip = yes # default is no
				}
			}
			
		}
	}

	focus = {
		id = NOR_the_secret_army
		icon = GFX_focus_SWE_varnplikt
		prerequisite = { focus = NOR_nasjonal_samling }

		x = -1
		y = 1
		relative_position_id = NOR_nasjonal_samling
		cost = 10
		available = {
			NOT = {
				has_government = fascism
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			custom_effect_tooltip = NOR_spawn_militias_fasc_TT
		}
	}

	focus = {
		id = NOR_empower_hirden
		icon = GFX_focus_generic_fascist_troops
		prerequisite = { focus = NOR_nasjonal_samling }

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

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_command_power = 50
			add_war_support = 0.05
			army_experience = 50
			custom_effect_tooltip = NOR_when_the_coup_starts_TT
			effect_tooltip = {
				NOR_spawn_hirden = yes 
			}
		}
	}

	focus = {
		id = NOR_quislings_coup
		icon = GFX_focus_NOR_quislings_coup
		prerequisite = { focus = NOR_nasjonal_samling #focus = NOR_fascist_invasion_of_norway 
		}

		x = 0
		y = 2
		relative_position_id = NOR_nasjonal_samling
		cost = 1


		ai_will_do = {
			base = 0
			modifier = {
				add = 10 
				NOR_is_fascist_ai = yes 
			}
			modifier = {
				add = 5
				fascism > 0.4 
			}
			modifier = {
				add = 10
				fascism > 0.5 
			}
			modifier = {
				add = 15
				fascism > 0.6
			}
		}

		allow_branch = {
			if = {
				limit ={
					has_hide_rule = yes 
				}
				OR = { 
					NOT = {
						#has_completed_focus = NOR_arrest_quisling
						has_completed_focus = NOR_vote_of_no_confidence
						has_completed_focus = NOR_a_resurgent_labor_movement
						has_completed_focus = NOR_the_chamberlains_overture
						has_completed_focus = NOR_continue_nygaardsvold_government
					}
					has_global_flag = NOR_quislings_coup_happened
					has_country_flag = NOR_delayed_quislings_coup 
				}
			}
		}
		available = {
			NOT = { 
				has_global_flag = NOR_quislings_coup_happened 
				#has_completed_focus = NOR_arrest_quisling
			}
			OR = {

				IF = { # If Germany = Fascist Germany 
					limit = {
						GER = {
							has_government = fascism 
							exists = yes 
							has_civil_war = no 
							has_capitulated = no 
						}	
					}
					OR = {
						check_variable = {
			 				var = NOR_country_preparedness
			 				value = 10
			 				compare = greater_than_or_equals 
			 				tooltip = NOR_required_prep_fascist_TT
			 			}
			 			has_country_flag = NOR_rejected_by_fascist_bully
						GER = { has_offensive_war_with = ROOT }
						GER = { has_capitulated = yes } # For tooltip purposes only
						GER = { has_civil_war = yes  } # For tooltip purposes only
						
					}

				}
				ELSE_IF = {
					limit = {
						any_other_country = {
							original_tag = GER
							has_government = fascism
							exists = yes 
							has_civil_war = no 
						}
					}
					OR = { 
						has_country_flag = NOR_rejected_by_fascist_bully
						any_other_country = {
							has_government = fascism
							original_tag = GER
							has_offensive_war_with = ROOT
						}
						check_variable = {
			 				var = NOR_country_preparedness
			 				value = 10
			 				compare = greater_than_or_equals 
			 				tooltip = NOR_required_prep_fascist_TT
			 			}
					}
				}
				ELSE = { 
					check_variable = {
		 				var = NOR_country_preparedness
		 				value = 10
		 				compare = greater_than_or_equals 
		 				tooltip = NOR_required_prep_fascist_TT
		 			}
				}
			}
		}

		bypass = {
			has_government = fascism	
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.3
			}
			if = {
				limit = {
					has_idea = NOR_birger_ljungberg
				}
				deactivate_advisor = NOR_birger_ljungberg
			}
			if = {
				limit = {
					has_idea = NOR_kristian_laake
				}
				deactivate_advisor = NOR_kristian_laake
			}			
			add_ideas = { NOR_contested_leadership_ns }
			custom_effect_tooltip = NOR_switch_to_fascist_TT # Oslo City Shuffle 
			NOR_start_fascist_civil_war = yes
		}
	}

	focus = {
		id = NOR_quislings_regime
		icon = GFX_focus_NOR_quislings_regime
		prerequisite = { focus = NOR_quislings_coup }
		mutually_exclusive = { focus = NOR_get_rid_of_quisling }
		x = 1
		y = 1
		relative_position_id = NOR_quislings_coup
		cost = 5
		
		available = {
			if = {
				limit = {
					any_other_country = {
						original_tag = NOR
						exists = yes
						NOT = { has_government = fascism }
					}
					has_variable = NOR_cw_democratic_norway	
				}
				var:NOR_cw_democratic_norway = {
					has_capitulated = yes 
				}
			}
			else = {
				has_civil_war = no 
			}
			has_government = fascism
			fascism > 0.5 
		}

		ai_will_do = {
			base = 10 			
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_stability = -0.1
			add_war_support = -0.06
			remove_ideas = { NOR_contested_leadership_ns }

			custom_effect_tooltip = generic_skip_one_line_tt

			NOR_vidkun_quisling = {
				remove_country_leader_trait = NOR_fascist_lackey
				add_country_leader_trait = NOR_fascist_dilettante
				set_portraits = {
					army = { large ="GFX_portrait_NOR_vidkun_quisling_2"}
					civilian = { large ="GFX_portrait_NOR_vidkun_quisling_2" }
				}
			}
		}
	}

	focus = {
		id = NOR_get_rid_of_quisling
		icon = GFX_focus_NOR_get_rid_of_quisling
		prerequisite = { focus = NOR_quislings_coup }
		mutually_exclusive = { focus = NOR_quislings_regime }
		x = -1
		y = 1
		relative_position_id = NOR_quislings_coup
		cost = 5
		available = {
			if = {
				limit = {
					has_variable = NOR_cw_democratic_norway
				}
				var:NOR_cw_democratic_norway = {
					OR = {
						has_capitulated = yes 
						exists = no 
					}
				}
			}			
			has_government = fascism 
			fascism > 0.5 
			IF = {
				limit = {
					GER = { has_government = fascism }
				}
				is_in_faction_with = GER
			}
			ELSE = {
				any_country = {
					is_faction_leader = yes
					has_government = fascism
					is_in_faction_with = ROOT
				}
			}

		}

		ai_will_do = {
			base = 10 			
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_stability = -0.2
			add_war_support = -0.1
			remove_ideas = { NOR_contested_leadership_ns }

			custom_effect_tooltip = generic_skip_one_line_tt

			promote_character = {
				character = NOR_josef_terboven
				ideology = nazism
			}			
		}
	}

	focus = {
		id = NOR_elevate_hirden
		icon = GFX_focus_generic_manpower
		prerequisite = { focus = NOR_quislings_regime }

		x = 3
		y = 1
		relative_position_id = NOR_quislings_regime
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_command_power = 75
			army_experience = 60
			division_template = {
				name = "Hirden"
				is_locked = no
				template_counter = 79  
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }	
					infantry = { x = 1 y = 2 }
					artillery_brigade = { x = 2 y = 0 }
					artillery_brigade = { x = 2 y = 1 }

				}
				support = {
					engineer = { x = 0 y = 0 }
				}
				override_model = NOR_militia_alt_1_entity				
			} 
			random_owned_controlled_state = {
				limit = {
					NOT = {
						state = 914 # Don't want the unit spawning in Jan Mayen
					}
				}
				create_unit = { 
					division = "name = \"1. Hirden\" division_template = \"Hirden\" start_experience_factor = 0.8" 
					owner = ROOT
				}
				create_unit = { 
					division = "name = \"2. Hirden\" division_template = \"Hirden\" start_experience_factor = 0.8" 
					owner = ROOT
				}
				create_unit = { 
					division = "name = \"3. Hirden\" division_template = \"Hirden\" start_experience_factor = 0.8" 
					owner = ROOT
				}
			}
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_military_police
		icon = GFX_focus_generic_limited_social_mobilization
		prerequisite = { focus = NOR_elevate_hirden }

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = NOR_military_police
				bonus = 1
				uses = 1
				category = military_police_tech # optional 
			}		
		}
	}

	focus = {
		id = NOR_extensive_recruitment
		icon = GFX_focus_SOV_mobilization_plan
		prerequisite = { focus = NOR_elevate_hirden }

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

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MANPOWER }

		completion_reward = {
			army_experience = 80
			add_timed_idea = {
				idea = NOR_expanded_conscription_ns
				days = 1095
			}
		}
	}


	focus = {
		id = NOR_the_weapons_of_conquest
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = NOR_extensive_recruitment }

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

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } # No Polar Bears 
					free_building_slots = {
						building = arms_factory
						size > 2 
						include_locked = yes 
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 3 
				add_building_construction = {
					type = arms_factory 
					level = 3
					instant_build = yes
				}
			}

			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.5
			}

			add_tech_bonus = {
				name = NOR_the_weapons_of_conquest
				bonus = 0.5
				uses = 1 # was 2
				category = nuclear
			}

		}
	}

	focus = {
		id = NOR_lynrytter
		icon = GFX_focus_generic_army_tanks2
		prerequisite = { focus = NOR_military_police }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } # No Polar Bears 
					free_building_slots = {
						building = industrial_complex
						size > 1 
						include_locked = yes 
					}
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 2 
				add_building_construction = {
					type = industrial_complex 
					level = 2
					instant_build = yes
				}
			}
			add_equipment_subsidy = {
				cic = 1000
				equipment_type = medium_tank_chassis
				seller_trigger = NOR_valid_fascist_tank_seller 
			}
		}
	}

	focus = {
		id = NOR_ulfhedhnar_wolf_coats
		icon = GFX_focus_NOR_the_lone_wolf_norway
		prerequisite = { focus = NOR_extensive_recruitment }
		prerequisite = { focus = NOR_military_police }

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_ideas = { NOR_ulfhedhnar_ns }	
			add_tech_bonus = {
				name = NOR_ulfhedhnar_wolf_coats
				bonus = 0.75
				uses = 2
				category = cat_special_forces_generic  
			}
		}
	}

	focus = {
		id = NOR_crackdown_on_civilian_life
		icon = GFX_focus_eng_move_to_secure_the_dominions
		prerequisite = { focus = NOR_get_rid_of_quisling focus = NOR_quislings_regime }

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

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			set_variable = { NOR.NOR_oppressed_civilians_dmod_recruitable_population_factor = 0 }
			add_dynamic_modifier = {
				modifier = NOR_oppressed_civilians_dmod 
			}

			random_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } # Jan Mayen
					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
				}
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = NOR_rolf_fuglesang
		}
	}

	focus = {
		id = NOR_the_administrative_council
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = NOR_get_rid_of_quisling }

		x = -5
		y = 1
		relative_position_id = NOR_get_rid_of_quisling
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_dynamic_modifier = { modifier = NOR_administrative_council_dmod }	
		}
	}

	focus = {
		id = NOR_abandoning_nynorsk
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = NOR_crackdown_on_civilian_life }

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

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_timed_idea = {
				idea = NOR_abandoning_nynorsk_ns
				days = 365  
			}
			custom_effect_tooltip = INDUSTRIAL_ORG_POLICY_ON_REMOVE
			
			custom_effect_tooltip = NOR_modify_oppressed_civilians_TT
			set_variable = {
				var = NOR.NOR_oppressed_civilians_dmod_recruitable_population_factor
				value = 0.15
				tooltip = conscription_factor_tt
			}
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_pan_germanic_cooperation
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = NOR_crackdown_on_civilian_life }

		x = 1
		y = 1
		relative_position_id = NOR_crackdown_on_civilian_life
		cost = 5
		available = {
			is_in_faction = no
			is_subject = no
			NOT = {
				has_war_with = GER
			}
		}

		bypass = {
			OR = {
				NORDIC_basic_joint_trigger = yes 
				any_other_country = {
					has_government = fascism 
					original_tag = GER
					is_in_faction_with = ROOT 
				}
				has_war_with = GER
				GER = {
					NOT = {
						has_government = fascism
					}
				}
				is_faction_leader = yes
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			every_other_country = {
				limit = {
					is_germanic = yes
					has_government = fascism  
				}
				add_opinion_modifier = {
					target = ROOT 
					modifier = NOR_pan_germanic_cooperation_mod
				}
			}
			if = {
				limit = {
					GER = {
						NOT = { has_government = fascism }
					}
				}
				if ={
					limit = {
						any_other_country = {
							is_germanic = yes 
							has_government = fascism 
							is_faction_leader = yes 
						}
					}
					random_other_country = {
						limit = {
							is_germanic = yes 
							has_government = fascism 
							is_faction_leader = yes 
						}
						country_event = {
							id = generic.2
							hours = 2
						}
					}
				}
			}
			else_if = {
				limit = {
					GER = {
						exists = yes 
						has_government = fascism
						is_faction_leader = yes 
					}
				}
				GER = {
					country_event = {
						id = generic.2
						hours = 2
					} 
				}
			}
			else = {
				create_faction = NOR_pan_germanic_entent
				every_other_country = {
					limit = {
						is_germanic = yes 
						has_government = fascism 
					}
					country_event = { 
						id = generic.5
						hours = 3 
					}
				}
			}
		}
	}

	focus = {
		id = NOR_secret_police
		icon = GFX_focus_generic_national_security
		prerequisite = { focus = NOR_abandoning_nynorsk }
		prerequisite = { focus = NOR_pan_germanic_cooperation }

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

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				if = {
					limit = {
						has_intelligence_agency = no
					}
					create_intelligence_agency = {
						name = "Nasjonal Samlings Overholdelsesbyrå"
						icon = GFX_intelligence_agency_logo_NOR_fascism_intelligence 
					}
				}
			}
			else = {
				add_tech_bonus = {
					name = DEN_sikkerhedspolitiet
					bonus = 0.25
					uses = 2
					category = encryption_tech
					category = decryption_tech
				}
			}
			add_stability = 0.1
			add_popularity = {
				ideology = fascism 
				popularity = 0.15
			}
		}
	}

	focus = {
		id = NOR_fascist_military_collaboration
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = NOR_the_administrative_council }

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

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP }

		completion_reward = {
			army_experience = 75
			air_experience = 50 
			if = {
				limit = {
					is_subject = yes 
				}
				OVERLORD = {
					add_opinion_modifier = {
						target = THIS
						modifier = NOR_fascist_military_collaboration_opinion
					}
				}
			}
			else_if = {
				limit = {
					is_in_faction = yes
				}
				every_other_country = {
					limit = {
						is_in_faction_with = ROOT 
						has_government = fascism 
					}
					add_opinion_modifier = {
						target = THIS
						modifier = NOR_fascist_military_collaboration_opinion
					}
				}
			}
		}
	}
	
	focus = {
		id = NOR_frontkjempere
		icon = GFX_focus_NOR_frontkjempere
		prerequisite = { focus = NOR_fascist_military_collaboration }

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

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			division_template = {
				name = "Frontkjempere"
				is_locked = no
				template_counter = 79 
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }	
					infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }	
					infantry = { x = 3 y = 0 }
					infantry = { x = 3 y = 1 }
				}
				support = {
					military_police = { x = 0 y = 0 }
				}
			} 
			random_owned_controlled_state = {
				limit = {
					NOT = {
						state = 914 # Don't want the unit spawning in Jan Mayen
					}
				}
				create_unit = { 
					division = "name = \"1. Frontkjempere\" division_template = \"Frontkjempere\" start_experience_factor = 0.5" 
					owner = ROOT
				}
				create_unit = { 
					division = "name = \"2. Frontkjempere\" division_template = \"Frontkjempere\" start_experience_factor = 0.5" 
					owner = ROOT
				}
				create_unit = { 
					division = "name = \"3. Frontkjempere\" division_template = \"Frontkjempere\" start_experience_factor = 0.5" 
					owner = ROOT
				}
				create_unit = { 
					division = "name = \"4. Frontkjempere\" division_template = \"Frontkjempere\" start_experience_factor = 0.5" 
					owner = ROOT
				}
				create_unit = { 
					division = "name = \"5. Frontkjempere\" division_template = \"Frontkjempere\" start_experience_factor = 0.5" 
					owner = ROOT
				}
			}			
		}
	}

	focus = {
		id = NOR_fascist_industrial_investments
		icon = GFX_focus_ICE_state_corporatism
		prerequisite = { focus = NOR_the_administrative_council }

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

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_owned_state = { 
				limit = {
					is_controlled_by = ROOT 
					free_building_slots = {
						building = arms_factory 
						size > 1
						include_locked = yes 
					}
					NOT = {
						state = 914 # Don't want the building spawning in Jan Mayen
					}
				}
				add_extra_state_shared_building_slots = 2 
				add_building_construction = {
					type = arms_factory 
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = { 
				limit = {
					is_controlled_by = ROOT 
					free_building_slots = {
						building = industrial_complex 
						size > 1
						include_locked = yes 
					}
					NOT = {
						state = 914 # Don't want the building spawning in Jan Mayen
					}
				}
				add_extra_state_shared_building_slots = 2 
				add_building_construction = {
					type = industrial_complex 
					level = 2
					instant_build = yes
				}
			}
		}
	}
	
	focus = {
		id = NOR_norwegian_reichsprotectorate
		icon = GFX_focus_ger_reichskommisariats  
		prerequisite = { focus = NOR_the_administrative_council }

		x = 3
		y = 1
		relative_position_id = NOR_the_administrative_council
		cost = 10
		available = {
			has_government = fascism 
			is_in_faction = yes 
			is_faction_leader = no 
			if = {
				limit = {
					has_variable = NOR.NOR_cw_democratic_norway
				}
				var:NOR.NOR_cw_democratic_norway = {
					has_capitulated = yes 
				}
			}
		}

		bypass = {
			is_subject = yes 
			if = {
				limit = {
					is_subject = yes 
				}
				OVERLORD = { has_government = fascism }
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			
			if = {
				limit = {
					NOT = { has_variable = NOR.NOR_cw_fascist_attacker }  
				}
				faction_leader = {
					set_variable = { NOR.NOR_cw_fascist_attacker = THIS }
				}
			}
			var:NOR.NOR_cw_fascist_attacker = {
				set_autonomy = {
					target = PREV
					autonomy_state = autonomy_reichsprotectorate
					end_wars = no 
				}
			}
			every_core_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } # No Jan Mayen pls
					free_building_slots = {
						building = arms_factory 
						size > 1
						include_locked = yes 
					}				
				}
				random_select_amount = 3 
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2 
					instant_build = yes 
				}
			}
			effect_tooltip = {
				remove_dynamic_modifier = {
					modifier = NOR_independent_norway_dmod
				}
			}
		}
	}

	focus = {
		id = NOR_jonas_lie_coup
		icon = GFX_focus_generic_military_dictatorship
		prerequisite = { focus = NOR_norwegian_reichsprotectorate }
		mutually_exclusive = { focus = NOR_bring_back_quisling }
		x = -1
		y = 1
		relative_position_id = NOR_norwegian_reichsprotectorate
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			promote_character = {
				character = NOR_jonas_lie
				ideology = gen_nazism
			}
		}
	}

	focus = {
		id = NOR_bring_back_quisling
		icon = GFX_focus_NOR_bring_back_quisling
		prerequisite = { focus = NOR_norwegian_reichsprotectorate }
		mutually_exclusive = { focus = NOR_jonas_lie_coup }
		x = 1
		y = 1
		relative_position_id = NOR_norwegian_reichsprotectorate
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			promote_character = {
				character = NOR_vidkun_quisling 
				ideology = fascism_ideology 
			}
			NOR_vidkun_quisling = { 
				remove_country_leader_trait = NOR_fascist_lackey
				add_country_leader_trait = NOR_fascist_dilettante
				set_portraits = {
					army = { large ="GFX_portrait_NOR_vidkun_quisling_2"}
					civilian = { large ="GFX_portrait_NOR_vidkun_quisling_2" }
				}
			}	
		}
	}

	focus = {
		id = NOR_a_valuable_partner_to_germany
		icon =  GFX_focus_CZE_german_puppet
		prerequisite = { focus = NOR_jonas_lie_coup }

		dynamic = yes 
		
		x = 0
		y = 1
		relative_position_id = NOR_jonas_lie_coup
		cost = 10
		available = {
			has_government = fascism 
			is_subject = yes 
			has_civil_war = no 
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			if = {
				limit = {
					GER = {
						exists = yes 
						has_government = fascism 
					}
				}
				GER = {
					set_autonomy = {
						target = ROOT
						autonomy_state = autonomy_satellite
						freedom_level = 0.5 	
					}
					add_opinion_modifier = {
						target = ROOT 
						modifier = NOR_valuable_fascist_partner
					}
				}
			}
			else_if = {
				limit = {
					is_subject = yes
					OVERLORD = {
						has_government = fascism
					} 
				}
				OVERLORD = {
					set_autonomy = {
						target = ROOT
						autonomy_state = autonomy_reichsprotectorate
						freedom_level = 0.5 	
					}
					add_opinion_modifier = {
						target = ROOT 
						modifier = NOR_valuable_fascist_partner
					}
				}
			}
			else = {
				find_biggest_fascist_bully = yes 
				var:platonic_fascist_bully = {
					set_autonomy = {
						target = ROOT
						autonomy_state = autonomy_reichsprotectorate
						freedom_level = 0.5 	
					}
					add_opinion_modifier = {
						target = ROOT 
						modifier = NOR_valuable_fascist_partner
					}							
				}
			}
			add_political_power = 100
		}
	}

	focus = {
		id = NOR_invite_german_engineers
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = NOR_a_valuable_partner_to_germany }
		prerequisite = { focus = NOR_fascist_military_collaboration }
		prerequisite = { focus = NOR_fascist_industrial_investments }

		x = -2
		y = 1
		relative_position_id = NOR_a_valuable_partner_to_germany
		cost = 10
		available = {
			GER = {
				exists = yes 
				has_government = fascism 
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			unlock_military_industrial_organization_tooltip = mio:GER_porsche_organization
			unlock_military_industrial_organization_tooltip = mio:GER_messerschmitt_organization
			unlock_military_industrial_organization_tooltip = mio:GER_heinkel_organization
		}
	}

	focus = {
		id = NOR_send_the_storting_home
		icon = GFX_focus_usa_voter_registration_act
		prerequisite = { focus = NOR_the_chamberlains_overture }

		x = -1
		y = 1
		relative_position_id = NOR_the_chamberlains_overture
		cost = 5
		available = {
			set_temp_variable = {
				var = temp_preparedness
				value = 6
			}
			custom_trigger_tooltip = {
				tooltip = NOR_needed_support_TT
				check_variable = {
					var = NOR_country_preparedness
					value = temp_preparedness
					compare = greater_than_or_equals
				}
			}
			
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			add_stability = -0.15
			add_war_support = 0.1
			add_popularity = {
				ideology = neutrality 
				popularity = 0.1
			}
			add_political_power = 100
		}
	}

	focus = {
		id = NOR_assure_the_population
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = NOR_the_chamberlains_overture }

		x = 1
		y = 1
		relative_position_id = NOR_the_chamberlains_overture
		cost = 10
		available = {
			set_temp_variable = {
				var = temp_preparedness
				value = 6
			}
			custom_trigger_tooltip = {
				tooltip = NOR_needed_support_TT
				check_variable = {
					var = NOR_country_preparedness
					value = temp_preparedness
					compare = greater_than_or_equals
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_political_power = 50
			add_war_support = -0.05
			add_stability = 0.1
			unlock_decision_tooltip = {
				decision = NOR_make_assurances_to_the_people
				show_effect_tooltip = yes 
				show_modifiers = yes 
			}
			unlock_decision_tooltip = {
				decision = NOR_promote_the_armed_defense_of_the_country
				show_effect_tooltip = yes 
				show_modifiers = yes 
			}
			unlock_decision_tooltip = {
				decision = NOR_prop_up_the_economy
				show_effect_tooltip = yes 
				show_modifiers = yes 
			}
		}
	}

	focus = {
		id = NOR_demand_king_haakons_rise_to_power
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = NOR_send_the_storting_home }
		prerequisite = { focus = NOR_assure_the_population }

		x = 1
		y = 1
		relative_position_id = NOR_send_the_storting_home
		cost = 5
		available = {
			democratic < 0.75
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_stability = 0.15
			add_war_support = 0.1
			add_political_power = 50
			add_ideas = { NOR_king_haakon_vii_ns } 
		}
	}

	focus = {
		id = NOR_the_crowns_executive_powers
		icon = GFX_focus_hol_the_foundations_of_defense
		prerequisite = { focus = NOR_demand_king_haakons_rise_to_power }

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

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

		completion_reward = {
			remove_ideas = { NOR_complacent_cabinet_ns }
			add_stability = 0.05
			add_political_power = 50
		}
	}

	focus = {
		id = NOR_a_warden_king
		icon = GFX_focus_generic_home_defense
		prerequisite = { focus = NOR_demand_king_haakons_rise_to_power }

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

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			if = {
				limit = {
					has_idea = NOR_obsolete_armed_forces_ns_2
				}
				remove_ideas = { NOR_obsolete_armed_forces_ns_2 }
			}
			else_if = {
				limit = {
					has_idea = NOR_obsolete_armed_forces_ns_1
				}
				remove_ideas = { NOR_obsolete_armed_forces_ns_1 }
			}
			add_war_support = 0.15
			add_manpower = 10000

		}
	}

	focus = {
		id = NOR_the_kingdom_of_norway
		icon = GFX_focus_NOR_the_kingdom_of_norway
		prerequisite = { focus = NOR_the_crowns_executive_powers }
		prerequisite = { focus = NOR_a_warden_king }

		x = 1
		y = 1
		relative_position_id = NOR_the_crowns_executive_powers
		cost = 10
		available = {
			set_temp_variable = {
				var = temp_preparedness
				value = 12
			} 
			custom_trigger_tooltip = {
				tooltip = NOR_needed_support_TT
				check_variable = {
					var = NOR_country_preparedness
					value = temp_preparedness
					compare = greater_than_or_equals
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

			set_politics = {
				ruling_party = neutrality
				elections_allowed = no
				name = NOR_Wedel-Jarlsberg_regency_name
				long_name = NOR_Wedel-Jarlsberg_regency_long_name
			}

			NOR_set_kingdom_of_norway_variables = yes

			custom_effect_tooltip = CHL_skip_one_line_tt

			country_event = {
				id = AAT_norway_monarchist.5
				hours = 0
			}	

			add_dynamic_modifier = { modifier = NOR_kingdom_of_norway_dmod }

			custom_effect_tooltip = CHL_skip_one_line_tt

			set_division_template_lock = {
				division_template = "Kongens Menn"
				is_locked = no
			}

			retire_character = NOR_kristian_laake

			if = {
				limit = {
					has_idea = NOR_birger_ljungberg
				}
				deactivate_advisor = NOR_birger_ljungberg
			}

			effect_tooltip = {
				add_naval_commander_role = {
					Character = NOR_king_haakon_vii
					traits={ navy_media_personality gentlemanly naval_lineage fleet_protector }			
					skill=5
					attack_skill=2
					defense_skill=6
					maneuvering_skill=4
					coordination_skill=4
				}
			}
		}
	}

	focus = {
		id = NOR_appoint_prince_olav_to_army_staff
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = NOR_the_kingdom_of_norway }
		mutually_exclusive = { focus = NOR_prince_olav_to_navy_staff }
		x = -1
		y = 1
		relative_position_id = NOR_the_kingdom_of_norway
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			add_corps_commander_role = {
				character = NOR_prince_olav
				traits = { trait_mountaineer winter_specialist media_personality }
				skill = 5
				attack_skill = 5
				defense_skill = 3
				planning_skill = 4
				logistics_skill = 4
				legacy_id = -1 
			}		
			army_experience = 65
			add_command_power = 25
		}
	}

	focus = {
		id = NOR_prince_olav_to_navy_staff
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = NOR_the_kingdom_of_norway }
		mutually_exclusive = { focus = NOR_appoint_prince_olav_to_army_staff }
		x = 1
		y = 1
		relative_position_id = NOR_the_kingdom_of_norway
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_MILITARY_CHARACTER FOCUS_FILTER_NAVY_XP }

		completion_reward = {
			add_naval_commander_role = {
				character = NOR_prince_olav
				traits={ navy_media_personality bold blockade_runner }
				skill=5
				attack_skill=6
				defense_skill=3
				maneuvering_skill=3
				coordination_skill=5
			}
			navy_experience = 50
			add_command_power = 20
		}
	}

	focus = {
		id = NOR_promote_civilian_donations
		icon = GFX_focus_SWI_issue_war_bonds
		prerequisite = { focus = NOR_appoint_prince_olav_to_army_staff focus = NOR_prince_olav_to_navy_staff }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_consumer_goods_factor
				value = -0.2
				tooltip = consumer_goods_factor_tt
			}
		}
	}

	focus = {
		id = NOR_research_funding
		icon = GFX_focus_research2
		prerequisite = { focus = NOR_promote_civilian_donations }

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

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_consumer_goods_factor
				value = -0.05
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_research_speed
				value = 0.08
				tooltip = research_speed_factor_tt
			}

		}
	}

	focus = {
		id = NOR_invite_cadillac_to_norway
		icon = GFX_focus_NOR_invite_cadillac_to_norway
		prerequisite = { focus = NOR_promote_civilian_donations }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			unlock_military_industrial_organization_tooltip = mio:NOR_cadillac_organization
			mio:NOR_cadillac_organization = {
				add_mio_size = 2
			}
		}
	}

	focus = {
		id = NOR_enhance_coastal_defense
		icon = GFX_focus_FIN_coastal_defense
		prerequisite = { focus = NOR_prince_olav_to_navy_staff }

		x = 3
		y = 1
		relative_position_id = NOR_prince_olav_to_navy_staff
		cost = 10
		available = {
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_production_speed_coastal_bunker_factor
				value = 0.35
				tooltip = production_speed_coastal_bunker_factor_tt 
			}
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_production_speed_naval_base_factor
				value = 0.4
				tooltip = production_speed_naval_base_factor_tt 
			}
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_naval_mines_damage_factor
				value = 0.2
				tooltip = naval_mines_damage_factor_tt
			}
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_spotting_chance
				value = 0.35
				tooltip = spotting_chance_tt
			}			
		}
	}

	focus = {
		id = NOR_rule_the_northern_sea
		icon = GFX_focus_generic_north_atlantic_fleet
		prerequisite = { focus = NOR_enhance_coastal_defense }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					naval_base > 0
				}
				add_building_construction = {
					type = naval_base 
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_naval_base = yes 
					}
				}
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_coastal = yes
					naval_base < 1
					NOT = { state = 914 } # Have some patience Jan Mayen 
				}
				add_building_construction = {
					type = naval_base 
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_coastal = yes
						limit_to_victory_point = yes  
					}
				}
			}
			914 = { # Jan Mayen can have a Naval Base, as a treat
				add_building_construction = {
					type = naval_base 
					level = 1
					instant_build = yes 
					province = {
						all_provinces = yes
					}
				}	
			}
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_navy_max_range_factor
				value = 0.15
				tooltip = navy_max_range_factor_tt  
			}
		}
	}

	focus = {
		id = NOR_ramp_up_naval_production
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = NOR_enhance_coastal_defense }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_production_speed_dockyard_factor
				value = 0.2
				tooltip = production_speed_dockyard_factor_tt 
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					is_coastal = yes 
					free_building_slots = {
						building = dockyard
						size > 1
					}
					NOT = { state = 914 } #Not enough people for a Dockyard in Jan Mayen
				}
				random_select_amount = 3
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = NOR_the_glucksburg_sea_wall
		icon = GFX_focus_NOR_the_glucksburg_sea_wall
		prerequisite = { focus = NOR_ramp_up_naval_production }
		prerequisite = { focus = NOR_rule_the_northern_sea }


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

		search_filters = { FOCUS_FILTER_NAVY_XP }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					is_coastal = yes 
				}
				add_building_construction = {
					type = coastal_bunker 
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_coastal = yes
						limit_to_victory_point = yes
					}
				}
			}
			914 = {
				add_building_construction = {
					type = coastal_bunker 
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
					}
				}
			}
			navy_experience = 50
		}
	}

	focus = {
		id = NOR_power_to_the_royal_guard
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = NOR_appoint_prince_olav_to_army_staff }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT		
			set_variable = {
				var = NOR_kingdom_of_norway_dmod_special_forces_min
				value = 20
				tooltip = special_forces_min_tt
			}

			set_variable = {
				var = NOR_kingdom_of_norway_dmod_special_forces_training_time_factor
				value = 0.1
				tooltip = special_forces_training_time_factor_tt
			}

			set_variable = {
				var = NOR_kingdom_of_norway_dmod_special_forces_defence_factor
				value = 0.10
				tooltip = special_forces_defence_factor_tt
			}

			set_variable = {
				var = NOR_kingdom_of_norway_dmod_modifier_army_sub_unit_mountaineers_max_org_factor
				value = 0.10
				tooltip = special_forces_mountaineers_organization_tt
			}

			set_variable = {
				var = NOR_kingdom_of_norway_dmod_modifier_army_sub_unit_marine_max_org_factor
				value = 0.10
				tooltip = special_forces_marines_organization_tt
			}			
		}
	}
	focus = {
		id = NOR_encourage_recruitment
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = NOR_power_to_the_royal_guard }

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

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT		
			set_variable = {
				var = NOR_kingdom_of_norway_dmod_recruitable_population_factor
				value = 0.2
				tooltip = conscription_factor_tt
			}		
		}
	}


	focus = {
		id = NOR_for_the_king_and_prince
		icon = GFX_focus_NOR_for_the_king_and_prince
		prerequisite = { focus = NOR_power_to_the_royal_guard }

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

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT		
			set_variable = {
				var = NOR_kingdom_of_norway_dmod_army_defence_factor
				value = 0.2
				tooltip = army_defence_factor_tt
			}
			set_variable = {
				var = NOR_kingdom_of_norway_dmod_army_morale_factor
				value = 0.15
				tooltip = army_morale_factor_tt
			}
			set_variable = {
				var = NOR_kingdom_of_norway_dmod_army_org_factor
				value = 0.15
				tooltip = army_org_factor_tt
			}			
		}
	}
	
	focus = {
		id = NOR_shield_of_the_north
		icon = GFX_focus_SWE_the_nordic_defense_council
		prerequisite = { focus = NOR_for_the_king_and_prince focus = NOR_rule_the_northern_sea }

		x = 3
		y = 1
		relative_position_id = NOR_for_the_king_and_prince
		cost = 10
		available = {
			has_war_support > 0.55
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } # We don't serve your kind, Jan Mayen
					free_building_slots = {
					 	building = arms_factory
					 	size > 2
					 	include_locked = yes 
					 } 
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					NOT = { state = 914 } # We don't serve your kind, Jan Mayen
					free_building_slots = {
					 	building = dockyard
					 	size > 1
					 	include_locked = yes 
					 } 
					 is_coastal = yes 
				}
				random_select_amount = 2
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_stability = 0.2
			if = {
				limit = { 
					is_in_faction = no 
					NORDIC_alliance_created_already = no 
				}
				create_faction_from_template = {
					template = faction_template_DEN_nordic_cooperation_alliance
					name = NORDIC_alliance_monarchist
				}
				complete_national_focus = NORDIC_form_joint_alliance
			}
			hidden_effect = { set_country_flag = NOR_included_in_generic_political }
		}
	}

	focus = {
		id = NOR_the_kings_line
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = NOR_encourage_recruitment }
		prerequisite = { focus = NOR_for_the_king_and_prince }


		x = 1
		y = 1
		relative_position_id = NOR_encourage_recruitment
		cost = 10
		available = {
			any_owned_state = {
				is_controlled_by = ROOT
			}
		}

		search_filters = {}

		completion_reward = {
			every_owned_state = {
				limit = {
					# Just celebrating the fact that I don't need to exclude Jan Mayen this time
					is_controlled_by = ROOT
					# NOTE : This now triggers an error on load because bunker is a province building!
					# Commented out for now, please fix -- RRK
#					free_building_slots = {
#						building = bunker
#						size < 2
#						include_locked = yes
#					}	
				}
				add_building_construction = {
					type = bunker 
					level = 2
					instant_build = yes
					province = {
						all_provinces = yes
						limit_to_border = yes 
					}
				}
			}
		}
	}
	
	focus = {
		id = NOR_reviving_the_norgesveldet 
		icon = GFX_focus_ICE_the_viking_spirit
		prerequisite = { focus = NOR_ulfhedhnar_wolf_coats focus = NOR_bring_back_quisling }

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

		ai_will_do = {
			base = 0
			modifier = {
				add = 10 
				NOR_is_fascist_ai = yes 
			}
			modifier = { # I know this is redundant but I REALLY want to make sure the AI doesn't take it if it's historical 
				factor = 0 
				NOR_is_historical_ai = yes 
			}
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		completion_reward = {
			add_war_support = 0.2
			add_political_power = 120
			add_popularity = {
				ideology = fascism 
				popularity = 0.1
			}
			NOR_vidkun_quisling = {
				swap_country_leader_traits = {
					remove = NOR_fascist_dilettante
					add = NOR_fascist_landssviker
					ideology = fascism_ideology
				}
				set_portraits = {
					army = { large ="GFX_portrait_NOR_vidkun_quisling_3"}
					civilian = { large ="GFX_portrait_NOR_vidkun_quisling_3" }
				}
			}			 
			set_cosmetic_tag = NOR_norgesveldet_fascism
			custom_effect_tooltip = generic_skip_one_line_tt
			IF = {
				limit = {
					is_subject = yes
				}
				add_autonomy_score = { 
					value = 650 
					localization = NOR_reviving_the_norgesveldet
				}
			}
			
		}
	}
	focus = {
		id = NOR_our_royal_claims
		icon = GFX_focus_NOR_our_royal_claims
		prerequisite = { focus = NOR_shield_of_the_north }

		x = 0
		y = 1
		relative_position_id = NOR_shield_of_the_north

		cost = 5
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_kingdom_of_norway_TT
			add_to_variable = {
				var = NOR_kingdom_of_norway_dmod_justify_war_goal_time
				value = -0.2
				tooltip = justify_war_goal_time_tt
			}
			add_political_power = 50
			add_war_support = 0.2
			if = {
				limit = {
					has_country_leader = {
						character = NOR_queen_mathilde_i
						ruling_only = yes 
					}
				}
				122 = {
					add_claim_by = NOR
				}
			}
		}
	}

	focus = {
		id = NOR_swedish_claims
		icon = GFX_focus_generic_invade_sweden
		prerequisite = { focus = NOR_our_royal_claims focus = NOR_reviving_the_norgesveldet }

		x = 6
		y = 1

		relative_position_id = NOR_reviving_the_norgesveldet

		offset = {
			x = -5
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_the_chamberlains_overture
			}	
		}

		cost = 10

		available = {
			NOT = {
				owns_state = 915
				owns_state = 916
				owns_state = 917
				has_war_with = 915.OWNER 
				is_in_faction_with = 915.OWNER
			}
			is_subject = no
		}

		bypass = {
			915 = {
				is_owned_by = ROOT
			}
			916 = {
				is_owned_by = ROOT
			}
			917 = {
				is_owned_by = ROOT
			}
			
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			915 = { # Yes, I know that there's a chance three different countries own these states but it's not worth the hassle trying to untangle that, so at least you'll get Bohuslän
				OWNER = {
					country_event = {
						id = AAT_norway.17
						hours = 3 
					}
					effect_tooltip = {
						custom_effect_tooltip = if_they_accept
						915 = { # Bohuslän 
							transfer_state_to = NOR
						}
						if = {  # Dalarna  
							limit = {
								owns_state = 916
							}
							916 = { transfer_State_to = NOR }
						}
						if = { # Jämtland  
							limit = {
								owns_state = 917 
							}
							917 = { transfer_state_to = NOR }
						}
						custom_effect_tooltip = if_they_reject
						915 = {  # Bohuslan
							OWNER = {
								ROOT = {
									create_wargoal = {
										type = take_state_focus
										target = PREV 
										generator = { 915 } 
									}
								}
								if = {  # Dalarna  
									limit = {
										owns_state = 916
									}
									create_wargoal = {
										type = take_state_focus
										target = PREV
										generator = { 916 } 
									}
								}
								if = { # Jämtland  
									limit = {
										owns_state = 917 
									}
									create_wargoal = {
										type = take_state_focus
										target = PREV
										generator = { 917 } 
									}
								}
							}
						}
					}
				}
			}
			set_country_flag = NOR_claiming_sweden
		}
	}

	focus = {
		id = NOR_claims_on_faroe_islands
		icon = GFX_focus_generic_annex_country
		prerequisite = { focus = NOR_our_royal_claims }

		x = -3
		y = 1
		relative_position_id = NOR_our_royal_claims

		offset = {
			x = 3
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_the_chamberlains_overture
			}	
		}

		cost = 5
		available = {
			NOT = {
				owns_state = 337
				has_war_with = 337.OWNER
				is_in_faction_with = 337.OWNER
			}
			OR = {
				337 = { is_controlled_by = 337.OWNER }
				337 = { is_controlled_by = ROOT }
			}
			is_subject = no
		}

		bypass = {
			337 = {
				is_owned_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			337 = {
				OWNER = {
					country_event = {
						id = AAT_norway.17
						hours = 3 
					}
				}
			}
			set_country_flag = NOR_claiming_faroes
			effect_tooltip = {
				custom_effect_tooltip = if_they_accept
				337 = {
					transfer_state_to = NOR
				}
				custom_effect_tooltip = if_they_reject
				337 = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								type = take_state_focus
								target = PREV
								generator = { 337 } 
							}
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = NOR_eirik_raudes_land
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = NOR_our_royal_claims }

		x = 2
		y = 0
		relative_position_id = NOR_claims_on_faroe_islands
		cost = 10
		available = {
			NOT = { 
				owns_state = 101 
				has_war_with = 101.OWNER
				is_in_faction_with = 101.OWNER
			}
			OR = { 
				101 = { is_controlled_by = 101.OWNER }
				101 = { is_controlled_by = ROOT }
			}
			is_subject = no
		}

		bypass = {
			101 = {
				is_owned_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {			
			101 = {
				OWNER = {
					country_event = {
						id = AAT_norway.17
						hours = 3 
					}
				}
			}
			set_country_flag = NOR_claiming_greenland
			effect_tooltip = {
				custom_effect_tooltip = if_they_accept
				101 = {
					transfer_state_to = NOR
				}
				custom_effect_tooltip = if_they_reject
				101 = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								type = take_state_focus
								target = PREV
								generator = { 101 } 
							}
						}
					}
				}
			}
		}
	}
	focus = {
		id = NOR_iceland
		icon = GFX_focus_generic_invade_iceland
		prerequisite = { focus = NOR_our_royal_claims }

		x = 2
		y = 0
		relative_position_id = NOR_eirik_raudes_land
		cost = 10
		available = {
			NOT = { 
				owns_state = 100 
				has_war_with = 100.OWNER
				is_in_faction_with = 100.OWNER
			}
			100 = {
				OR = {
					is_controlled_by = 100.OWNER
					is_controlled_by = ROOT 
				}
			}

			NOT = {
				100 = {
					is_owned_by = ROOT
				}
			}
			is_subject = no
		}

		bypass = {
			100 = {
				is_owned_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			100 = {
				controller = {
					country_event = {
						id = AAT_norway.17
						hours = 3 
					}
				}
			}
			set_country_flag = NOR_claiming_iceland
			effect_tooltip = {
				custom_effect_tooltip = if_they_accept
				100 = {
					transfer_state_to = NOR
				}
				custom_effect_tooltip = if_they_reject
				100 = {
					controller = {
						ROOT = {
							create_wargoal = {
								type = take_state_focus
								target = PREV
								generator = { 100 } 
							}
						}
					}
				}
			}
		}
	}
	focus = {
		id = NOR_claims_on_denmark
		icon = GFX_focus_generic_invade_denmark
		prerequisite = { focus = NOR_reviving_the_norgesveldet focus = NOR_our_royal_claims }

		x = 4
		y = 1
		relative_position_id = NOR_reviving_the_norgesveldet
		
		offset = {
			x = -5
			y = 0 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_the_chamberlains_overture
			}
		}

		cost = 10
		available = {
			NOT = { owns_state = 37 }	
			if = {
				limit = {
					has_government = neutrality 
				}
				DEN = {
					exists = yes 
					has_capitulated = no 
					NOT = { 
						is_in_faction_with = ROOT 
						has_war_with = ROOT 
					}
					controls_state = 37  
				}
			}
			else = {
				NOT = {
					is_in_faction_with = 37.OWNER
					has_war_with = 37.OWNER
				}
			}
			IF = {
				limit = {
					37 = {
						is_owned_by = DEN
					}
				}
				DEN = {
					is_subject = no
				}
			}
			is_subject = no
		}

		bypass = {
			37 = {
				is_owned_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			if = {
				limit = {
					DEN = {
						exists = yes 
						NOR_is_only_core_denmark = yes 
					}
				}
				DEN = {
					country_event = {
						id = AAT_norway.17
						hours = 3 
					}
				}
				effect_tooltip = {
					custom_effect_tooltip = if_they_accept
					annex_country = {
						target = DEN
						transfer_troops = yes
					}						
				}		
				custom_effect_tooltip = if_they_reject
				create_wargoal = {
					type = annex_everything
					target = DEN
				}
			}
			else = {
				37 = {
					OWNER = {
						country_event = {
							id = AAT_norway.17
							hours = 3 
						}
					}
				}	
				effect_tooltip = {
					custom_effect_tooltip = if_they_accept
					37 = {
						transfer_state_to = NOR
						OWNER = {
							912 = {
								if = {
									limit = {
										is_owned_and_controlled_by = PREV 
									}
									transfer_state_to = NOR 
								}
							}
							99 = {
								if = {
									limit = {
										is_owned_and_controlled_by = PREV 
									}
									transfer_state_to = NOR 
								}
							}
							911 = {
								if = {
									limit = {
										is_owned_and_controlled_by = PREV 
									}
									transfer_state_to = NOR 
								}
							}
							910 = {
								if = {
									limit = {
										is_owned_and_controlled_by = PREV 
									}
									transfer_state_to = NOR 
								}
							}
						}
						custom_effect_tooltip = if_they_reject	
						OWNER = {
							ROOT = {
								create_wargoal = {
									type = take_state_focus
									target = PREV
									generator = { 37 } 
								}
							}
						}
					}
				}
			}
			set_country_flag = NOR_claiming_denmark
		}
	}

	focus = {
		id = NOR_bjarmeland
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = NOR_claims_on_denmark focus = NOR_swedish_claims }

		x = 1
		y = 1
		relative_position_id = NOR_claims_on_denmark
		cost = 10
		available = {
			NOT = {
				owns_state = 213
				owns_state = 1714
				owns_state = 214
				owns_state = 215
				owns_state = 1116
				owns_state = 1117
				owns_state = 1170
				owns_state = 1171
				owns_state = 1174
				owns_state = 1175
				has_war_with = 1714.OWNER
				is_in_faction_with = 1714.OWNER
			}
			OR = {
				1714 = {	is_controlled_by = 1714.OWNER }
				1714 = { is_controlled_by = ROOT }
			}
			is_subject = no
		}

		bypass = {
			213 = {
				is_owned_by = ROOT
			}
			1714 = {
				is_owned_by = ROOT
			}
			214 = {
				is_owned_by = ROOT
			}
			215 = {
				is_owned_by = ROOT
			}
			1116 = {
				is_owned_by = ROOT
			}
			1117 = {
				is_owned_by = ROOT
			}
			1170 = {
				is_owned_by = ROOT
			}
			1171 = {
				is_owned_by = ROOT
			}
			1174 = {
				is_owned_by = ROOT
			}
			1175 = {
				is_owned_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			set_country_flag = NOR_claiming_bjarmeland
			1714 = { # Using Kandalaksha because it's the closest one to Norway  
				OWNER = {
					country_event = {
						id = AAT_norway.17
						hours = 3 
					}
					effect_tooltip = {
						custom_effect_tooltip = if_they_accept
		
						1714 = { # Murmansk 
							transfer_state_to = NOR
						}
						if = { 
							limit = {
								owns_state = 213
							}
							213 = { transfer_State_to = NOR }
						}
						if = {  # Arkhangelsk  
							limit = {
								owns_state = 214
							}
							214 = { transfer_State_to = NOR }
						}
						if = { # Onega  
							limit = {
								owns_state = 215 
							}
							215 = { transfer_state_to = NOR }
						}
						if = { 
							limit = {
								owns_state = 1116 
							}
							1116 = { transfer_state_to = NOR }
						}
						if = { 
							limit = {
								owns_state = 1117 
							}
							1117 = { transfer_state_to = NOR }
						}
						if = { 
							limit = {
								owns_state = 1170
							}
							1170 = { transfer_state_to = NOR }
						}
						if = { 
							limit = {
								owns_state = 1171
							}
							1171 = { transfer_state_to = NOR }
						}
						if = { 
							limit = {
								owns_state = 1174
							}
							1174 = { transfer_state_to = NOR }
						}
						if = { 
							limit = {
								owns_state = 1175 
							}
							1175 = { transfer_state_to = NOR }
						}
						custom_effect_tooltip = if_they_reject
						ROOT = {
							create_wargoal = {
								type = take_state_focus
								target = PREV
								generator = { 1714 } 
							}
						}
						
					}
				}
			}
		}
	}

	focus = {
		id = NOR_claims_on_ireland
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = NOR_reviving_the_norgesveldet }

		x = 0
		y = 1
		relative_position_id = NOR_reviving_the_norgesveldet
		cost = 10
		available = {
			NOT = {
				owns_state = 113
				has_war_with = 113.OWNER
			}
			113 = { 
				OR = {
					is_controlled_by = 113.OWNER 
					is_controlled_by = ROOT 
				}
			}
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			set_country_flag = NOR_claiming_ireland
			113 = {
				OWNER = {
					country_event = {
						id = AAT_norway.17
						hours = 3 
					}
				}
			}
			effect_tooltip = {
				custom_effect_tooltip = if_they_accept
				113 = {
					transfer_state_to = ROOT
				}
				custom_effect_tooltip = if_they_reject
				113 = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								type = take_state_focus
								target = PREV
								generator = { 113 } 
							}
						}
					}
				}
			}		
		}
	}

	focus = {
		id = NOR_claims_on_scotland
		icon = GFX_focus_generic_annex_country_2
		prerequisite = { focus = NOR_reviving_the_norgesveldet }

		x = 2
		y = 0
		relative_position_id = NOR_claims_on_ireland
		cost = 10
		available = {
			NOT = {
				AND = {
					owns_state = 120
					owns_state = 933 
				}
			}
			if = {
				limit = {
					120 = {
						OWNER = {
							tag = 933.OWNER 
						}
					}
				}
				NOT = {	has_war_with = 933.OWNER }
			}
			else = {
				OR = {
					NOT = {	has_war_with = 120.OWNER }
					NOT = {	has_war_with = 933.OWNER }
				}
			}
			OR = {
				120 = { is_controlled_by = 120.OWNER }
				120 = { is_controlled_by = ROOT }
				933 = { is_controlled_by = 933.OWNER }
				933 = { is_controlled_by = ROOT }
			}
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			set_country_flag = NOR_claiming_scotland
			if = {
				limit = {
					any_other_country = { # Checking if the UK still owns both 
						owns_state = 120 
						owns_state = 933
						controls_state = 120  
						controls_state = 933
					}
				}
				120 = { 
					OWNER = {
						country_event = {
							id = AAT_norway.17
							hours = 3 
						}
					}
				}
				effect_tooltip = {
					custom_effect_tooltip = if_they_accept
					120 = {
						transfer_state_to = NOR
					}
					933 = {
						transfer_state_to = NOR
					}
					custom_effect_tooltip = if_they_reject
					120 = {
						OWNER = {
							ROOT = {
								create_wargoal = {
									type = take_state_focus
									target = PREV
									generator = { 120 } 
								}
							}
						}
					}
				}
			}
			else = {
				120 = {
					OWNER = {
						country_event = {
							id = AAT_norway.17
							hours = 3 
						}
						effect_tooltip = {
							custom_effect_tooltip = if_they_accept
							120 = {
								transfer_state_to = NOR
							}
							custom_effect_tooltip = if_they_reject
							ROOT = {
								create_wargoal = {
									type = take_state_focus
									target = PREV
									generator = { 120 } 
								}
							}
						}		
					}
				}
				933 = {
					OWNER = {
						country_event = {
							id = AAT_norway.17
							hours = 3 
						}
						effect_tooltip = {
							custom_effect_tooltip = if_they_accept
							933 = {
								transfer_state_to = NOR
							}
							custom_effect_tooltip = if_they_reject
							ROOT = {
								create_wargoal = {
									type = take_state_focus
									target = PREV
									generator = { 933 } 
								}
							}
						}
					}
				}
			}					
		}
	}

	focus = {
		id = NOR_old_vinland
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = NOR_reviving_the_norgesveldet }

		x = -4
		y = 0
		relative_position_id = NOR_claims_on_scotland
		cost = 10
		available = {
			NOT = {
				AND = {
					owns_state = 331
					owns_state = 332 
				}
			}
			OR = {
				NOT = {	has_war_with = 331.OWNER }
				NOT = {	has_war_with = 332.OWNER }
			}
			OR = {
				331 = { is_controlled_by = 331.OWNER }
				331 = { is_controlled_by = ROOT }
				332 = { is_controlled_by = 332.OWNER }				
				332 = { is_controlled_by = ROOT }
			}
			is_subject = no
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			set_country_flag = NOR_claiming_vinland
			if = {
				limit = {
					any_other_country = { # Checking if the UK still owns both 
						owns_state = 331 
						owns_state = 332
						controls_state = 331 
						controls_state = 332
						NOT = { has_war_with = ROOT }  
					}
				}
				331 = { 
					OWNER = {
						country_event = {
							id = AAT_norway.17
							hours = 3 
						}
					}
				}
				effect_tooltip = {
					custom_effect_tooltip = if_they_accept
					331 = {
						transfer_state_to = NOR
					}
					332 = {
						transfer_state_to = NOR
					}
					custom_effect_tooltip = if_they_reject
					331 = {
						OWNER = {
							ROOT = {
								create_wargoal = {
									type = take_state_focus
									target = PREV
									generator = { 331 } 
								}
							}
						}
					}
				}
			}
			else = {
				if = {
					limit = {
						331 = { # Newfoundland
							OR = {
								is_controlled_by = ROOT 
								is_controlled_by = 331.OWNER
							}
							OWNER = {
								NOT = {
									original_tag = NOR
									has_war_with = ROOT
								}
							}
						}
					}
					331 = {
						OWNER = {
							country_event = {
								id = AAT_norway.17
								hours = 3 
							}
							effect_tooltip = {
								custom_effect_tooltip = if_they_accept
								331 = {
									transfer_state_to = NOR
								}
								custom_effect_tooltip = if_they_reject
								331 = {
									ROOT = {
										create_wargoal = {
											type = take_state_focus
											target = PREV
											generator = { 331 } 
										}
									}
								}
							}						
						}
					}
				}
				if = {
					limit = {
						332 = { # Labrador
							OR = {
								is_controlled_by = 332.OWNER
								is_controlled_by = ROOT 
							}
							OWNER = {
								controls_state = 332
								NOT = {
									original_tag = NOR
									has_war_with = ROOT
								}
							}
						}
					}
					332 = {
						OWNER = {
							country_event = {
								id = AAT_norway.17
								hours = 3 
							}
							effect_tooltip = {
								custom_effect_tooltip = if_they_accept
								332 = {
									transfer_state_to = NOR
								}
								custom_effect_tooltip = if_they_reject
								332 = {
									ROOT = {
										create_wargoal = {
											type = take_state_focus
											target = PREV
											generator = { 332 } 
										}
									}
								}
							}						
						}
					}
				}
			}
		}
	}
	
	focus = {
		id = NOR_consolidate_kingdom
		icon = GFX_focus_rom_royal_dictatorship
		prerequisite = { focus = NOR_bjarmeland }
		prerequisite = { focus = NOR_claims_on_faroe_islands focus = NOR_eirik_raudes_land focus = NOR_iceland } 

		x = -4
		y = 3
		relative_position_id = NOR_our_royal_claims
		cost = 10


		offset = {
			x = 4 
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_the_chamberlains_overture
			}
		}

		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_political_power = 100

			add_manpower = 20000

			# Faroe Islands 
			337 = {
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Greenland
			101 = {
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Iceland 
			100 = {
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Murmansk
			213 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			1714 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Arkhangelsk
			214 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Onega
			215 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			1116 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			1117 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			1170 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			1171 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			1174 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			1175 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Bohuslän
			915 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Dalarna 
			916 = { 
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			# Jämtland  
			917 = {   
				if = {
					limit = {
						is_owned_and_controlled_by = ROOT
					}
					add_core_of = ROOT
				}
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					is_core_of = DEN 
					NOT = { is_core_of = ROOT }
					is_on_continent = europe
				}
				add_core_of = ROOT
			}
		}
	}


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

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


###########################################################################################
###########################################################################################
###########################################################################################
	focus = {
		id = NOR_start_rearmament
		icon = GFX_focus_generic_combined_arms
		#prerequisite = { focus = }

		x = 20 
		y = 0

		relative_position_id = NOR_the_stumbling_storting

		offset = {
			x = -38 
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_a_resurgent_labor_movement
			}
		}

		offset = {
			x = -29
			y = 0 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_vote_of_no_confidence 
			}
		}

		offset = {
			x = -20
			y = 0
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_continue_nygaardsvold_government
			}
		}

		offset = {
			x = -8
			y = 0
			trigger = {
				has_hide_rule = yes
				OR = {
					has_completed_focus = NOR_lurk_in_the_shadows
					has_completed_focus = NOR_the_chamberlains_overture
				}
			}
		}

		offset = {
			x = -3
			y = 0 
			trigger = {
				has_hide_rule = yes
				has_completed_focus = NOR_compromise_with_the_nkp 
			}
		}



		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		bypass = { has_capitulated = yes }		

		completion_reward = {
			every_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_core_of = 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
				}   
			}
			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_core_of = ROOT 
					free_building_slots = {
						building = arms_factory 
						size > 0 
						include_locked = yes 
					}		
				}
				add_extra_state_shared_building_slots = 1 
				add_building_construction = {
					type = industrial_complex
					level = 1 
					instant_build = yes
				}
				
			}
		}
	}
	focus = {
		id = NOR_kickstart_military_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = NOR_start_rearmament }

		x = -6
		y = 1
		relative_position_id = NOR_start_rearmament
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }	

		completion_reward = {
			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					is_core_of = ROOT 
					NOT = { state = 914 } # You thought you could get away with it this time huh? 
					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 
				}
			}
		}
	}
	focus = {
		id = NOR_build_supplies_network
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = NOR_kickstart_military_industry }

		x = 0
		y = 1
		relative_position_id = NOR_kickstart_military_industry
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
			has_dynamic_modifier = { modifier = NOR_independent_norway_dmod }
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available_if_capitulated = yes

		completion_reward = {
			custom_effect_tooltip = NOR_modify_independent_norway_TT
			add_to_variable = {
				var = NOR_independent_norway_dmod_production_speed_supply_node
				value = 0.15
				tooltip = state_production_speed_supply_node_factor_tt
			}
			add_to_variable = {
				var = NOR_independent_norway_dmod_modifier_production_speed_naval_base_factor
				value = 0.15
				tooltip = production_speed_naval_base_factor_tt
			}
		}
	}
	focus = {
		id = NOR_drobak_coastal_fort
		icon = GFX_focus_NOR_drobak_coastal_fort
		prerequisite = { focus = NOR_start_rearmament }

		x = -3
		y = 1
		relative_position_id = NOR_start_rearmament
		cost = 5
		available = {
			NOR_broken_gun_trigger = yes 
			110 = {
				is_controlled_by = ROOT
			}
		}

		bypass = {
			110 = {
				free_building_slots = {
					building = coastal_bunker
					size < 3
					province = 6115
				}	
				free_building_slots = {
					building = coastal_bunker
					size < 3
					province = 3171
				}
				free_building_slots = {
					building = coastal_bunker
					size < 3
					province = 11151
				}
				free_building_slots = {
					building = coastal_bunker
					size < 3
					province = 14
				}
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			110 = { # Oslofjord
				add_building_construction = {
					type = coastal_bunker 
					level = 3
					instant_build = yes
					province =  {
						all_provinces = yes
						limit_to_coastal = yes
					}
				}
			}
		}
	}
	focus = {
		id = NOR_modernize_fortifications
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = NOR_drobak_coastal_fort }

		x = -1
		y = 1
		relative_position_id = NOR_drobak_coastal_fort
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}	

		completion_reward = {
			remove_ideas = { NOR_crumbling_fortifications_ns }
		}
	}
	focus = {
		id = NOR_artillery_development
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = NOR_drobak_coastal_fort }

		x = 1
		y = 1
		relative_position_id = NOR_drobak_coastal_fort
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		available_if_capitulated = yes		

		completion_reward = {
			add_tech_bonus = {
				name = NOR_artillery_development
				bonus = 0.75
				uses = 2
				category = artillery  
			}
		}
	}
	focus = {
		id = NOR_anti_air_support
		icon = GFX_focus_generic_air_defense
		prerequisite = { focus = NOR_modernize_fortifications }
		prerequisite = { focus = NOR_artillery_development }

		x = 1
		y = 1
		relative_position_id = NOR_modernize_fortifications
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = NOR_anti_air_support
				bonus = 1
				uses = 1
				category = cat_anti_air
			}
			add_tech_bonus = {
				name = NOR_anti_air_support
				bonus = 1.0
				uses = 1 
				category = radar_tech
			}
		}
	}

	focus = {
		id = NOR_rikstanken
		icon = GFX_focus_NOR_rikstanken
		prerequisite = { focus = NOR_start_rearmament }

		x = 1
		y = 1
		relative_position_id = NOR_start_rearmament
		cost = 5
		available = {
			OR = {
				SWE = {
					exists = yes 
					has_equipment = {
					 	light_tank_chassis > 0
					}
				}
				big_communist_exists = yes 
				big_fascist_exists = yes 
			}
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			country_event = {
				id = AAT_norway_rikstanken.1
				hours = 3
			}
		}
	}

	focus = {
		id = NOR_tank_procurement
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = NOR_rikstanken }
		mutually_exclusive = { focus = NOR_norges_rikstanksfabrikk }

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

		search_filters = {}

		completion_reward = {
			add_equipment_subsidy = {
				cic = 300
				equipment_type = light_tank_chassis 
				seller_trigger = NOR_tank_seller_for_subsidy
			}
			add_equipment_subsidy = {
				cic = 300
				equipment_type = medium_tank_chassis 				
				seller_trigger = NOR_tank_seller_for_subsidy
			}
			add_equipment_subsidy = {
				cic = 300
				equipment_type = heavy_tank_chassis 
				seller_trigger = NOR_tank_seller_for_subsidy
			}
		}
	}

	focus = {
		id = NOR_norges_rikstanksfabrikk
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = NOR_rikstanken }

		x = -1
		y = 1
		relative_position_id = NOR_rikstanken
		mutually_exclusive = { focus = NOR_tank_procurement }
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			random_owned_state = {
				limit = {
					is_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
				}
			}
			add_tech_bonus = {
				name = NOR_norges_rikstanksfabrikk
				bonus = 0.75
				uses = 2
				category = armor
			}
		}
	}

	focus = {
		id = NOR_improve_production_lines
		icon = GFX_goal_generic_production2
		prerequisite = { focus = NOR_tank_procurement focus = NOR_norges_rikstanksfabrikk }

		x = -1
		y = 1
		relative_position_id = NOR_tank_procurement
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = { NOR_efficient_production_ns }
		}
	}

	focus = {
		id = NOR_expand_Haeren
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = NOR_start_rearmament }

		x = 4
		y = 1

		relative_position_id = NOR_start_rearmament
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = { NOR_new_haeren_ns_1 }

			custom_effect_tooltip = FIN_winter_warfare_battalion_tt

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

	focus = {
		id = NOR_improved_weapons
		
		icon = GFX_goal_generic_small_arms
		
		prerequisite = { focus = NOR_expand_Haeren }
		x = 0
		y = 1
		relative_position_id = NOR_expand_Haeren
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}

		available_if_capitulated = yes

		completion_reward = {
			swap_ideas = {
				remove_idea = NOR_new_haeren_ns_1
				add_idea = NOR_new_haeren_ns_2
			}
		}
	}

	focus = {
		id = NOR_the_royal_guards_battalion
		icon = GFX_focus_NOR_the_royal_guards_battalion
				
		prerequisite = { focus = NOR_improved_weapons }
		prerequisite = { focus = NOR_norwegian_school_of_economics }

		x = 1
		y = 1
		relative_position_id = NOR_improved_weapons

		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
			NOT = {
				has_government = fascism 
				has_government = communism
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = { NOR_kungens_garde_ns }
		}
	}

	focus = {
		id = NOR_building_an_independent_norway
		icon = GFX_focus_generic_develop_norway_silhouette
		#prerequisite = { focus = }

		x = 10
		y = 0
		relative_position_id = NOR_start_rearmament
		cost = 10
		available = {
			if = {
				limit = { has_idea = NOR_the_hard_thirties_ns_2 }
				NOT = { has_idea = NOR_the_hard_thirties_ns_2 }
			}
			else_if = {
				limit = { has_idea = NOR_the_hard_thirties_ns_3 }
				NOT = { has_idea = NOR_the_hard_thirties_ns_3 }
			}
			else = { 
				NOT = { has_idea = NOR_the_hard_thirties_ns } 
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_dynamic_modifier = {
				modifier = NOR_independent_norway_dmod
			}
			custom_effect_tooltip = NOR_independent_norway_removal_tt
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes  
					}
				}
				prioritize = { 
					110 # Oslofjord
					921 # Telemark
				}
				add_extra_state_shared_building_slots = 2 
				add_building_construction = {
					type = industrial_complex 
					level = 2
					instant_build = yes
				}	
			}
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes  
					}
				}
				prioritize = { 
					922 # Agder
					142 # Vestlandet
					920 # Opladene
				}
				add_extra_state_shared_building_slots = 2 
				add_building_construction = {
					type = industrial_complex 
					level = 2
					instant_build = yes
				}	
			}
		}
	}

	focus = {
		id = NOR_norwegian_school_of_economics
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = NOR_building_an_independent_norway }

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

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		bypass = { has_capitulated = yes }

		available_if_capitulated = yes 	

		completion_reward = {
			custom_effect_tooltip = NOR_modify_independent_norway_TT
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_consumer_goods_factor
				value = -0.1
				tooltip = consumer_goods_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_production_speed_industrial_complex_factor
				value = 0.15
				tooltip = production_speed_industrial_complex_factor_tt
			}
		}
	}

	focus = {
		id = NOR_hurtigruten
		icon = GFX_focus_NOR_hurtigruten
		prerequisite = { focus = NOR_building_an_independent_norway }

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

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			142 = { # Vestlandet
				add_building_construction = {
					type = naval_base
					level = 4
					instant_build = yes
					province = 122 # Bergen
				}
			}
			925 = { # Finnmark 
				add_building_construction = {
					type = naval_base
					level = 4
					instant_build = yes
					province = 9116 # Kirkenes 
				}
			}
			924 = { # Troms
				add_building_construction = {
					type = naval_base
					level = 5
					instant_build = yes
					province = 11050 # Tromso 
				}
			}
			add_equipment_to_stockpile = { 
				type = convoy 
				amount = 75 
				producer = NOR
			}
		}
	}
	focus = {
		id = NOR_norges_tekniske_hogskole
		icon = GFX_focus_generic_improve_the_administration
		prerequisite = { focus = NOR_building_an_independent_norway }

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

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_independent_norway_TT
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_research_speed_factor
				value = 0.05
				tooltip = research_speed_factor_tt
			}	
		}
	}

	focus = {
		id = NOR_empower_large_industrial_groups
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = NOR_norwegian_school_of_economics }
		mutually_exclusive = { focus = NOR_fund_local_construction }

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

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
 
		completion_reward = {
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 2 
						include_locked = yes 
					}
				} 
				prioritize = {
					142 # Vestlandet
					110 # Oslofjord
					922 # Agder 
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = NOR_empower_large_industrial_groups
				bonus = 0.75
				uses = 1
				category = electronics 
			}
			add_tech_bonus = {
				name = NOR_empower_large_industrial_groups
				bonus = 0.75
				uses = 1
				category = industry 
			}
			add_popularity = { # This is to represent Large industry's collaboration with the Nazis in occupied Norway 
			 	ideology = fascism
			 	popularity = 0.05
			 } 
		}
	}

	focus = {
		id = NOR_revamp_hydroelectric_capacity
		icon = GFX_focus_generic_hydroelectric_energy
		prerequisite = { focus = NOR_empower_large_industrial_groups focus = NOR_fund_local_construction }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					is_core_of = ROOT
					NOT = { 
						state = 914 # Not this time Jan Mayen
						state = 110 # Also not Oslo  
					}
					free_building_slots = {
						building = industrial_complex 
						size > 0
						include_locked = yes 
					}  
				}
				random_select_amount = 3 
				add_resource = {
					type = aluminium 
					amount = 10
				}
				add_extra_state_shared_building_slots = 1 
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = NOR_fund_local_construction
		
		icon = GFX_goal_generic_construction
		
		prerequisite = { focus = NOR_norwegian_school_of_economics }
		mutually_exclusive = { focus = NOR_empower_large_industrial_groups }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_owned_state= {
				limit = {
					is_controlled_by = ROOT 
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex 
						size > 0
						include_locked = yes 
					}
				}
				random_select_amount = 2 
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex 
					level = 1 
					instant_build = yes 
				}
			}
			custom_effect_tooltip = NOR_modify_independent_norway_TT
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_production_speed_industrial_complex_factor
				value = 0.15
				tooltip = production_speed_industrial_complex_factor_tt
			}
		}
	}

	focus = {
		id = NOR_aluminum_production
		
		icon = GFX_focus_generic_aluminum
		
		prerequisite = { focus = NOR_empower_large_industrial_groups focus = NOR_fund_local_construction }

		x = 0
		y = 1
		relative_position_id = NOR_empower_large_industrial_groups
		cost = 10
		available = {
			142 = {
				is_fully_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			142 = { # Vestlandet
				if = {
					limit = {
						is_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
					}
				}	
				add_resource = {
					type = aluminium
					amount = 8
				}
			}
			add_tech_bonus = {
				name = NOR_aluminum_production
				bonus = 0.5
				uses = 1
				category = excavation_tech 
			}
		}
	}
	focus = {
		id = NOR_build_the_northern_rail
		
		icon = GFX_focus_NOR_build_the_northern_rail
		
		prerequisite = { focus = NOR_aluminum_production }
		prerequisite = { focus = NOR_revamp_hydroelectric_capacity }

		x = 1
		y = 1
		relative_position_id = NOR_aluminum_production
		cost = 10
		available = {
			has_full_control_of_state = 143 # Trondelag
			has_full_control_of_state = 923 # Helgeland
			has_full_control_of_state = 144 # Nordland

		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {
			build_railway = {
				level = 1 
				path = { 6038 9132 107 6041 6187 3126 3088 3048 6071 6214 9126 3132 3034 192 } 
			}
			add_political_power = 50 
		}
	}
	focus = {
		id = NOR_complete_the_sourthern_railway_network
		
		icon = GFX_focus_NOR_complete_the_sourthern_railway_network
		
		prerequisite = { focus = NOR_hurtigruten focus = NOR_build_the_northern_rail }

		x = 0
		y = 4
		relative_position_id = NOR_hurtigruten
		cost = 10
		available = {
			143 = {
				is_owned_and_controlled_by = ROOT
			}
			920 = {
				is_owned_and_controlled_by = ROOT
			}
			142 = {
				is_owned_and_controlled_by = ROOT
			}
			921 = {
				is_owned_and_controlled_by = ROOT
			}
			922 = {
				is_owned_and_controlled_by = ROOT
			}
			110 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			build_railway = {
				level = 2 
				start_province = 6115
				target_province = 9296
			}
			build_railway = {
				level = 2 
				start_province = 9296
				target_province = 53
			}
			build_railway = {
				level = 2 
				start_province = 6115
				target_province = 3022
			}
			build_railway = {
				level = 2 
				start_province = 9157
				target_province = 122
			}
			custom_effect_tooltip = NOR_modify_independent_norway_TT
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_production_speed_infrastructure_factor
				value = 0.2
				tooltip = production_speed_infrastructure_factor_tt
			}
		}
	}
	focus = {
		id = NOR_increase_research_funding
		
		icon =  GFX_focus_research2 
		
		prerequisite = { focus = NOR_norges_tekniske_hogskole }

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

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_independent_norway_TT
			add_to_variable = {
				var = NOR.NOR_independent_norway_dmod_research_speed_factor
				value = 0.03
				tooltip = research_speed_factor_tt
			}
			add_tech_bonus = {
				name = NOR_increase_research_funding
				bonus = 1
				uses = 1
				category = electronics
			}
		}
	}
	focus = {
		id = NOR_expand_norges_tekniske_hogskole
		
		icon =GFX_focus_research
		
		prerequisite = { focus = NOR_increase_research_funding }

		x = 0
		y = 1
		relative_position_id = NOR_increase_research_funding
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_research_slot = 1
		}
	}
	focus = {
		id = NOR_haerens_flyvevaaben
		icon = GFX_focus_NOR_haerens_flyvevaaben
		#prerequisite = { focus = }

		x = 8
		y = 0
		relative_position_id = NOR_building_an_independent_norway
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_HISTORICAL }

		available_if_capitulated = yes		

		completion_reward = {
			add_dynamic_modifier = {
				modifier = NOR_army_air_force_dmod
			}
		}
	}
	focus = {
		id = NOR_norwegian_planes
		
		icon = GFX_focus_generic_cas_aircraft
		
		prerequisite = { focus = NOR_haerens_flyvevaaben }		
		mutually_exclusive = { focus = NOR_foreign_plane_designs}
		x = -3
		y = 1
		relative_position_id = NOR_haerens_flyvevaaben
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			random_owned_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 
				}				
			}
			air_experience = 60
			add_tech_bonus = {
				name = NOR_norwegian_planes
				bonus = 0.75
				uses = 2
				category = air_equipment
			}
		}
	}
	focus = {
		id = NOR_foreign_plane_designs
		
		icon = GFX_goal_generic_air_fighter2
		
		prerequisite = { focus = NOR_haerens_flyvevaaben }
		mutually_exclusive = { focus = NOR_norwegian_planes}
		x = -1
		y = 1
		relative_position_id = NOR_haerens_flyvevaaben
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			random_owned_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 = industrial_complex
					level = 1 
					instant_build = yes 
				}			
			}
			custom_effect_tooltip = NOR_modify_air_force_dmod_TT
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_air_doctrine_cost_factor
				value = -0.1
				tooltip = air_doctrine_cost_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_license_air_purchase_cost
				value = -0.4
				tooltip = license_air_purchase_cost_tt
			}		
		}
	}

	focus = {
		id = NOR_anti_air_artillery_research
		
		icon = GFX_goal_generic_army_artillery
		
		prerequisite = { focus = NOR_norwegian_planes }
		prerequisite = { focus = NOR_norges_tekniske_hogskole }

		x = -1
		y = 1
		relative_position_id = NOR_norwegian_planes
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = NOR_anti_air_artillery_research
				bonus = 0.75
				uses = 2
				category = cat_anti_air
			}
		}
	}

	focus = {
		id = NOR_anti_air_construction
		
		icon = GFX_goal_generic_construction
		
		prerequisite = { focus = NOR_anti_air_artillery_research }

		x = 0
		y = 1
		relative_position_id = NOR_anti_air_artillery_research
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			random_owned_state = {
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = anti_air_building
						size > 1
					}	
				}
				prioritize = { # Southern States
					110 # Oslofjord
					921 # Telemark
					922 # Agder 
					142 # Vestlandet
					920 # Oppladene
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes 
				}			
			}
			if = { 
				limit = { has_country_flag = NOR_luftforsvaret_flag }
				custom_effect_tooltip = NOR_modify_royal_air_force_dmod_TT
			}
			else = { 
				custom_effect_tooltip = NOR_modify_air_force_dmod_TT
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_production_speed_anti_air_building_factor
				value = 0.5
				tooltip = production_speed_anti_air_building_factor_tt
			}
		}
	}

	focus = {
		id = NOR_invest_in_airfields
		
		icon = GFX_goal_generic_construct_civilian
		
		prerequisite = { focus = NOR_foreign_plane_designs }

		x = 1
		y = 1
		relative_position_id = NOR_foreign_plane_designs
		cost = 10
		available = {
			any_owned_state = {
				is_controlled_by = ROOT 
				free_building_slots = {
					building = air_base
					size > 1
				}
			}
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					free_building_slots = {
						building = air_base
						size > 0 
					}					
				}
				random_select_amount = 3
				add_building_construction = {
					type = air_base 
					level = 1
					instant_build = yes 
				}			 
			}
		}
	}

	focus = {
		id = NOR_stavanger_airfield
		
		icon = GFX_focus_generic_air_bases
		
		prerequisite = { focus = NOR_norwegian_planes focus = NOR_foreign_plane_designs }

		x = 1
		y = 1
		relative_position_id = NOR_norwegian_planes
		cost = 10
		available = {
			any_owned_state = {
				is_controlled_by = ROOT 
				free_building_slots = {
					building = air_base
					size > 3
				}
			}
			NOR_broken_gun_trigger = yes 
		}
		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					142 = { # Vestlandet
						is_controlled_by = ROOT 
						free_building_slots = {
							building = air_base
							size > 3 
						}			
					}
				}
				142 = { # Vestlandet
					add_building_construction = {
						type = air_base 
						level = 4
						instant_build = yes 
					}
				}
			}
			else = {
				random_owned_state = {
					limit = {
						is_controlled_by = ROOT 
						free_building_slots = {
								building = air_base
								size > 3 
						}	
					}
					prioritize = { # Southern States
						110 # Oslofjord
						921 # Telemark
						922 # Agder 
						142 # Vestlandet
						920 # Oppladene
					}
					add_building_construction = {
						type = air_base 
						level = 4
						instant_build = yes 
					}					
				}
			}
		}
	}

	focus = {
		id = NOR_increase_air_production
		
		icon = GFX_focus_generic_aircraft_production
		
		prerequisite = { focus = NOR_anti_air_artillery_research focus = NOR_invest_in_airfields }

		x = 2
		y = 1
		relative_position_id = NOR_anti_air_artillery_research
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available_if_capitulated = yes

		completion_reward = {
			mio:NOR_marinens_flyvebaatfabrikk_organization = {
				unlock_mio_trait_tooltip = DEN_mio_trait_standardized_production_flyvertroppernes
			}		
			mio:ENG_de_havilland_organization = {
				add_mio_funds = 500 
			}
			mio:NOR_marinens_flyvebaatfabrikk_organization ={
				add_mio_funds = 1000
			}
			mio:GER_messerschmitt_organization = {
				add_mio_funds = 500
			}
			mio:GER_heinkel_organization = {
				add_mio_funds = 500
			}
		}
	}

	focus = {
		id = NOR_buy_aa_from_sweden
		
		icon = GFX_focus_generic_befriend_sweden
		
		prerequisite = { focus = NOR_invest_in_airfields }

		x = 0
		y = 1
		relative_position_id = NOR_invest_in_airfields
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes
			SWE = {
				exists = yes 
				has_capitulated = no 
				NOT = { has_war_with = ROOT }
			} 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = { 
				limit = { has_country_flag = NOR_luftforsvaret_flag }
				custom_effect_tooltip = NOR_modify_royal_air_force_dmod_TT
			}
			else = { 
				custom_effect_tooltip = NOR_modify_air_force_dmod_TT
			}								
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_production_speed_anti_air_building_factor
				value = 0.25
				tooltip = production_speed_anti_air_building_factor_tt
			}
			mio:NOR_raufoss_ammunisjonsfabrikker_organization = {
				unlock_mio_trait_tooltip = SWE_bofors_fly_swatter
			}	
			add_equipment_subsidy = {
				cic = 250
				equipment_type = anti_air_equipment
				seller_tags = { SWE } 
			}	
		}
	}

	focus = {
		id = NOR_luftforsvaret
		icon = GFX_focus_NOR_luftforsvaret
		prerequisite = { focus = NOR_increase_air_production }

		x = 0
		y = 1
		relative_position_id = NOR_increase_air_production
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			custom_effect_tooltip = NOR_modify_air_force_dmod_TT
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_production_speed_air_base_factor
				value = 0.45
				tooltip = production_speed_air_base_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_air_attack_factor
				value = 0.1 
				tooltip = air_attack_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_air_defence_factor
				value = 0.1 
				tooltip = air_defence_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_air_doctrine_cost_factor
				value = -0.1 
				tooltip = air_doctrine_cost_factor_tt
			}
			custom_effect_tooltip = NOR_army_air_force_dmod_name_change_TT
			hidden_effect = {
				remove_dynamic_modifier = {
					modifier = NOR_army_air_force_dmod
				}
				add_dynamic_modifier = { 
					modifier = NOR_royal_air_force_dmod 
				}
				set_country_flag = NOR_luftforsvaret_flag
			}
		}
	}

	focus = {
		id = NOR_radar_research
		
		icon = GFX_goal_generic_radar
		
		prerequisite = { focus = NOR_haerens_flyvevaaben }

		x = 2
		y = 1
		relative_position_id = NOR_haerens_flyvevaaben
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = NOR_radar_research
				bonus = 0.75
				uses = 2 
				category = radar_tech
			}
		}
	}

	focus = {
		id = NOR_repurpose_lighthouses
		
		icon = GFX_focus_generic_air_defense
		
		prerequisite = { focus = NOR_radar_research }

		x = 0
		y = 1
		relative_position_id = NOR_radar_research
		cost = 10
		available = {
			is_special_project_completed = sp:sp_air_radar
			NOR_broken_gun_trigger = yes 
			any_state = {
				is_owned_and_controlled_by = ROOT
				free_building_slots = {
					building = radar_station
					size > 0
				}
			}
		}

		search_filters = {}

		available_if_capitulated = yes

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_tech = radio_detection
					}
				}
				effect_tooltip = {
					every_owned_state = {
						limit = {
							is_controlled_by = ROOT 
							is_core_of = ROOT 
							is_coastal = yes 
						}
						add_building_construction = {
							type = radar_station
							level = 1 
							instant_build = yes 
						}
					}		
				}
			}
			else = {
				every_owned_state = {
					limit = {
						is_controlled_by = ROOT  
						is_core_of = ROOT 
						free_building_slots = {
							building = radar_station
							size > 0
						}
						is_coastal = yes 
					}
					add_building_construction = {
						type = radar_station
						level = 1 
						instant_build = yes 
					}
				}
			}
		}
	}

	focus = {
		id = NOR_pilot_training
		
		icon = GFX_focus_eng_special_air_service 

		prerequisite = { focus = NOR_haerens_flyvevaaben }

		x = 4
		y = 3
		relative_position_id = NOR_haerens_flyvevaaben

		available_if_capitulated = yes

		cost = 10

		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}

		completion_reward = {
			if = { 
				limit = { has_country_flag = NOR_luftforsvaret_flag }
				custom_effect_tooltip = NOR_modify_royal_air_force_dmod_TT
			}
			else = { 
				custom_effect_tooltip = NOR_modify_air_force_dmod_TT
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_air_ace_bonuses_factor
				value = 0.15
				tooltip = air_ace_bonuses_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_air_ace_generation_chance_factor
				value = 0.25
				tooltip = air_ace_generation_chance_factor_tt
			}
		}
	}

	focus = {
		id = NOR_the_royal_norwegian_navy
		icon = GFX_focus_NOR_the_royal_norwegian_navy
		#prerequisite = { focus = }

		x = 13
		y = 0
		relative_position_id = NOR_haerens_flyvevaaben
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_HISTORICAL }

		available_if_capitulated = yes

		completion_reward = {
		 	navy_experience = 50
			add_dynamic_modifier = {
				modifier = NOR_royal_navy_dmod
			}
		}
	}
	focus = {
		id = NOR_expand_the_dockyards
		
		icon = GFX_goal_generic_construct_naval_dockyard
		
		prerequisite = { focus = NOR_the_royal_norwegian_navy }

		x = -5
		y = 1
		relative_position_id = NOR_the_royal_norwegian_navy
		cost = 10
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available_if_capitulated = yes		

		completion_reward = {
			if = { 
				limit = { 
					has_capitulated = yes 
				}
				add_offsite_building = {
					type = dockyard
					level = 1
				}
			}
			else = {
				every_owned_state = {
					limit = {
						is_controlled_by = ROOT 
						is_coastal = yes 
						NOT = { 
							state = 914 
						}
						free_building_slots = {
							building = dockyard 
							size > 0
							include_locked = yes 
						}
						NOT = { state = 914 } # Almost got away 
					}
					random_select_amount = 3
					add_extra_state_shared_building_slots = 1 
					add_building_construction = {
						type = dockyard
						level = 1 
						instant_build = yes 
					}
				}
			}
		}
	}

	focus = {
		id = NOR_battleship_focus
		
		icon = GFX_goal_generic_navy_battleship
		
		prerequisite = { focus = NOR_the_royal_norwegian_navy }
		mutually_exclusive = { focus = NOR_kystvakten }
		x = -1
		y = 1
		relative_position_id = NOR_the_royal_norwegian_navy
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = NOR_battleship_focus
				bonus = 0.5
				uses = 2 
				category = bb_tech
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = NOR_battleship_focus
					bonus = 1
					uses = 2 
					category = cat_ship_heavy_battery
				}
			}
			else = {
				navy_experience = 50
			}
			
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT 
					is_coastal = 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 
				}
			}
		}
	}

	focus = {
		id = NOR_kystvakten
		
		icon = GFX_goal_generic_occupy_states_coastal
		
		prerequisite = { focus = NOR_the_royal_norwegian_navy }
		mutually_exclusive = { focus = NOR_battleship_focus }
		x = 1
		y = 1
		relative_position_id = NOR_the_royal_norwegian_navy
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = NOR_battleship_focus
				bonus = 0.5
				uses = 2 
				category = dd_tech
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = NOR_battleship_focus
					bonus = 0.5
					uses = 2 
					category = cat_ship_light_battery
				}
			}
			else = {
				navy_experience = 50
			}
			
			if = { 
				limit = { 
					has_capitulated = yes 
				}
				add_offsite_building = {
					type = dockyard
					level = 1
				}
			}	
			else = {			
				random_owned_state = {
					limit = {
						is_controlled_by = ROOT 
						is_coastal = yes 
						free_building_slots = {
							building = dockyard 
							size > 0
							include_locked = yes 
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes 
					}
				}
			}
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
				add_to_variable = {
					var = NOR.NOR_royal_navy_dmod_spotting_chance
					value = 0.25 
					tooltip = spotting_chance_tt
				}	
		}
	}

	focus = {
		id = NOR_convert_merchant_ships
		
		icon = GFX_focus_generic_refit_civilian_ships
		
		prerequisite = { focus = NOR_the_royal_norwegian_navy }

		x = 4
		y = 1
		relative_position_id = NOR_the_royal_norwegian_navy
		
		available_if_capitulated = yes
		
		cost = 10
		
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = NOR_emergency_conversions_tt
			set_country_flag = refit_convoy_ships_flag_nor		
		}
	}

	focus = {
		id = NOR_expand_merchant_marine
		
		icon = GFX_focus_generic_merchant_fleet
		
		prerequisite = { focus = NOR_expand_the_dockyards }

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

		search_filters = { FOCUS_FILTER_INDUSTRY }

		available_if_capitulated = yes

		completion_reward = {
			if = { 
				limit = { 
					has_capitulated = yes 
				}
				add_offsite_building = {
					type = dockyard
					level = 1
				}
			}	
			else = {
				random_owned_state = {
					limit = {
						is_coastal = yes 
						not = {
							state = 914 
						}
						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_equipment_to_stockpile = { 
				type = convoy 
				amount = 150 
				producer = NOR
			}
		}
	}

	focus = {
		id = NOR_expand_naval_academy

		icon = GFX_focus_generic_military_academy
		
		prerequisite = { focus = NOR_battleship_focus }

		x = -2
		y = 1
		relative_position_id = NOR_battleship_focus
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_NAVY_XP }

		available_if_capitulated = yes		

		completion_reward = {
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_experience_gain_navy
				value = 0.12
				tooltip = experience_gain_navy_tt
			}
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_naval_doctrine_cost_factor
				value = -0.12
				tooltip = naval_doctrine_cost_factor_tt
			}
			
		}
	}

	focus = {
		id = NOR_norwegian_carriers
		
		icon = GFX_goal_generic_navy_carrier
		
		prerequisite = { focus = NOR_battleship_focus }

		x = 0
		y = 1
		relative_position_id = NOR_battleship_focus
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = {
			add_tech_bonus = {
				name = NOR_norwegian_carriers
				bonus = 1
				uses = 1
				category = cv_tech
			}
			random_owned_state = {
				limit = {
					is_coastal = 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  
				}
			}
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_sortie_efficiency
				value = 0.2
				tooltip = sortie_efficiency_tt
			}

		}
	}

	focus = {
		id = NOR_mine_laying_effort
		
		icon = GFX_focus_generic_mine_warfare
	
		prerequisite = { focus = NOR_kystvakten }

		x = 0
		y = 1
		relative_position_id = NOR_kystvakten
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		available_if_capitulated = yes		

		completion_reward = {
			if = {
				limit = { has_dlc = "Man the Guns" }
				add_tech_bonus = {
					name = NOR_mine_laying_effort
					bonus = 0.5
					uses = 3
					category = naval_minelaying 
				}
				custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
				add_to_variable = {
					var = NOR.NOR_royal_navy_dmod_mines_planting_by_fleets_factor
					value = 0.35 
					tooltip = mines_planting_by_fleets_factor_tt
				}
			}

			else = {
				navy_experience = 20
			}
		}
	}

	focus = {
		id = NOR_submarine_fleet
		
		icon = GFX_goal_generic_navy_submarine
		
		prerequisite = { focus = NOR_kystvakten }

		x = 2
		y = 1
		relative_position_id = NOR_kystvakten
		cost = 10
		available = {
			NOR_broken_gun_trigger = yes  
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }

		available_if_capitulated = yes

		completion_reward = {
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_naval_torpedo_reveal_chance_factor
				value = -0.3
				tooltip = naval_torpedo_reveal_chance_factor_tt
			}
			add_tech_bonus = {
				name = NOR_submarine_fleet
				bonus = 0.75
				uses = 2
				category = ss_tech
			}
			
			if = { 
				limit = { 
					has_capitulated = yes 
				}
				add_offsite_building = {
					type = dockyard
					level = 1
				}
			}	
			else = {
				every_owned_state = {
					limit = {
						is_controlled_by = ROOT
						is_coastal = yes 
						NOT = { state = 914 } # Jan Mayen shouldn't have a dockyard
						free_building_slots = {
							building = dockyard
							size > 0
							include_locked = yes 
						}
					}
					random_select_amount = 2
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = NOR_naval_air_force
		
		icon = GFX_goal_generic_air_fighter
		
		prerequisite = { focus = NOR_expand_merchant_marine }

		x = -2
		y = 1
		relative_position_id = NOR_expand_merchant_marine

		available_if_capitulated = yes

		cost = 10

		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}

		available_if_capitulated = yes

		completion_reward = {
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_naval_strike_attack_factor
				value = 0.25
				tooltip = naval_strike_attack_factor_tt
			}
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_naval_strike_targetting_factor
				value = 0.2
				tooltip = naval_strike_targetting_factor_tt
			}
		}
	}

	focus = {
		id = NOR_convoy_defense
		
		icon = GFX_focus_generic_coastal_fort
		
		prerequisite = { focus = NOR_expand_merchant_marine }

		x = 0
		y = 1
		
		relative_position_id = NOR_expand_merchant_marine

		available_if_capitulated = yes

		cost = 10

		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}

		completion_reward = {
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_convoy_escort_efficiency #0.3
				value = 0.3 
				tooltip = convoy_escort_efficiency_tt
			}
		}
	}

	focus = {
		id = NOR_nortraship
		icon = GFX_focus_NOR_nortraship
		prerequisite = { focus = NOR_expand_merchant_marine }
		
		available_if_capitulated = yes
		
		x = 2
		y = 1
		relative_position_id = NOR_expand_merchant_marine
		cost = 5
		available = {
			has_capitulated = yes 
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_offsite_building = {
				type = dockyard
				level = 2
			}
			add_equipment_to_stockpile = { 
				type = convoy 
				amount = 200 
				producer = NOR
			}
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_convoy_retreat_speed
				value = 0.2
				tooltip = convoy_retreat_speed_tt
			}
		}
	}

	focus = {
		id = NOR_convoy_bombing

		icon = GFX_goal_generic_air_naval_bomber

		prerequisite = { focus = NOR_naval_air_force focus = NOR_convoy_defense }
		prerequisite = { focus = NOR_pilot_training }

		x = 1
		y = 1
		relative_position_id = NOR_pilot_training
		
		cost = 10

		available_if_capitulated = yes

		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = {}

		completion_reward = {
			if = { 
				limit = { has_country_flag = NOR_luftforsvaret_flag }
				custom_effect_tooltip = NOR_modify_royal_air_force_dmod_TT
			}
			else = { 
				custom_effect_tooltip = NOR_modify_air_force_dmod_TT
			}
			add_to_variable = {
				var = NOR.NOR_army_air_force_dmod_air_nav_efficiency
				value = 0.25
				tooltip = air_nav_efficiency_tt
			}
		}
	}

	focus = {
		id = NOR_rebuild_the_royal_navy
		icon = GFX_focus_POL_develop_polish_shipbuilding
		prerequisite = { focus = NOR_nortraship }

		available_if_capitulated = yes

		x = 0
		y = 1
		relative_position_id = NOR_nortraship
		cost = 5
		available = {
			NOR_broken_gun_trigger = yes 
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_offsite_building = {
				type = dockyard
				level = 1
			}
			custom_effect_tooltip = NOR_modify_royal_navy_dmod_TT
			add_to_variable = {
				var = NOR.NOR_royal_navy_dmod_industrial_capacity_dockyard
				value = 0.15
				tooltip = industrial_capacity_dockyard_tt
			}
		}
	}
}
