add_namespace = wrs

country_event = {
	id = wrs.500
	title = wrs.500.t
	desc = wrs.500.d
	picture = GFX_report_event_generic_military_parade
	fire_only_once = yes
	
	trigger = {
		country_exists = ENG
		ENG = { has_capitulated = no }
		GER = { has_war_with = ENG }
		has_global_flag = russia_collapse
	}

	mean_time_to_happen = {
		days = 5
	}
	

	option = {
		trigger = { }
		name = wrs.500.a
		
		add_timed_idea = {
			idea = ger_won_against_ussr
			days = 180
		}
	}
}

country_event = {
	id = wrs.600
	title = wrs.600.t
	desc = wrs.600.d
	picture = GFX_report_event_worker_protests
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.600.a
		
		add_stability = -0.025
		add_manpower = -15
		
		hidden_effect = {
			country_event = { id = wrs.601 days = 5 }
		}
	}
}

country_event = {
	id = wrs.601
	title = wrs.601.t
	desc = wrs.601.d
	picture = GFX_report_event_worker_protests
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.601.a
		
		add_stability = -0.03
		add_manpower = -79
		
		hidden_effect = {
			country_event = { id = wrs.602 days = 7 }
		}
	}
}

country_event = {
	id = wrs.602
	title = wrs.602.t
	desc = wrs.602.d
	picture = GFX_report_event_worker_protests
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.602.a
		
		add_stability = -0.07
		
		hidden_effect = {
			country_event = { id = wrs.603 days = 4 }
		}
	}
}

country_event = {
	id = wrs.603
	title = wrs.603.t
	desc = wrs.603.d
	picture = GFX_report_event_worker_protests
	fire_only_once = yes
	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.603.a
		
		add_stability = -0.025
		add_manpower = -23
		
		custom_effect_tooltip = WRS_start_struggle_tt
		
		set_country_flag = GER_struggle_with_partizans
	}
}

