ideas = {

	hidden_ideas = {
		counter_german_advisors = {
		
			allowed = {
				always = no
			}

			allowed_civil_war = {
				NOT = {
					has_government = communism
				}
			}

			removal_cost = -1
			
			modifier = {
				land_doctrine_cost_factor = 0.11
			}
		}
		
		closed_economy_ns = {  #workaround to fix a bug from vanilla
	
			picture = free_trade

			allowed = {
				always = yes
			}

			available = {
				NOT = {
					OR = {	
						is_in_faction = yes
						is_subject = yes
					}
				}
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1
			
			modifier = {
				min_export = -1.00
			}
		}
		
		LSM_neutrality_idea_hidden = { 
	
			picture = free_trade

			allowed = {
				always = yes
			}

			available = {
				is_in_faction = no
				has_war = no
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1
			
			modifier = {
				ai_get_ally_desire_factor = -300
				ai_join_ally_desire_factor = -300
			}
		}

		recently_changed_conscription_law_idea = { #for some reasons, ENG AI alone is able to bypass the flag restriction

			allowed = {
				always = yes
			}
	
			removal_cost = -1
		}
		
		LSM_dont_have_fun = {

			allowed = {
				always = yes
			}

			available = {
				date < 1940.1.1
				threat < 0.80
			}

			allowed_civil_war = {
				always = no
			}
					
			on_remove = {
				add_ideas = LSM_have_fun	
			}
	
			removal_cost = -1
			
			modifier = {
			}
		}
		
		LSM_have_fun = {

			allowed = {
				always = yes
			}

			available = {
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1
			
			modifier = {
				ai_get_ally_desire_factor = 10
			}
		}

		spy_test = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = no
			}

			modifier = {
				operative_slot = 2
			}
		}

		LSM_alone_idea = {
			allowed = {
				always = yes
			}

			available = {
				NOT = {
					any_country = {
						has_war_with = ROOT
						is_major = yes
					}
				}
				NOT = {
					any_country = {
						is_in_faction_with = ROOT
						is_major = yes
						has_war = yes
					}
				}
			}

			allowed_civil_war = {
				always = no
			}

			modifier = {
				ai_get_ally_desire_factor = -1000
			}
		}

		
		LSM_military_attache_to_spain_SOV = { #deactivated
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				any_country = {
					original_tag = SPR
					has_civil_war = yes
					OR = {
						has_government = democratic
						has_government = communism
					}
				}
				NOT = { SOV = { has_tech = human_wave_offensive } }
			}
		
			on_remove = {
				add_political_power = -5
			}

			picture = SPR_international_brigades

			removal_cost = -1
		}
		
		LSM_military_attache_to_china = { #deactivated
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				NOT = {	
					GER = {
						OR = {
							has_war_with = POL
							focus_progress = {
								focus = GER_danzig_or_war
								progress > 0
							}
							has_completed_focus = GER_danzig_or_war
						}
					}
				}
				CHI = { has_war_with = JAP }
				date < 1939.8.1
			}
		
			on_remove = {
				add_political_power = -50
			}

			picture = CZE_planning_bonus

			removal_cost = -1
		}
		
		LSM_military_attache_to_japan = { #deactivated
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				NOT = {	
					GER = {
						OR = {
							has_war_with = POL
							focus_progress = {
								focus = GER_danzig_or_war
								progress > 0
							}
							has_completed_focus = GER_danzig_or_war
						}
					}
				}
				CHI = { has_war_with = JAP }
				date < 1939.8.1
			}
		
			on_remove = {
				add_political_power = -50
			}

			picture = CZE_planning_bonus

			removal_cost = -1
		}

		booming_international_trade = { #not for everybody
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = no
			}
			available = {
				has_war = no
			}
			equipment_bonus = {
				convoy = {
					build_cost_ic = -0.33
					instant = yes
				}
			}
		}

		transatlantic_express = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = no
			}
			available = {
				has_war = no
			}
			equipment_bonus = {
				convoy = {
					naval_speed = 0.15
					instant = yes
				}
			}
		}

		
		pure_manpower_reinforcement = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				NOT = {
					any_country = {
						has_war_with = ROOT
						NOT = { tag = ITA }
					}
				}
			}
			
			removal_cost = -1
		}

		
		ahistorical_gameplay = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_damage_to_garrison = -0.25
				required_garrison_factor = -0.25
			}
		}

		
		ahistorical_gameplay_b = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_damage_to_garrison = -0.25
				required_garrison_factor = -0.25
				ai_join_ally_desire_factor = -300
			}
		}

		
		ahistorical_gameplay_1939 = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				OR = {
					threat < 0.50
					date < 1939.1.1
				}
				OR = {
					NOT = { has_focus_tree = generic_focus }
					is_in_faction = no
				}
			}

			on_remove = {
				add_ideas = ahistorical_gameplay
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_damage_to_garrison = -0.25
				required_garrison_factor = -0.25
				ai_join_ally_desire_factor = -300
			}
		}

		
		ahistorical_gameplay_1941 = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				OR = {
					threat < 0.99
					date < 1941.1.1
				}
				OR = {
					NOT = { has_focus_tree = generic_focus }
					is_in_faction = no
				}
			}

			on_remove = {
				add_ideas = ahistorical_gameplay
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_damage_to_garrison = -0.25
				required_garrison_factor = -0.25
				ai_join_ally_desire_factor = -300
			}
		}


		SWE_ball_bearing_idea_a = {
			picture = can_wartime_prices_and_trade_board
			allowed = {
				always = yes
			}

			cancel = {
				has_war_with = SWE
			}

			equipment_bonus = {

				light_tank_destroyer_chassis = {
					build_cost_ic = -0.08  instant = yes
				}

				light_tank_aa_chassis = {
					build_cost_ic = -0.08  instant = yes
				}

				light_tank_artillery_chassis = {
					build_cost_ic = -0.08  instant = yes
				}

				medium_tank_destroyer_chassis = {
					build_cost_ic = -0.05  instant = yes
				}

				medium_tank_aa_chassis = {
					build_cost_ic = -0.06  instant = yes
				}

				medium_tank_artillery_chassis = {
					build_cost_ic = -0.06  instant = yes
				}

				heavy_tank_destroyer_chassis = {
					build_cost_ic = -0.05  instant = yes
				}

				heavy_tank_aa_chassis = {
					build_cost_ic = -0.05  instant = yes
				}

				heavy_tank_artillery_chassis = {
					build_cost_ic = -0.05  instant = yes
				}

				small_plane_cas_airframe = {
					build_cost_ic = -0.08 instant = yes
				}

				cv_small_plane_cas_airframe = {
					build_cost_ic = -0.08 instant = yes
				}

				small_plane_naval_bomber_airframe = {
					build_cost_ic = -0.08 instant = yes
				}

				cv_small_plane_naval_bomber_airframe = {
					build_cost_ic = -0.08 instant = yes
				}

				small_plane_suicide_airframe = {
					build_cost_ic = -0.08 instant = yes
				}

				cv_small_plane_suicide_airframe = {
					build_cost_ic = -0.08 instant = yes
				}

				medium_plane_fighter_airframe = {
					build_cost_ic = -0.06 instant = yes
				}

				medium_plane_scout_plane_airframe = {
					build_cost_ic = -0.06 instant = yes
				}

				large_plane_maritime_patrol_plane_airframe = {
					build_cost_ic = -0.05 instant = yes
				}
			}
		}
		
		surrender_limit_offset = { 
	
			picture = general_staff

			allowed = {
				always = yes
			}

			available = {
				has_capitulated = no
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1

			modifier = {
				surrender_limit = -0.2
			}
		}
		
		surrender_limit_offset_2 = { 
	
			picture = general_staff

			allowed = {
				always = yes
			}

			available = {
				has_capitulated = no
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1

			modifier = {
				surrender_limit = -1.0
				forced_surrender_limit = -1.0
			}
		}
		
		challenged_by_the_general_staff = { 
	
			picture = general_staff

			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1
		}
		
		convoy_panic = { 
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				convoy_retreat_speed = 0.25
				navy_fuel_consumption_factor = 0.1
			}
		}
		
		evacuation_from_france = { #deactivated
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
		}
		
		eco_banned = { 
			allowed = {
				always = yes
			}

			available = {
				is_ai = yes
			}
			
			removal_cost = -1
			
			modifier = {
				trade_laws_cost_factor = 20
			}
		}
		
		low_tension_wargoal_justification = { #will be removed later #deactivated
			allowed = {
				always = yes
			}

			available = {
				threat < 0.1
				OR = {
					has_government = communism
					has_government = fascism
				}
			}
			
			removal_cost = -1
		}
		
		temporary_debug_idea_port = { #is removed
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
		}
		
		temporary_debug_idea_navy = { #will be removed later
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				ai_focus_naval_factor = -0.75
			}
		}

		
		CHI_morale_loss_608 = { #will be removed later
			allowed = {
				always = yes
			}

			available = {
				NOT = { controls_state = 608 }
			}

			on_add = {
				add_timed_idea = { idea = CHI_civil_war_deserters days = 30 }
			}
			
			removal_cost = -1
			
			modifier = {
				land_reinforce_rate = -0.05
				army_org_factor = -0.2
				army_morale_factor = -0.2
				army_core_defence_factor = -0.2
				army_core_attack_factor = -0.2
				surrender_limit = -0.10
			}
		}
		
		CHI_morale_loss_605 = { #will be removed later
			allowed = {
				always = yes
			}

			available = {
				NOT = { controls_state = 605 }
			}

			on_add = {
				add_timed_idea = { idea = CHI_civil_war_deserters days = 30 }
			}
			
			removal_cost = -1
			
			modifier = {
				land_reinforce_rate = -0.05
				army_org_factor = -0.2
				army_morale_factor = -0.2
				army_core_defence_factor = -0.2
				army_core_attack_factor = -0.2
				surrender_limit = -0.10
			}
		}
		
		CHI_morale_loss_613 = { #will be removed later
			allowed = {
				always = yes
			}

			available = {
				NOT = { controls_state = 613 }
			}

			on_add = {
				add_timed_idea = { idea = CHI_civil_war_deserters days = 30 }
			}
			
			removal_cost = -1
			
			modifier = {
				land_reinforce_rate = -0.05
				army_org_factor = -0.2
				army_morale_factor = -0.2
				army_core_defence_factor = -0.2
				army_core_attack_factor = -0.2
				surrender_limit = -0.10
			}
		}
		
		CHI_morale_loss_716 = { #will be removed later
			allowed = {
				always = yes
			}

			available = {
				NOT = { controls_state = 716 }
			}

			on_add = {
				add_timed_idea = { idea = CHI_civil_war_deserters days = 30 }
			}
			
			removal_cost = -1
			
			modifier = {
				land_reinforce_rate = -0.05
				army_org_factor = -0.2
				army_morale_factor = -0.2
				army_core_defence_factor = -0.2
				army_core_attack_factor = -0.2
				surrender_limit = -0.10
			}
		}
		
		ENG_homeland_resistance_unorganised_1 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
					}
					add_timed_idea = { idea = ENG_homeland_resistance_unorganised_2 days = 300 }
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.05
				compliance_growth_on_our_occupied_states = -0.05
				resistance_target_on_our_occupied_states = 0.05
			}
		}
		
		ENG_homeland_resistance_unorganised_2 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01	
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
					}
					add_timed_idea = { idea = ENG_homeland_resistance_unorganised_3 days = 250 }
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.1
				compliance_growth_on_our_occupied_states = -0.1
				resistance_target_on_our_occupied_states = 0.05
			}
		}
		
		ENG_homeland_resistance_unorganised_3 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01	
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
					}
				add_timed_idea = { idea = ENG_homeland_resistance_unorganised_4 days = 200 }
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.15
				compliance_growth_on_our_occupied_states = -0.15
				resistance_target_on_our_occupied_states = 0.05
			}
		}
		
		ENG_homeland_resistance_unorganised_4 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01	
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
					}
					add_timed_idea = { idea = ENG_homeland_resistance_unorganised_5 days = 180 }
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.2
				compliance_growth_on_our_occupied_states = -0.2
				resistance_damage_to_garrison_on_our_occupied_states = 0.1 
				resistance_target_on_our_occupied_states = 0.05
			}
		}
		
		ENG_homeland_resistance_unorganised_5 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01	
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
					}
					add_timed_idea = { idea = ENG_homeland_resistance_organised_1 days = 150 }
					every_state = {
						limit = { is_core_of = ENG }
						add_dynamic_modifier = { modifier = ENG_clash_with_militia }
					}
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.25
				compliance_growth_on_our_occupied_states = -0.25
				resistance_damage_to_garrison_on_our_occupied_states = 0.25 
				resistance_target_on_our_occupied_states = 0.05
			}
		}
		
		ENG_homeland_resistance_organised_1 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01
				any_state = {
					is_core_of = ENG 
					is_owned_by = ENG
					controller = { has_war_with = ENG }
					resistance > 9.9
				}	
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
						any_state = {
							is_core_of = ENG 
							is_owned_by = ENG
							controller = { has_war_with = ENG }
							resistance > 9.9
						}
					}
					add_timed_idea = { idea = ENG_homeland_resistance_organised_2 days = 180 }
					set_global_flag = british_homeland_resistance_organised_flag
					news_event = { hours = 12 id = lsm_news.200 }  
					every_state = { 
						limit = { 
							is_core_of = ENG
						}
						add_dynamic_modifier = { modifier = ENG_clash_with_militia }
					}
				}
				if = { 
					limit = {  
						ENG = { 
							all_core_state = {	
								resistance < 10
							}
						}
					}
					british_resistance_destroyed = yes
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.3
				compliance_growth_on_our_occupied_states = -0.3
				resistance_damage_to_garrison_on_our_occupied_states = 0.3 
				resistance_target_on_our_occupied_states = 0.1
			}
		}
		
		ENG_homeland_resistance_organised_2 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01
				any_state = {
					is_core_of = ENG
					is_owned_by = ENG
					controller = { has_war_with = ENG }
					resistance > 9.9
				}		
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
						any_state = {
							is_core_of = ENG  
							is_owned_by = ENG
							controller = { has_war_with = ENG }
							resistance > 9.9
						}
					}
					add_timed_idea = { idea = ENG_homeland_resistance_organised_3 days = 150 }
				}
				if = { 
					limit = {  
						ENG = { 
							all_core_state = {
								resistance < 10
							}
						}
					}
					british_resistance_destroyed = yes
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.35
				compliance_growth_on_our_occupied_states = -0.35
				resistance_damage_to_garrison_on_our_occupied_states = 0.35 
				resistance_target_on_our_occupied_states = 0.2
			}
		}
		
		ENG_homeland_resistance_organised_3 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01
				any_state = {
					is_core_of = ENG 
					is_owned_by = ENG
					controller = { has_war_with = ENG }
					resistance > 9.9
				}				
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
						any_state = {
							is_core_of = ENG  
							is_owned_by = ENG
							controller = { has_war_with = ENG }
							NOT = { is_core_of = FRA } 
							resistance > 9.9
						}
					}
					add_timed_idea = { idea = ENG_homeland_resistance_organised_4 days = 120 }
				}
				if = {
					limit = {  
						ENG = { 
							all_core_state = {
									resistance < 10
							}
						}
					}
					british_resistance_destroyed = yes
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.4
				compliance_growth_on_our_occupied_states = -0.4
				resistance_damage_to_garrison_on_our_occupied_states = 0.4
				resistance_target_on_our_occupied_states = 0.3
			}
		}
		
		ENG_homeland_resistance_organised_4 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01
				any_state = {
					is_core_of = ENG 
					is_owned_by = ENG
					controller = { has_war_with = ENG }
					resistance > 9.9
				}			
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
						any_state = {
							is_core_of = ENG  
							is_owned_by = ENG
							NOT = { is_core_of = FRA } 
							controller = { has_war_with = ENG }
							resistance > 9.9
						}
					}
					add_timed_idea = { idea = ENG_homeland_resistance_organised_5 days = 30 }
					every_country = {
						limit = {
							has_war_with = ENG
							capital_scope = { is_on_continent = europe }
						}
						country_event = { id = LSM_ENG_churchill.665 hours = 4 }
					}
				}
				if = { 
					limit = {  
						ENG = { 
							all_core_state = {
									resistance < 10
							}
						}
					}
					british_resistance_destroyed = yes
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states  = 0.4
				compliance_growth_on_our_occupied_states = -0.4
				resistance_damage_to_garrison_on_our_occupied_states = 0.4 
				resistance_target_on_our_occupied_states = 0.4
			}
		}
		
		ENG_homeland_resistance_organised_5 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01		
			}
		
			on_remove = {
				every_country = { 
					limit = {
						has_war_with = ENG
						any_controlled_state = { 
							is_core_of = ENG 
							NOT = { is_core_of = PREV }
						}
					}
					set_country_flag = ENG_target_of_vengeance
				}
				add_timed_idea = { idea = ENG_homeland_resistance_organised_6 days = 365 }
				ENG = { country_event = { id = LSM_ENG_churchill.666 hours = 2 } }
				news_event = { hours = 12 id = lsm_news.201 }
			}
			
			removal_cost = -1
			
			modifier = {
				compliance_growth_on_our_occupied_states = -1
			}
		}
		
		ENG_homeland_resistance_organised_6 = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
				surrender_progress > 0.01	
			}
		
			on_remove = {
				if = { 
					limit = { 
						has_war = yes
						surrender_progress > 0.01
					}
				add_timed_idea = { idea = ENG_homeland_resistance_organised_7 days = 1825 }
				}
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states = 0.25
				compliance_growth_on_our_occupied_states = -0.25
				resistance_damage_to_garrison_on_our_occupied_states = 0.25
				resistance_target_on_our_occupied_states = 0.25
			}
		}
		
		ENG_homeland_resistance_organised_7 = { 
			allowed = {
				always = yes
			}

			available = {
				always = yes	
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_growth_on_our_occupied_states = -0.25
				compliance_growth_on_our_occupied_states = 0.25
				resistance_damage_to_garrison_on_our_occupied_states = -0.25
				resistance_target_on_our_occupied_states = -0.25
			}
		}
		
		LSM_production_licensing_idea = { 
			
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}

			removal_cost = -1
			
			modifier = {
				hidden_modifier = {
					license_tech_difference_speed = 0.25
				}
			}
		}
		
		LSM_production_licensing_idea2 = { 
			
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}

			removal_cost = -1
			
			modifier = {
				hidden_modifier = {
					license_production_speed = 0.25
				}
			}
		}
		
		AI_aggressive = { #we have been training for years
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}

			removal_cost = -1
		}
		
		AI_aggressive_2 = { #we have been training for years
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}

			removal_cost = -1
		}
		
		d_day_preparation_1 = { #we have been training for years
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war_with = GER
			}

			removal_cost = -1
		}
		
		d_day_preparation_2 = { #we are first wave ashore
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war_with = GER
			}
		
			on_add = {
				add_timed_idea = { idea = AI_aggressive days = 120 }
			}

			on_remove = {
				if = {
					limit = { has_global_flag = d_day_was_a_success }
					add_ideas = d_day_preparation_3
				}
				if = {
					limit = { NOT = { has_global_flag = d_day_was_a_success } }
					add_ideas = d_day_preparation_1
				}
				if = {
					limit = { 16 = { controller = { tag = FRA } } }
					add_ideas = d_day_preparation_3
					remove_ideas = d_day_preparation_1
				}
			}

			removal_cost = -1
			
			modifier = {
				invasion_preparation = -0.5 #check if this is necessary still, cuz it might not
			}
		}
		
		d_day_preparation_3 = { #we are first ones to fall
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_global_flag = d_day_was_a_success
				has_war_with = GER
			}

			on_remove = {
				if = {
					limit = { NOT = { has_global_flag = d_day_was_a_success } }
					add_timed_idea = { idea = d_day_preparation_2 days = 120 }
				}
			}

			removal_cost = -1
			
			modifier = {
				land_night_attack = 0.10 #see that flash of light? the germans are there. bomb the shit out of them
			}
		}
		
		landing_in_asia = { #inactive
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}

			removal_cost = -1
			
			modifier = {
				supply_factor = 0
			}
		}
		
		LSM_military_attache_to_soviet = {
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}

			picture = FRA_army_of_aggression_focus

			removal_cost = -1
		}

		why_are_you_sending_me_troops_fking_puppets = {

			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1

			on_add = {
				set_rule = { units_deployed_to_overlord = no }
			}

			on_remove = {
				set_rule = { units_deployed_to_overlord = no }
			}
		}
		
		LSM_military_attache_to_germany = {
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}

			picture = FRA_army_of_aggression_focus

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

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}

			picture = FRA_army_of_aggression_focus

			removal_cost = -1
		}
		
		SOV_no_war_on_poland = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				subversive_activites_upkeep = 50
			}
		}
		
		allies_dont_mess_with_soviet_union = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				NOT = { ENG = { has_war_with = SOV } }
				POL = { has_capitulated = no }
			}
			
			removal_cost = -1
			
			modifier = {
				ai_call_ally_desire_factor = -99999
			}
		}
		
		population_boom_minor = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				AND = {
					has_war = no
					OR = { 
						is_major = no
						AND = { 
							is_major = yes
							num_of_controlled_factories < 51
						}
					}
				}	
			}
			
			removal_cost = -1
			
			modifier = {
				monthly_population = 10
			}
		}
		
		LSM_on_our_own_idea = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				OR = {
					date < 1941.1.1
					has_war = no
				}
			}
			
			removal_cost = -1

			rule = {
				can_join_factions = no 
				can_not_declare_war = yes
			}
		}
		
		LSM_on_our_own_idea_mr = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				NOT = { GER = { has_war_with = SOV } }
			}
			
			removal_cost = -1

			rule = {
				can_join_factions = no
			}
		}
		
		training_is_chi = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}

			on_remove = {
				add_ideas = training_is_chi2
			}
			
			removal_cost = -1

			modifier = {
				minimum_training_level = -0.1
			}
		}
		
		training_is_chi2 = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = no
			}

			on_remove = {
				add_ideas = training_is_chi
			}
			
			removal_cost = -1
		}
		
		training_is_good = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = no
			}

			on_remove = {
				add_ideas = training_is_alright
			}
			
			removal_cost = -1

			modifier = {
				minimum_training_level = 0.4
			}
		}
		
		training_is_alright = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}

			on_remove = {
				add_ideas = training_is_good
			}
			
			removal_cost = -1
		}
		
		training_is_goodmm = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = no
			}

			on_remove = {
				add_ideas = training_is_alrightmm
			}
			
			removal_cost = -1

			modifier = {
				minimum_training_level = 0.25
			}
		}
		
		training_is_alrightmm = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}

			on_remove = {
				add_ideas = training_is_good
			}
			
			removal_cost = -1
		}
		
		train_train_train = {  #inactive
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				is_ai = yes	
			}
	
			on_remove = {
				add_ideas = train_train_train_2
			}
			
			removal_cost = -1
		}
		
		train_train_train_2 = {  #inactive
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				is_ai = no	
			}
	
			on_remove = {
				add_ideas = train_train_train
			}
			
			removal_cost = -1
		}
		
		reduced_xp_gain = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = no
			}

			on_remove = {
				add_ideas = increased_xp_gain
			}
			
			removal_cost = -1

			modifier = {
				experience_gain_factor = -0.20
			}
		}
		
		increased_xp_gain = {
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}

			on_remove = {
				add_ideas = reduced_xp_gain
			}
			
			removal_cost = -1
		}
		
		SOV_infrastructure_improvement_tier_1 = {  #inactive
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
		}
		
		SOV_infrastructure_improvement_tier_2 = {  #inactive
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
		}
		
		battle_of_britain = { #reserved for vanilla history UK only. Not active in any other scenarios
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				NOT = { is_in_faction_with = USA }	
				NOT = { is_in_faction_with = GER }
				NOT = { GER = { has_war_with = SOV } }
			}
			
			removal_cost = -1

			modifier = {
				air_home_defence_factor = 0.20
			}
		}
		
		GER_high_command = { #inactive, only here because some old codes use it
			allowed = {
				always = yes #inactive
			}

			allowed_civil_war = { #inactive since we no longer need it
				always = yes
			}

			available = { 
				always = no
			}
			
			removal_cost = -1
		}
		
		GER_high_command_2 = { #has been be removed since AI balancing is completed and Germany can push the Soviet Union again
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = { 
				is_ai = yes
			}
			
			removal_cost = -1

			modifier = {
				high_command_cost_factor = -1
			}
		}
		
		ban_on_advisor = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = no
			}

			available = {
				has_war = no
				is_ai = yes
			}
			
			removal_cost = -1
			
			modifier = {
				high_command_cost_factor = 10
				political_advisor_cost_factor = 10
				army_chief_cost_factor = 10
				air_chief_cost_factor = 10
				navy_chief_cost_factor = 10
			}
		}
		
		SOV_high_command = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = { #we are good to go
				AND = {
					NOT = { has_idea = partial_economic_mobilisation }
					NOT = { has_idea = war_economy }
					NOT = { has_idea = tot_economic_mobilisation }
				}	
				date < 1936.8.1
				is_ai = yes
			}
			
			removal_cost = -1
			
			modifier = {
				high_command_cost_factor = 10
				political_advisor_cost_factor = 10
				army_chief_cost_factor = 10
				air_chief_cost_factor = 10
				navy_chief_cost_factor = 10
			}
		}
		
		SOV_high_command_2 = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = { 
				threat < 0.7
				is_ai = yes
			}
			
			removal_cost = -1
			
			modifier = {
				high_command_cost_factor = 10
				navy_chief_cost_factor = 10
			}
		}
		
		USA_high_command = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = { #we are good to go
				AND = {
					NOT = { has_idea = partial_economic_mobilisation }
					NOT = { has_idea = war_economy }
					NOT = { has_idea = tot_economic_mobilisation }
				}
				is_ai = yes
			}
			
			removal_cost = -1
			
			modifier = {
				high_command_cost_factor = 10
				air_chief_cost_factor = 10
				navy_chief_cost_factor = 10
			}
		}
		
		ENG_high_command = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = { #we are good to go
				AND = {
					NOT = { has_idea = partial_economic_mobilisation }
					NOT = { has_idea = war_economy }
					NOT = { has_idea = tot_economic_mobilisation }
				}
				is_ai = yes
			}
			
			removal_cost = -1
			
			modifier = {
				political_advisor_cost_factor = 10
				high_command_cost_factor = 10
				air_chief_cost_factor = 10
				navy_chief_cost_factor = 10
				theorist_cost_factor = 10
				industrial_concern_cost_factor = 10
			}
		}
		
		CHI_high_command = { 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_army_experience < 5
				is_ai = yes
			}
			
			removal_cost = -1
			
			modifier = {
				high_command_cost_factor = 10
				air_chief_cost_factor = 10
				navy_chief_cost_factor = 10
				political_advisor_cost_factor = 10
			}
		}
		
		FRA_due_compensation  = { 
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1

			targeted_modifier = {
				tag = GER
				cic_to_target_factor = 0.15 
				mic_to_target_factor = 0.15				
			}
		}
		
		BUL_due_compensation = { 
			allowed = {
				always = yes
			}

			available = {
				NOT = { ITA = { has_country_flag = LSM_eligibility_nation } }
				NOT = { BUL = { has_country_flag = LSM_eligibility_nation } }
				NOT = {
					any_country = {
						original_tag = ITA
						has_war_with = BUL
					}
				}
			}
			
			removal_cost = -1

			targeted_modifier = {
				tag = ITA
				cic_to_target_factor = 0.15 
				mic_to_target_factor = 0.35				
			}
		}
		
		vanilla_navy = { #reserved for vanilla history Allies only
			allowed = {
				always = yes
			}

			available = {
				has_navy_size = {
					size < 600
				}
				is_ai = yes
			}
	
			picture = eng_a_change_in_course
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_dockyard = 0.25
			}

			equipment_bonus = {
				capital_ship = {
					build_cost_ic = -0.25 instant = yes
				}
				screen_ship = {
					build_cost_ic = -0.25 instant = yes
				}
			}
		}

		
		LSM_british_migration  = { 
			allowed = {
				always = yes
			}

			available = {
				ENG = { surrender_progress > 0.05 } 
			}
	
			picture = eng_a_change_in_course
		
			on_remove = {
				add_ideas = LSM_british_migration_2
			}
			
			removal_cost = -1
			
			modifier = {
				weekly_manpower = 500
				industrial_capacity_factory = 0.2
				industrial_capacity_dockyard = 0.2
				production_speed_buildings_factor = 0.2
				consumer_goods_factor = -0.2
				training_time_factor = -0.2
				surrender_limit = 0.1 #compensate for more cores
			}

			targeted_modifier = {
				tag = ENG
				cic_to_target_factor = 0.15 
				mic_to_target_factor = 0.15				
			}
		}
		
		LSM_british_migration_2  = { 
			allowed = {
				always = yes
			}

			available = {
				NOT = { has_war_with = ENG }
			}
	
			picture = eng_a_change_in_course
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.1
				industrial_capacity_dockyard = 0.1
				production_speed_buildings_factor = 0.1
				consumer_goods_factor = -0.1
				training_time_factor = -0.1
				surrender_limit = 0.1 #compensate for more cores
			}
		}
		
		LSM_british_exodus = { 
			allowed = {
				always = yes
			}

			available = {
				ENG = { surrender_progress > 0.05 } 
			}
		
			on_remove = {
				add_timed_idea = { idea = LSM_british_migration days = 1825 }
			}
			
			removal_cost = -1
			
			modifier = {
				weekly_manpower = 1500
				industrial_capacity_factory = 0.5
				industrial_capacity_dockyard = 0.5
				training_time_factor = -0.3
			}

			targeted_modifier = {
				tag = ENG
				cic_to_target_factor = 0.2 
				mic_to_target_factor = 0.2				
			}
		}

		shit_soviet_dockyard_1 = { #used to make sure SOV AI can quickly move on from useless dockyard 
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
		}

		shit_soviet_dockyard_2 = { #stackable with the previous one to make sure actual value of those dockyard is shit
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
		}

		peace_time_prosperity = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = no
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				monthly_population = 1.5
			}
		}
		
		wheelchair_warfare = { 
			allowed = {
				always = yes
			}

			available = {
				surrender_progress > 0.01 #safe now
				OR = {
					controls_state = 64
					controls_state = 58
					controls_state = 55
					controls_state = 50
					controls_state = 52
					controls_state = 4
				}
			}
			
			removal_cost = -1
			
			modifier = {
				max_command_power = 20
				command_power_gain_mult = 0.10
			}
		}
		
		peace_time_prosperity_neutral = { 
			allowed = {
				always = yes
			}

			available = {
				has_war = no
			}
			
			removal_cost = -1
			
			modifier = {
				monthly_population = 0.2
			}
		}
		
		human_wave_offensive_1 = { #AI has been improved to build nearly better than 90% of playerbase but we want them to build at the speed of human for real
			allowed = {
				always = yes
			}

			available = {
				always = yes #inactive iirc
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
			}
		} #this buff is only provided to AI if players have, knowingly or not, consented to it
		
		human_wave_offensive_2 = {  
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes #inactive
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = { # MA L is stronger in AI vs AI, so they should use it instead of using MA R like against players
			}
		} #this buff is only provided to AI if players have, knowingly or not, consented to it
		
		SOV_terra_formar = {

			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				NOT = { has_idea = human_wave_offensive_2 }
			}
			
			removal_cost = -1
			
			modifier = {
			}
		} #i hate collab, go die
		
		reduced_food_consumption = { #inactive

			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
			}
		}

		
		SOV_terra_formar2 = { #i don't think this one is active, lemme check, lesl

			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
			}
		} #i hate collab, go die
	

		kill_the_AI = { #civil war buff so SOV AI can get done with it especially as Right Opposition or as White Russia
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_civil_war = yes
				NOT = { 
					any_other_country = { 
						has_war_with = SOV
						is_major = yes
						NOT = { original_tag = SOV }
					}
				}
			}
			
			removal_cost = -1
			
			modifier = {
				army_core_attack_factor = 1
				attrition = -1
				army_speed_factor = 1
				out_of_supply_factor = -1
			}
		}

		LSM_the_fight_for_the_home_island_ENG = { #disabled, you will never come across it in the current checksum without enabling the oldest feature of the mod
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
			}
			
			removal_cost = -1
			
			modifier = {
				surrender_limit = 0.15
				army_core_attack_factor = 0.25
			}
		}
		
		LSM_the_fight_for_the_home_island_JAP = { #disabled, you will never come across it in the current checksum without enabling the oldest feature of the mod
			allowed = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}

			available = {
				has_war = yes
				has_war_support > 0
			}
			
			removal_cost = -1
			
			modifier = {
				surrender_limit = 1
				max_surrender_limit_offset = 0.03 
				army_core_attack_factor = 0.25
			}
		}

		incredibly_funni_navy_stuffs = {

			allowed = {
				always = yes
			}
	
			removal_cost = -1

			available = {
				OR = {
					date < 1939.1.1
					NOT = { capital_scope = { is_on_continent = europe } }
				}
				NOT = {
					OR = {
						any_country = {
							has_wargoal_against = ROOT
						}
						any_country = {
							is_in_faction_with = ROOT
							any_other_country = { has_wargoal_against = PREV }
						}
						any_country = {
							is_justifying_wargoal_against = ROOT
							date > 1939.1.1
						}
					}
				}
				OR = {
					threat < 0.30
					AND = {
						NOT = { capital_scope = { is_on_continent = europe } }
						date < 1940.1.1 #we can delay this even further
					}
				}
				has_war = no
				OR = {
					has_navy_experience < 300 #if they surpass it, that means everything is done
					tag = USA
				}
			}

			on_remove = {
				if = {
					limit = { has_war = no }
					add_timed_idea = { idea = incredibly_funni_navy_stuffs_2 days = 30 }
				}
			}

			modifier = {
				experience_gain_navy_unit_factor = -0.96
			}
		}

		incredibly_funni_navy_stuffs_2 = {

			allowed = {
				always = yes
			}
	
			removal_cost = -1

			available = {
				has_war = no
			}

			modifier = {
				experience_gain_navy_unit_factor = 10
			}
		}

		incredibly_funni_navy_stuffs_3 = {

			allowed = {
				always = yes
			}
	
			removal_cost = -1

			available = {
				has_war = no
			}

			modifier = {
				experience_gain_navy_unit_factor = -0.99
			}
		}
		
		LSM_prepare_for_war = { #disabled
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
		
			removal_cost = -1
			
			modifier = {
				training_time_factor = -0.25
			}
		}
		
		LSM_prepare_for_war_2 = { #disabled
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
		
			removal_cost = -1
			
			modifier = {
				training_time_factor = -0.40
			}
		}
		
		SOV_prepare_for_barbarossa = {  #I think this is disabled now?
			allowed = {
				always = yes
			}

			available = {
				NOT = { has_war_with = GER }
				has_war = no
			}

			allowed_civil_war = {
				always = yes
			}
		
			on_remove = {
				if = { 
					limit = { tag = SOV }
					add_timed_idea = { idea = SOV_post_barb_clarity days = 90 }
				}
			}		
			removal_cost = -1
			
			modifier = {
				training_time_factor = -0.5
				dig_in_speed_factor = 1
				army_speed_factor = 1
				production_speed_anti_air_building_factor = 1
			}
		}
		
		GER_prepare_for_barbarossa = { 
			allowed = {
				always = yes
			}

			available = {
				NOT = { has_war_with = SOV }
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				training_time_factor = -0.5
			}
		}
		
		SOV_post_barb_clarity = { 
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
		
			on_remove = {
				add_timed_idea = { idea = SOV_post_barb_clarity_2 days = 90 }
			}
			
			removal_cost = -1
			
			modifier = {
				production_speed_anti_air_building_factor = 1
				training_time_factor = -0.3
			}
		}
		
		SOV_post_barb_clarity_2 = { 
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
		
			on_remove = {
				add_timed_idea = { idea = SOV_post_barb_clarity_3 days = 185 }
			}
			
			removal_cost = -1
			
			modifier = {
				production_speed_anti_air_building_factor = 5
				training_time_factor = -0.2
			}
		}
		
		SOV_post_barb_clarity_3 = { 
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
		
			on_remove = {
				add_ideas = SOV_post_barb_clarity_4
			}
			
			removal_cost = -1
			
			modifier = {
				production_speed_anti_air_building_factor = 0.5
				training_time_factor = -0.1
			}
		}
		
		SOV_post_barb_clarity_4 = { 
			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				production_speed_anti_air_building_factor = 0.25
			}
		}
		
		SOV_kill_FIN = {  #might as well remove it since this is active only after JUN 40 but they kill FIN in 1939 or white peace in MAY 40
			allowed = {
				always = yes
			}

			available = {
				date > 1940.3.1
				has_war_with = FIN
				NOT = { FIN = { is_in_faction = yes } }
				FIN = { is_ai = yes }
				NOT = { 
					any_country = {
						NOT = { tag = FIN }
						NOT = { is_in_faction_with = FIN }
						is_major = yes
						has_war_with = SOV
					}
				}
			}
			
			removal_cost = -1
			
			modifier = {
				supply_node_range = 0.5
			}

			targeted_modifier = {
				tag = FIN
				attack_bonus_against = 0.2
				defense_bonus_against = 0.2
			}
		}
		
		SOV_production_front_1 = { #this series has been completely disabled, it is kept here only because I am too tired to delete it and check for consistency
			allowed = {
				always = yes #ts: should we just delete it then?
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.05
				industrial_capacity_dockyard = 0.05
				monthly_population = -0.05
				conscription = 0.01
				weekly_manpower = 1000
				supply_node_range = 0.05
				mobilization_speed = 0.2
				training_time_factor = -0.05
			}
		}


		# SOV production front section is completely inactive since militia function has been disabled
		
		SOV_production_front_2 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.1
				industrial_capacity_dockyard = 0.1
				monthly_population = -0.10
				conscription = 0.02
				weekly_manpower = 2000
				supply_node_range = 0.1
				mobilization_speed = 0.4
				training_time_factor = -0.1
			}
		}
		
		SOV_production_front_3 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.15
				industrial_capacity_dockyard = 0.15
				monthly_population = -0.15
				conscription = 0.03
				weekly_manpower = 3000
				supply_node_range = 0.15
				mobilization_speed = 0.6
				training_time_factor = -0.15
			}
		}
		
		SOV_production_front_4 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.2
				industrial_capacity_dockyard = 0.2
				monthly_population = -0.20
				conscription = 0.04
				weekly_manpower = 4000
				supply_node_range = 0.2
				mobilization_speed = 0.8
				training_time_factor = -0.2
			}
		}
		
		SOV_production_front_5 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.25
				industrial_capacity_dockyard = 0.25
				monthly_population = -0.25
				conscription = 0.05
				weekly_manpower = 5000
				supply_node_range = 0.25
				mobilization_speed = 1
				training_time_factor = -0.25
			}
		}
		
		SOV_production_front_6 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.3
				industrial_capacity_dockyard = 0.3
				monthly_population = -0.30
				conscription = 0.06
				weekly_manpower = 6000
				supply_node_range = 0.3
				mobilization_speed = 1.2
				training_time_factor = -0.3
			}
		}
		
		SOV_production_front_7 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.35
				industrial_capacity_dockyard = 0.35
				monthly_population = -0.35
				conscription = 0.07
				weekly_manpower = 7000
				supply_node_range = 0.35
				mobilization_speed = 1.4
				training_time_factor = -0.35
			}
		}
		
		SOV_production_front_8 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.4
				industrial_capacity_dockyard = 0.4
				monthly_population = -0.40
				conscription = 0.08
				weekly_manpower = 8000
				supply_node_range = 0.4
				mobilization_speed = 1.6
				training_time_factor = -0.4
			}
		}
		
		SOV_production_front_9 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.45
				industrial_capacity_dockyard = 0.45
				monthly_population = -0.45
				conscription = 0.09
				weekly_manpower = 9000
				supply_node_range = 0.45
				mobilization_speed = 1.8
				training_time_factor = -0.45
			}
		}
		
		SOV_production_front_10 = { #buff that players may consent to. haven't used it since forever
			allowed = {
				always = yes
			}

			available = {
				has_war = yes
			}

			allowed_civil_war = {
				always = yes
			}
			
			removal_cost = -1
			
			modifier = {
				industrial_capacity_factory = 0.5
				industrial_capacity_dockyard = 0.5
				monthly_population = -0.50
				conscription = 0.1
				weekly_manpower = 10000
				supply_node_range = 0.5
				mobilization_speed = 2
				training_time_factor = -0.5
			}
		}
		
		training_idea = { 
	
			picture = prc_low_popular_support

			allowed = {
				always = yes
			}

			available = {
				NOT = { has_idea = SOV_prepare_for_barbarossa }
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1
			
			modifier = {
				training_time_factor = -0.4
			}
		}
		russo_pusso = {
			
			allowed = {
				always = no
			}

			allowed_civil_war = {
				always = yes
			}

			removal_cost = -1

			modifier = {
				air_cas_efficiency = 0.25
				ground_attack_factor = 0.25
				air_cas_present_factor = 0.25
				army_bonus_air_superiority_factor = 0.05
			}			
		}
		makeshift_construction = { 
	
			picture = general_staff

			allowed = {
				always = yes
			}

			available = {
				always = yes
			}

			allowed_civil_war = {
				always = no
			}
			
			removal_cost = -1
		}
		
		RAJ_GOE_civil_war_impending = { 
			allowed = {
				always = yes
			}

			available = {
				has_civil_war = no	
			}
			
			removal_cost = -1
			
			modifier = {
				resistance_target = 0.35
				resistance_growth = 5.00
				compliance_growth = -5.00
			}
		}
	}
}