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

	### UKR 
	
	ukr_iron_cross = {
		
		available = { should_have_ukrainian_medals_trigger = yes }
		frame = 2
		icon = "GFX_medal_icon_ukr"
		
		cost = @cost
		
		unit_modifiers = {
			army_attack_factor = 0.05
			supply_consumption_factor = -0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	mazepa_cross = {
		
		available = { should_have_ukrainian_medals_trigger = yes }
		frame = 3
		icon = "GFX_medal_icon_ukr"
		
		cost = @cost
		
		unit_modifiers = {
			army_org_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	ukr_war_cross = {
		
		available = { should_have_ukrainian_medals_trigger = yes }
		frame = 4
		icon = "GFX_medal_icon_ukr"
		
		cost = @cost
		
		unit_modifiers = {
			experience_loss_factor = -0.1
			breakthrough_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	glory_and_revival_of_ukraine = {
		
		available = { 
			should_have_ukrainian_medals_trigger = yes
			has_government = neutrality
		}
		frame = 1
		icon = "GFX_medal_icon_ukr"
		
		cost = @cost
		
		unit_modifiers = {
			army_defence_factor = 0.05
			army_morale_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	petlura_cross = {
		
		available = { 
			should_have_ukrainian_medals_trigger = yes
			has_government = democratic
		}
		frame = 5
		icon = "GFX_medal_icon_ukr"
		
		cost = @cost
		
		unit_modifiers = {
			army_morale_factor = 0.1
			max_dig_in = 3
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	cross_of_combat_merit = {
		
		available = { 
			should_have_ukrainian_medals_trigger = yes
			has_government = fascism
		}
		frame = 6
		icon = "GFX_medal_icon_ukr"
		
		cost = @cost
		
		unit_modifiers = {
			army_speed_factor = 0.1
			recon_factor = 0.1
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	order_of_bogdan_khmelnitsky = {
		
		available = { 
			should_have_ukrainian_medals_trigger = yes
			has_government = communism
		}
		frame = 7
		icon = "GFX_medal_icon_ukr"
		
		cost = @cost
		
		unit_modifiers = {
			army_core_attack_factor = 0.10
			no_supply_grace = 48
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
}