country_event = {
	id = wrs.1
	title = wrs.1.t
	desc = wrs.1.d
	picture = GFX_report_event_worker_protests

	is_triggered_only = yes

	option = {
		name = wrs.1.a
		
		custom_effect_tooltip = wrs_give_from_sov_tt
		
		hidden_effect = {
		
		#Передача технологий
		if = {
			limit = {
				SOV = {
					has_tech = synth_oil_experiments
				}
			}
			WRS = {
				set_technology = { synth_oil_experiments = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = infantry_weapons1
				}
			}
			WRS = {
				set_technology = { infantry_weapons1 =1 }
			}
		}
		
		if = {
			limit = {
				SOV = {
					has_tech = infantry_weapons2
				}
			}
			WRS = {
				set_technology = { infantry_weapons2 = 1 }
			}
		}

		if = {
			limit = {
				SOV = {
					has_tech = improved_infantry_weapons
				}
			}
			WRS = {
				set_technology = { improved_infantry_weapons = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = support_weapons
				}
			}
			WRS = {
				set_technology = { support_weapons = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = construction2
				}
			}
			WRS = {
				set_technology = { construction2 = 1 }
			}
		}
		
		if = {
			limit = {
				SOV = {
					has_tech = construction3
				}
			}
			WRS = {
				set_technology = { construction3 = 1 }
			}
		}
		
		if = {
			limit = {
				SOV = {
					has_tech = concentrated_industry
				}
			}
			WRS = {
				set_technology = { concentrated_industry = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = concentrated_industry2
				}
			}
			WRS = {
				set_technology = { concentrated_industry2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = concentrated_industry3
				}
			}
			WRS = {
				set_technology = { concentrated_industry3 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = mechanised_infantry
				}
			}
			WRS = {
				set_technology = { mechanised_infantry = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = interwar_antiair
				}
			}
			WRS = {
				set_technology = { interwar_antiair = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antiair2
				}
			}
			WRS = {
				set_technology = { antiair2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = anti_air_equipment_1
				}
			}
			WRS = {
				set_technology = { anti_air_equipment_1 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = anti_air_equipment_2
				}
			}
			WRS = {
				set_technology = { anti_air_equipment_2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antiair3
				}
			}
			WRS = {
				set_technology = { antiair3 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antiair4
				}
			}
			WRS = {
				set_technology = { antiair4 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antiair5
				}
			}
			WRS = {
				set_technology = { antiair5 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antitank1
				}
			}
			WRS = {
				set_technology = { antitank1 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antitank2
				}
			}
			WRS = {
				set_technology = { antitank2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antitank3
				}
			}
			WRS = {
				set_technology = { antitank3 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antitank4
				}
			}
			WRS = {
				set_technology = { antitank4 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = antitank5
				}
			}
			WRS = {
				set_technology = { antitank5 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = artillery1
				}
			}
			WRS = {
				set_technology = { artillery1 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = artillery2
				}
			}
			WRS = {
				set_technology = { artillery2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = artillery3
				}
			}
			WRS = {
				set_technology = { artillery3 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = artillery4
				}
			}
			WRS = {
				set_technology = { artillery4 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = artillery5
				}
			}
			WRS = {
				set_technology = { artillery5 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = infantry_weapons
				}
			}
			WRS = {
				set_technology = { infantry_weapons = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = infantry_weapons1
				}
			}
			WRS = {
				set_technology = { infantry_weapons1 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = infantry_weapons2
				}
			}
			WRS = {
				set_technology = { infantry_weapons2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = improved_infantry_weapons
				}
			}
			WRS = {
				set_technology = { improved_infantry_weapons = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = tech_mountaineers
				}
			}
			WRS = {
				set_technology = { tech_mountaineers = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = tech_mountaineers2
				}
			}
			WRS = {
				set_technology = { tech_mountaineers2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = tech_trucks
				}
			}
			WRS = {
				set_technology = { tech_trucks = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = support_weapons
				}
			}
			WRS = {
				set_technology = { support_weapons = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = support_weapons2
				}
			}
			WRS = {
				set_technology = { support_weapons2 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = support_weapons3
				}
			}
			WRS = {
				set_technology = { support_weapons3 = 1 }
			}
		}
			WRS = {
				set_technology = { early_transport_plane = 1 }
			}
		if = {
			limit = {
				SOV = {
					has_tech = strategic_airlifter
				}
			}
			WRS = {
				set_technology = { strategic_airlifter = 1 }
			}
		}
			WRS = {
				set_technology = { early_fighter = 1 }
			}
		if = {
			limit = {
				SOV = {
					has_tech = fighter1
				}
			}
			WRS = {
				set_technology = { fighter1 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = motorised_infantry
				}
			}
			WRS = {
				set_technology = { motorised_infantry = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = mechanical_computing
				}
			}
			WRS = {
				set_technology = { mechanical_computing = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = computing_machine
				}
			}
			WRS = {
				set_technology = { computing_machine = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = basic_fire_control_system
				}
			}
			WRS = {
				set_technology = { basic_fire_control_system = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = radio
				}
			}
			WRS = {
				set_technology = { radio = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = improved_radio
				}
			}
			WRS = {
				set_technology = { improved_radio = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = improved_machine_tools
				}
			}
			WRS = {
				set_technology = { improved_machine_tools = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = improved_machine_tools
				}
			}
			WRS = {
				set_technology = { improved_machine_tools = 1 }
			}
		
		}
		if = {
			limit = {
				SOV = {
					has_tech = advanced_machine_tools
				}
			}
			WRS = {
				set_technology = { advanced_machine_tools = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = fuel_silos
				}
			}
			WRS = {
				set_technology = { fuel_silos = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = tech_mountaineers3
				}
			}
			WRS = {
				set_technology = { tech_mountaineers3 = 1 }
			}
		}
		if = {
			limit = {
				SOV = {
					has_tech = improved_infantry_weapons_2
				}
			}
			WRS = {
				set_technology = { improved_infantry_weapons_2 = 1 }
			}
		}
		if = {
			limit = {
				NOT = { has_dlc = "No Step Back" }
			}
			set_technology = {
				gwtank = 1
				basic_light_tank = 1

			}
		}
		if = {
			limit = {
				has_dlc = "No Step Back"
			}
			set_technology = {
				gwtank_chassis = 1
				basic_light_tank_chassis = 1
				improved_light_tank_chassis = 1
				engine_tech_1 = 1
				engine_tech_2 = 1
			}
		}


		}
		
		set_variable = { wrs_army_attack = 0.15 }
		set_variable = { wrs_army_defence = 0.8 }
		set_variable = { wrs_army_morale = 0.1 }
		set_variable = { wrs_army_supply = 0.8 }
		set_variable = { wrs_army_bunker = 0 }
		set_variable = { wrs_army_attrition = 0 }
		set_variable = { wrs_army_capture = 0.1 }
		
		if = {
			limit = {
				NOT = {
					has_character = SOV_mikhail_tukhachevsky
				}
				has_character = SOV_georgy_zhukov
			}
			hidden_effect = {
				country_event = {
					id = wrs.2
					days = 23
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_character = SOV_georgy_zhukov
				}
				has_character = SOV_mikhail_tukhachevsky
			}
			hidden_effect = {
				country_event = {
					id = wrs.3
					days = 24
				}
			}
		}
		
		if = {
			limit = {
				NOT = {
					has_character = SOV_mikhail_tukhachevsky
				}
				NOT = {
					has_character = SOV_georgy_zhukov
				}
			}
			hidden_effect = {
				country_event = {
					id = wrs.4
					days = 25
				}
			}
		}
		
	}
}

country_event = {
	id = wrs.2
	title = wrs.2.t
	desc = wrs.2.d
	picture = GFX_report_event_soviet_purge_officers_01

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.2.a
		SOV = {
			SOV_mikhail_tukhachevsky = {
				set_nationality = WRS
			}
		}
		
		set_country_flag = tukhachevsky_returned
	}
}

country_event = {
	id = wrs.3
	title = wrs.3.t
	desc = wrs.3.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3.a
		SOV = {
			SOV_georgy_zhukov = {
				set_nationality = WRS
			}
		}
		set_country_flag = zhukov_returned
	}
}

country_event = {
	id = wrs.4
	title = wrs.4.t
	desc = wrs.4.d
	picture = GFX_report_event_generic_military_parade

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4.a
		SOV = {
			SOV_georgy_zhukov = {
				set_nationality = WRS
			}
			SOV_mikhail_tukhachevsky = {
				set_nationality = WRS
			}
		}
		
		set_country_flag = zhukov_returned
		set_country_flag = tukhachevsky_returned
	}
}

country_event = {
	id = wrs.5
	title = wrs.5.t
	desc = wrs.5.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.5.a
		set_country_flag = wrs_has_hunger
		WRS_hunger_progressbar_var = yes
		custom_effect_tooltip = WRS_start_struggle_tt
		set_variable = { wrs_hunger_max_ammun = 20000 }
		set_variable = { wrs_hunger_current_ammun = 16500 }
		set_variable = { wrs_hunger_monthly_ammun = -3500 }
		set_variable = { wrs_hunger_current_kolhoz = 5000 }
		set_variable = { wrs_hunger_monthly_refugees = 14952 }
	}
}

