# 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 = {
	
	### FRA
	
	Ordre_national_de_la_Legion_dhonneur = {
		
		available = { should_have_french_medals_trigger = yes }
		frame = 1
		icon = "GFX_medal_icon_fra"
		
		cost = 10		
		unit_modifiers = {
			army_morale_factor = 0.05
			army_strength_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Ordre_de_la_Liberation = {
		
		available = { should_have_french_medals_trigger = yes
			NOT = { has_government = fascism
			}

		}
		frame = 2
		icon = "GFX_medal_icon_fra"
		
		cost = 10
		
		unit_modifiers = {
			supply_consumption_factor = -0.1
			army_attack_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Medaille_militaire = {
		
		available = { should_have_french_medals_trigger = yes }
		frame = 7
		icon = "GFX_medal_icon_fra"
		
		cost = 10
		
		unit_modifiers = {
			breakthrough_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Croix_du_combattant = {
		
		available = { should_have_french_medals_trigger = yes }
		frame = 3
		icon = "GFX_medal_icon_fra"
		
		cost = 10
		
		unit_modifiers = {
			supply_consumption_factor = -0.1
			army_defence_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Croix_de_Guerre = {
		
		available = { should_have_french_medals_trigger = yes 
			NOT = { has_government = fascism
			}
		}
		frame = 4
		icon = "GFX_medal_icon_fra"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Croix_de_Guerre_Vichy = {
		
		available = { should_have_french_medals_trigger = yes 
			has_government = fascism
			NOT = { has_war_with = SOV
			}

		}
		frame = 5
		icon = "GFX_medal_icon_fra"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Croix_de_Guerre_LVF = {
		
		available = { should_have_french_medals_trigger = yes 
			has_government = fascism
			has_war_with = SOV
		}
		frame = 6
		icon = "GFX_medal_icon_fra"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.15
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Medaille_des_blesses_de_guerre = {
		
		available = { should_have_french_medals_trigger = yes }
		frame = 8
		icon = "GFX_medal_icon_fra"
		
		cost = 5
		
		unit_modifiers = {
			experience_loss_factor = -0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
}
