# Indentation must be set to tabs before editing! This file is edited with a tab size of 4.
NOR_decision_category_sami_opression = {
#NOR_decision_sami_open_school_for_minorities = {
#	icon = generic_construction
#	fire_only_once = yes
#	cost = 50
#
#	highlight_states = {
#		highlight_state_targets = {
#			state = 144
#		}
#	}
#
#	#allowed = { TAG = NOR }
#
#	complete_effect = {
#	}
#
#	days_remove = 180
#
#	modifier = {
#		consumer_goods_expected_value = 0.03
#	}
#
#	remove_effect = {
#		144 = {
#			add_to_variable = { var = detrimental_colonial_impact_value value = -2 }
#			custom_effect_tooltip = DCI_decrease_by_2_tooltip
#		}
#	}
#
#	ai_will_do = {
#		base = 1
#	}
#}
#
#NOR_decision_sami_support_lifestyle = {
#	icon = generic_construction
#	fire_only_once = yes
#	cost = 100
#
#	highlight_states = {
#		highlight_state_targets = {
#			state = 144
#		}
#	}
#
#	#allowed = { TAG = NOR }
#
#	days_remove = 180
#
#	remove_effect = {
#		144 = {
#			add_to_variable = { var = detrimental_colonial_impact_value value = -2 }
#			custom_effect_tooltip = DCI_decrease_by_2_tooltip
#		}
#	}
#
#	ai_will_do = {
#		base = 1
#	}
#}
#
#NOR_decision_sami_appoint_pro_sami_bureaucrats = {
#	icon = generic_construction
#	fire_only_once = yes
#	cost = 200
#
#	highlight_states = {
#		highlight_state_targets = {
#			state = 144
#		}
#	}
#
#	#allowed = { TAG = NOR }
#
#	days_remove = 180
#
#	complete_effect = {
#		add_stability = -0.05
#	}
#
#	remove_effect = {
#		144 = {
#			add_to_variable = { var = detrimental_colonial_impact_value value = -2 }
#			custom_effect_tooltip = DCI_decrease_by_2_tooltip
#		}
#	}
#
#	ai_will_do = {
#		base = 1
#	}
#}
#
#NOR_decision_sami_give_voice_in_parliament = {
#	icon = generic_construction
#	fire_only_once = yes
#	cost = 50
#
#	highlight_states = {
#		highlight_state_targets = {
#			state = 144
#		}
#	}
#
#	#allowed = { TAG = NOR }
#
#	days_remove = 165
#
#	modifier = {
#		political_power_factor = -0.10
#	}
#
#	remove_effect = {
#		144 = {
#			add_to_variable = { var = detrimental_colonial_impact_value value = -2 }
#			custom_effect_tooltip = DCI_decrease_by_2_tooltip
#		}
#	}
#
#	ai_will_do = {
#		base = 1
#	}
#}
#
#NOR_decision_sami_recognize_as_minority_language = {
#	icon = generic_construction
#	fire_only_once = yes
#	cost = 100
#
#	highlight_states = {
#		highlight_state_targets = {
#			state = 144
#		}
#	}
#
#	#allowed = { TAG = NOR }
#
#	days_remove = 180
#
#	complete_effect = {
#		add_stability = -0.05
#	}
#
#	remove_effect = {
#		144 = {
#			add_to_variable = { var = detrimental_colonial_impact_value value = -2 }
#			custom_effect_tooltip = DCI_decrease_by_2_tooltip
#		}
#	}
#
#	ai_will_do = {
#		base = 1
#	}
#}

	NOR_decision_sami_integrate_northern_norway = {
		icon = generic_construction
		fire_only_once = yes
		cost = 50

		highlight_states = {
			highlight_state_targets = {
				state = 144
			}
		}

		#allowed = { TAG = NOR }

		days_remove = 100

		modifier = {
			political_power_factor = -0.05
		}

		remove_effect = {
			add_state_core = 144
		}

		ai_will_do = {
			base = 1
		}
	}
}

