ideas = {
	
	aircraft_manufacturer = { 
			
		designer = yes
		
		htk_orlogsvaerftet = {
			
			picture = generic_air_manufacturer_3

			
			allowed = {
				original_tag = DEN
			}
			
			research_bonus = {
				air_equipment = 0.15
			}
			
			traits = { light_aircraft_manufacturer }
			
			# recon and fighter aircraft
			
			ai_will_do = {
				factor = 1
			}
		}
	}
	
	naval_manufacturer = { 
		
		designer = yes
		
		burmeister_wain = {
			
			picture = generic_naval_manufacturer_1

			
			allowed = {
				original_tag = DEN
			}
			
			research_bonus = {
				naval_equipment = 0.15
			}
			
			traits = { naval_manufacturer }
		}
	}

	materiel_manufacturer = {
			
		designer = yes
		
		disa = {
			
			picture = generic_infantry_equipment_manufacturer_2

			
			allowed = {
				original_tag = DEN
			}
			
			research_bonus = {
				infantry_weapons = 0.15
			}
			
			# rifles
			
			traits = { infantry_equipment_manufacturer }

		}
	}

####################
####################
#### AAT IDEAS #####
####################
#################### 

	industrial_concern = {

		DEN_aalborg_portland = {

			picture = DEN_aalborg_portland 
			
			allowed = {
				original_tag = DEN
				has_dlc = "Arms Against Tyranny"
			}

			visible = {
				NOT = { has_completed_focus = DEN_aalborg_portland_cement_plant }
			}

			available = {
				DEN_designer_can_be_improved = yes
			}
			
			research_bonus = {
				excavation_tech = 0.15
			}
			
			traits = { construction_company }
		}

		DEN_aalborg_portland_improved = {
			name = DEN_aalborg_portland

			picture = DEN_aalborg_portland 
			
			allowed = {
				original_tag = DEN
				has_dlc = "Arms Against Tyranny"
			}

			visible = {
				has_completed_focus = DEN_aalborg_portland_cement_plant
			}

			available = {
				DEN_improved_designer = yes
			}
			
			research_bonus = {
				excavation_tech = 0.15
			}
			
			traits = { construction_company }

			modifier = {
				production_speed_buildings_factor = 0.1
			}
		}

		DEN_danske_stalvalsevaerket_ns = {

			picture = idea_DEN_danske_stalvalsevaerket_ns 
			
			allowed = {
				original_tag = DEN
				has_dlc = "Arms Against Tyranny"
			}

			available = {
				has_completed_focus = DEN_danske_stalvalsevaerket
			}
			
			research_bonus = {
				industry = 0.15
			}
			
			traits = { industrial_concern }

			modifier = {
				production_lack_of_resource_penalty_factor = -0.1
			}
		}
	}


##########################
##########################
#### NATIONAL SPIRITS ####
##########################
##########################

	country = {
		DEN_declaration_of_neutrality = { 
			name = DEN_declaration_of_neutrality
			removal_cost = -1
			picture = neutrality_idea 

			allowed = {
 				always = no
 			}

 			available = {
				has_country_flag = DEN_neutrality_flag
				is_in_faction = no
				is_subject = no
				has_war = no
			}

			allowed_civil_war = {
				always = yes
			}

 			modifier = {
 				custom_modifier_tooltip = DEN_denmark_becomes_a_puppet_tt
				join_faction_tension = 1
 				justify_war_goal_time = 0.25
 				guarantee_tension = 1.0
 				send_volunteers_tension = 0.25
				enemy_justify_war_goal_time = 0.25
				embargo_threshold_factor = 0.25
				ai_badass_factor = 0.01    # Will receive 1% of the threat from others
				ai_get_ally_desire_factor = -100
			}
		}

		DEN_declaration_of_neutrality_no_BBA = { 
			name = DEN_declaration_of_neutrality
			removal_cost = -1
			picture = neutrality_idea 

			allowed = {
 				always = no
 			}

 			available = {
				has_country_flag = DEN_neutrality_flag
				is_in_faction = no
				is_subject = no
				has_war = no
			}

			allowed_civil_war = {
				always = yes
			}

 			modifier = {
 				custom_modifier_tooltip = DEN_denmark_becomes_a_puppet_tt
				join_faction_tension = 1
 				justify_war_goal_time = 0.25
 				guarantee_tension = 1.0
 				send_volunteers_tension = 0.25
				enemy_justify_war_goal_time = 0.25
				ai_badass_factor = 0.01    # Will receive 1% of the threat from others
				ai_get_ally_desire_factor = -100
			}
		}

		DEN_danish_produce_ns = { 
			name = DEN_danish_produce
			removal_cost = -1
			picture = DEN_danish_produce 

			allowed = {
 				always = no
 			}

 			allowed_civil_war = {
				always = yes
			}

 			modifier = {
				supply_factor = 0.05
				supply_combat_penalties_on_core_factor = -0.05
				out_of_supply_factor = -0.05
			}
		}

		DEN_danish_produce_improved = {
			name = DEN_danish_produce
			removal_cost = -1
			picture = DEN_danish_produce 

			allowed = {
 				always = no
 			}

 			allowed_civil_war = {
				always = yes
			}

 			modifier = {
				supply_factor = 0.1
				supply_combat_penalties_on_core_factor = -0.1
				out_of_supply_factor = -0.1
				attrition = -0.05
				naval_attrition = -0.05
				supply_consumption_factor = -0.05
			}
		}

		DEN_improved_logistics = {
			name = DEN_improved_logistics
			removal_cost = -1
			picture = generic_supply_line 

			allowed = {
 				always = no
 			}

 			allowed_civil_war = {
				always = yes
			}

 			modifier = {
				attrition = -0.05
				supply_factor = 0.05
				supply_combat_penalties_on_core_factor = -0.075
				out_of_supply_factor = -0.075
				supply_node_range = 0.1
				production_speed_supply_node_factor = 0.25
			}
		}

		DEN_danish_produce_export_ns = { 
			name = DEN_danish_produce
			removal_cost = -1
			picture = DEN_danish_produce 

			allowed = {
 				always = no
 			}

 			available = {
				NOT = {
					has_war_with = DEN
					DEN = {
						is_subject = yes
					}
				}
			}

			on_remove = {
				if = {
					limit = {
						NOT = {
							has_idea = DEN_danish_produce_export_ns_improved
						}
						OR = {
							AND = {
								DEN = {
									is_subject = yes
									NOT = {
										is_subject_of = ROOT
									}
								}
							}
							DEN = {
								has_war_with = ROOT
							}
						}
					}
					DEN = { country_event = { id = denmark_trade_deal.8 hours = 3 } }
					country_event = { id = denmark_trade_deal.8 hours = 8 }
				}
			}

 			modifier = {
				supply_factor = 0.05
				supply_combat_penalties_on_core_factor = -0.05
				out_of_supply_factor = -0.05
				consumer_goods_factor = 0.1
			}
		}

		DEN_danish_produce_export_ns_improved = {
			name = DEN_danish_produce
			removal_cost = -1
			picture = DEN_danish_produce 

			allowed = {
 				always = no
 			}

 			available = {
				NOT = {
					has_war_with = DEN
					DEN = {
						is_subject = yes
					}
				}
			}

			on_remove = {
				IF = {
					limit = {
						OR = {
							AND = {
								DEN = {
									is_subject = yes
									NOT = {
										is_subject_of = ROOT
									}
								}
							}
							DEN = {
								has_war_with = ROOT
							}
						}
					}
					DEN = { country_event = { id = denmark_trade_deal.8 hours = 3 } }
					country_event = { id = denmark_trade_deal.8 hours = 6 }
				}
			}

 			modifier = {
				attrition = -0.025
				supply_factor = 0.1
				supply_combat_penalties_on_core_factor = -0.1
				out_of_supply_factor = -0.1
				supply_node_range = 0.1
				consumer_goods_factor = 0.15
			}
		}

		DEN_fromandskorpset_ns = {
			name = DEN_fromandskorpset_ns
			removal_cost = -1
			picture = DEN_fromandskorpset

			allowed = {
 				always = no
 			}

 			available = {
				DEN = { exists = yes }
			}

 			modifier = {
				naval_invasion_prep_speed = 0.15
				naval_invasion_capacity = 5
				naval_invasion_penalty = -0.15
				amphibious_invasion = 0.15
				invasion_preparation = -0.15
			}
		}

		DEN_rule_the_north_sea = { 
			name = DEN_rule_the_north_sea
			removal_cost = -1
			picture = generic_navy_carrier_bonus 

			allowed = {
 				always = no
 			}

 			available = {
				DEN = { exists = yes }
			}

 			modifier = {
				carrier_capacity_penalty_reduction = -0.1
				sortie_efficiency = 0.1
				fighter_sortie_efficiency = 0.1
				navy_carrier_air_agility_factor = 0.1
				navy_carrier_air_attack_factor = 0.1
				navy_carrier_air_targetting_factor = 0.1
			}
		}

		DEN_sahnefront_ns = {
			name = DEN_sahnefront
			removal_cost = -1
			picture = DEN_sahnefront 

			allowed = {
 				always = no
 			}

 			available = {
 				OR = {
					has_subject = DEN
					AND = {
						37 = {	is_controlled_by = ROOT }
						911 = {	is_controlled_by = ROOT }
						99 = {	is_controlled_by = ROOT }
						912 = {	is_controlled_by = ROOT }
					}
 				}
			}

 			modifier = {
				attrition = -0.05
				supply_factor = 0.1
				supply_combat_penalties_on_core_factor = -0.1
				out_of_supply_factor = -0.1
				supply_node_range = 0.1
				supply_consumption_factor = -0.05
				production_speed_buildings_factor = 0.025
			}
		}

		DEN_overlord_licensing_ns = { 
			name = DEN_danish_licensing_ns
			removal_cost = -1
			picture = generic_license_production 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			available = {
				is_in_faction_with = DEN.DEN_overlord_nation
			}

			targeted_modifier = { 
				tag = DEN.DEN_overlord_nation
				license_purchase_cost = -0.5
				license_production_speed = 0.25
				license_tech_difference_speed = 0.25
				trade_cost_for_target_factor = -0.2
				trade_opinion_factor = 0.25
			}
		}

		DEN_overlord_licensing_ns_no_DOD = { 
			name = DEN_danish_licensing_ns
			removal_cost = -1
			picture = generic_license_production 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			available = {
				is_in_faction_with = DEN.DEN_overlord_nation
			}

			targeted_modifier = { 
				tag = DEN.DEN_overlord_nation
				trade_cost_for_target_factor = -0.2
				trade_opinion_factor = 0.25
			}
		}

		DEN_danish_licensing_ns = { 
			name = DEN_danish_licensing_ns
			removal_cost = -1
			picture = generic_license_production 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			available = {
				NOT = {
					DEN = {
						is_subject = yes
						has_war_with = DEN.DEN_guaranteeing_nation
					}
				}
			}

			targeted_modifier = { 
				tag = DEN.DEN_guaranteeing_nation
				license_purchase_cost = -0.5
				license_production_speed = 0.25
				license_tech_difference_speed = 0.25
				trade_cost_for_target_factor = -0.2
				trade_opinion_factor = 0.25
			}
		}

		DEN_danish_licensing_ns_no_DOD = { 
			name = DEN_danish_licensing_ns
			removal_cost = -1
			picture = generic_license_production 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			available = {
				NOT = {
					has_war_with = DEN
					DEN = {
						is_subject = yes
						has_war_with = DEN.DEN_guaranteeing_nation
					}
				}
			}

			targeted_modifier = { 
				tag = DEN.DEN_guaranteeing_nation
				trade_cost_for_target_factor = -0.2
				trade_opinion_factor = 0.25
			}
		}

		DEN_securing_sweden_ns = { 
			name = DEN_securing_sweden_ns
			removal_cost = -1
			picture = generic_infantry_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
				SWE = { exists = yes }
			}

			targeted_modifier = { 
				tag = SWE
				attack_bonus_against = 0.1
				defense_bonus_against = 0.05
			}
		}

		DEN_securing_norway_ns = { 
			name = DEN_securing_norway_ns
			removal_cost = -1
			picture = generic_infantry_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
				NOR = { exists = yes }
			}

			targeted_modifier = { 
				tag = NOR
				attack_bonus_against = 0.1
				defense_bonus_against = 0.05
			}
		}

		DEN_securing_finland_ns = { 
			name = DEN_securing_finland_ns
			removal_cost = -1
			picture = generic_infantry_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
				FIN = { exists = yes }
			}

			targeted_modifier = { 
				tag = FIN
				attack_bonus_against = 0.1
				defense_bonus_against = 0.05
			}
		}
		
		DEN_foreign_influence_neutrality_ns = { 
			name = DEN_foreign_influence_ns
			removal_cost = -1
			picture = generic_neutrality_drift_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
			}

			on_remove = {
				if = {
					limit = {
						has_country_flag = DEN_has_danish_influence_flag
					}
					clr_country_flag = DEN_has_danish_influence_flag
				}
			}
		
			modifier = { 
				neutrality_drift = 0.15
				drift_defence_factor = -0.3
			}
		}
		
		DEN_foreign_influence_fascism_ns = { 
			name = DEN_foreign_influence_ns
			removal_cost = -1
			picture = generic_fascism_drift_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
			}

			on_remove = {
				if = {
					limit = {
						has_country_flag = DEN_has_danish_influence_flag
					}
					clr_country_flag = DEN_has_danish_influence_flag
				}
			}
		
			targeted_modifier = { 
				fascism_drift = 0.15
				drift_defence_factor = -0.3
			}
		}

		DEN_fascist_propaganda_ns = { 
			name = DEN_fascist_propaganda_ns
			removal_cost = -1
			picture = generic_fascism_drift_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
				has_elections = yes
			}

			modifier = { 
				fascism_drift = 0.01
				communism_drift = -0.01
			}
		}

		DEN_communist_propaganda_ns = { 
			name = DEN_communist_propaganda_ns
			removal_cost = -1
			picture = generic_communism_drift_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
				has_elections = yes
			}
		
			modifier = { 
				communism_drift = 0.01
				fascism_drift = -0.01
			}
		}

		DEN_monarchist_discontent_ns = { 
			name = DEN_monarchist_discontent_ns
			removal_cost = -1
			picture = generic_neutrality_drift_bonus 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
				NOT = { has_country_flag = DEN_exiled_royal_family }
				has_government = communism
			}
		
			modifier = { 
				neutrality_drift = 0.01
			}
		}

	#FAKE IDEAS FOR BOOKMARK
		#1936
		DEN_fake_industrial_capability_ns = { 
			name = DEN_industrial_capability_dynamic_modifier
			removal_cost = -1
			picture = SOV_second_five_year_plan

			allowed = {
 				always = no
 			}

 			allowed_civil_war = {
				always = no
			}

 			modifier = {
 				consumer_goods_factor = 0.3
 				line_change_production_efficiency_factor = -0.05
 				industrial_capacity_factory = -0.1
 				industrial_capacity_dockyard = -0.1
 				equipment_conversion_speed = -0.05
			}
		}

		DEN_fake_neglected_military_ns = { 
			name = DEN_neglected_military_dynamic_modifier
			removal_cost = -1
			picture = generic_neglected_military 

			allowed = {
 				always = no
 			}

 			allowed_civil_war = {
				always = no
			}

 			modifier = {
 				mobilization_speed = -0.2
				surrender_limit = -0.2
				planning_speed = -0.1
			}
		}

		DEN_fake_economic_crisis_ns = { 
			name = DEN_economic_crisis_dynamic_modifier
			removal_cost = -1
			picture = generic_economic_crisis 

			allowed = {
 				always = no
 			}

 			allowed_civil_war = {
				always = no
			}

 			modifier = {
 				monthly_population = -0.1
 				stability_weekly = -0.001
 				neutrality_drift = 0.02
 				democratic_drift = -0.05
			}
		}

		#1939
		DEN_fake_industrial_capability_2_ns = { 
			name = DEN_industrial_capability_dynamic_modifier
			removal_cost = -1
			picture = SOV_third_five_year_plan 

			allowed = {
 				always = no
 			}

 			allowed_civil_war = {
				always = no
			}

 			modifier = {
 				custom_modifier_tooltip = DEN_industrial_research_bonus_tt
 				local_resources_factor = 0.1
 				consumer_goods_factor = 0.2
 				line_change_production_efficiency_factor = -0.05
 				industrial_capacity_factory = -0.1
 				industrial_capacity_dockyard = -0.1
 				equipment_conversion_speed = -0.05
			}
		}
	}


	hidden_ideas = {
		DEN_light_market_regulation_research_bonus = { #HIDDEN RESEARCH BONUS
			name = DEN_light_market_regulation_research_bonus

			picture = SOV_third_five_year_plan

			removal_cost = -1	
	
			allowed = {
				original_tag = DEN
			}
	
			research_bonus = {
				industry = 0.05
			}
		}

		DEN_danish_resistance_ns = { 
			name = DEN_resistance_dynamic_modifier
			removal_cost = -1
			picture = GFX_idea_DEN_resistance 
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = no
			}
			available = {
				has_dynamic_modifier = { modifier = DEN_resistance_dynamic_modifier_improved } 
			}
			targeted_modifier = {
				tag = DEN.DEN_overlord_nation
				attack_bonus_against = 0.1
				defense_bonus_against = 0.1
			}
		}
	}
}