country_event = {
	id = wrs.6
	title = wrs.6.t
	desc = wrs.6.d
	picture = GFX_report_event_generic_rally2

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.6.a
		add_stability = 0.1
		add_political_power = 5
	}
}

country_event = {
	id = wrs.7
	title = wrs.7.t
	desc = wrs.7.d
	picture = GFX_report_event_generic_communist_congress

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.7.a
		set_country_flag = WRS_voroshilov_ambitions_flag
		mark_focus_tree_layout_dirty = yes
		custom_effect_tooltip = WRS_start_struggle_tt
		WRS_struggle_progressbar_var = yes
		set_variable = { Zhukov_Progress = 30 }
		set_variable = { Tukhachevsky_Progress = 30 }
	}
}

country_event = {
	id = wrs.8
	title = wrs.8.t
	desc = wrs.8.d
	picture = GFX_report_event_generic_read_write

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.8.a
		set_country_flag = wrs_chosen_zhukov
		add_political_power = 50
		add_stability = 0.05
	}
}

country_event = {
	id = wrs.9
	title = wrs.9.t
	desc = wrs.9.d
	picture = GFX_report_event_generic_read_write

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.9.a
		set_country_flag = wrs_chosen_tukhachevsky
		add_political_power = 50
		add_war_support = 0.05
	}
}

country_event = {
	id = wrs.10
	title = wrs.10.t
	desc = wrs.10.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.10.a
		add_manpower = -1
	}
}

country_event = {
	id = wrs.11
	title = wrs.11.t
	desc = wrs.11.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.11.a
		add_to_variable = { Zhukov_Progress = 5 }
		custom_effect_tooltip = Zhukov_plus5
	}
}

country_event = {
	id = wrs.12
	title = wrs.12.t
	desc = wrs.12.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.12.a
		add_to_variable = { Tukhachevsky_Progress = -5 }
		custom_effect_tooltip = Tukhachevsky_minus5
		add_to_variable = { FRACTIONALISM_Progress = 15 }
		custom_effect_tooltip = FRACTIONALISM_plus15
	}
}

#ГОЛОД ПОДНИМАЕТСЯ НА БУНТ

country_event = {
	id = wrs.50
	title = wrs.50.t
	desc = wrs.50.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.50.a
		set_country_flag = WRS_hunger_chance
		
		custom_effect_tooltip = WRS_its_our_chance
		add_stability = -0.1
	}
}

country_event = {
	id = wrs.51
	title = wrs.51.t
	desc = wrs.51.d
	picture = GFX_report_event_gathering_protest

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.51.a
		
		every_state = {
			limit = {
				OR = {
					state = 251
					state = 401
					state = 250
				}
			}

			RSA = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		every_state = {
			limit = {
				OR = {
					state = 400
					state = 399
				}
			}

			RVY = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 833
					state = 249
				}
			}

			TAT = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 256
				}
			}

			CHU = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 651
				}
			}

			BSK = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		TAT = {
			add_ideas = RUS_not_faction
		}
		CHU = {
			add_ideas = RUS_not_faction
		}
		BSK = {
			add_ideas = RUS_not_faction
		}
		
		every_state = {
			limit = {
				OR = {
					state = 652
				}
			}

			OBB = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 582
				}
			}

			RGM = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 573
				}
			}

			RZL = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 398
				}
			}

			RPM = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 351
				}
			}

			RVL = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 397
				}
			}

			RUY = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 581
				}
			}

			RVO = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 252
				}
			}

			RGY = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
			release_on_controlled = KZN
			release_on_controlled = RAL
			release_on_controlled = RBR
			release_on_controlled = RCH
			release_on_controlled = REV
			release_on_controlled = RFA
			release_on_controlled = RIK
			release_on_controlled = RKY
			release_on_controlled = RMD
			release_on_controlled = RMR
			release_on_controlled = RMS
			release_on_controlled = RMV
			release_on_controlled = RNO
			release_on_controlled = RSR
			release_on_controlled = RTM
			release_on_controlled = RTY
			release_on_controlled = RYG
			release_on_controlled = RZH
			release_on_controlled = TAY
			release_on_controlled = YAK
			TAY = {
				add_ideas = RUS_not_faction
			}
			release_on_controlled = BYA
		
			every_state = {
			limit = {
				OR = {
					state = 571
				}
			}

			RMS = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 653
				}
			}

			RSR = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 580
					state = 579
				}
			}

			RYG = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 403
					state = 572
				}
			}

			RTY = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 825
					state = 262
					state = 880
					state = 214
				}
			}

			RAH = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		
	}
}

country_event = {
	id = wrs.200
	title = wrs.200.t
	desc = wrs.200.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.200.a
		
		custom_effect_tooltip = WRS_economy_start_tt
		set_variable = { wrs_economy_political_gain = -0.1 }
		clamp_variable = { var = wrs_economy_political_gain min = -1 max = 1 }
		set_variable = { wrs_economy_repair_speed = -0.15 }
		clamp_variable = { var = wrs_economy_repair_speed min = -1 max = 1 }
		set_variable = { wrs_economy_speed = -0.35 }
		clamp_variable = { var = wrs_economy_speed min = -1 max = 1 }
		set_variable = { wrs_economy_factory_speed = -0.35 }
		clamp_variable = { var = wrs_economy_factory_speed min = -1 max = 1 }
		set_variable = { wrs_economy_arms_speed = -0.35 }
		clamp_variable = { var = wrs_economy_arms_speed min = -1 max = 1 }
		set_variable = { wrs_economy_consumer = 0.5 }
		clamp_variable = { var = wrs_economy_consumer min = -1 max = 1 }
		set_variable = { wrs_economy_production = -0.3 }
		clamp_variable = { var = wrs_economy_production min = -1 max = 1 }
		complete_national_focus	= WRS_zhukov_economic_industry
	}
}