NOR_decision_category_opplandske_krisen = {
	NOR_decision_bailout_nor_banks = {
		icon = generic_construction
		fire_only_once = yes
		cost = 25

		#allowed = { TAG = NOR }

		available = {
			has_idea = NOR_idea_banking_crisis
		}

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
		}

		days_remove = 180

		remove_effect = {
			swap_ideas = {
				remove_idea = NOR_idea_banking_crisis
				add_idea = NOR_idea_banking_crisis1
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	NOR_decision_lower_interest = {
		icon = generic_construction
		fire_only_once = yes
		cost = 25

		#allowed = { TAG = NOR }

		available = {
			has_idea = NOR_idea_banking_crisis1
		}

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
		}

		days_remove = 180

		remove_effect = {
			remove_ideas = NOR_idea_banking_crisis1

			if = {
				limit = { NOT = { OR = {
					has_idea = NOR_idea_lumber_crisis
					has_idea = NOR_idea_lumber_crisis1
				} } }

				add_ideas = NOR_idea_opplandske_krisen_aftermath
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	NOR_decision_subsidize_lumber = {
		icon = generic_construction
		fire_only_once = yes
		cost = 25

		#allowed = { TAG = NOR }

		available = {
			has_idea = NOR_idea_lumber_crisis
		}

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
		}

		days_remove = 180

		remove_effect = {
			swap_ideas = {
				remove_idea  = NOR_idea_lumber_crisis
				add_idea = NOR_idea_lumber_crisis1
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	NOR_decision_nationalize_lumbermills = {
		icon = generic_construction
		fire_only_once = yes
		cost = 25

		#allowed = { TAG = NOR }

		available = {
			has_idea = NOR_idea_lumber_crisis1
		}

		modifier = {
			consumer_goods_expected_value = 0.05
		}

		complete_effect = {
		}

		days_remove = 180

		remove_effect = {
			remove_ideas = NOR_idea_lumber_crisis1

			if = {
				limit = { NOT = { OR = {
					has_idea = NOR_idea_banking_crisis
					has_idea = NOR_idea_banking_crisis1
				} } }

				add_ideas = NOR_idea_opplandske_krisen_aftermath
			}
		}

		ai_will_do = {
			base = 1
		}
	}
}

eoanb_category_economic = {
	NOR_decision_Norwegian_Swedish_Railroad = {
		icon = railway
		fire_only_once = yes
		cost = 25

		allowed = {
			tag = NOR
		}

		visible = {
			has_completed_focus = NOR_focus_connect_sweden
		}

		available = { }

		modifier = { }

		complete_effect = {
			NOR = {
				activate_decision = NOR_norwegian_swedish_railroad
			}
			SWE = {
				activate_decision = NOR_norwegian_swedish_railroad
			}
		}

		remove_effect = { }

		ai_will_do = {
			base = 10
		}
	}

	NOR_norwegian_swedish_railroad = {
		icon = railway
		fire_only_once = yes
		cost = 50

		allowed = {
			always = no
		}

		visible = {
			always = no
		}

		available = { }

		modifier = {
			consumer_goods_expected_value = 0.07
		}

		days_remove = 200

		complete_effect = { }

		remove_effect = {
			effect_tooltip = {
				build_railway = {
					level = 1
					path = {
						179
						9138
					}
				}
			}
			hidden_effect = {
				if = {
					limit = {
						tag = NOR
					}
					build_railway = {
						level = 1
						path = {
							179
							9138
						}
					}
				}
			}
		}

		ai_will_do = {
			base = 10
		}
	}

	NOR_decision_roros_kobberverk = {
		icon = coal
		fire_only_once = yes
		cost = 50

		allowed = { tag = NOR }

		visible = {
			has_full_control_of_state = 143
		}

		available = {
			has_completed_focus = NOR_focus_roros_kobberverk
			has_stability > 0.3
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			num_of_civilian_factories_available_for_projects > 1
		}

		modifier = {
			civilian_factory_use = 2
		}

		days_remove = 180

		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			add_resource = {
				type = iron
				amount = 6
				state = 110
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	NOR_decision_voiens_bomuldsspinderi = {
		icon = generic_construction
		fire_only_once = yes
		cost = 50

		allowed = { tag = NOR }

		visible = {
			has_full_control_of_state = 110
		}

		available = {
			has_completed_focus = NOR_focus_voiens_bomuldsspinderi
			has_stability > 0.3
			NOT = { has_country_flag = eoanb_industry_development_ongoing_flag }
			num_of_civilian_factories_available_for_projects > 1
		}

		modifier = {
			civilian_factory_use = 2
		}

		days_remove = 180

		complete_effect = {
			custom_effect_tooltip = eoanb_industry_development_ongoing_effect_tt
			hidden_effect = {
				set_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		remove_effect = {
			add_resource = {
				type = fabric
				amount = 6
				state = 110
			}
			hidden_effect = {
				clr_country_flag = eoanb_industry_development_ongoing_flag
			}
		}

		ai_will_do = {
			base = 0
		}
	}

	NOR_decision_railway_upgrade = {
		icon = railway
		fire_only_once = yes
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text

		allowed = {
			tag = NOR
		}

		visible = {
			has_idea = NA_B_small_scale_railways
		}

		available = {
			has_tech = steam_locomotive_3
			has_tech = standardized_gauge
			#traffic signals removed
			has_completed_focus = NOR_focus_transport_industry
			OR = {
				has_idea = road_spending_level_3
				has_idea = road_spending_level_4
			}
			#has_idea = DEN_idea_dense_railway_network
		}
		
		modifier = {
			political_power_gain = -0.05
		}

		days_remove = 365

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			swap_ideas = { remove_idea = NA_B_small_scale_railways add_idea = NA_B_medium_scale_railways }
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_mission_kongsberg_factory = {
		icon = generic_factory
		fire_only_once = yes
		is_good = yes

		allowed = {
			always = no
		}

		available = {
			has_idea = NOR_materiel_manufacturer_kongsberg
			owns_state = 110
			110 = {
				arms_factory > 1
			}
		}

		activation = {
			always = no
		}

		highlight_states = {
			state = 110
		}

		days_mission_timeout = 1800

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}

		complete_effect = {
			110 = {
				add_extra_state_shared_building_slots = 3
			}
			add_stability = 0.02
		}

		ai_will_do = {
			base = 100
		}
	}

	NOR_decision_hamar_grundsetbanen = {
		icon = railway
		fire_only_once = yes
		cost = 50

		highlight_states = {
			highlight_state_targets = {
				state = 110
			}
		}

		allowed = {
			# Checked at startup
			tag = NOR
		}

		visible = {
			owns_state = 110
		}

		available = {
			NOT = { has_country_flag = NOR_railway_project_ongoing_flag }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = NOR_focus_future_of_transport
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = NOR_railway_project_ongoing_flag
			}
		}

		days_remove = 365

		modifier = {
			civilian_factory_use = 1
		}

		cancel_trigger = {
			NOT = { owns_state = 110 }
		}

		remove_effect = {
			build_railway = {
				level = 1
				path = { 3021 3136 }
			}
			hidden_effect = {
				clr_country_flag = NOR_railway_project_ongoing_flag
			}
			news_event = eoanb_norway.12
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_decision_kongsvinger_line = {
		icon = railway
		fire_only_once = yes
		cost = 50

		highlight_states = {
			highlight_state_targets = {
				state = 110
			}
		}

		allowed = {
			# Checked at startup
			tag = NOR
		}

		visible = {
			owns_state = 110
		}

		available = {
			NOT = { has_country_flag = NOR_railway_project_ongoing_flag }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = NOR_focus_future_of_transport
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = NOR_railway_project_ongoing_flag
			}
		}

		days_remove = 365

		modifier = {
			civilian_factory_use = 1
		}

		cancel_trigger = {
			NOT = { owns_state = 110 }
		}

		remove_effect = {
			build_railway = {
				level = 1
				path = { 11184 3007 179 }
			}
			hidden_effect = {
				clr_country_flag = NOR_railway_project_ongoing_flag
			}
			news_event = eoanb_norway.13
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_decision_railways_north = {
		icon = railway
		fire_only_once = yes
		cost = 50

		highlight_states = {
			highlight_state_targets = {
				state = 143
			}
		}

		allowed = {
			# Checked at startup
			tag = NOR
		}

		visible = {
			owns_state = 143
		}

		available = {
			NOT = { has_country_flag = NOR_railway_project_ongoing_flag }
			num_of_civilian_factories_available_for_projects > 0
			has_completed_focus = NOR_focus_railways_north
		}

		complete_effect = {
			hidden_effect = {
				set_country_flag = NOR_railway_project_ongoing_flag
			}
		}

		days_remove = 365

		modifier = {
			civilian_factory_use = 1
		}

		cancel_trigger = {
			NOT = { owns_state = 110 owns_state = 143 }
		}

		remove_effect = {
			build_railway = {
				level = 1
				path = { 3022 6118 11206 }
			}
			hidden_effect = {
				clr_country_flag = NOR_railway_project_ongoing_flag
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_decision_timber_for_export = {
		icon = generic_construction
		fire_only_once = yes
		cost = 100

		highlight_states = {
			highlight_state_targets = {
				state = 1354
			}
		}

		allowed = {
			# Checked at startup
			tag = NOR
		}

		visible = {
			# Conditions to show
			has_completed_focus = NOR_focus_timber_export
		}

		available = {
			# Conditions to be able to click
			num_of_civilian_factories_available_for_projects > 0
		}

		complete_effect = {
		}

		days_remove = 70

		modifier = {
			civilian_factory_use = 1
		}

		remove_effect = {
			EOANBSYS_institutions_innovative_add_one = yes

			1354 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = { type = logging_camp level = 1 instant_build = yes }
			}
		}

		ai_will_do = {
			base = 1
		}
	}

	NOR_decision_prosperity_trondheim = {
		icon = generic_construction
		fire_only_once = yes
		cost = 50

		highlight_states = {
			highlight_state_targets = {
				state = 143
			}
		}

		allowed = {
			# Checked at startup
			tag = NOR
		}

		visible = {
			# Conditions to show
			has_completed_focus = NOR_focus_restore_trondheim_privilege
		}

		available = {
			# Conditions to be able to click
			num_of_civilian_factories_available_for_projects > 0
		}

		complete_effect = {
		}

		days_remove = 70

		modifier = {
			civilian_factory_use = 1
		}

		remove_effect = {
			EOANBSYS_institutions_innovative_add_one = yes

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

		ai_will_do = {
			base = 1
		}
	}
}

eoanb_category_military = {
	NOR_decision_protect_norwegian_coast = {
		icon = naval_base
		fire_only_once = yes
		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}
		custom_cost_text = eoanb_political_power_10_command_power_75

		allowed = { tag = NOR }

		visible = {
			has_completed_focus = NOR_focus_patrol_coast
			#has_country_flag = DEN_atlantic_naval_base_flag
			OR = {
				owns_state = 144
				owns_state = 143
				owns_state = 142
			}
		}

		available = {
			has_completed_focus = NOR_focus_patrol_coast
			#NOT = { has_country_flag = DEN_navy_reform_ongoing_flag }
			OR = {
				owns_state = 144
				owns_state = 143
				owns_state = 142
			}
		}

		days_remove = 365

		modifier = {
			consumer_goods_expected_value = 0.1
			political_power_gain = -0.5
		}

		cancel_trigger = {
			NOT = {
				OR = {
					owns_state = 144
					owns_state = 143
					owns_state = 142
				}
			}
		}

		complete_effect = {
			add_political_power = -10
			add_command_power = -75
			#hidden_effect = {
				#set_country_flag = DEN_navy_reform_ongoing_flag
				#clr_country_flag = DEN_atlantic_naval_base_flag
			#}
		}

		remove_effect = {
			if = {
				limit = {
					owns_state = 144
				}
				144 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 11050 } }
				144 = { add_building_construction = { type = naval_base level = 1 instant_build = yes province = 11050 } }
			}
			if = {
				limit = {
					owns_state = 143
				}
				143 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 3022 } }
				143 = { add_building_construction = { type = naval_base level = 1 instant_build = yes province = 3022 } }
			}
			if = {
				limit = {
					owns_state = 142
				}
				142 = { add_building_construction = { type = coastal_bunker level = 1 instant_build = yes province = 122 } }
				142 = { add_building_construction = { type = naval_base level = 1 instant_build = yes province = 122 } }
			}
			#hidden_effect = {
				#clr_country_flag = DEN_navy_reform_ongoing_flag
			#}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_mission_study_modern_warships = {
		icon = generic_naval
		fire_only_once = yes
		is_good = yes

		allowed = { always = no }

		visible = { }

		available = {
			has_tech = tech_naval_mtg_1860_corvette_hull
			has_tech = tech_naval_mtg_early_turrets
			has_tech = tech_naval_mtg_steam_driven_single_screw_propeller
		}

		activation = { always = no }

		days_mission_timeout = 730

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -25
				add_war_support = -0.02
			}
		}

		complete_effect = {
			navy_experience = 50
			add_political_power = 25
			add_war_support = 0.02
			add_doctrine_cost_reduction = { cost_reduction = 0.5 uses = 1 category = naval_doctrine }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = naval_equipment }
		}

		ai_will_do = {
			base = 100
		}
	}

	NOR_decision_raise_skorpionen_klasse = {
		icon = generic_military
		fire_only_once = yes
		cost = 25

		allowed = {
			tag = NOR
		}

		visible = {
			has_completed_focus = NOR_focus_skorpionen_klasse
		}

		available = {
			has_completed_focus = NOR_focus_skorpionen_klasse
			num_of_civilian_factories_available_for_projects > 0
			if = { limit = { is_ai = no } has_tech = tech_naval_mtg_prototype_monitor }
		}


		days_remove = 180

		modifier = {
			civilian_factory_use = 1
			experience_gain_navy_factor = 0.05
		}

		remove_effect = {
			create_equipment_variant = {
				name = "Skorpionen Klasse"
				type = ship_hull_monitor_0
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_secondaries_slot = empty
					fixed_ship_armor_slot = ship_armor_capital_hardwood_0
					mid_1_custom_slot = empty
					mid_2_custom_slot = empty
					rear_1_custom_slot = ship_cannon_battery_1
				}
				
			}

			create_ship = {
				type = ship_hull_monitor_0
				equipment_variant = "Skorpionen Klasse"
				name = "HNoMS Skorpionen"
			}
		}
	}

	NOR_decision_raise_thor_klasse = {
		icon = generic_military
		fire_only_once = yes
		cost = 25

		allowed = {
			tag = NOR
		}

		visible = {
			has_completed_focus = NOR_focus_thor_klasse
		}

		available = {
			has_completed_focus = NOR_focus_thor_klasse
			num_of_civilian_factories_available_for_projects > 0
			if = {
				limit = {
					is_ai = no
				}
				OR = {
					
					has_tech = tech_naval_mtg_prototype_monitor
				}
			}
		}

		custom_cost_trigger = {
			has_political_power > 24.9
			has_navy_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_navy_experience_25_command_power_50

		modifier = {
			civilian_factory_use = 1
			experience_gain_navy_factor = 0.05
		}

		days_remove = 180

		remove_effect = {
			create_equipment_variant = {
				name = "Thor Klasse"
				type = ship_hull_monitor_0
				name_group = GER_CA_HISTORICAL
				parent_version = 0
				modules = {
					fixed_ship_battery_slot = ship_cannon_battery_1
					fixed_ship_fire_control_system_slot = fire_control_system_0
					fixed_ship_engine_slot = ship_engine_steam_screw_gunboat
					fixed_ship_secondaries_slot = empty
					fixed_ship_armor_slot = ship_armor_capital_hardwood_0
					mid_1_custom_slot = empty
					mid_2_custom_slot = empty
					rear_1_custom_slot = ship_cannon_battery_1
				}
				
			}

			create_ship = {
				type = ship_hull_monitor_0
				equipment_variant = "Thor Klasse"
				name = "HNoMS Thor"
			}
		}
	}

	NOR_decision_foreign_gunboats = {
		icon = generic_naval
		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 9.9
			command_power > 74.99
		}
		custom_cost_text = eoanb_political_power_10_command_power_75

		allowed = { tag = NOR }

		visible = { has_completed_focus = NOR_focus_foreign_designs }

		available = {
			num_of_civilian_factories_available_for_projects > 0
		}

		modifier = {
			civilian_factory_use = 1
		}

		days_remove = 180

		complete_effect = {
			add_political_power = -10
			add_command_power = -75
		}

		remove_effect = {
			country_event = { id = eoanb_norway.38 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_decision_norwegian_gunboats = {
		icon = generic_naval
		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 24.9
			has_navy_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_navy_experience_25_command_power_50

		allowed = { tag = NOR }

		visible = { has_completed_focus = NOR_focus_norwegian_designs }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			has_tech = tech_naval_mtg_gunboat_engineering_1
		}

		modifier = {
			civilian_factory_use = 1
			experience_gain_navy_factor = 0.05
		}
		
		days_remove = 180

		complete_effect = {
			add_political_power = -25
			navy_experience = -25
			add_command_power = -50
		}

		remove_effect = {
			country_event = { id = eoanb_norway.39 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_decision_kong_sverre = {
		icon = generic_naval
		fire_only_once = yes

		custom_cost_trigger = {
			has_political_power > 24.9
			has_navy_experience > 24.9
			command_power > 49.99
		}
		custom_cost_text = eoanb_political_power_25_navy_experience_25_command_power_50

		allowed = { tag = NOR }

		visible = { has_completed_focus = NOR_focus_kong_sverre }

		available = {
			num_of_civilian_factories_available_for_projects > 0
			has_tech = tech_naval_mtg_steam_driven_single_screw_propeller
		}

		days_remove = 730

		modifier = {
			civilian_factory_use = 1
			political_power_gain = -0.05
			consumer_goods_expected_value = 0.02
			experience_gain_navy_factor = 0.05
		}

		complete_effect = {
			add_political_power = -25
			navy_experience = -25
			add_command_power = -50
		}

		remove_effect = {
			country_event = { id = eoanb_norway.40 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	NOR_mission_expand_karljohansvern = {
		icon = generic_construction
		fire_only_once = yes
		is_good = yes

		allowed = {
			always = no
		}

		visible = {
			# Conditions to show
			has_completed_focus = NOR_focus_expand_karljohansvern
		}

		available = {
			owns_state = 110
			110 = {
				dockyard > 1
			}
			custom_trigger_tooltip = {
				tooltip = NOR_mission_karljohansvern_trigger_tt
				hidden_trigger = {
					110 = {
						any_province_building_level = {
							province = {
								id = 14 # Karljohansvern
							}
							building = naval_base
							level > 5
						}
						any_province_building_level = {
							province = {
								id = 14 # Karljohansvern
							}
							building = coastal_bunker
							level > 1
						}
					}
				}
			}
		}

		highlight_states = {
			state = 110
		}

		days_mission_timeout = 1800

		timeout_effect = {
			if = {
				limit = {
					is_ai = no
				}
				add_political_power = -50
				add_stability = -0.02
			}
		}

		complete_effect = {
			set_victory_points = {
				province = 14
				value = 3
			}
			add_stability = 0.02
			110 = { add_extra_state_shared_building_slots = 1 }
			add_doctrine_cost_reduction = { cost_reduction = 0.75 uses = 1 category = naval_doctrine }
		}

		ai_will_do = {
			base = 100
		}
	}
}

eoanb_category_diplomatic_actions = {
	NOR_decision_relations_improve_sweden = {
		icon = generic_political_discourse
		fire_only_once = yes
		cost = 50

		allowed = {
			tag = NOR
		}

		days_remove = 120

		remove_effect = {
			add_political_power = 20

			add_opinion_modifier = {
				target = SWE
				modifier = medium_increase
			}
		}
	}

	NOR_decision_relations_improve_denmark = {
		icon = generic_political_discourse
		fire_only_once = yes
		cost = 25

		allowed = {
			tag = NOR
		}

		days_remove = 80

		remove_effect = {
			add_political_power = 5

			add_opinion_modifier = {
				target = DEN
				modifier = medium_increase
			}
		}
	}

	NOR_decision_relations_improve_russia = {
		icon = generic_political_discourse
		fire_only_once = yes
		cost = 25

		allowed = {
			tag = NOR
		}

		days_remove = 120

		remove_effect = {
			add_political_power = 10

			add_opinion_modifier = {
				target = RUS
				modifier = medium_increase
			}
		}
	}
}