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