# 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
	
	bronze_star = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 1
		icon = "GFX_medal_icon_usa"
		
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.05
			army_org_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	silver_star = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 2
		icon = "GFX_medal_icon_usa"
		
		cost = @cost
		
		unit_modifiers = {
			supply_consumption_factor = -0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	distinguished_service_cross = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 3
		icon = "GFX_medal_icon_usa"
		
		cost = @cost
		
		unit_modifiers = {
			army_attack_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	medal_of_honor = {
		
		available = { should_have_usa_medals_trigger = yes }
		frame = 4
		icon = "GFX_medal_icon_usa"
		
		cost = @cost
		
		unit_modifiers = {
			experience_loss_factor = -0.2
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	### SOV
	
	battle_merit_medal = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 1
		icon = "GFX_medal_icon_sov"
		
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.15
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	order_of_kutuzov = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 2
		icon = "GFX_medal_icon_sov"
		
		cost = @cost
		
		unit_modifiers = {
			max_dig_in_factor = 0.15
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	order_of_the_red_banner = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 3
		icon = "GFX_medal_icon_sov"
		
		cost = @cost
		
		unit_modifiers = {
			army_strength_factor = 0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	hero_of_the_soviet_union = {
		
		available = { should_have_soviet_medals_trigger = yes }
		frame = 4
		icon = "GFX_medal_icon_sov"
		
		cost = @cost
		
		unit_modifiers = {
			army_org_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	### ENG
	
	dispatches_oak_leaves = {
		
		available = { should_have_english_medals_trigger = yes }
		frame = 1
		icon = "GFX_medal_icon_eng"
		
		cost = @cost
		
		unit_modifiers = {
			recon_factor_while_entrenched = 0.25
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	order_british_empire = {
		
		available = { should_have_english_medals_trigger = yes }
		frame = 2
		icon = "GFX_medal_icon_eng"
		
		cost = @cost
		
		unit_modifiers = {
			army_strength_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	distinguished_service_order = {
		
		available = { should_have_english_medals_trigger = yes }
		frame = 3
		icon = "GFX_medal_icon_eng"
		
		cost = @cost
		
		unit_modifiers = {
			army_defence_factor = 0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	victoria_cross = {
		
		available = { should_have_english_medals_trigger = yes }
		frame = 4
		icon = "GFX_medal_icon_eng"
		
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.15
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	### JAP
	
	military_medal_of_honor = {
		
		available = { should_have_japanese_medals_trigger = yes }
		frame = 1
		icon = "GFX_medal_icon_jap"
		
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	sacred_treasure = {
		
		available = { should_have_japanese_medals_trigger = yes }
		frame = 2
		icon = "GFX_medal_icon_jap"
		
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.05
			army_strength_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	golden_kite = {
		
		available = { should_have_japanese_medals_trigger = yes }
		frame = 3
		icon = "GFX_medal_icon_jap"
		
		cost = @cost
		
		unit_modifiers = {
			supply_consumption_factor = -0.1
			army_attack_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	order_of_chrysanthemum = {
		
		available = { should_have_japanese_medals_trigger = yes }
		frame = 4
		icon = "GFX_medal_icon_jap"
		
		cost = @cost
		
		unit_modifiers = {
			breakthrough_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	
	### Generic Democratic
	
	democratic_gallantry = {
		
		available = { 
			has_government = democratic 
			 
		}
		frame = 1
		icon = "GFX_medal_icon_democratic"
	
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	democratic_honor = {
		
		available = { 
			has_government = democratic 
			 
		}
		frame = 2
		icon = "GFX_medal_icon_democratic"
	
		cost = @cost
		
		unit_modifiers = {
			supply_consumption_factor = -0.15
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	democratic_war_cross = {
		
		available = { 
			has_government = democratic
			 	
		}
		frame = 3
		icon = "GFX_medal_icon_democratic"
	
		cost = @cost
		
		unit_modifiers = {
			army_defence_factor = 0.05
			recon_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	democratic_lion = {
		
		available = { 
			has_government = democratic
			 
		}
		frame = 4
		icon = "GFX_medal_icon_democratic"
	
		cost = @cost
		
		unit_modifiers = {
			experience_loss_factor = -0.25
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	### Generic Communist
	
	communist_service_medal = {
		
		available = { 
			has_government = communism
			 
		}
		frame = 1
		icon = "GFX_medal_icon_communism"
	
		cost = @cost
		
		unit_modifiers = {
			supply_consumption_factor = -0.15
			army_fuel_consumption_factor = -0.15
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	communist_red_star = {
		
		available = { 
			has_government = communism
			 
		}
		frame = 2
		icon = "GFX_medal_icon_communism"
	
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.1
			army_defence_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	communist_merit_medal = {
		
		available = { 
			has_government = communism
			 
		}
		frame = 3
		icon = "GFX_medal_icon_communism"
	
		cost = @cost
		
		unit_modifiers = {
			army_org_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	communist_hero_of_revolution = {
		
		available = { 
			has_government = communism
			 
		}
		frame = 4
		icon = "GFX_medal_icon_communism"
	
		cost = @cost
		
		unit_modifiers = {
			army_strength_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	### Generic Fascism
	
	fascism_bravery = {
		
		available = { 
			has_government = fascism
			 
		}
		frame = 1
		icon = "GFX_medal_icon_fascism"
		
		cost = @cost
		
		unit_modifiers = {
			army_org_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	fascism_merit = {
		
		available = { 
			has_government = fascism
			 
		}
		frame = 2
		icon = "GFX_medal_icon_fascism"
		
		cost = @cost
		
		unit_modifiers = {
			army_attack_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	fascism_order_brave = {
		
		available = { 
			has_government = fascism
			 
		}
		frame = 3
		icon = "GFX_medal_icon_fascism"
		
		cost = @cost
		
		unit_modifiers = {
			armor_factor = 0.1
			recon_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	fascism_heroism = {
		
		available = { 
			has_government = fascism
			 
		}
		frame = 4
		icon = "GFX_medal_icon_fascism"
	
		cost = @cost
		
		unit_modifiers = {
			breakthrough_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	### Generic Neutrality
	
	neutral_bravery = {
		
		available = { 
			has_government = neutrality
			 
		}
		frame = 1
		icon = "GFX_medal_icon_default"
		
		cost = @cost
		
		unit_modifiers = {
			army_defence_factor = 0.05
			max_dig_in_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	neutral_military_order = {
		
		available = { 
			has_government = neutrality
			 
		}
		frame = 2
		icon = "GFX_medal_icon_default"
		
		cost = @cost
		
		unit_modifiers = {
			supply_consumption_factor = -0.15
			army_morale_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	neutral_sword = {
		
		available = { 
			has_government = neutrality
			 
		}
		frame = 3
		icon = "GFX_medal_icon_default"
		
		cost = @cost
		
		unit_modifiers = {
			army_attack_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	neutral_virtue = {
		
		available = { 
			has_government = neutrality
			 
		}
		frame = 4
		icon = "GFX_medal_icon_default"
	
		cost = @cost
		
		unit_modifiers = {
			experience_loss_factor = -0.2
			army_morale_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
}
