propaganda_efforts = {

	minor_debuff = {

		icon = generic_civil_support
		
		available = {
			has_civil_war = no
			is_ai = yes
			num_of_factories < 75
			OR = {
			  and = { date > 1937.6.6 has_completed_focus = industrial_effort  }
			  and = { date > 1938.5.5 has_war = no }
			}
			surrender_progress < 0.1
			is_major = no
			NOT = { has_idea = vrm_minor_debuff }
		}

		visible = { 
			is_ai = yes	
			is_major = no
			num_of_factories < 72
			date > 1945.1.1
			NOT = { has_idea = vrm_minor_debuff }
		}

		fire_only_once = yes
		
		cost = 1
		
		complete_effect = {
		    add_ideas = vrm_minor_debuff
		}
		ai_will_do = {
			factor = 700
		}
	}

#free xp boost

	ita_must_kill_eth = {

		icon = generic_ignite_civil_war
		
		allowed = { original_tag = ITA }

		available = {
			original_tag = ITA
			num_of_factories > 25
			date > 1936.2.2
			date < 1937.2.2
			has_civil_war = no
			is_subject = no
			is_ai = yes
			ETH = { is_ai = yes  num_of_controlled_states > 0 }
		}

		visible = {  
			original_tag = ITA
			is_ai = yes
			date < 1937.2.2
		}

		fire_only_once = yes
		
		cost = 1
		
		complete_effect = { 
			  add_war_support = 0.05
			  add_stability = 0.05
			  add_political_power = 100
			  add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 5000 } 
			  ETH = { add_war_support = -0.1 add_stability = -0.1 }
	    }
		
		days_remove = 90
			targeted_modifier = {
				tag = ETH
				attack_bonus_against = 0.5
				breakthrough_bonus_against = 0.5
			}
		ai_will_do = {
			factor = 700
		}
	}


	spain_end_civil_war_check = {

		icon = generic_civil_support
		
		available = {
			date > 1939.2.2
		    OR = { original_tag = SPR original_tag = SPA original_tag = SPB original_tag = TUR } 
            has_civil_war = yes		
			date < 1942.1.1
		}

		visible = { 	
            num_of_controlled_states > 0
		    OR = { original_tag = SPR original_tag = SPA original_tag = SPB original_tag = TUR } 
			date < 1942.1.1
			is_ai = yes
		}

		fire_only_once = yes
		
		cost = 1
		
		days_remove = 30
		
		modifier = {
			forced_surrender_limit = -0.2
		}
		
		ai_will_do = {
			factor = 700
		}
	}

	needmem_to_subject = {

		icon = generic_civil_support
		
		available = {
			date > 1941.1.1
            num_of_controlled_states > 0	
		}

		visible = { 
			is_ai = yes		
            num_of_controlled_states > 0
			date > 1941.1.1
		}

		fire_only_once = no
		
		cost = 5

		days_re_enable = 365
		
		complete_effect = { 
		    add_manpower = 25000
		    every_owned_state = { 
			  limit = { resistance > 0 }
			  set_resistance = 0
			  set_compliance = 90
			 }
			 add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 1000 }    
		}
		
		ai_will_do = {
			factor = 700
		}
	}

	vrm_normal_templates = {

		icon = generic_industry

		available = {
			date > 1938.2.2
			has_civil_war = no
			num_of_factories > 1
			is_ai = yes
		}

		visible = { 		
			num_of_factories > 0
			is_ai = yes
		}

		fire_only_once = yes
		
		cost = 1

		days_remove = 0
		
		
		complete_effect = { 
			army_experience = 200
			navy_experience = 200
			air_experience = 200
			add_equipment_to_stockpile = { type = convoy_1 amount = 25 }  
		    if = {
				limit = { original_tag = SOV }
              division_template = {
                name = "Tankovaya Diviziya"	
            	division_names_group = SOV_ARM_01
	            regiments = {
		              medium_armor = { x = 0 y = 0 }		
		              medium_armor = { x = 0 y = 1 }
		              medium_armor = { x = 0 y = 2 }		
		              medium_armor = { x = 1 y = 0 }			
		              medium_armor = { x = 1 y = 1 }	
		              medium_armor = { x = 1 y = 2 }											  
		              motorized = { x = 2 y = 0 }		
		              motorized = { x = 2 y = 1 }	
		              motorized = { x = 2 y = 2 }			  
					}
		           support = {
		               light_tank_recon = { x = 0 y = 0 } 		
	                }
                }	
			}
			else_if = {
				limit = { original_tag = ENG }
		        division_template = {
                name = "Tank Regiment"	
            	division_names_group = ENG_ARM_01
	            regiments = {
		              medium_armor = { x = 0 y = 0 }		
		              medium_armor = { x = 0 y = 1 }
		              medium_armor = { x = 0 y = 2 }		
		              medium_armor = { x = 1 y = 0 }			
		              medium_armor = { x = 1 y = 1 }	
		              medium_armor = { x = 1 y = 2 }											  
		              motorized = { x = 2 y = 0 }		
		              motorized = { x = 2 y = 1 }	
		              motorized = { x = 2 y = 2 }			  
					}
		           support = {
		               light_tank_recon = { x = 0 y = 0 } 		
	                }
                }	
			}
			else_if = {
				limit = { original_tag = USA }
		        division_template = {
                name = "Tank Division"	
            	division_names_group = USA_ARM_01
	            regiments = {
		              medium_armor = { x = 0 y = 0 }		
		              medium_armor = { x = 0 y = 1 }
		              medium_armor = { x = 0 y = 2 }		
		              medium_armor = { x = 1 y = 0 }			
		              medium_armor = { x = 1 y = 1 }	
		              medium_armor = { x = 1 y = 2 }											  
		              motorized = { x = 2 y = 0 }		
		              motorized = { x = 2 y = 1 }	
		              motorized = { x = 2 y = 2 }			  
					}
		           support = {
		               light_tank_recon = { x = 0 y = 0 } 			
	                }
                }	
			}
		}

		ai_will_do = {
			factor = 700
		}
	}
	

	major_must_end_civil_war_fast = {

		icon = generic_civil_support
		
		allowed = { 
		     OR = {
              original_tag = USA
			  original_tag = GER
			  original_tag = JAP
			  original_tag = SOV
            } 
		}
		
		available = {
			has_civil_war = yes
			is_ai = yes
			OR = {
			has_completed_focus = JAP_cast_the_die
			has_completed_focus = JAP_pre_emptive_coup
			has_completed_focus = USA_old_age_pension_act
			has_completed_focus = USA_manifest_destiny
			has_completed_focus = SOV_reverse_the_collectivization_process
			has_completed_focus = SOV_integrate_smirnovs_bloc
			has_completed_focus = SOV_embrace_the_black_hundreds
			}
		}

		visible = { 
			is_ai = yes	
            OR = {
              original_tag = USA
			  original_tag = GER
			  original_tag = JAP
			  original_tag = SOV
            }			
		}

		fire_only_once = yes
		
		cost = 1

		days_remove = 310
		
		modifier = {
			production_speed_buildings_factor = 0.25
			supply_node_range = 0.5
			army_core_attack_factor = 0.25
			army_core_defence_factor = 0.25
		}
		
		complete_effect = {
		    add_manpower = 100000
			add_political_power = 300
			add_equipment_to_stockpile = { type = infantry_equipment_0 amount = 2500 }    
			add_war_support = 0.1
			add_stability = 0.1
		}
		ai_will_do = {
			factor = 700
		}
	}
	
	mega_major_must_stay = {

		icon = generic_civil_support

		allowed = { 
		     OR = {
              original_tag = USA
			  original_tag = GER
			  original_tag = SOV
			  original_tag = ENG
            } 
		}
		
		available = {
			has_civil_war = no
			is_subject = no
            OR = {
              original_tag = USA
			  original_tag = SOV
			  original_tag = GER
			  original_tag = ENG
            }	
			is_ai = yes
			OR = { num_of_factories > 75 is_major = yes }
			date > 1938.1.1
            num_of_controlled_states > 1
			surrender_progress > 0.3
            casualties > 100000
		}

		visible = { 
			is_ai = yes		
            OR = {
              original_tag = USA
			  original_tag = SOV
			  original_tag = GER
			  original_tag = ENG
            }	
            num_of_controlled_states > 0
		}
		
		remove_trigger = {
			is_ai = no
		}

		fire_only_once = no
		
		cost = 2

		days_remove = 180
		days_re_enable = 15
		
		modifier = { 
		    weekly_manpower = 2500
			industrial_capacity_factory = 0.75
			industrial_capacity_dockyard = 0.75
			production_speed_buildings_factor = 0.25
			army_core_attack_factor = 0.25
			army_core_defence_factor = 0.25
			supply_node_range = 0.15
		}
		
		ai_will_do = {
			factor = 900
		}
	}
	
	
	major_must_stay_against_player = {

		icon = generic_civil_support

		available = {
			has_civil_war = no
			is_ai = yes
			OR = { num_of_factories > 99 is_major = yes }
			date > 1939.1.1
            num_of_controlled_states > 1
			OR = {
				AND = { surrender_progress > 0.25 casualties > 100000 }
                any_allied_country = {
                      casualties > 500000 num_of_factories > 75 surrender_progress > 0.35
                 }	
			}
			any_enemy_country = {
			   num_of_factories > 80 
			   casualties > 10000 
			   is_ai = no
			}
		}

		visible = { 
			is_ai = yes		
			num_of_factories > 50
            num_of_controlled_states > 0
		}
		
		remove_trigger = {
			is_ai = no
		}

		fire_only_once = no
		
		cost = 5

		days_remove = 180
		days_re_enable = 120
		
		modifier = {
			industrial_capacity_factory = 0.5
			industrial_capacity_dockyard = 0.5
			production_speed_buildings_factor = 0.25
			army_core_attack_factor = 0.25
			army_core_defence_factor = 0.25
			supply_node_range = 0.15
		}
		
		ai_will_do = {
			factor = 700
		}
	}
	
}