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

	
	Star_of_the_Grand_Cross_of_the_Iron_Cross = {
		
		available = { should_have_german_medals_trigger = yes
			OR = { 
			controls_state = 282
			controls_state = 361
			
			 }
		 }
		frame = 1
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.20
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	
	Grand_Cross_of_the_Iron_Cross = {
		
		available = { should_have_german_medals_trigger = yes
			controls_state = 126
			controls_state = 219
		 }
		frame = 2
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_fuel_capacity_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	
	Knights_Cross_with_Golden_Oak_Leaves_Swords_and_Diamonds = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
				has_completed_focus = GER_war_with_the_ussr
				NOT = { has_completed_focus = GER_revive_the_kaiserreich
				}
		 }
		frame = 3
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.02
			army_strength_factor = 0.02
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	
	Knights_Cross_with_Oak_Leaves_Swords_and_Diamonds = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
				has_completed_focus = GER_war_with_the_ussr
				NOT = { has_completed_focus = GER_revive_the_kaiserreich
				}

		 }
		frame = 4
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_fuel_consumption_factor = -0.075
			supply_consumption_factor = -0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	
	Knights_Cross_with_Oak_Leaves_and_Swords = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
				has_completed_focus = GER_war_with_the_ussr
				NOT = { has_completed_focus = GER_revive_the_kaiserreich
				}

		 }
		frame = 5
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_attack_factor = 0.03
			army_defence_factor = 0.03
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	
	Knights_Cross_with_Oak_Leaves = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
				NOT = { has_completed_focus = GER_revive_the_kaiserreich
				}

		 }
		frame = 6
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_fuel_consumption_factor = -0.025
			supply_consumption_factor = -0.025
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Knights_Cross_of_the_Iron_Cross = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
				NOT = { has_completed_focus = GER_revive_the_kaiserreich
				}

		 }
		frame = 7
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}


	German_Cross = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
				has_completed_focus = GER_war_with_the_ussr
				NOT = { has_completed_focus = GER_revive_the_kaiserreich
				}

		}

		frame = 8
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			recon_factor = 0.06
		}
		
		#leader_modifier = {
		# transport_capacity = whatever
		#}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Ehrenblattspange = {
		
		available = { should_have_german_medals_trigger = yes
				has_completed_focus = GER_war_with_the_ussr	
				NOT = { has_completed_focus = GER_revive_the_kaiserreich
				}
		
		 }
		frame = 23
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			breakthrough_factor = 0.04
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	

	
	iron_cross_first_class = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
		 }
		frame = 9
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_morale_factor = 0.08
		}
		
		#leader_modifier = {
		# transport_capacity = whatever
		#}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	iron_cross_second_class_ = {
		
		available = { should_have_german_medals_trigger = yes
				has_war_with_major = yes
		}

		frame = 10
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.1
		}
		
		#leader_modifier = {
		# transport_capacity = whatever
		#}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}


	Close_Combat_Clasp = {
		
		available = { should_have_german_medals_trigger = yes
				has_completed_focus = GER_war_with_the_ussr
				NOT = { has_government = communism
		        	}
				
		 }
		frame = 11
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			breakthrough_factor = 0.05
                        army_defence_factor = 0.05

		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	

	Panzer_badge = {
		
		available = { should_have_german_medals_trigger = yes
				NOT = { has_government = communism
		        	}

		 }
		frame = 12
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			armor_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}


	Infantry_Assault_Badge = {
		
		available = { should_have_german_medals_trigger = yes
				NOT = { has_government = communism
		        	}

		 }
		frame = 13
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			breakthrough_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}


	General_Assault_Badge = {
		
		available = { should_have_german_medals_trigger = yes
				NOT = { has_government = communism
		        	}

		 }
		frame = 14
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			army_attack_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}


	Bandit-warfare_Badge = {
		
		available = { should_have_german_medals_trigger = yes
				NOT = { has_government = communism
		        	}
		 }
		frame = 15
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			army_org_factor = 0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}


	Parachutist_Badge = {
		
		available = { should_have_german_medals_trigger = yes
				NOT = { has_government = communism
		        	}

		 }
		frame = 35
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			supply_consumption_factor = -0.05
			army_defence_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}



	Eastern_Medal = {
		
		available = { should_have_german_medals_trigger = yes 
				has_war_with = SOV
		}
		frame = 16
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			max_dig_in_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Wound_Badge = {
		
		available = { should_have_german_medals_trigger = yes }
		frame = 17
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			experience_loss_factor = -0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}


	Spanish_Cross = {
		
		available = { should_have_german_medals_trigger = yes
				has_war = no
                                OR = {
					SPR = { has_government = fascism
					}
				civilwar_target = SPR
				 }
		 }
		frame = 18
		icon = "GFX_medal_icon_ger"
		
		cost = 3
		
		unit_modifiers = {
			army_org_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	

	Narvik_Shield = {
		
		available = { should_have_german_medals_trigger = yes
			controls_state = 144
		 }
		frame = 19
		icon = "GFX_medal_icon_ger"
		
		cost = 3
		
		unit_modifiers = {
			army_attack_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Crimea_Shield = {
		
		available = { should_have_german_medals_trigger = yes
			controls_state = 137
		 }
		frame = 20
		icon = "GFX_medal_icon_ger"
		
		cost = 3
		
		unit_modifiers = {
			recon_factor_while_entrenched = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	
	Gross_Britanien_Shield = {
		
		available = { should_have_german_medals_trigger = yes
			controls_state = 126
		 }
		frame = 21
		icon = "GFX_medal_icon_ger"
		
		cost = 3
		
		unit_modifiers = {
			equipment_capture_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Stalingradschild = {
		
		available = { should_have_german_medals_trigger = yes
			controls_state = 217
		 }
		frame = 22
		icon = "GFX_medal_icon_ger"
		
		cost = 3
		
		unit_modifiers = {
			supply_consumption_factor = -0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	Pour_le_Merite_with_oak_leaves = {
		
		available = { should_have_german_medals_trigger = yes
				has_completed_focus = GER_revive_the_kaiserreich
				has_war_with_major = yes
		 }
		frame = 24
		icon = "GFX_medal_icon_ger"
		
		
		cost = 10
		
		unit_modifiers = {
			army_fuel_consumption_factor = -0.025
			supply_consumption_factor = -0.025
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Pour_le_Merite = {
		
		available = { should_have_german_medals_trigger = yes
				has_completed_focus = GER_revive_the_kaiserreich
				has_war_with_major = yes
			
		 }
		frame = 25
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Karl-Marx-Orden = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
		 }
		frame = 26
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_fuel_consumption_factor = -0.075
			supply_consumption_factor = -0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Vaterlandischer_Verdienstorden_Ehrenspange = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
		 }
		frame = 27
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_org_factor = 0.05
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Vaterlandischer_Verdienstorden = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
		 }
		frame = 28
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_fuel_capacity_factor = 0.06
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Banner_der_Arbeit = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
		 }
		frame = 29
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			equipment_capture_factor = 0.06
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Scharnhorst_Order = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
		 }
		frame = 30
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			breakthrough_factor = 0.07
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Kampforden_Fur_Verdienste_um_Volk_und_Vaterland = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
		 }
		frame = 31
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			recon_factor = 0.075
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Blucher-Orden = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
				has_war_with_major = yes
		 }
		frame = 32
		icon = "GFX_medal_icon_ger"
		
		cost = 10
		
		unit_modifiers = {
			army_attack_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Hans-Beimler-Medaille = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism
				has_war_with_major = no
		 }
		frame = 33
		icon = "GFX_medal_icon_ger"
		
		cost = 3
		
		unit_modifiers = {
			army_org_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}
	
	Medaille_fur_Kampfer_gegen_den_Faschismus = {
		
		available = { should_have_german_medals_trigger = yes
				has_government = communism

		 }
		frame = 34
		icon = "GFX_medal_icon_ger"
		
		cost = 5
		
		unit_modifiers = {
			army_morale_factor = 0.10
		}
		
		one_time_effect = {
			add_divisional_commander_xp = 100
		}
		
	}

	
}
