# 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 = {
	

	### USA

	medal_of_honor_ = {
		
		available = { should_have_usa_medals_trigger = yes
		 }
		frame = 1
		icon = "GFX_medal_icon_usa"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.02
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Distinguished_Service_Cross_ = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 2
		icon = "GFX_medal_icon_usa"
		
		cost = 10		
		unit_modifiers = {
			army_fuel_consumption_factor = -0.075
			supply_consumption_factor = -0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Distinguished_Service_Medal = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 3
		icon = "GFX_medal_icon_usa"
		
		cost = 10
		
		unit_modifiers = {
			army_attack_factor = 0.03
			army_defence_factor = 0.03
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Silver_Star_ = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 4
		icon = "GFX_medal_icon_usa"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Legion_of_Merit = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 5
		icon = "GFX_medal_icon_usa"
		
		cost = 10
		
		unit_modifiers = {
			recon_factor = 0.06
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Bronze_Star_ = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 6
		icon = "GFX_medal_icon_usa"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.08
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Army_Commendation_Medal = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 7
		icon = "GFX_medal_icon_usa"
		
		cost = 5
		
		unit_modifiers = {
			army_org_factor = 0.1

		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Purple_Heart = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 8
		icon = "GFX_medal_icon_usa"
		
		cost = 5
		
		unit_modifiers = {
			experience_loss_factor = -0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Combat_Infantryman_Badge = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 9
		icon = "GFX_medal_icon_usa"
		
		cost = 5
		
		unit_modifiers = {
			breakthrough_factor = 0.10

		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	American_Defense_Service_Medal = {
		
		available = { should_have_usa_medals_trigger = yes 
				has_war_with_major = no
		}
		frame = 10
		icon = "GFX_medal_icon_usa"
		
		cost = 3
		
		unit_modifiers = {
			supply_consumption_factor = -0.10

		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	American_Campaign_Medal = {
		
		available = { should_have_usa_medals_trigger = yes 
				has_war_with_major = yes
		}
		frame = 11
		icon = "GFX_medal_icon_usa"
		
		cost = 3
		
		unit_modifiers = {
			equipment_capture_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	China_Service_Medal = {
		
		available = { should_have_usa_medals_trigger = yes 
			has_war = no
			CHI = { has_defensive_war = yes
			} 
			has_opinion = {
    				target = CHI
    				value > 50
			}
		}
		frame = 12
		icon = "GFX_medal_icon_usa"
		
		cost = 3
		
		unit_modifiers = {
			max_dig_in_factor = 0.2　

		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	European_African_MiddleEastern_Campaign_Medal = {
		
		available = { should_have_usa_medals_trigger = yes 
			OR = {  has_war_with = GER
				has_war_with = SOV
				has_war_with = ITA
				has_war_with = FRA
				has_war_with = ENG

			}
		}
		frame = 13
		icon = "GFX_medal_icon_usa"
		
		cost = 3
		
		unit_modifiers = {
			army_attack_factor = 0.08
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Asiatic_Pacific_Campaign_Medal = {
		
		available = { should_have_usa_medals_trigger = yes 
			OR = {  has_war_with = JAP
				has_war_with = SOV
				has_war_with = CHI
			}
		}
		frame = 14
		icon = "GFX_medal_icon_usa"
		
		cost = 3
		
		unit_modifiers = {
			army_strength_factor = 0.08
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Marine_Corps_Expeditionary_Medal = {
		
		available = { should_have_usa_medals_trigger = yes 
			has_war = yes
		}
		frame = 15
		icon = "GFX_medal_icon_usa"
		
		cost = 3
		
		unit_modifiers = {
			breakthrough_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	
	
	
}
