# 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 = {
	################# NEW Cannan
	Moroni_Star = {
		available = {
			should_have_Cannan_medals_trigger = yes
		}
		frame = 1
		icon = "GFX_medal_icon_usa"
		cost = @cost
		unit_modifiers = {
			army_morale = 3
			army_org_factor = 0.075
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	Bloodly_Cross = {
		available = {
			should_have_Cannan_medals_trigger = yes
		}
		frame = 2
		icon = "GFX_medal_icon_democratic"
		cost = @cost
		unit_modifiers = {
			army_strength_factor = 0.025
			experience_loss_factor = -0.15
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	Gaberial_Sword = {
		available = {
			should_have_Cannan_medals_trigger = yes
		}
		frame = 3
		icon = "GFX_medal_icon_ger"
		cost = @cost
		unit_modifiers = {
			army_attack_factor = 0.05
			supply_consumption_factor = -0.10
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	Samaratins_virtue = {
		available = {
			should_have_Cannan_medals_trigger = yes
		}
		frame = 4
		icon = "GFX_medal_icon_default"
		cost = @cost
		unit_modifiers = {
		army_defence_factor = 0.075
		max_dig_in_factor = 0.03
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	Iron_Maccabite = {
		available = {
			should_have_Cannan_medals_trigger = yes
		}
		frame = 5
		icon = "GFX_medal_icon_fra"
		cost = @cost
		unit_modifiers = {
			army_org = 3
			org_loss_when_moving = -0.05
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	Massaro_Order = {
		available = {
			should_have_Cannan_medals_trigger = yes
		}
		frame = 6
		icon = "GFX_medal_icon_sov"
		cost = @cost
		unit_modifiers = {
			breakthrough_factor = 0.05
			initiative_factor = 0.05
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
########## 

	Salt_cross = {
	available = {
			should_have_WHT_medals_trigger = yes
		}
		frame = 1
		icon = "GFX_medal_icon_sov"
		cost = @cost
		unit_modifiers = {
		army_attack_factor = 0.05
		army_org_factor = 0.05
		}
	one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	
	Deth_head = {
	available = {
			should_have_WHT_medals_trigger = yes
		}
		frame = 2
		icon = "GFX_medal_icon_sov"
		cost = @cost
		unit_modifiers = {
		breakthrough_factor = 0.075
	initiative_factor = 0.05
		}
	one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	White_red_line = {
	available = {
			should_have_WHT_medals_trigger = yes
		}
		frame = 3
		icon = "GFX_medal_icon_sov"
		cost = @cost
		unit_modifiers = {
		dig_in_speed_factor = 0.06
	experience_loss_factor = -0.04
		}
	one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	Vulture_cry = {
	available = {
			should_have_WHT_medals_trigger = yes
		}
		frame = 4
		icon = "GFX_medal_icon_sov"
		cost = @cost
		unit_modifiers = {
		equipment_capture_factor = 0.05
		supply_consumption_factor = -0.075
		}
	one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
### Legion/Lanius
	iron_cross_second_class = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 1
		# icon = "GFX_medal_icon_ger"
		cost = @cost
		unit_modifiers = {
			army_org_factor = 0.1
		}
		#leader_modifier = {
		# transport_capacity = whatever
		#}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	knights_cross = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 2
		icon = "GFX_medal_icon_ger"
		cost = @cost
		unit_modifiers = {
			recon_factor = 0.15
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	knights_cross_oak_leaves = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 3
		icon = "GFX_medal_icon_ger"
		cost = @cost
		unit_modifiers = {
			army_fuel_consumption_factor = -0.075
			supply_consumption_factor = -0.075
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	knights_cross_swords_and_diamonds = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 4
		icon = "GFX_medal_icon_ger"
		cost = @cost
		unit_modifiers = {
			breakthrough_factor = 0.075
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	war_merit_cross = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 1
		icon = "GFX_medal_icon_ita"
		cost = @cost
		unit_modifiers = {
			equipment_capture_factor = 0.1
			army_morale_factor = 0.075
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	cross_of_military_valor = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 2
		icon = "GFX_medal_icon_ita"
		cost = @cost
		unit_modifiers = {
			breakthrough_factor = 0.05
			army_strength_factor = 0.05
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	order_of_savoy_fifth = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 3
		icon = "GFX_medal_icon_ita"
		cost = @cost
		unit_modifiers = {
			supply_consumption_factor = -0.1
			army_defence_factor = -0.05
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	order_of_savoy_first = {
		available = {
			should_have_legion_medals_trigger = yes
		}
		frame = 4
		icon = "GFX_medal_icon_ita"
		cost = @cost
		unit_modifiers = {
			army_attack_factor = 0.05
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	### NCR
	bronze_star = {
		available = {
			should_have_ncr_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_ncr_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_ncr_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_ncr_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
		}
	}
	### Super Mutant
	battle_merit_medal = {
		available = {
			is_super_mutant_nation = 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 = {
			is_super_mutant_nation = 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 = {
			is_super_mutant_nation = 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 = {
			is_super_mutant_nation = 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
		}
	}
	### Vault
	dispatches_oak_leaves = {
		available = {
			should_have_vault_tec_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_vault_tec_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_vault_tec_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_vault_tec_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
		}
	}
	### BOS
	combatants_cross = {
		available = {
			OR = {
				should_have_brotherhood_medals_trigger = yes
				original_tag = MCA
				original_tag = SRG
			}
		}
		frame = 1
		icon = "GFX_medal_icon_fra"
		cost = @cost
		unit_modifiers = {
			max_dig_in_factor = 0.1
			recon_factor_while_entrenched = 0.1
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	war_cross = {
		available = {
			OR = {
				should_have_brotherhood_medals_trigger = yes
				original_tag = MCA
				original_tag = SRG
			}
		}
		frame = 2
		icon = "GFX_medal_icon_fra"
		cost = @cost
		unit_modifiers = {
			army_org_factor = 0.075
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	order_of_liberation = {
		available = {
			OR = {
				should_have_brotherhood_medals_trigger = yes
				original_tag = MCA
				original_tag = SRG
			}
		}
		frame = 3
		icon = "GFX_medal_icon_fra"
		cost = @cost
		unit_modifiers = {
			army_fuel_consumption_factor = -0.15
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	legion_of_honor = {
		available = {
			OR = {
				should_have_brotherhood_medals_trigger = yes
				original_tag = MCA
				original_tag = SRG
			}
		}
		frame = 4
		icon = "GFX_medal_icon_fra"
		cost = @cost
		unit_modifiers = {
			supply_consumption_factor = -0.1
			army_defence_factor = 0.05
		}
		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 Settler
	democratic_gallantry = {
		available = {
			OR = {
				is_settler_nation = yes
				original_tag = NCN
				original_tag = EUR
				original_tag = RRG
				original_tag = BRA
			}
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			OR = {
				is_settler_nation = yes
				original_tag = NCN
				original_tag = EUR
				original_tag = RRG
				original_tag = BRA
			}
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			OR = {
				is_settler_nation = yes
				original_tag = NCN
				original_tag = EUR
				original_tag = RRG
				original_tag = BRA
			}
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			OR = {
				is_settler_nation = yes
				original_tag = NCN
				original_tag = EUR
				original_tag = RRG
				original_tag = BRA
			}
			should_have_any_unique_medals_trigger = no
		}
		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 Robots/Chinese
	communist_service_medal = {
		available = {
			OR = {
				is_robotic_civilization = yes
				should_have_chinese_medals_trigger = yes
			}
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			OR = {
				is_robotic_civilization = yes
				should_have_chinese_medals_trigger = yes
			}
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			OR = {
				is_robotic_civilization = yes
				should_have_chinese_medals_trigger = yes
			}
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			OR = {
				is_robotic_civilization = yes
				should_have_chinese_medals_trigger = yes
			}
			should_have_any_unique_medals_trigger = no
		}
		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 Raiders
	fascism_bravery = {
		available = {
			is_raider_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			is_raider_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			is_raider_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			is_raider_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		frame = 4
		icon = "GFX_medal_icon_fascism"
		cost = @cost
		unit_modifiers = {
			breakthrough_factor = 0.1
		}
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
	}
	### Generic Tribals
	neutral_bravery = {
		available = {
			is_tribal_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			is_tribal_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			is_tribal_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		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 = {
			is_tribal_nation = yes
			should_have_any_unique_medals_trigger = no
		}
		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
		}
	}
}

