# Valid unit modifiers are not exhaustive
# Currently supported:
# army_morale
# army_morale_factor
# army_org
# army_org_factor
# supply_consumption_factor
# equipment_capture
# equipment_capture_factor
# army_fuel_capacity_factor
# army_fuel_consumption_factor
# recon_factor
# recon_factor_while_entrenched
# transport_capacity (?)
# breakthrough_factor
# armor_factor
# army_strength_factor
# experience_loss_factor
# leader_modifier applies unit modifiers to all units under them as a general, similarly to traits.
# army_attack_factor
# army_defence_factor
# max_dig_in
# max_dig_in_factor

@cost = 30

unit_medals = {
	
	### SOV
	
	Order_of_Victory = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes

		}
		frame = 1
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			army_strength_factor = 0.02
			army_morale_factor = 0.02
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Hero_of_the_Soviet_Union = {
		
		available = { should_have_soviet_medals_trigger = yes
			has_government = communism
		 }
		frame = 2
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	Order_of_Lenin = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_government = communism
		}
		frame = 3
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			supply_consumption_factor = -0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Order_of_Stalin = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_government = communism
			has_completed_focus = SOV_father_of_nations
		}
		frame = 4
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			army_fuel_consumption_factor = -0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	
	Order_of_the_Red_Banner = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_government = communism
		}
		frame = 5
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.08
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Order_of_Suvorov = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 6
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			max_dig_in_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Order_of_Kutuzov_ = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 7
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			army_defence_factor = 0.10

		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	Order_of_Bogdan_Khmelnitsky = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 8
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			breakthrough_factor = 0.08

		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Order_of_Alexander_Nevsky = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 9
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			recon_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Order_of_the_Patriotic_War = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
		}
		frame = 10
		icon = "GFX_medal_icon_sov"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Order_of_the_Red_Star = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_government = communism
		}
		frame = 11
		icon = "GFX_medal_icon_sov"
		
		cost = 5
		
		unit_modifiers = {
			army_attack_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}

	Medal_For_the_Defence_of_the_Soviet_Transarctic = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
			has_completed_focus = SOV_impregnable_forts
			controls_state = 213
		}
		frame = 12
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			army_fuel_capacity_factor = 0.15
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	

	
	Medal_For_the_Defence_of_Leningrad = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
			has_completed_focus = SOV_impregnable_forts
			controls_state = 195
		}
		frame = 13
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			supply_consumption_factor = -0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Medal_For_the_Defence_of_Moscow = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
			has_completed_focus = SOV_the_defense_of_moscow
			controls_state = 219
		}
		frame = 14
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			army_morale_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Medal_For_the_Defence_of_Odessa = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
			has_completed_focus = SOV_impregnable_forts
			controls_state = 192
		}
		frame = 15
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			max_dig_in_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Medal_For_the_Defence_of_Sevastopol = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
			has_completed_focus = SOV_impregnable_forts
			controls_state = 137
		}
		frame = 16
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			army_defence_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	Medal_For_the_Defence_of_Stalingrad = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
			has_completed_focus = SOV_impregnable_forts
			controls_state = 217

		}
		frame = 17
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			army_org_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Medal_For_the_Defence_of_the_Caucasus = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_war_with_major = yes
			has_completed_focus = SOV_impregnable_forts
			controls_state = 229
		}
		frame = 18
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			equipment_capture_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Jubilee_Medal_XX_Years_of_the_Workers_and_Peasants_Red_Army = {
		
		available = { should_have_soviet_medals_trigger = yes 
			has_government = communism
			NOT = { has_completed_focus = SOV_rehabilitated_military

			}
			has_war_with_major = no
		}
		frame = 19
		icon = "GFX_medal_icon_sov"
		
		cost = 3
		
		unit_modifiers = {
			experience_loss_factor = -0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	
}