country_event = {
	id = wrs.201
	title = wrs.201.t
	desc = wrs.201.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.201.a
		WRS_influence_industrialists_plusplus_var = yes
	}
}

country_event = {
	id = wrs.202
	title = wrs.202.t
	desc = wrs.202.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.202.a
		custom_effect_tooltip = WRS_start_struggle_tt
		set_country_flag = wrs_industry_projects
		set_variable = { WRS_Progress_Industrial = 0 }
		WRS_progress_industry_var = yes
	}
}

#ЖУКОВ

country_event = {
	id = wrs.1001
	title = wrs.1001.t
	desc = wrs.1001.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1001.a
		hidden_effect = {
			activate_advisor = Kliment_Voroshilov
			retire_country_leader = yes
			country_event = {
				id = wrs.1003
				days = 15
				random_days = 10
			}
		}
		set_country_flag = WRS_Zhukov_Regime
		set_country_flag = WRS_is_not_voroshilov
		add_country_leader_role = {
				character = WRS_Leader_Zhukov
				promote_leader = yes
				country_leader = {
					desc = WRS_Georgy_Zhukov_desc
					ideology = leninism
					expire = "1975.1.1.1"
					traits = { war_industrialist }
				}
		}
		
		load_focus_tree = WRS_Zhukov_tree
		mark_focus_tree_layout_dirty = yes
	}
}

country_event = {
	id = wrs.1002
	title = wrs.1002.t
	desc = wrs.1002.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1002.a
		add_war_support = 0.01
	}
}

country_event = {
	id = wrs.1003
	title = wrs.1003.t
	desc = wrs.1003.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1003.a
		set_country_flag = wrs_influence_gui
		set_variable = { militarists_influence = 40 }
		set_variable = { science_influence = 18 }
		set_variable = { party_influence = 32 }
		set_variable = { industrialists_influence = 10 }
		WRS_influence_zhukov_var = yes
		create_pie_chart = yes
		custom_effect_tooltip = WRS_start_struggle_tt
		add_dynamic_modifier = {
			modifier = WRS_influence_zhukov_modif
		}
	}
}

country_event = {
	id = wrs.1004
	title = wrs.1004.t
	desc = wrs.1004.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1004.a
	}
}

country_event = {
	id = wrs.1005
	title = wrs.1005.t
	desc = wrs.1005.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1005.a
		clr_country_flag = wrs_has_hunger
		set_country_flag = wrs_hunger_is_done
	}
}

country_event = {
	id = wrs.1006
	title = wrs.1006.t
	desc = wrs.1006.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1006.a
		ai_chance = {
			base = 100
		}
	}
	
	option = {
		trigger = { }
		name = wrs.1006.b
		ai_chance = {
			base = -1
		}
	}
}

country_event = {
	id = wrs.1007
	title = wrs.1007.t
	desc = wrs.1007.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1007.a
		custom_effect_tooltip = wrs_army_attack_tt
		add_to_variable = { wrs_army_attack = 0.15 }
		ai_chance = {
			base = 100
		}
	}
	
	option = {
		trigger = { }
		name = wrs.1007.b
		add_equipment_to_stockpile = {
			type = infantry_equipment
			amount = 15000
			producer = WRS
		}
		ai_chance = {
			base = -1
		}
	}
}

country_event = {
	id = wrs.1008
	title = wrs.1008.t
	desc = wrs.1008.d
	picture = GFX_report_event_zhukov_cola

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1008.a
		add_political_power = 1
	}
}

country_event = {
	id = wrs.1009
	title = wrs.1009.t
	desc = wrs.1009.d
	picture = GFX_report_event_military_planning
	
	is_triggered_only = yes
	
	option = {
		trigger = { }
		name = wrs.1009.a
		
		KZN = {
			set_politics = {
				ruling_party = communism
				elections_allowed = no
			}
		}
		diplomatic_relation = {
			country = KZN
			relation = puppet
			active = yes
		}
	}
}

country_event = {
	id = wrs.1010
	title = wrs.1010.t
	desc = wrs.1010.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1010.a
		add_stability = 0.15
		add_popularity = {
			ideology = fascism
			popularity = -0.05
		}
	}
}

#Каганович
country_event = {
	id = wrs.1011
	title = wrs.1011.t
	desc = wrs.1011.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1011.a
		
		WRS = {
			country_event = {
				id = wrs.1012
				days = 5
			}
		}
		
		ai_chance = {
			base = 100
		}
	}
	option = {
		trigger = { }
		name = wrs.1011.b
		
		WRS = {
			country_event = {
				id = wrs.1013
				days = 5
			}
		}
		ai_chance = {
			base = -1
		}
	}
}

country_event = {
	id = wrs.1012
	title = wrs.1012.t
	desc = wrs.1012.d
	picture = GFX_report_event_military_planning
	
	is_triggered_only = yes
	
	option = {
		trigger = { }
		name = wrs.1012.a
		
		diplomatic_relation = {
			country = WSR
			relation = puppet
			active = yes
		}
		WSR = { add_ideas = WSR_start_idea_2 }
	}
}

country_event = {
	id = wrs.1013
	title = wrs.1013.t
	desc = wrs.1013.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1013.a
		
		create_wargoal = {
			type = puppet_wargoal_focus
			target = WSR
		}
	}
}

country_event = {
	id = wrs.1014
	title = wrs.1014.t
	desc = wrs.1014.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1014.a
	}
}

