west_russian_war_category = {

	#Общие

	WRS_daily_exhaustion_gain = {
	
		icon = POL_looming_peasants_strike
	
		available = {
			NOT = {
				WRS = {
					has_war_with = GER
				}
			}
		}
		
		activation = {
			original_tag = WRS
			WRS = {
				has_war_with = GER
			}
		}
	
		priority = 999
		
		is_good = no
		
		days_mission_timeout = 10
		
		days_re_enable = 0
		
		fire_only_once = no
		
		cancel_trigger = {
			NOT = { 
				WRS = {
					has_war_with = GER
				}
			}
		}
		
		timeout_effect = {
			
			WRS = {
				clamp_variable = {
					var = WAR_exhaustion_bar_WRS
					min = 0
				}
			}
			
			GER = {
				clamp_variable = {
					var = WAR_exhaustion_bar_GER
					min = 0
				}
			}
			
			if = {
				limit = {
					controls_state = 219
				}
				custom_effect_tooltip = WAR_exhaustion_plus_1
				add_to_variable = { WAR_exhaustion_bar_WRS = 1 }
			}
			else = {
				custom_effect_tooltip = WAR_exhaustion_plus_1
				add_to_variable = { WAR_exhaustion_bar_WRS = 1 }
				custom_effect_tooltip = WAR_exhaustion_NOT_CONTROL_MOSCOW
			}

			if = {
				limit = {
					check_variable = { wrs_army_attack > -0.6 }
					NOT = { controls_state = 219 }
				}
				custom_effect_tooltip = wrs_army_attack_minus_tt
				add_to_variable = { wrs_army_attack = -0.03 }
			}
			if = {
				limit = {
					check_variable = { wrs_army_attack > -0.6 }
					NOT = { controls_state = 219 }
				}
				custom_effect_tooltip = wrs_army_speed_minus_tt
				add_to_variable = { wrs_army_speed = -0.05 }
			}

			hidden_effect = { activate_mission = WRS_daily_exhaustion_gain }
		}
	}

	wrw_decision_our_mobilisation = {
	
		priority = 300

		icon = eng_propaganda_campaigns
		cost = 0
		available = {
			always = yes
		}
		
		visible = {
			OR = {
				original_tag = WRS
				original_tag = GER
			}
			OR = {
				has_country_flag = WRS_OUR_open_flag
				has_country_flag = GER_OUR_open_flag
			}
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 155
		}

		complete_effect = {
			custom_effect_tooltip = WAR_exhaustion_plus_3
			if = {
				limit = { original_tag = WRS }
				add_to_variable = { WAR_exhaustion_bar_WRS = 3 }
			}
			else_if = {
				limit = { original_tag = GER }
				add_to_variable = { WAR_exhaustion_bar_GER = 3 }
			}
		}

		remove_effect = {
			add_manpower = 125000
		}
		days_remove = 7

		days_re_enable = 5
	}

	wrw_decision_our_arms = {
	
		priority = 295

		icon = eng_propaganda_campaigns
		cost = 35
		available = {

		}
		
		visible = {
			OR = {
				original_tag = WRS
				original_tag = GER
			}
			OR = {
				has_country_flag = WRS_OUR_open_flag
				has_country_flag = GER_OUR_open_flag
			}
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 155
		}

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1500
			}
		}

		remove_effect = {
			
		}
		days_remove = 12

		days_re_enable = 7
	}

	wrw_decision_our_minus_exhaustion = {
	
		priority = 285

		icon = eng_propaganda_campaigns
		cost = 0
		available = {

		}
		
		visible = {
			OR = {
				original_tag = WRS
				original_tag = GER
			}
			OR = {
				has_country_flag = WRS_OUR_open_flag
				has_country_flag = GER_OUR_open_flag
			}
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = -155
		}

		complete_effect = {
			add_timed_idea = {
				idea = wrs_hunger_minus_army
				days = 21
			}
		}

		remove_effect = {
			custom_effect_tooltip = WAR_exhaustion_minus_5
			if = {
				limit = { original_tag = WRS }
				add_to_variable = { WAR_exhaustion_bar_WRS = -5 }
			}
			else_if = {
				limit = { original_tag = GER }
				add_to_variable = { WAR_exhaustion_bar_GER = -5 }
			}
		}
		days_remove = 21

		days_re_enable = 2
	}

	wrw_decision_their_provoke = {
	
		priority = 270

		icon = eng_propaganda_campaigns
		cost = 35
		available = {

		}
		
		visible = {
			OR = {
				original_tag = WRS
				original_tag = GER
			}
			OR = {
				has_country_flag = WRS_NOT_OUR_open_flag
				has_country_flag = GER_NOT_OUR_open_flag
			}
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			
		}

		remove_effect = {
			if = {
				limit = { original_tag = WRS }
				GER = { 
					add_war_support = -0.05 
					add_stability = -0.025
				}
			}
			else_if = {
				limit = { original_tag = GER }
				WRS = { 
					add_war_support = -0.05 
					add_stability = -0.025
				}
			}
		}
		days_remove = 14

		days_re_enable = 2
	}

	#ЗРРФ

	wrw_decision_our_kazakh = {
	
		priority = 260

		icon = eng_propaganda_campaigns
		cost = 50
		available = {

		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_OUR_open_flag
			has_country_flag = war_kazakhstan_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			add_manpower = 12500
		}

		remove_effect = {
			hidden_effect = { load_oob = WRS_KAZAKH_SUPPORT }
		}
		days_remove = 28
	}

	wrw_decision_our_prodrazv = {
	
		priority = 250

		icon = eng_propaganda_campaigns
		cost = 30
		available = {

		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			add_stability = -0.04
			add_war_support = -0.02
			add_manpower = -1250
		}

		remove_effect = {
			custom_effect_tooltip = WAR_exhaustion_minus_3
			add_to_variable = { WAR_exhaustion_bar_WRS = -3 }
		}
		days_remove = 28

		days_re_enable = 2
	}

	wrw_decision_our_snabzh = {
	
		priority = 240

		icon = eng_propaganda_campaigns
		cost = 0
		available = {
			controls_state = 217
		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_NOT_OUR_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 135
		}

		complete_effect = {

		}

		remove_effect = {
			custom_effect_tooltip = WAR_exhaustion_minus_10
			add_to_variable = { WAR_exhaustion_bar_WRS = -10 }
		}
		days_remove = 7
	}

	wrw_decision_wrs_partizan = {
	
		priority = 240

		icon = eng_propaganda_campaigns
		cost = 45
		available = {
			
		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_NOT_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 135
		}

		complete_effect = {
			GER = { 
				custom_effect_tooltip = WAR_exhaustion_plus_5 
				add_to_variable = { WAR_exhaustion_bar_GER = 5 }
			}
		}

		remove_effect = {
		}

		days_remove = 21

		days_re_enable = 1
	}

	wrw_decision_wrs_moscow_vost = {
	
		priority = 230

		icon = eng_propaganda_campaigns
		cost = 30
		available = {
			controls_state = 252
			controls_state = 214
		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_NOT_OUR_open_flag
			has_country_flag = war_moskowien_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 135
		}

		complete_effect = {
			
		}

		remove_effect = {
			219 = { custom_effect_tooltip = WEST_RUSSIAN_WAR_NEW_DIVISIONS_TT }
			hidden_effect = { load_oob = WRS_PARTIZAN_2 }
		}

		days_remove = 28

		days_re_enable = 1
	}

	wrw_decision_wrs_minsk_sturm = {
	
		priority = 220

		icon = eng_propaganda_campaigns
		cost = 45
		available = {
			controls_state = 219
		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_NOT_OUR_open_flag
			has_country_flag = war_ostland_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 135
		}

		complete_effect = {
			add_timed_idea = {
				idea = WRS_sturm_minsk
				days = 60
			}
		}

		remove_effect = {
			
		}

		days_remove = 60
	}

	wrw_decision_wrs_ukraine_sturm = {
	
		priority = 225

		icon = eng_propaganda_campaigns
		cost = 15
		available = {
			controls_state = 219
		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_NOT_OUR_open_flag
			has_country_flag = war_ukraine_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 235
		}

		complete_effect = {
			add_timed_idea = {
				idea = WRS_sturm_ukraine
				days = 90
			}
		}

		remove_effect = {
			
		}

		days_remove = 90
	}

	wrw_decision_wrs_parad = {
	
		priority = 150

		icon = eng_propaganda_campaigns
		cost = 15
		available = {
			controls_state = 219
		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_NOT_OUR_open_flag
			has_country_flag = war_moskowien_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 235
		}

		complete_effect = {
			add_war_support = 0.05
		}

		remove_effect = {
			add_timed_idea = { 
				idea = WRS_high_morale
				days = 31
			}
			custom_effect_tooltip = WAR_exhaustion_minus_5
			add_to_variable = { WAR_exhaustion_bar_WRS = -5 }
		}

		days_remove = 1
	}

	wrw_decision_wrs_kaukasien_beria = {
	
		priority = 147

		icon = eng_propaganda_campaigns
		cost = 50
		available = {
			QZQ = {
				has_capitulated = no
			}
		}
		
		visible = {
			original_tag = WRS
			has_country_flag = WRS_NOT_OUR_open_flag
			has_country_flag = war_kaukasien_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 235
		}

		complete_effect = {
			add_war_support = 0.05
		}

		remove_effect = {
			QZQ = {
				add_ideas = WRS_beria_help_from_wrrf
			}
		}

		days_remove = 7
	}

	wrw_decision_wrs_repair = {
	
		priority = 225

		icon = eng_propaganda_campaigns
		cost = 15
		available = {
			custom_trigger_tooltip = {
				tooltip = WRS_all_their_region_is_our_tt
				has_country_flag = WRS_OUR_open_flag
			}
		}
		
		visible = {
			original_tag = WRS
			OR = {
				has_country_flag = war_ukraine_open_flag
				has_country_flag = war_kaukasien_open_flag
				has_country_flag = war_ostland_open_flag
				has_country_flag = war_moskowien_open_flag
			}
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 235
		}

		complete_effect = {
			
		}

		remove_effect = {
			add_ideas = WRS_linies_are_repaired
			custom_effect_tooltip = WAR_exhaustion_minus_10
			add_to_variable = { WAR_exhaustion_bar_WRS = -10 }
		}

		days_remove = 90
	}

	wrw_decision_wrs_plenniki = {
	
		priority = 215

		icon = eng_propaganda_campaigns
		cost = 35
		available = {
			custom_trigger_tooltip = {
				tooltip = WRS_all_their_region_is_our_tt
				has_country_flag = WRS_OUR_open_flag
			}
		}
		
		visible = {
			original_tag = WRS
			OR = {
				has_country_flag = war_ukraine_open_flag
				has_country_flag = war_kaukasien_open_flag
				has_country_flag = war_ostland_open_flag
				has_country_flag = war_moskowien_open_flag
			}
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 235
		}

		complete_effect = {
			
		}

		remove_effect = {
			add_manpower = 12000
		}

		days_remove = 45

		days_re_enable = 3
	}

	#Германия

	wrw_decision_ger_nazionalise = {
	
		priority = 230

		icon = eng_propaganda_campaigns
		cost = 45
		available = {

		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = -35
		}

		complete_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 8500
				producer = GER
			}
		}

		remove_effect = {
			custom_effect_tooltip = WAR_exhaustion_plus_3
			add_to_variable = { WAR_exhaustion_bar_WRS = 3 }
		}
		days_remove = 28

		days_re_enable = 2
	}

	wrw_decision_decrease_moskowien = {
	
		priority = 950

		icon = eng_propaganda_campaigns
		cost = 0
		available = {

		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			custom_effect_tooltip = WAR_exhaustion_plus_3
			add_to_variable = { WAR_exhaustion_bar_GER = 3 }
		}

		remove_effect = {
			custom_effect_tooltip = GER_partizan_decrease_tt
			add_to_variable = { partizan_current_activity_moskowien = -30 }
			GER_partizan_modif_var = yes
		}
		days_remove = 30

		days_re_enable = 1
	}

	wrw_decision_decrease_ukraine = {
	
		priority = 950

		icon = eng_propaganda_campaigns
		cost = 0
		available = {

		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			custom_effect_tooltip = WAR_exhaustion_plus_3
			add_to_variable = { WAR_exhaustion_bar_GER = 3 }
		}

		remove_effect = {
			custom_effect_tooltip = GER_partizan_decrease_tt
			add_to_variable = { partizan_current_activity_ukraine = -20 }
			GER_partizan_modif_var = yes
		}
		days_remove = 30

		days_re_enable = 1
	}

	wrw_decision_decrease_ostland = {
	
		priority = 950

		icon = eng_propaganda_campaigns
		cost = 15
		available = {

		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			custom_effect_tooltip = WAR_exhaustion_plus_3
			add_to_variable = { WAR_exhaustion_bar_GER = 3 }
		}

		remove_effect = {
			custom_effect_tooltip = GER_partizan_decrease_tt
			add_to_variable = { partizan_current_activity_ostland = -20 }
			GER_partizan_modif_var = yes
		}
		days_remove = 30

		days_re_enable = 1
	}

	wrw_decision_decrease_kaukasien = {
	
		priority = 950

		icon = eng_propaganda_campaigns
		cost = 15
		available = {

		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			custom_effect_tooltip = WAR_exhaustion_plus_3
			add_to_variable = { WAR_exhaustion_bar_GER = 3 }
		}

		remove_effect = {
			custom_effect_tooltip = GER_partizan_decrease_tt
			add_to_variable = { partizan_current_activity_kaukasien = -20 }
			GER_partizan_modif_var = yes
		}
		days_remove = 30

		days_re_enable = 1
	}

	wrw_decision_ger_deportation = {
	
		priority = 230

		icon = eng_propaganda_campaigns
		cost = 0
		available = {

		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			add_political_power = 125
		}

		remove_effect = {
			custom_effect_tooltip = WAR_exhaustion_plus_3
			add_to_variable = { WAR_exhaustion_bar_WRS = 3 }
		}
		days_remove = 28

		days_re_enable = 2
	}

	wrw_decision_ger_luftwaffen = {
	
		priority = 230

		icon = eng_propaganda_campaigns
		cost = 35
		available = {

		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_NOT_OUR_open_flag
		}

		fire_only_once = no
		
		ai_will_do = {
			factor = 35
		}

		complete_effect = {
			if = {
				limit = { has_country_flag = war_kazakhstan_open_flag }
				if = {
					limit = { has_country_flag = wrs_luftwaffe_not_good }
					KZN = { 
						add_timed_idea = {
							idea = WRS_lufwaffen_bombing_weak
							days = 28
						}
					}
				}
				else = {
					KZN = { 
						add_timed_idea = {
							idea = WRS_lufwaffen_bombing
							days = 28
						}
					}
				}
			}
			else = {
				if = {
					limit = { has_country_flag = wrs_luftwaffe_not_good }
					WRS = { 
						add_timed_idea = {
							idea = WRS_lufwaffen_bombing_weak
							days = 28
						}
					}
				}
				else = {
					WRS = { 
						add_timed_idea = {
							idea = WRS_lufwaffen_bombing
							days = 28
						}
					}
				}
			}
		}

		remove_effect = {
		}
		days_remove = 5

		days_re_enable = 45
	}

	wrw_decision_ger_samara = {
	
		priority = 400

		icon = eng_propaganda_campaigns
		cost = 25
		available = {
			custom_trigger_tooltip = {
				tooltip = WRS_more_than_25_exhaustion_tt
				check_variable = { WAR_exhaustion_bar_GER > 24 }
			}
		}
		
		visible = {
			original_tag = GER
			has_country_flag = GER_NOT_OUR_open_flag
			has_country_flag = war_west_russia_open_flag
		}

		fire_only_once = yes
		
		ai_will_do = {
			factor = 135
		}

		complete_effect = {
			add_stability = -0.05
		}

		remove_effect = {
			WRS = { country_event = wrs.3008 }
		}
		days_remove = 14
	}

}