ideas = {
	country = {
		# Special Ideas that are connected to National Ideas
		spain_subject_ideology_drift_idea = {
			picture = generic_neutrality_drift_bonus
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel = {
				OR = {
					is_subject = no
					OVERLORD = {
						NOT = { has_idea = national_ideas_15_6 }
					}
				}
			}

			modifier = {
				master_ideology_drift = 0.1
			}
		}
	}

	hidden_ideas = {
		# Generic Ideas:
		national_ideas_1000_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
			}

			modifier = {
				research_speed_factor = 0.025
				max_planning = 0.1
			}
		}
		national_ideas_1000_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				production_speed_buildings_factor = 0.1
			}
		}
		national_ideas_1000_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				global_building_slots_factor = 0.1
			}
		}
		national_ideas_1000_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				convoy_escort_efficiency = 0.1
				navy_screen_defence_factor = 0.05
			}
		}
		national_ideas_1000_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				army_defence_factor = 0.1
			}
		}
		national_ideas_1000_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				air_weather_penalty = -0.1
				experience_gain_air_factor = 0.1
			}
		}
		national_ideas_1000_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				naval_hit_chance = 0.05
				naval_coordination = 0.05
			}
		}
		national_ideas_1000_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				political_power_factor = 0.1
			}
		}
		national_ideas_1000_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1000 }
				check_variable = { completed_national_ideas > 6 }
			}

			on_add = {
				add_research_slot = 1
				set_country_flag = national_ideas_1000_8
			}

			on_remove = {
				if = {
					limit = {
						has_country_flag = national_ideas_1000_8
					}
					add_research_slot = -1
					clr_country_flag = national_ideas_1000_8
				}
			}
		}

		# GER Ideas:
		national_ideas_1_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
			}

			modifier = {
				war_support_factor = 0.05
				democratic_drift = -0.02
			}
		}
		national_ideas_1_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				army_bonus_air_superiority_factor = 0.1
				air_night_penalty = -0.05
			}
		}
		national_ideas_1_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				army_speed_factor = 0.05
				army_org_factor = 0.05
			}
		}
		national_ideas_1_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				production_factory_max_efficiency_factor = 0.1
			}
		}
		national_ideas_1_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				intelligence_agency_defense = 0.5
				ships_at_battle_start = 0.1
			}
		}
		national_ideas_1_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				resistance_growth = -0.1
			}
		}
		national_ideas_1_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_1_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				mobilization_speed = 0.1
				conscription = 0.01
			}
		}
		national_ideas_1_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 1 }
				check_variable = { completed_national_ideas > 6 }
			}

			rule = {
				can_declare_war_without_wargoal_when_in_war = yes
			}
		}

		# USA Ideas:
		national_ideas_2_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
			}

			modifier = {
				fuel_gain_factor = 0.1
				democratic_drift = 0.02
			}
		}
		national_ideas_2_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				consumer_goods_factor = -0.1
			}
		}
		national_ideas_2_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_2_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_2_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				conscription = 0.005
			}
		}
		national_ideas_2_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 4 }
			}

			equipment_bonus = {
				carrier = {
					instant = yes
					carrier_size = 1
				}
			}

			modifier = {
				naval_speed_factor = 0.05
			}
		}
		national_ideas_2_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				amphibious_invasion = 0.15
			}
		}
		national_ideas_2_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				special_forces_cap = 0.1
			}
		}
		national_ideas_2_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 2 }
				check_variable = { completed_national_ideas > 6 }
			}

			rule = {
				can_only_justify_war_on_threat_country = no
			}
		}

		# ENG Ideas:
		national_ideas_3_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
			}

			modifier = {
				convoy_escort_efficiency = 0.1
				navy_submarine_detection_factor = 0.05
			}
		}
		national_ideas_3_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				experience_gain_navy = 0.1
			}
		}
		national_ideas_3_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				research_speed_factor = 0.05
			}
		}
		national_ideas_3_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				production_factory_efficiency_gain_factor = 0.05
			}
		}
		national_ideas_3_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				enemy_army_bonus_air_superiority_factor = -0.1
			}
		}
		national_ideas_3_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				navy_capital_ship_defence_factor = 0.1
				navy_screen_attack_factor = 0.1
			}
		}
		national_ideas_3_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				invasion_preparation = -0.1
			}
		}
		national_ideas_3_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				intel_from_operatives_factor = 0.2
			}
		}
		national_ideas_3_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 3 }
				check_variable = { completed_national_ideas > 6 }
			}

			rule = {
				can_declare_war_on_same_ideology = yes
			}
		}

		# ITA Ideas:
		national_ideas_4_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
			}

			modifier = {
				attrition = -0.05
				idea_cost_modifier = -0.05
			}
		}
		national_ideas_4_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				drift_defence_factor = 0.25
				fascism_drift = 0.02
			}
		}
		national_ideas_4_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				air_accidents_factor = -0.15
				air_wing_xp_loss_when_killed_factor = -0.1
			}
		}
		national_ideas_4_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				navy_screen_attack_factor = 0.1
				navy_screen_defence_factor = 0.05
			}
		}
		national_ideas_4_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				political_power_factor = 0.1
			}
		}
		national_ideas_4_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				invasion_preparation = -0.1
			}
		}
		national_ideas_4_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				army_morale_factor = 0.05
			}
		}
		national_ideas_4_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				production_speed_bunker_factor = 0.15
				production_speed_coastal_bunker_factor = 0.15
			}
		}
		national_ideas_4_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 4 }
				check_variable = { completed_national_ideas > 6 }
			}

			on_add = {
				add_research_slot = 1
				set_country_flag = national_ideas_4_8
			}

			on_remove = {
				if = {
					limit = {
						has_country_flag = national_ideas_4_8
					}
					add_research_slot = -1
					clr_country_flag = national_ideas_4_8
				}
			}
		}

		# SOV Ideas:
		national_ideas_5_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
			}

			modifier = {
				stability_factor = 0.05
				economy_cost_factor = -0.1
			}
		}
		national_ideas_5_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				production_speed_buildings_factor = 0.1
			}
		}
		national_ideas_5_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				political_power_factor = 0.1
			}
		}
		national_ideas_5_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				land_reinforce_rate = 0.05
			}
		}
		national_ideas_5_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				planning_speed = 0.15
			}
		}
		national_ideas_5_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				industrial_capacity_factory = 0.1
			}
		}
		national_ideas_5_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				army_core_attack_factor = 0.1
			}
		}
		national_ideas_5_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_org_factor = 0.05
				conscription_factor = 0.1
			}
		}
		national_ideas_5_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 5 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				nuclear_production_factor = 0.15
			}
		}

		# JAP Ideas:
		national_ideas_6_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
			}

			modifier = {
				supply_consumption_factor = -0.05
				experience_gain_army_factor = 0.05
			}
		}
		national_ideas_6_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				industrial_capacity_dockyard = 0.1
			}
		}
		national_ideas_6_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 1 }
			}

			equipment_bonus = {
				carrier = {
					instant = yes
					max_organisation = 0.05
				}
			}
		}
		national_ideas_6_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				invasion_preparation = -0.15
			}
		}
		national_ideas_6_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				army_infantry_attack_factor = 0.1
			}
		}
		national_ideas_6_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				naval_speed_factor = 0.05
			}
		}
		national_ideas_6_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 5 }
			}

			equipment_bonus = {
				carrier = {
					instant = yes
					carrier_size = 1
				}
			}
		}
		national_ideas_6_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_morale_factor = 0.05
			}
		}
		national_ideas_6_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 6 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				war_support_factor = 0.1
			}
		}

		# FRA Ideas:
		national_ideas_7_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
			}

			modifier = {
				resistance_growth_on_our_occupied_states = 0.15
				max_dig_in = 5
			}
		}
		national_ideas_7_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				production_speed_bunker_factor = 0.2
			}
		}
		national_ideas_7_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				idea_cost_modifier = -0.1
			}
		}
		national_ideas_7_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				industrial_capacity_factory = 0.1
			}
		}
		national_ideas_7_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				guarantee_cost = -0.1
				legitimacy_daily = 0.1
			}
		}
		national_ideas_7_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				acclimatization_hot_climate_gain_factor = 0.1
			}
		}
		national_ideas_7_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_7_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				conscription = 0.01
			}
		}
		national_ideas_7_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 7 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				enemy_operative_detection_chance_factor = 0.25
			}
		}

		# CAN Ideas:
		national_ideas_8_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
			}

			modifier = {
				send_volunteers_tension = -0.05
				send_volunteer_divisions_required = -0.1
			}
		}
		national_ideas_8_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				winter_attrition_factor = -0.1
			}
		}
		national_ideas_8_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				out_of_supply_factor = -0.1
			}
		}
		national_ideas_8_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 2 }
			}

			rule = {
				can_generate_female_aces = yes
			}

			modifier = {
				air_ace_generation_chance_factor = 0.05
			}
		}
		national_ideas_8_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				naval_coordination = 0.1
				navy_max_range_factor = 0.05
			}
		}
		national_ideas_8_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				air_night_penalty = -0.15
			}
		}
		national_ideas_8_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				max_dig_in_factor = 0.1
				dig_in_speed_factor = 0.1
			}
		}
		national_ideas_8_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				amphibious_invasion = 0.15
			}
		}
		national_ideas_8_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 8 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				autonomy_gain = 2
			}
		}

		# PRC Ideas:
		national_ideas_9_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
			}

			modifier = {
				communism_drift = 0.02
				political_power_factor = 0.1
			}
		}
		national_ideas_9_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				dig_in_speed_factor = 0.15
			}
		}
		national_ideas_9_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				army_org_factor = 0.05
			}
		}
		national_ideas_9_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				army_core_defence_factor = 0.1
			}
		}
		national_ideas_9_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				war_support_factor = 0.1
			}
		}
		national_ideas_9_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				production_speed_buildings_factor = 0.1
			}
		}
		national_ideas_9_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				recon_factor = 0.1
			}
		}
		national_ideas_9_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				justify_war_goal_time = -0.1
			}
		}
		national_ideas_9_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 9 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				industrial_capacity_factory = 0.1
			}
		}

		# CHI Ideas:
		national_ideas_10_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
			}

			modifier = {
				resistance_growth_on_our_occupied_states = 0.1
				max_dig_in_factor = 0.05
			}
		}
		national_ideas_10_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				experience_gain_army_factor = 0.1
			}
		}
		national_ideas_10_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				custom_modifier_tooltip = national_ideas_10_2_bonus
				hidden_modifier = {
					mobilization_laws_cost_factor = -0.1
					trade_laws_cost_factor = -0.1
					economy_cost_factor = -0.1
					political_advisor_cost_factor = -0.1
					tank_manufacturer_cost_factor = -0.1
					naval_manufacturer_cost_factor = -0.1
					aircraft_manufacturer_cost_factor = -0.1
					materiel_manufacturer_cost_factor = -0.1
					industrial_concern_cost_factor = -0.1
					theorist_cost_factor = -0.1
					army_chief_cost_factor = -0.1
					navy_chief_cost_factor = -0.1
					air_chief_cost_factor = -0.1
					high_command_cost_factor = -0.1
				}
			}
		}
		national_ideas_10_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				war_support_factor = 0.1
			}
		}
		national_ideas_10_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				army_infantry_attack_factor = 0.1
			}
		}
		national_ideas_10_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				army_defence_factor = 0.1
			}
		}
		national_ideas_10_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				production_speed_buildings_factor = 0.1
				industrial_capacity_factory = 0.05
			}
		}
		national_ideas_10_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				communism_drift = -0.02
			}
		}
		national_ideas_10_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 10 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				idea_cost_modifier = -0.15
			}
		}

		# Chinese Warlord Ideas:
		national_ideas_11_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
			}

			modifier = {
				consumer_goods_factor = -0.05
				training_time_army_factor = -0.05
			}
		}
		national_ideas_11_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				political_power_factor = 0.1
			}
		}
		national_ideas_11_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				political_advisor_cost_factor = -0.2
			}
		}
		national_ideas_11_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				army_attack_factor = 0.1
			}
		}
		national_ideas_11_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				war_support_factor = 0.1
			}
		}
		national_ideas_11_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				army_defence_factor = 0.1
			}
		}
		national_ideas_11_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				conscription = 0.005
			}
		}
		national_ideas_11_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_speed_factor = 0.05
			}
		}
		national_ideas_11_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 11 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				industrial_capacity_factory = 0.1
			}
		}

		# POL Ideas:
		national_ideas_12_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
			}

			modifier = {
				max_dig_in_factor = 0.05
			}
			targeted_modifier = {
				tag = GER
				defense_bonus_against = 0.1
			}
			targeted_modifier = {
				tag = SOV
				defense_bonus_against = 0.1
			}
		}
		national_ideas_12_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				cavalry_attack_factor = 0.15
				cavalry_defence_factor = 0.1
			}
		}
		national_ideas_12_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				enemy_justify_war_goal_time = 0.15
			}
		}
		national_ideas_12_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				stability_factor = 0.1
			}
		}
		national_ideas_12_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				fascism_acceptance = 25
				communism_acceptance = 25
				improve_relations_maintain_cost_factor = -0.5
			}
		}
		national_ideas_12_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_12_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				convoy_escort_efficiency = 0.1
				ships_at_battle_start = 0.05
			}
		}
		national_ideas_12_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				industry_free_repair_factor = 0.15
			}
		}
		national_ideas_12_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 12 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				research_speed_factor = 0.1
			}
		}

		# GER Neutrality Ideas:
		national_ideas_13_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_13_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				generate_wargoal_tension = -0.2
			}
		}
		national_ideas_13_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				max_dig_in_factor = 0.05
				dig_in_speed_factor = 0.05
			}
		}
		national_ideas_13_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				naval_coordination = 0.05
				navy_capital_ship_attack_factor = 0.1
			}
		}
		national_ideas_13_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				resistance_growth = -0.1
			}
		}
		national_ideas_13_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				stability_factor = 0.1
			}
		}
		national_ideas_13_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				air_weather_penalty = -0.1
				air_ace_generation_chance_factor = 0.1
			}
		}
		national_ideas_13_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				war_support_factor = 0.05
				industry_free_repair_factor = 0.1
			}
		}
		national_ideas_13_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 13 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_org_factor = 0.1
			}
		}

		# GRE Ideas:
		national_ideas_14_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
			}

			modifier = {
				drift_defence_factor = 0.25
				political_power_factor = 0.1
			}
		}
		national_ideas_14_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				production_speed_industrial_complex_factor = 0.2
			}
		}
		national_ideas_14_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				consumer_goods_factor = -0.05
				industrial_capacity_factory = 0.05
			}
		}
		national_ideas_14_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				production_speed_bunker_factor = 0.15
			}
		}
		national_ideas_14_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				justify_war_goal_time = -0.15
			}
		}
		national_ideas_14_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				army_core_defence_factor = 0.05
				army_org_factor = 0.05
			}
		}
		national_ideas_14_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				resistance_growth_on_our_occupied_states = 0.15
			}
		}
		national_ideas_14_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				idea_cost_modifier = -0.15
			}
		}
		national_ideas_14_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 14 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				production_speed_infrastructure_factor = 0.2
				production_speed_rail_way_factor = 0.2
			}
		}

		# SPR Ideas:
		national_ideas_15_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
			}

			modifier = {
				drift_defence_factor = 0.25
				army_core_attack_factor = 0.05
			}
		}
		national_ideas_15_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				stability_factor = 0.1
			}
		}
		national_ideas_15_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				experience_loss_factor = -0.05
				experience_gain_army = 0.05
			}
		}
		national_ideas_15_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				navy_capital_ship_attack_factor = 0.1
			}
		}
		national_ideas_15_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_15_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				justify_war_goal_time = -0.15
			}
		}
		national_ideas_15_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				subjects_autonomy_gain = -1
			}

			on_add = {
				every_other_country = {
					limit = {
						is_subject_of = ROOT
						NOT = { has_idea = spain_subject_ideology_drift_idea }
					}
					add_ideas = spain_subject_ideology_drift_idea
				}
			}

			on_remove = {
				every_other_country = {
					limit = {
						is_subject_of = ROOT
						has_idea = spain_subject_ideology_drift_idea
					}
					remove_ideas = spain_subject_ideology_drift_idea
				}
			}
		}
		national_ideas_15_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				non_core_manpower = 0.05
			}
		}
		national_ideas_15_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 15 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				attrition = -0.1
			}
		}

		# Imperial Chinese Ideas:
		national_ideas_16_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
			}

			modifier = {
				min_export = -0.05
				surrender_limit = 0.1
			}
		}
		national_ideas_16_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				research_speed_factor = 0.05
			}
		}
		national_ideas_16_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_16_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				war_support_factor = 0.1
			}
		}
		national_ideas_16_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				justify_war_goal_time = -0.1
				military_leader_cost_factor = -0.25
			}
		}
		national_ideas_16_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				experience_gain_army_factor = 0.1
				army_infantry_attack_factor = 0.05
			}
		}
		national_ideas_16_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				stability_factor = 0.05
				compliance_growth = 0.05
			}
		}
		national_ideas_16_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				conscription_factor = 0.1
				army_org_factor = 0.05
			}
		}
		national_ideas_16_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 16 }
				check_variable = { completed_national_ideas > 6 }
			}
		}

		# Imperial Greek Ideas:
		national_ideas_17_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
			}

			modifier = {
				idea_cost_modifier = -0.1
				drift_defence_factor = 0.33
			}
		}
		national_ideas_17_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_17_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				army_org_factor = 0.05
			}
		}
		national_ideas_17_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				stability_factor = 0.1
			}
		}
		national_ideas_17_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				justify_war_goal_time = -0.1
				resistance_growth = -0.1
			}
		}
		national_ideas_17_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				army_speed_factor = 0.1
				attrition = -0.05
			}
		}
		national_ideas_17_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				experience_loss_factor = -0.1
				army_attack_factor = 0.05
			}
		}
		national_ideas_17_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				production_speed_buildings_factor = 0.15
			}
		}
		national_ideas_17_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 17 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				research_speed_factor = 0.1
			}
		}
		# ROM Ideas:
		national_ideas_18_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
			}

			modifier = {
				air_doctrine_cost_factor = -0.1
			}

			research_bonus = {
				air_equipment = 0.05
			}

			picture = generic_research_bonus
		}
		national_ideas_18_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				join_faction_tension = -0.1
			}
		}
		national_ideas_18_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_18_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				local_resources_factor = 0.1
			}
		}
		national_ideas_18_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				fascism_drift = 0.02
			}
		}
		national_ideas_18_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				surrender_limit = 0.1
				war_support_factor = 0.05
			}
		}
		national_ideas_18_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				justify_war_goal_time = -0.1
				stability_factor = 0.05
			}
		}
		national_ideas_18_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_speed_factor = 0.05
			}

			equipment_bonus = {
				infantry = {
					instant = yes
					hard_attack = 0.15
				}
			}
		}
		national_ideas_18_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 18 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				fuel_gain_factor = 0.2
			}
		}
		# TUR Ideas:
		national_ideas_19_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
			}

			modifier = {
				economy_cost_factor = -0.1
				enemy_operative_detection_chance_factor = 0.05
			}
		}
		national_ideas_19_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				stability_factor = 0.1
			}
		}
		national_ideas_19_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_19_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				opinion_gain_monthly_factor = 0.1
				trade_opinion_factor = 0.1
			}
		}
		national_ideas_19_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				send_volunteers_tension = -0.1
				guarantee_tension = -0.1
			}
		}
		national_ideas_19_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_19_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				join_faction_tension = -0.15
			}

			equipment_bonus = {
				armor = {
					instant = yes
					build_cost_ic = -0.05
				}
			}
		}
		national_ideas_19_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 6 }
			}

			rule = {
				can_generate_female_aces = yes
			}

			modifier = {
				compliance_growth = 0.05
			}
		}
		national_ideas_19_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 19 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				industry_free_repair_factor = 0.2
			}
		}
		# Ottoman Ideas:
		national_ideas_20_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
			}

			modifier = {
				surrender_limit = 0.1
				production_speed_infrastructure_factor = 0.05
				production_speed_rail_way_factor = 0.05
			}
		}
		national_ideas_20_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				political_power_factor = 0.15
				legitimacy_daily = 0.1
			}
		}
		national_ideas_20_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 1 }
			}

			rule = {
				can_create_factions = yes
			}

			modifier = {
				join_faction_tension = -0.2
			}
		}
		national_ideas_20_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				stability_factor = 0.05
				resistance_growth = -0.05
			}
		}
		national_ideas_20_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				war_support_factor = 0.05
				attrition = -0.05
			}
		}
		national_ideas_20_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				non_core_manpower = 0.05
			}
		}
		national_ideas_20_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				army_speed_factor = 0.05
				army_artillery_attack_factor = 0.05
			}
		}
		national_ideas_20_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				justify_war_goal_time = -0.2
			}
		}
		national_ideas_20_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 20 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_org_factor = 0.1
			}
		}
		# Austro-Hungarian Ideas:
		national_ideas_21_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
			}

			modifier = {
				improve_relations_maintain_cost_factor = -0.1
				resistance_growth = -0.05
			}
		}
		national_ideas_21_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				local_resources_factor = 0.1
			}
		}
		national_ideas_21_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				production_speed_buildings_factor = 0.1
				industrial_capacity_factory = 0.05
			}
		}
		national_ideas_21_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				conscription_factor = 0.1
				stability_factor = 0.05
			}
		}
		national_ideas_21_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				trade_opinion_factor = 0.3
				improve_relations_maintain_cost_factor = -0.25
			}
		}
		national_ideas_21_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				justify_war_goal_time = -0.1
				war_support_factor = 0.05
			}
		}
		national_ideas_21_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 5 }
			}

			research_bonus = {
				naval_equipment = 0.05
			}

			modifier = {
				industrial_capacity_dockyard = 0.1
			}

			picture = generic_research_bonus
		}
		national_ideas_21_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				non_core_manpower = 0.05
			}
		}
		national_ideas_21_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 21 }
				check_variable = { completed_national_ideas > 6 }
			}

			on_add = {
				add_research_slot = 1
				set_country_flag = national_ideas_21_8
			}

			on_remove = {
				if = {
					limit = {
						has_country_flag = national_ideas_21_8
					}
					add_research_slot = -1
					clr_country_flag = national_ideas_21_8
				}
			}
		}
		# POR Ideas:
		national_ideas_22_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
			}

			modifier = {
				experience_gain_navy_factor = 0.05
				naval_mines_damage_factor = 0.05
			}
		}
		national_ideas_22_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				join_faction_tension = -0.1
				improve_relations_maintain_cost_factor = -0.15
			}
		}
		national_ideas_22_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				political_power_factor = 0.1
				fascism_acceptance = 25
			}
		}
		national_ideas_22_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				stability_factor = 0.05
			}
		}
		national_ideas_22_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				non_core_manpower = 0.05
			}
		}
		national_ideas_22_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				navy_capital_ship_attack_factor = 0.05
				naval_speed_factor = 0.05
			}
		}
		national_ideas_22_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_22_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_org_factor = 0.05
			}
		}
		national_ideas_22_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 22 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				spotting_chance = 0.2
			}
		}
		# SWE Ideas:
		national_ideas_23_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
			}

			modifier = {
				local_resources_factor = 0.05
				naval_invasion_capacity = 10
			}
		}
		national_ideas_23_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				political_power_factor = 0.1
			}
		}
		national_ideas_23_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				naval_speed_factor = 0.05
				naval_detection = 0.05
			}
		}
		national_ideas_23_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				min_export = -0.1
			}
		}
		national_ideas_23_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 3 }
			}

			on_add = {
				add_research_slot = 1
				set_country_flag = national_ideas_23_4
			}

			on_remove = {
				if = {
					limit = {
						has_country_flag = national_ideas_23_4
					}
					add_research_slot = -1
					clr_country_flag = national_ideas_23_4
				}
			}
		}
		national_ideas_23_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				policy_cost = -0.5
				max_allowed_policies = 1
			}
		}
		national_ideas_23_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				air_superiority_bonus_in_combat = 0.1
			}
		}
		national_ideas_23_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				mines_planting_by_air_factor = 0.05
				mines_sweeping_by_air_factor = 0.05
			}
		}
		national_ideas_23_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 23 }
				check_variable = { completed_national_ideas > 6 }
			}

			equipment_bonus = {
				capital_ship = {
					instant = yes
					build_cost_ic = -0.15
				}
			}
		}
		# HOL Ideas:
		national_ideas_24_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
			}

			modifier = {
				production_speed_dockyard_factor = 0.05
				production_speed_naval_base_factor = 0.05
			}
		}
		national_ideas_24_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				min_export = -0.05
				trade_laws_cost_factor = -0.1
			}
		}
		national_ideas_24_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				industrial_capacity_dockyard = 0.1
			}
		}
		national_ideas_24_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				air_superiority_efficiency = 0.05
				air_intercept_efficiency = 0.05
			}
		}
		national_ideas_24_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				trade_opinion_factor = 0.1
				opinion_gain_monthly_same_ideology_factor = 0.1
			}
		}
		national_ideas_24_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_24_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				spotting_chance = 0.05
				navy_capital_ship_attack_factor = 0.05
			}
		}
		national_ideas_24_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				naval_speed_factor = 0.05
				navy_max_range_factor = 0.05
			}
		}
		national_ideas_24_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 24 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				max_allowed_policies = 2
			}
		}
		# SAU Ideas:
		national_ideas_25_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
			}

			modifier = {
				neutrality_drift = 0.02
				war_support_factor = 0.05
			}
		}
		national_ideas_25_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				local_resources_factor = 0.1
				trade_opinion_factor = 0.1
			}
		}
		national_ideas_25_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				stability_factor = 0.1
			}
		}
		national_ideas_25_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				generate_wargoal_tension = -0.2
				justify_war_goal_time = -0.1
			}
		}
		national_ideas_25_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				acclimatization_hot_climate_gain_factor = 0.1
				heat_attrition_factor = -0.25
			}
		}
		national_ideas_25_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				army_core_attack_factor = 0.05
				army_core_defence_factor = 0.05
			}
		}
		national_ideas_25_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				resistance_growth_on_our_occupied_states = 0.15
			}
		}
		national_ideas_25_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				army_org_factor = 0.1
			}
		}
		national_ideas_25_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 25 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				conscription_factor = 0.15
			}
		}
		# SPR Revolutionary Ideas:
		national_ideas_26_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
			}

			modifier = {
				army_core_defence_factor = 0.05
				production_factory_efficiency_gain_factor = 0.05
			}
		}
		national_ideas_26_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				army_attack_factor = 0.1
			}
		}
		national_ideas_26_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				stability_factor = 0.1
			}
		}
		national_ideas_26_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_26_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				resistance_growth_on_our_occupied_states = 0.15
			}
		}
		national_ideas_26_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				industrial_capacity_factory = 0.05
				production_speed_buildings_factor = 0.1
			}
		}
		national_ideas_26_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				conscription = 0.01
				mobilization_speed = 0.1
			}
		}
		national_ideas_26_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				compliance_growth = 0.05
			}
		}
		national_ideas_26_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 26 }
				check_variable = { completed_national_ideas > 6 }
			}

			rule = {
				can_declare_war_without_wargoal_when_in_war = yes
			}
		}
		# SOV Neutrality Ideas:
		national_ideas_27_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
			}

			modifier = {
				neutrality_drift = 0.02
				party_popularity_stability_factor = 0.2
			}
		}
		national_ideas_27_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				resistance_growth = -0.1
			}
		}
		national_ideas_27_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				justify_war_goal_time = -0.15
				political_power_factor = 0.05
			}
		}
		national_ideas_27_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				industrial_capacity_dockyard = 0.1
				ship_hull_heavy_design_cost_factor = -0.5
			}
		}
		national_ideas_27_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				production_speed_infrastructure_factor = 0.1
				production_speed_rail_way_factor = 0.1
				economy_cost_factor = -0.1
			}
		}
		national_ideas_27_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				land_doctrine_cost_factor = -0.1
			}
		}
		national_ideas_27_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				non_core_manpower = 0.1
			}
		}
		national_ideas_27_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				production_speed_industrial_complex_factor = 0.1
				political_advisor_cost_factor = -0.15
			}
		}
		national_ideas_27_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 27 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				conscription_factor = 0.15
			}
		}
		# BEL Ideas:
		national_ideas_28_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
			}

			modifier = {
				production_factory_efficiency_gain_factor = 0.05
				production_lack_of_resource_penalty_factor = -0.05
			}
		}
		national_ideas_28_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				political_power_factor = 0.1
			}
		}
		national_ideas_28_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				enemy_justify_war_goal_time = 0.1
				defensive_war_stability_factor = 0.1
			}
		}
		national_ideas_28_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				naval_speed_factor = 0.1
				ship_hull_light_design_cost_factor = -0.25
			}
		}
		national_ideas_28_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				industrial_capacity_dockyard = 0.1
				production_speed_dockyard_factor = 0.1
			}
		}
		national_ideas_28_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				min_export = -0.05
				trade_opinion_factor = 0.1
			}
		}
		national_ideas_28_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				local_resources_factor = 0.05
				resistance_growth = -0.1
			}
		}
		national_ideas_28_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				non_core_manpower = 0.05
			}
		}
		national_ideas_28_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 28 }
				check_variable = { completed_national_ideas > 6 }
			}

			on_add = {
				add_research_slot = 1
				set_country_flag = national_ideas_28_8
			}

			on_remove = {
				if = {
					limit = {
						has_country_flag = national_ideas_28_8
					}
					add_research_slot = -1
					clr_country_flag = national_ideas_28_8
				}
			}
		}
		# SWI Ideas:
		national_ideas_29_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
			}

			modifier = {
				democratic_drift = 0.02
				attrition = -0.05
			}
		}
		national_ideas_29_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				enemy_justify_war_goal_time = 0.1
				resistance_growth_on_our_occupied_states = 0.1
			}
		}
		national_ideas_29_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				research_speed_factor = 0.05
			}
		}
		national_ideas_29_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				army_defence_factor = 0.05
				max_dig_in_factor = 0.1
			}
		}
		national_ideas_29_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_29_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				recon_factor = 0.05
				air_home_defence_factor = 0.1
			}
		}
		national_ideas_29_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				supply_consumption_factor = -0.05
			}
		}
		national_ideas_29_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				special_forces_cap = 0.1
				terrain_penalty_reduction = 0.05
			}
		}
		national_ideas_29_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 29 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				compliance_growth = 0.1
			}
		}
		# PER Ideas:
		national_ideas_30_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
			}

			modifier = {
				industrial_capacity_factory = 0.05
				local_resources_factor = 0.05
			}
		}
		national_ideas_30_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				generate_wargoal_tension = -0.2
			}
		}
		national_ideas_30_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				join_faction_tension = -0.1
				fascism_acceptance = 10
				communism_acceptance = 10
				democratic_acceptance = 10
				neutrality_acceptance = 10
			}
		}
		national_ideas_30_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				production_speed_infrastructure_factor = 0.15
				production_speed_rail_way_factor = 0.15
			}
		}
		national_ideas_30_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				research_speed_factor = 0.05
			}
		}
		national_ideas_30_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				political_power_factor = 0.15
			}
		}
		national_ideas_30_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				stability_factor = 0.05
			}
		}
		national_ideas_30_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				conscription = 0.01
			}
		}
		national_ideas_30_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 30 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				production_factory_efficiency_gain_factor = 0.1
			}
		}
		# HUN Ideas:
		national_ideas_31_0 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
			}

			modifier = {
				production_speed_buildings_factor = 0.05
				global_building_slots_factor = 0.05
			}
		}
		national_ideas_31_1 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 0 }
			}

			modifier = {
				war_support_factor = 0.05
				generate_wargoal_tension = -0.1
			}
		}
		national_ideas_31_2 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 1 }
			}

			modifier = {
				production_speed_bunker_factor = 0.15
				max_dig_in_factor = 0.1
			}
		}
		national_ideas_31_3 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 2 }
			}

			modifier = {
				army_attack_factor = 0.05
				justify_war_goal_time = -0.1
			}
		}
		national_ideas_31_4 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 3 }
			}

			modifier = {
				air_doctrine_cost_factor = -0.1
				fascism_acceptance = 10
			}
		}
		national_ideas_31_5 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 4 }
			}

			modifier = {
				stability_factor = 0.05
			}
		}
		national_ideas_31_6 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 5 }
			}

			modifier = {
				experience_gain_navy = 0.05
				naval_enemy_retreat_chance = 0.05
			}
		}
		national_ideas_31_7 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				conscription = 0.01
			}
		}
		national_ideas_31_8 = {
			allowed = {
				always = no
			}
			allowed_civil_war = {
				always = yes
			}
			cancel_if_invalid = yes
			visible = {
				check_variable = { national_ideas_id = 31 }
				check_variable = { completed_national_ideas > 6 }
			}

			modifier = {
				resistance_growth = -0.1
			}
		}
	}
}