country_event = {
	id = wrs.1015
	title = wrs.1015.t
	desc = wrs.1015.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1015.a
		
		set_country_flag = WRS_partizan_unlock
		custom_effect_tooltip = WRS_partizan_unlock_tt
		
		hidden_effect = {
			GER = {	country_event = { id = wrs.600 days = 5 } }
		}
		
		if = {
			limit = {
				is_ai = yes
			}
			
			set_variable = { partizan_current_arming_moskowien = 8 }
			set_variable = { partizan_current_arming_kaukasien = 4 }
			set_variable = { partizan_current_arming_ukraine = 3 }
			set_variable = { partizan_current_arming_ostland = 2 }
			
			set_variable = { partizan_current_activity_moskowien = 100 }
			set_variable = { partizan_current_activity_ukraine = 80 }
			set_variable = { partizan_current_activity_kaukasien = 60 }
			set_variable = { partizan_current_activity_ostland = 40 }
		}
		
	}
}

country_event = {
	id = wrs.1016
	title = wrs.1016.t
	desc = wrs.1016.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1016.a
		
		custom_effect_tooltip = wrs_arming_partizan_kaukasien_tt
		add_to_variable = { partizan_current_arming_kaukasien = 1 }
	}
}

country_event = {
	id = wrs.1018
	title = wrs.1018.t
	desc = wrs.1018.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.1018.a
		add_stability = -0.01
	}
}

#Тухачевский

country_event = {
	id = wrs.2001
	title = wrs.2001.t
	desc = wrs.2001.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.2001.a
		retire_country_leader = yes
		add_country_leader_role = {
				character = WRS_Leader_Tukhachevsky
				promote_leader = yes
				country_leader = {
					desc = WRS_Michail_Tukhachevsky_desc
					ideology = leninism
					expire = "1975.1.1.1"
					traits = { anti_democrat }
				}
		}
		set_country_flag = WRS_is_not_voroshilov
		activate_advisor = Kliment_Voroshilov
		set_country_flag = WRS_Tuchachevsky_Regime
		load_focus_tree = WRS_Tukhach_tree
		mark_focus_tree_layout_dirty = yes
	}
}

country_event = {
	id = wrs.2005
	title = wrs.2005.t
	desc = wrs.2005.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.2005.a
		add_political_power = 150
		give_resource_rights = {
			receiver = USA
			state = 825
		}
		give_resource_rights = {
			receiver = USA
			state = 579
		}
		give_resource_rights = {
			receiver = USA
			state = 824
		}
		give_resource_rights = {
			receiver = USA
			state = 516
		}
	}
	option = {
		trigger = { }
		name = wrs.2005.b
		add_political_power = -100
		unlock_national_focus = WRS_tukhach_outer_8
	}
}

country_event = {
	id = wrs.2006
	title = wrs.2006.t
	desc = wrs.2006.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.2006.a
		add_political_power = 150
		give_resource_rights = {
			receiver = JAP
			state = 825
		}
		give_resource_rights = {
			receiver = JAP
			state = 579
		}
		give_resource_rights = {
			receiver = JAP
			state = 824
		}
		give_resource_rights = {
			receiver = JAP
			state = 516
		}
	}
	option = {
		trigger = { }
		name = wrs.2006.b
		add_political_power = -100
		unlock_national_focus = WRS_tukhach_outer_10
	}
}

country_event = {
	id = wrs.2010
	title = wrs.2010.t
	desc = wrs.2010.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.2010.a
		add_war_support = 0.05
	}
}


#ЗАПАДНОРУССКАЯ ВОЙНА

#Начало

#Жуков
country_event = {
	id = wrs.2998
	title = wrs.2998.t
	desc = wrs.2998.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.2998.a
		
		clamp_variable = {
			var = WAR_exhaustion_bar_GER
			min = 0
			max = 100
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_moskowien_modif
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_ukraine_modif
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_kaukasien_modif
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_ostland_modif
		}
		WRS = {
			country_event = wrs.3000
		}
		hidden_effect = {
			country_event = { id = wrs.3007 days = 4}
			news_event = { id = wrsnews.2998 days = 2} 
		}
	}
}

#Тухачевский
country_event = {
	id = wrs.2999
	title = wrs.2999.t
	desc = wrs.2999.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.2999.a
		
		clamp_variable = {
			var = WAR_exhaustion_bar_GER
			min = 0
			max = 100
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_moskowien_modif
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_ukraine_modif
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_kaukasien_modif
		}
		add_dynamic_modifier = {
			modifier = GER_partizan_ostland_modif
		}
		hidden_effect = {
			country_event = { id = wrs.3007 days = 4}
			WRS = {
				country_event = wrs.3000
			}
			news_event = { id = wrsnews.2999 days = 2} 
		}
	}
}

