WRS_struggle_progressbar_var = {
	clamp_variable = { var = Tukhachevsky_Progress min = 0 max = 100 }
	clamp_variable = { var = Zhukov_Progress min = 0 max = 100 }
	clamp_variable = { var = FRACTIONALISM_Progress min = 0 max = 100 }
	round_variable = Tukhachevsky_Progress
	round_variable = Zhukov_Progress
	round_variable = FRACTIONALISM_Progress
}

WRS_influence_zhukov_var = {
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.002 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.003 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.02 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.015 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.006 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_progress_industry_var = {
	clamp_variable = { var = WRS_Progress_Industrial min = 0 max = 100 }
	
	round_variable = WRS_Progress_Industrial
}

WRS_influence_militarists_plusplus_var = {
	add_to_variable = { militarists_influence = 6 }
	add_to_variable = { science_influence = -2 }
	add_to_variable = { party_influence = -2 }
	add_to_variable = { industrialists_influence = -2 }
	custom_effect_tooltip = influence_militarists_plusplus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_influence_science_plusplus_var = {
	add_to_variable = { militarists_influence = -2 }
	add_to_variable = { science_influence = 6 }
	add_to_variable = { party_influence = -2 }
	add_to_variable = { industrialists_influence = -2 }
	custom_effect_tooltip = influence_science_plusplus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_influence_party_plusplus_var = {
	add_to_variable = { militarists_influence = -2 }
	add_to_variable = { science_influence = -2 }
	add_to_variable = { party_influence = 6 }
	add_to_variable = { industrialists_influence = -2 }
	custom_effect_tooltip = influence_party_plusplus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_influence_industrialists_plusplus_var = {
	add_to_variable = { militarists_influence = -2 }
	add_to_variable = { science_influence = -2 }
	add_to_variable = { party_influence = -2 }
	add_to_variable = { industrialists_influence = 6 }
	custom_effect_tooltip = influence_industrialists_plusplus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_influence_militarists_plus_var = {
	add_to_variable = { militarists_influence = 3 }
	add_to_variable = { science_influence = -1 }
	add_to_variable = { party_influence = -1 }
	add_to_variable = { industrialists_influence = -1 }
	custom_effect_tooltip = influence_militarists_plus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_influence_science_plus_var = {
	add_to_variable = { militarists_influence = -1 }
	add_to_variable = { science_influence = 3 }
	add_to_variable = { party_influence = -1 }
	add_to_variable = { industrialists_influence = -1 }
	custom_effect_tooltip = influence_science_plus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_influence_party_plus_var = {
	add_to_variable = { militarists_influence = -1 }
	add_to_variable = { science_influence = -1 }
	add_to_variable = { party_influence = 3 }
	add_to_variable = { industrialists_influence = -1 }
	custom_effect_tooltip = influence_party_plus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}

WRS_influence_industrialists_plus_var = {
	add_to_variable = { militarists_influence = -1 }
	add_to_variable = { science_influence = -1 }
	add_to_variable = { party_influence = -1 }
	add_to_variable = { industrialists_influence = 3 }
	custom_effect_tooltip = influence_industrialists_plus_tt
	
	clamp_variable = { var = militarists_influence min = 0 max = 100 }
	clamp_variable = { var = science_influence min = 0 max = 100 }
	clamp_variable = { var = party_influence min = 0 max = 100 }
	clamp_variable = { var = industrialists_influence min = 0 max = 100 }
	
	set_variable = { militarists_influence_1 = militarists_influence }
	multiply_variable = { militarists_influence_1 = 0.005 }
	set_variable = { militarists_influence_2 = militarists_influence }
	multiply_variable = { militarists_influence_2 = 0.004 }
	
	set_variable = { science_influence_1 = science_influence }
	multiply_variable = { science_influence_1 = 0.015 }
	
	set_variable = { industrialists_influence_1 = industrialists_influence }
	multiply_variable = { industrialists_influence_1 = 0.015 }
	set_variable = { industrialists_influence_2 = industrialists_influence }
	multiply_variable = { industrialists_influence_2 = 0.01 }
	
	set_variable = { party_influence_1 = party_influence }
	multiply_variable = { party_influence_1 = 0.007 }
	
	round_variable = militarists_influence
	round_variable = science_influence
	round_variable = party_influence
	round_variable = industrialists_influence
}