ideas = {
	hidden_ideas = {
		GEN_cheaper_amphib = {
			allowed = {
				always = no # Triggered via tech
			}
			picture = generic_fascism_drift_bonus
			equipment_bonus = {
				amphibious_mechanized_equipment = {
					build_cost_ic = -0.15 instant = yes
				}
			}
			ai_will_do = {
				factor = 0
			}
		}

		anti_soviet_pact = {
			
			removal_cost = -1 # Or make removable, with high cost?

			available = {
				is_subject = no
				if = {  #anti_soviet_pact has collapsed
					limit = {
						is_in_faction = yes
						NOT = { is_in_faction_with = GER } 
					} 
					NOT = { has_war_with = GER }
					NOT = {
						any_country = {
							is_in_faction_with = ROOT
							has_war_with = GER
						}
					}
				}
				NOT = { GER = { has_country_flag = LSM_eligibility_nation } } #anti soviet pact has collapsed
			}
			
			allowed = {
				always = no
			}
	
			ai_will_do = {
				factor = 0
			}

			on_add = {
				if = {
					limit = { 
						OR = {
							tag = GER
							is_in_faction_with = GER
							is_subject_of = GER 
						}
					}
					add_ideas = anti_soviet_pact_2
				}
				remove_relation_modifier = {
					target = SOV
					modifier = LSM_coordinate_rearmament
				}	
				remove_opinion_modifier = {
					target = SOV
					modifier = trade_relation_bonus_high
				}
				SOV = {
					remove_opinion_modifier = {
						target = PREV
						modifier = trade_relation_bonus_high
					}
					add_relation_modifier = {
						target = ROOT
						modifier = LSM_coordinate_rearmament
					}
				}
				remove_opinion_modifier = {
					target = SOV
					modifier = trade_relation_bonus_high_1
				}
				SOV = {
					remove_opinion_modifier = {
						target = ROOT
						modifier = trade_relation_bonus_high_1
					}
				}
			}

			picture = anti_soviet_pact
		}
	}
	country = {

		anti_soviet_pact_2 = {
			
			removal_cost = -1

			available = {
				is_subject = no
			}
			
			allowed = {
				always = no
			}
	
			ai_will_do = {
				factor = 0
			}

			picture = anti_soviet_pact
		}

		fascist_assault_divisions = {
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_fascism_drift_bonus
			
			modifier = {
				stability_factor = -0.05
				conscription = 0.002
				fascism_drift = 0.05
			}
	
			ai_will_do = {
				factor = 0
			}
		}
	
		communist_partisans_recruiting = {
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_communism_drift_bonus
			
			modifier = {
				conscription = -0.002
				communism_drift = 0.05
			}
	
			ai_will_do = {
				factor = 0
			}
		}
	
		democratic_opposition_voicing_protests = {
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_democratic_drift_bonus
			
			modifier = {
				political_power_factor = -0.2
				democratic_drift = 0.05
			}
	
			ai_will_do = {
				factor = 0
			}
		}

		fascist_revolutionaries = {
			
			removal_cost = -1
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_fascism_drift_bonus
			
			modifier = {
				stability_factor = -0.1
			}
		}

		communist_revolutionaries = {
			
			removal_cost = -1
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_communism_drift_bonus
			
			modifier = {
				stability_factor = -0.1
			}
		}

		democratic_revolutionaries = {
			
			removal_cost = -1
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_democratic_drift_bonus
			
			modifier = {
				stability_factor = -0.1
			}
		}


		fascism_defeated = {
			removal_cost = -1
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_democratic_drift_bonus
			
			modifier = {
				stability_factor = 0.1
			}
		}

		communism_defeated = {
			removal_cost = -1
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_democratic_drift_bonus
			
			modifier = {
				stability_factor = 0.1
			}
		}
		
		reign_of_terror = {
			removal_cost = -1
			
			allowed = {
				always = no # Triggered via event
			}

			picture = generic_intel_bonus
			
			modifier = {
				political_power_factor = 0.2
				stability_weekly = 0.005
			}
		}

		anti_soviet_pact_refused_call = {

			picture = generic_communism_drift_bonus
			
			removal_cost = -1 # Or make removable, with high cost?
			
			allowed = {
				always = no # Triggered via event
			}
	
			ai_will_do = {
				factor = 0
			}

			modifier = {
				stability_factor = -0.1
				communism_drift = 0.05
			}
		}

		anti_nazi_coup = {			
			
			allowed = {
				always = no
			}
			removal_cost = -1

			picture = generic_democratic_drift_bonus
			
			modifier = {
				fascism_acceptance = -50
			}
		}
		
		shattered_government = {
			
			allowed = {
				always = no
			}
			removal_cost = -1
			
			picture = generic_democratic_drift_bonus
			
			modifier = {
				stability_factor = -0.1
			}
		}
		
		political_turmoil = {
			
			allowed = {
				always = no
			}
			removal_cost = -1
			
			picture = FRA_scw_intervention_republicans_focus
			
			modifier = {
				stability_factor = -0.1
				war_support_factor = -0.1
			}
		}
		
		cruiser_submarine_specialization = {
			allowed = { always = no }
			removal_cost = -1
			picture = generic_naval_manufacturer_2
			modifier = {
				sp_naval_cruiser_submarine_speed_factor = 1
			}
			equipment_bonus = {
				cruiser_submarine = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}

		cruiser_submarine_specialization_mtg = {
			name = cruiser_submarine_specialization
			allowed = { always = no }
			removal_cost = -1
			picture = generic_naval_manufacturer_2
			modifier = {
				sp_naval_cruiser_submarine_speed_factor = 1
			}
			equipment_bonus = {
				ship_hull_cruiser_submarine = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}

		fleet_submarine_specialization_mtg = {
			name = USA_fleet_submarines
			picture = generic_naval_manufacturer_2
			removal_cost = -1

			allowed = { always = no }

			modifier = {
				sp_naval_fleet_submarine_speed_factor = 1
			}
			equipment_bonus = {
				ship_hull_fleet_submarine = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}

		fleet_submarine_specialization = {
			name = USA_fleet_submarines
			picture = generic_naval_manufacturer_2
			removal_cost = -1
			
			allowed = { always = no }

			modifier = {
				sp_naval_fleet_submarine_speed_factor = 1
			}
			equipment_bonus = {
				fleet_submarine = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}

		torpedo_cruisers_ns = {
			name = JAP_torpedo_cruisers
			allowed = { always = no }
			removal_cost = -1
			picture = generic_sea_focused_navy
			modifier = {
				sp_naval_torpedo_cruiser_speed_factor = 1
			}
			equipment_bonus = {
				torpedo_cruiser = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}

		torpedo_cruisers_ns_mtg = {
			name = JAP_torpedo_cruisers
			allowed = { always = no }
			removal_cost = -1
			picture = generic_sea_focused_navy
			modifier = {
				sp_naval_torpedo_cruiser_speed_factor = 1
			}
			equipment_bonus = {
				ship_hull_torpedo_cruiser = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}

		habakkuk_carriers_ns = {
			name = CAN_habakkuk_carrier
			allowed = { always = no }
			removal_cost = -1
			picture = generic_sea_focused_navy
			modifier = {
				sp_naval_ice_carrier_speed_factor = 1
			}
			equipment_bonus = {
				mega_carrier = {
					instant = yes
					build_cost_ic = -0.15
				}
			}
		}

		habakkuk_carriers_ns_mtg = {
			name = CAN_habakkuk_carrier
			allowed = { always = no }
			removal_cost = -1
			picture = generic_sea_focused_navy
			modifier = {
				sp_naval_ice_carrier_speed_factor = 1
			}
			equipment_bonus = {
				ship_hull_mega_carrier = {
					instant = yes
					build_cost_ic = -0.15
				}
			}
		}
		
		midget_submarine_specialization = {
			allowed = { always = no }
			removal_cost = -1
			picture = generic_naval_manufacturer_1
			modifier = {
				sp_naval_midget_submarine_speed_factor = 1
			}
			equipment_bonus = {
				midget_submarine = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}

		midget_submarine_specialization_mtg = {
			name = midget_submarine_specialization
			allowed = { always = no }
			removal_cost = -1
			picture = generic_naval_manufacturer_1
			modifier = {
				sp_naval_midget_submarine_speed_factor = 1
			}
			equipment_bonus = {
				ship_hull_midget_submarine = {
					instant = yes
					build_cost_ic = -0.1
				}
			}
		}
	}
}