country_event = {
	id = wrs.3000
	title = wrs.3000.t
	desc = wrs.3000.d
	picture = GFX_report_event_military_planning


	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3000.a
		
		clamp_variable = {
			var = WAR_exhaustion_bar_WRS
			min = 0
			max = 100
		}
		GER = {
			clr_country_flag = GER_struggle_with_partizans
		}
		
		hidden_effect = {
			if = {
				limit = { check_variable = { partizan_current_arming_moskowien > 0 } }
				load_oob = WRS_PARTIZAN_MOSKOWIEN_1
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 1 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_2
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 2 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_3
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 3 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_4
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 4 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_5
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 5 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_6
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 6 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_7
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 7 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_8
				}
				if = {
					limit = { check_variable = { partizan_current_arming_moskowien > 9 } }
					load_oob = WRS_PARTIZAN_MOSKOWIEN_9
				}
				
				if = {
					limit = { check_variable = { partizan_current_arming_kaukasien > 0 } }
					load_oob = WRS_PARTIZAN_KAUKASIEN_1
				}
				if = {
					limit = { check_variable = { partizan_current_arming_kaukasien > 1 } }
					load_oob = WRS_PARTIZAN_KAUKASIEN_2
				}
				if = {
					limit = { check_variable = { partizan_current_arming_kaukasien > 2 } }
					load_oob = WRS_PARTIZAN_KAUKASIEN_3
				}
				if = {
					limit = { check_variable = { partizan_current_arming_kaukasien > 3 } }
					load_oob = WRS_PARTIZAN_KAUKASIEN_4
				}
				if = {
					limit = { check_variable = { partizan_current_arming_kaukasien > 4 } }
					load_oob = WRS_PARTIZAN_KAUKASIEN_5
				}
				
				if = {
					limit = { check_variable = { partizan_current_arming_ukraine > 0 } }
					load_oob = WRS_PARTIZAN_UKRAINE_1
				}
				if = {
					limit = { check_variable = { partizan_current_arming_ukraine > 1 } }
					load_oob = WRS_PARTIZAN_UKRAINE_2
				}
				if = {
					limit = { check_variable = { partizan_current_arming_ukraine > 2 } }
					load_oob = WRS_PARTIZAN_UKRAINE_3
				}
				if = {
					limit = { check_variable = { partizan_current_arming_ukraine > 3 } }
					load_oob = WRS_PARTIZAN_UKRAINE_4
				}
				
				if = {
					limit = { check_variable = { partizan_current_arming_ostland > 0 } }
					load_oob = WRS_PARTIZAN_OSTLAND_1
				}
				if = {
					limit = { check_variable = { partizan_current_arming_ostland > 1 } }
					load_oob = WRS_PARTIZAN_OSTLAND_2
				}
				if = {
					limit = { check_variable = { partizan_current_arming_ostland > 2 } }
					load_oob = WRS_PARTIZAN_OSTLAND_3
				}
		}
		#Подсчёт партизан
		
	}
}

country_event = {
	id = wrs.3001
	title = wrs.3001.t
	desc = wrs.3001.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3001.a
		
		custom_effect_tooltip = WAR_exhaustion_minus_5
		add_to_variable = { WAR_exhaustion_bar_WRS = -5 }
		WRS = {
			country_event = { id = wrs.3002 days = 5 }
		}
	}
}

country_event = {
	id = wrs.3002
	title = wrs.3002.t
	desc = wrs.3002.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3002.a
		
		custom_effect_tooltip = WAR_exhaustion_plus_5
		add_to_variable = { WAR_exhaustion_bar_WRS = 5 }
		
		hidden_effect = {
			news_event = wrsnews.3002
		}
		
		FIN = {
			declare_war_on = {
                target = WRS
                type = annex_everything
            }
		}
	}
}

country_event = {
	id = wrs.3003
	title = wrs.3003.t
	desc = wrs.3003.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3003.a
		
		custom_effect_tooltip = WAR_exhaustion_minus_5
		add_to_variable = { WAR_exhaustion_bar_WRS = -5 }
		
		GER = {
			country_event = wrs.3004
		}
	}
}

country_event = {
	id = wrs.3004
	title = wrs.3004.t
	desc = wrs.3004.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3004.a
		
		custom_effect_tooltip = WAR_exhaustion_plus_5
		add_to_variable = { WAR_exhaustion_bar_GER = 5 }
			
		news_event = wrsnews.3004
	}
}

#Истощение ЗРРФ
country_event = {
	id = wrs.3005
	title = wrs.3005.t
	desc = wrs.3005.d
	picture = GFX_report_event_military_planning

	trigger = {
		tag = WRS
		check_variable = { WAR_exhaustion_bar_WRS > 99 }
	}

	fire_only_once = yes

	option = {
		trigger = { }
		name = wrs.3005.a
		add_ideas = WRS_IS_DEFEATED
		hidden_effect = {
			country_event = wrs.4001
		}
	}
}

#Истощение Германии
country_event = {
	id = wrs.3006
	title = wrs.3006.t
	desc = wrs.3006.d
	picture = GFX_report_event_military_planning

	trigger = {
		tag = GER
		check_variable = { WAR_exhaustion_bar_GER > 99 }
	}

	fire_only_once = yes

	option = {
		trigger = { }
		name = wrs.3006.a
		add_ideas = GER_IS_DEFEATED
	}
}

country_event = {
	id = wrs.3007
	title = wrs.3007.t
	desc = wrs.3007.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3007.a
		
		custom_effect_tooltip = WAR_exhaustion_plus_5
		add_to_variable = { WAR_exhaustion_bar_GER = 5 }
		
		every_state = {
			limit = {
				OR = {
					state = 231
					state = 821
				}
			}
			hidden_effect = {
				QZQ = {
					transfer_state = PREV
				}
			}
		}
		
		QZQ = {
			declare_war_on = {
				target = GER
				type = annex_everything
			}
			hidden_effect = {
				load_oob = Beria_start
			}
		}
		WRS = {
			diplomatic_relation = {
				country = QZQ
				relation = puppet
				active = no
			}
		}
	}
}

country_event = {
	id = wrs.3008
	title = wrs.3008.t
	desc = wrs.3008.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3008.a
		
		custom_effect_tooltip = WAR_exhaustion_plus_15
		add_to_variable = { WAR_exhaustion_bar_WRS = 15 }
		every_state = {
			limit = {
				OR = {
					state = 251
				}
			}

			RZZ = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		RZZ = {
			declare_war_on = {
				target = WRS
				type = annex_everything
			}
			hidden_effect = {
				load_oob = ROA_start
			}
		}
	}
}

country_event = {
	id = wrs.3010
	title = wrs.3010.t
	desc = wrs.3010.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3010.a
		hidden_effect = {
			country_event = { id = wrs.3011 days = 3}
		}
	}
}

country_event = {
	id = wrs.3011
	title = wrs.3011.t
	desc = wrs.3011.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3011.a
		
		add_stability = -0.25
		
		GER = {
			kill_country_leader = yes
		}
	}
}

country_event = {
	id = wrs.3012
	title = wrs.3012.t
	desc = wrs.3012.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3012.a
		
		add_stability = -0.25
	}
}

country_event = {
	id = wrs.3013
	title = wrs.3013.t
	desc = wrs.3013.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3013.a
		
		ai_chance = {
			base = 100
		}
		
		add_stability = 0.05
		
		every_state = {
			limit = {
				OR = {
					state = 5
					state = 97
					state = 92
					state = 88
					state = 762
					state = 90
					state = 10
					state = 98
					state = 85
					state = 807
					state = 86
					state = 63
					state = 68
					state = 66
					state = 67
					state = 87
				}
				owner = {
					OR = {
						tag = GER
						tag = WRS
						is_subject_of = GER
					}
				}
			}
			POL = {
				transfer_state = PREV
				add_state_core = PREV
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 89
					state = 91
					state = 93
					state = 94
					state = 95
					state = 96
					state = 784
				}
			}
			WRS = {
				transfer_state = PREV
				add_state_core = PREV
			}
		}
		
		POL = {
			set_politics = {
				ruling_party = communism
				elections_allowed = no
				last_election = "1935.12.17"
				election_frequency = 48
			}
		}
		diplomatic_relation = {
			country = POL
			relation = puppet
			active = yes
		}
	}
	
	option = {
		trigger = { }
		name = wrs.3013.b
		
		ai_chance = {
			base = -100
		}
		
		add_stability = -0.05
		add_political_power = -150
		
		every_state = {
			limit = {
				OR = {
					state = 89
					state = 91
					state = 93
					state = 94
					state = 95
					state = 96
					state = 784
				}
			}
			WRS = {
				transfer_state = PREV
				add_state_core = PREV
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 5
					state = 97
					state = 92
					state = 88
					state = 762
					state = 90
					state = 10
					state = 98
					state = 85
					state = 807
					state = 86
					state = 63
					state = 68
					state = 66
					state = 67
					state = 87
				}
				owner = {
					OR = {
						tag = GER
						is_subject_of = GER
					}
				}
			}
			WRS = {
				transfer_state = PREV
			}
		}
	}
}

country_event = {
	id = wrs.3014
	title = wrs.3014.t
	desc = wrs.3014.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3014.a
		
		ai_chance = {
			base = 100
		}
		add_stability = 0.05
		
		diplomatic_relation = {
			country = USA
			relation = docking_rights
			active = yes
		}
		diplomatic_relation = {
			country = USA
			relation = non_aggression_pact
			active = yes
		}
	}
	
	option = {
		trigger = { }
		name = wrs.3014.b
		
		ai_chance = {
			base = -100
		}
		
		add_stability = -0.15
		add_war_support = 0.05
		add_political_power = 150
	}
}

country_event = {
	id = wrs.3015
	title = wrs.3015.t
	desc = wrs.3015.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3015.a
		
		hidden_effect = {
			every_state = {
				limit = {
					is_core_of = KZN
				}

				WRS = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
	}
}

country_event = {
	id = wrs.3016
	title = wrs.3016.t
	desc = wrs.3016.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3016.a
		
		hidden_effect = {
			every_state = {
				limit = {
					is_core_of = WSR
				}

				WRS = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
	}
}

country_event = {
	id = wrs.3017
	title = wrs.3017.t
	desc = wrs.3017.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3017.a

		ai_chance = {
			base = 100
		}
	
		add_political_power = -50
	
		hidden_effect = {
			every_state = {
				limit = {
					OR = {
						state = 408
						state = 409
						state = 657
						state = 561
						state = 560
					}
				}

				WRS = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
	}
	option = {
		trigger = { }
		name = wrs.3017.b
		
		ai_chance = {
			base = -100
		}
		
		add_political_power = 50
		add_stability = -0.01
		
	}
}

country_event = {
	id = wrs.3018
	title = wrs.3018.t
	desc = wrs.3018.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3018.a
		
		ai_chance = {
			base = 100
		}
		add_stability = 0.05
		
		hidden_effect = {
			every_state = {
				limit = {
					is_core_of = TRC
				}

				WRS = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
			every_state = {
				limit = {
					is_core_of = TRK
				}

				WRS = {
					add_state_core = PREV
				}
			}
		}
		declare_war_on = {
			target = TRK
			type = annex_everything
		}
	}
}

country_event = {
	id = wrs.3019
	title = wrs.3019.t
	desc = wrs.3019.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.3019.a
		hidden_effect = { set_cosmetic_tag = SOV }
		custom_effect_tooltip = wrs3019_tt
	}
}

#Развал ЗРРФ Жукова

country_event = {
	id = wrs.4001
	title = wrs.4001.t
	desc = wrs.4001.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4001.a
		
		hidden_effect = {
			GER = {
				remove_dynamic_modifier = {
					modifier = GER_partizan_moskowien_modif
				}
				remove_dynamic_modifier = {
					modifier = GER_partizan_ostland_modif
				}
				remove_dynamic_modifier = {
					modifier = GER_partizan_ukraine_modif
				}
				remove_dynamic_modifier = {
					modifier = GER_partizan_kaukasien_modif
				}
				remove_ideas = {
					GER_IS_DEFEATED
					WRS_struggling_reichskomms
					GER_problems_with_communication
					GER_suddenly_attacked
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 251
					state = 401
					state = 250
				}
			}

			RSA = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		every_state = {
			limit = {
				OR = {
					state = 400
					state = 399
				}
			}

			RVY = {

				transfer_state = PREV
				
				hidden_effect = {
					add_state_core = PREV
				}

			}
		}
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4002
					days = 3
				}
			}
		}
	}
}

country_event = {
	id = wrs.4002
	title = wrs.4002.t
	desc = wrs.4002.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4002.a
		
		every_state = {
			limit = {
				OR = {
					state = 833
					state = 249
				}
			}

			TAT = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 256
				}
			}

			CHU = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 651
				}
			}

			BSK = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		TAT = {
			add_ideas = RUS_not_faction
		}
		CHU = {
			add_ideas = RUS_not_faction
		}
		BSK = {
			add_ideas = RUS_not_faction
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4003
					days = 3
				}
			}
		}
	}
}

country_event = {
	id = wrs.4003
	title = wrs.4003.t
	desc = wrs.4003.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4003.a
		
		every_state = {
			limit = {
				OR = {
					state = 652
				}
			}

			OBB = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 582
				}
			}

			RGM = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4004
					days = 3
				}
			}
		}
	}
}

country_event = {
	id = wrs.4004
	title = wrs.4004.t
	desc = wrs.4004.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4004.a
		
		every_state = {
			limit = {
				OR = {
					state = 573
				}
			}

			RZL = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4005
					days = 3
				}
			}
		}
	}
}

country_event = {
	id = wrs.4005
	title = wrs.4005.t
	desc = wrs.4005.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4005.a
		
		every_state = {
			limit = {
				OR = {
					state = 398
				}
			}

			RPM = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4006
					days = 3
				}
			}
		}
	}
}

country_event = {
	id = wrs.4006
	title = wrs.4006.t
	desc = wrs.4006.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4006.a
		
		every_state = {
			limit = {
				OR = {
					state = 351
				}
			}

			RVL = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4007
					days = 2
				}
			}
		}
	}
}

country_event = {
	id = wrs.4007
	title = wrs.4007.t
	desc = wrs.4007.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4007.a
		
		if = {
			limit = {
				country_exists = FIN
			}
			every_state = {
				limit = {
					OR = {
						state = 213
						state = 215
						state = 722
						state = 147
						state = 146
						state = 216
					}
				}

				FIN = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 879
				}
			}

			VTY = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4008
					days = 2
				}
			}
		}
	}
}

country_event = {
	id = wrs.4008
	title = wrs.4008.t
	desc = wrs.4008.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4008.a
		
		every_state = {
			limit = {
				OR = {
					state = 397
				}
			}

			RUY = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 581
				}
			}

			RVO = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4009
					days = 2
				}
			}
		}
	}
}

country_event = {
	id = wrs.4009
	title = wrs.4009.t
	desc = wrs.4009.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4009.a
		
		every_state = {
			limit = {
				OR = {
					state = 252
				}
			}

			RGY = {
				hidden_effect = {
					transfer_state = PREV
					add_state_core = PREV
				}
			}
		}
		
		WRS = {
			hidden_effect = {
				country_event = {
					id = wrs.4010
					days = 3
				}
			}
		}
	}
}

country_event = {
	id = wrs.4010
	title = wrs.4010.t
	desc = wrs.4010.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.4010.a
		
		hidden_effect = {
			KZN = { 
				white_peace = {
					tag = GER
					message = wrw_peace
				}
			}
			KZN = { 
				white_peace = {
					tag = JAP
					message = wrw_peace
				}
			}
			KZN = { 
				white_peace = {
					tag = FIN
					message = wrw_peace
				}
			}
			
			if = {
				limit = {
					GER = {
						has_country_flag = economic_crisis_ger
					}
				}
				GER = {
					country_event = {
						days = 30
						id = wrs.5000
					}
				}
			}
			
		}
		
		custom_effect_tooltip = wrs4010_tt
		
		news_event = wrsnews.2
		
		hidden_effect = {
			release_on_controlled = KZN
			release_on_controlled = RAL
			release_on_controlled = RBR
			release_on_controlled = RCH
			release_on_controlled = REV
			release_on_controlled = RFA
			release_on_controlled = RIK
			release_on_controlled = RKY
			release_on_controlled = RMD
			release_on_controlled = RMR
			release_on_controlled = RMS
			release_on_controlled = RMV
			release_on_controlled = RNO
			release_on_controlled = RSR
			release_on_controlled = RTM
			release_on_controlled = RTY
			release_on_controlled = RYG
			release_on_controlled = RZH
			release_on_controlled = TAY
			release_on_controlled = YAK
			release_on_controlled = BYA
		}
		
		hidden_effect = {
			every_state = {
			limit = {
				OR = {
					state = 571
				}
			}

			RMS = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 653
				}
			}

			RSR = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 580
					state = 579
				}
			}

			RYG = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		every_state = {
			limit = {
				OR = {
					state = 403
					state = 572
				}
			}

			RTY = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		
		every_state = {
			limit = {
				OR = {
					state = 825
					state = 262
					state = 880
					state = 214
				}
			}

			RAH = {
					transfer_state = PREV
					add_state_core = PREV
			}
		}
		}
	}
}


country_event = {
	id = wrs.5000
	title = wrs.5000.t
	desc = wrs.5000.d
	picture = GFX_report_event_military_planning

	is_triggered_only = yes

	option = {
		trigger = { }
		name = wrs.5000.a
		
		GER = {
			add_days_mission_timeout = {
				mission = mission_preventwar
				days = -9999
			}
		}
	}
}