# options for map_icon_category:
# For land units: infantry,armored,other
# For sea units: ship,transport,uboat

sub_units = {#generally organized by era?

	armed_peasants = {
		sprite = infantry
		map_icon_category = infantry

		priority = 600
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 4

		#Size Definitions
		max_strength = 10
		max_organisation = 20
		default_morale = 0.15
		manpower = 2500

		#Misc Abilities
		training_time = 40
		suppression = 0.2
		weight = 0.1
		soft_attack = -0.75
		defense = -0.15

		supply_consumption = 0.050

		need = {
			infantry_equipment = 250
		}

	}
	
	tribal_infantry = {
		sprite = infantry
		map_icon_category = infantry

		priority = 600
		active = yes

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 1

		#Size Definitions
		max_strength = 10
		max_organisation = 15
		default_morale = 0.2
		manpower = 1000

		#Misc Abilities
		training_time = 180
		suppression = 0.25
		weight = 0.5

		supply_consumption = 0.2

		need = {
			tribal_weapons = 100
		}
		
		forest = {
			attack = 0.1
			defence = 0.1
		}

		hills = {
			attack = 0.05
			defence = 0.05
		}

		mountain = {
			attack = 0.05
			defence = 0.05
		}

		jungle = {
			attack = 0.1
			defence = 0.1
		}

		urban = {
			attack = -0.1
		}

		amphibious = {
			attack = -0.05
		}
	}
	
	state_levy_infantry = {
		sprite = infantry
		map_icon_category = infantry

		priority = 600
		active = yes

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 3

		#Size Definitions
		max_strength = 20
		max_organisation = 30
		default_morale = 0.35
		manpower = 1000

		#Misc Abilities
		training_time = 80
		suppression = 0.5
		weight = 0.4

		supply_consumption = 0.2

		need = {
			infantry_equipment = 25
		}
		
		forest = {
			attack = 0.1
			defence = 0.1
		}

		hills = {
			attack = 0.05
			defence = 0.05
		}

		mountain = {
			attack = 0.05
			defence = 0.05
		}

		jungle = {
			attack = 0.1
			defence = 0.1
		}
		#Misc Abilities
		training_time = 110
		suppression = 3
		weight = 0.5

		urban = {
			attack = -0.1
		}

		amphibious = {
			attack = -0.05
		}
	}

	feudal_infantry = {
		sprite = infantry
		map_icon_category = infantry

		priority = 600
		active = yes

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 3

		#Size Definitions
		max_strength = 20
		max_organisation = 40
		default_morale = 0.25
		manpower = 1000
		
		soft_attack = -0.15
		defense = -0.15

		#Misc Abilities
		training_time = 80
		suppression = 0.5
		weight = 0.4

		supply_consumption = 0.025

		need = {
			infantry_equipment = 100
			uniform_equipment = 50
		}
	}
	
	irregular_infantry = { #militias
		sprite = infantry
		map_icon_category = infantry

		priority = 600
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 20
		max_organisation = 45
		default_morale = 0.25
		manpower = 1000

		soft_attack = -0.20

		#Misc Abilities
		training_time = 60
		suppression = 0.5
		weight = 0.5

		supply_consumption = 0.05

		need = {
			infantry_equipment = 100
		}
		forest = {
			attack = 0.10
			defence = 0.15
		}

		hills = {
			attack = 0.10
			defence = 0.15
		}

		desert = {
			attack = 0.10
			defence = 0.15
		}

		mountain = {
			attack = 0.10
			defence = 0.15
		}

		jungle = {
			attack = 0.10
			defence = 0.15
		}
		jungle_hills ={
			attack = 0.10
			defence = 0.15
		}
		urban = {
			attack = 0.10
			defence = 0.15
		}
		marsh = {
			attack = 0.10
			defence = 0.15
		}
		amphibious = {
			attack = -0.4
		}

	}

	light_infantry = {
		sprite = jager
		map_icon_category = infantry

		priority = 600
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 20
		max_organisation = 60
		default_morale = 0.4
		manpower = 1500

		#Misc Abilities
		training_time = 120
		suppression = 1
		weight = 0.70
		suppression_factor = 0.01
		supply_consumption = 0.04
		maximum_speed = 0.1
		soft_attack = 0.05
		defense = 0.05
		recon = 1
		initiative = 0.2

		need = {
			infantry_equipment = 150
			uniform_equipment = 150
		}
		forest = {
			attack = 0.05
			defence = 0.05
		}

		hills = {
			attack = 0.05
			defence = 0.05
		}

		desert = {
			defence = 0.05
		}

		mountain = {
			defence = 0.05
		}

		jungle = {
			attack = 0.05
			defence = 0.05
		}
		jungle_hills ={
			attack = 0.05
			defence = 0.05
		}
		urban = {
			attack = 0.05
			defence = 0.05
		}
		marsh = {
			attack = 0.05
			defence = 0.05
		}
	}
	
	line_infantry = {#regular infantry
		sprite = infantry
		map_icon_category = infantry

		priority = 600
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 25
		max_organisation = 60
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		training_time = 120
		suppression = 1
		weight = 0.85
		casualty_trickleback = 0.01
		supply_consumption = 0.08

		need = {
			infantry_equipment = 100
			uniform_equipment = 100
		}
	}
	
	guard_infantry = {
		sprite = infantry
		map_icon_category = infantry

		priority = 700
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 25
		max_organisation = 55
		default_morale = 0.5
		manpower = 1750

		#Misc Abilities
		training_time = 160
		suppression = 1.25
		weight = 0.85

		supply_consumption = 0.09

		need = {
			infantry_equipment = 200
			uniform_equipment = 200
			support_equipment = 15
		}
		
		urban = {
			defence = 0.25
			attack = 0.25
		}

		fort = {
			attack = 0.1
			defence = 0.1
		}
	}

	mounted_infantry = {
		sprite = cavalry
		map_icon_category = other
		priority = 599
		active = no
		cavalry = yes

		type = { infantry }

		group = infantry

		categories = {
			category_all_infantry
			category_front_line
			category_army
		}


		combat_width = 2

		#Size Definitions
		max_organisation = 40
		max_strength = 25
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		maximum_speed = 0.2
		training_time = 150
		weight = 0.5

		supply_consumption = 0.06

		#Offensive Abilities
		suppression = 2

		essential = {
			infantry_equipment
			cavalry_equipment
		}

		# this is what moves us and sets speed
		transport = cavalry_equipment

		need = {
			infantry_equipment = 100
			cavalry_equipment = 50
			uniform_equipment = 100
		}

		forest = {
			attack = -0.05
		}

		hills = {
			attack = -0.05
		}

		mountain = {
			attack = -0.1
			movement = -0.05
		}

		jungle = {
			attack = -0.1
		}

		urban = {
			attack = -0.05
		}

		amphibious = {
			attack = -0.4
		}
	}
	
	early_marine = {
		sprite = infantry
		map_icon_category = infantry
		special_forces = yes
		marines = yes

		priority = 600
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 20
		max_organisation = 50
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		training_time = 180
		suppression = 1
		weight = 0.5
		supply_consumption = 0.05
		breakthrough = 0.15

		need = {
			infantry_equipment = 100
			uniform_equipment = 100
		}

		marsh = {
			attack = 0.1
		}
		river = {
			attack = 0.2
		}
		amphibious = {
			attack = 0.35
		}
	}

	bicycle_infantry = {
		sprite = infantry
		map_icon_category = infantry

		priority = 600
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 25
		max_organisation = 55
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		training_time = 150
		suppression = 1
		weight = 0.5

		supply_consumption = 0.4
		
		essential = {
			armor_equipment_bicycle
		}
		
		transport = armor_equipment_bicycle

		need = {
			infantry_equipment = 100
			uniform_equipment = 100
			armor_equipment_bicycle = 100
		}
	}
	
#	great_war_infantry = {
#		sprite = infantry
#		map_icon_category = infantry
#
#		priority = 800
#		active = no
#
#		type = {
#			infantry
#		}
#
#		group = infantry
#
#		categories = {
#			category_front_line
#			category_light_infantry
#			category_all_infantry
#			category_army
#		}
#
#		combat_width = 2
#
#		#Size Definitions
#		max_strength = 25
#		max_organisation = 60
#		default_morale = 0.3
#		manpower = 1000
#
#		#Misc Abilities
#		training_time = 100
#		suppression = 1
#		weight = 0.5
#
#		supply_consumption = 0.6
#
#		need = {
#			infantry_equipment = 100
#			uniform_equipment = 100
#			helmet_equipment = 100
#		}
#	}

	infantry = {
		sprite = infantry
		map_icon_category = infantry

		priority = 900
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 25
		max_organisation = 60
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		training_time = 90
		suppression = 1
		weight = 0.4

		supply_consumption = 0.4

		need = {
			infantry_equipment = 100
			uniform_equipment = 100
		}
	}

	marine = {
		sprite = infantry
		map_icon_category = infantry
		special_forces = yes
		marines = yes

		priority = 601
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 20
		max_organisation = 55
		default_morale = 0.35
		manpower = 1000

		#Misc Abilities
		training_time = 150
		suppression = 1
		weight = 0.5
		supply_consumption = 0.04
		breakthrough = 0.2

		need = {
			infantry_equipment = 100
			uniform_equipment = 100
		}

		marsh = {
			attack = 0.3
		}
		river = {
			attack = 0.4
		}
		amphibious = {
			attack = 0.5
		}
	}

#	kustjagare_battalion = {#Swedish Redcoats
#		sprite = infantry
#		map_icon_category = infantry
#		special_forces = yes
#		marines = yes
#
#		priority = 601
#		active = no
#
#		type = {
#			infantry
#		}
#
#		group = infantry
#
#		categories = {
#			category_front_line
#			category_light_infantry
#			category_all_infantry
#			category_army
#		}
#
#		combat_width = 2
#
#		max_strength = 22
#		max_organisation = 70
#		default_morale = 0.40
#		manpower = 800
#
#		#Misc Abilities
#		training_time = 350
#		suppression = 2
#		weight = 2.0
#		supply_consumption = 0.2
#		breakthrough = 0.7
#		experience_loss_factor = -0.3
#		initiative = 0.15		
#
#		need = {
#			infantry_equipment = 400
#			uniform_equipment = 400
#		}
#
#		marsh = {
#			attack = 0.5
#		}
#		river = {
#			attack = 0.95
#		}
#		amphibious = {
#			attack = 0.95
#		}
#	}	

	mountaineers = {
		sprite = infantry
		map_icon_category = infantry
		special_forces = yes
		mountaineers = yes

		priority = 601
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 20
		max_organisation = 55
		default_morale = 0.35
		manpower = 1000

		#Misc Abilities
		training_time = 150
		suppression = 1
		weight = 0.5

		supply_consumption = 0.04
		breakthrough = 0.2

		need = {
			infantry_equipment = 100
			uniform_equipment = 100
		}

		hills = {
			attack = 0.2
			defence = 0.05
			movement = 0.1
		}
		mountain = {
			attack = 0.35
			defence = 0.1
			movement = 0.2
		}
	}
	
	shock_troops = {
		sprite = infantry
		map_icon_category = infantry
		special_forces = yes

		priority = 601
		active = no

		type = {
			infantry
		}

		group = infantry

		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}

		combat_width = 2

		#Size Definitions
		max_strength = 20
		max_organisation = 55
		default_morale = 0.4
		manpower = 1000

		#Misc Abilities
		training_time = 150
		suppression = 2
		weight = 0.5

		supply_consumption = 0.05
		breakthrough = 0.3

		need = {
			infantry_equipment = 100
			uniform_equipment = 100
		}

		urban = {
			attack = 0.2
			defence = 0.2
			movement = 0.1
		}
	}
	
	motorized = {
		sprite = motorized
		map_icon_category = infantry

		priority = 599
		ai_priority = 200
		active = no

		type = {
			motorized
		}
		
		group = mobile
		
		categories = {
			category_front_line
			category_all_infantry
			category_army
		}
		
		combat_width = 2
		
		#Size Definitions
		max_strength = 25
		max_organisation = 55
		default_morale = 0.30
		manpower = 1200

		#Misc Abilities
		training_time = 90
		suppression = 1.25
		weight = 0.75
		supply_consumption = 0.11
	
		# this is what moves us and sets speed
		transport = motorized_equipment
	
		need = {
			infantry_equipment = 100
			motorized_equipment = 50
		}

		forest = {
			attack = -0.1
			movement = -0.5
		}
		mountain = {
			attack = -0.05
		}
		jungle = {
			attack = -0.2
			movement = -0.5
		}
		marsh = {
			attack = -0.1
			movement = -0.3
		}
		urban = {
			attack = -0.1
		}
		river = {
			attack = -0.1
			movement = -0.1
		}
		amphibious = {
			attack = -0.2
		}
	}

#	mechanized = {
#		sprite = mechanized
#		map_icon_category = infantry
#
#		priority = 610
#		ai_priority = 200
#		active = yes
#
#		type = {
#			mechanized
#		}
#		
#		group = mobile
#		
#		categories = {
#			category_front_line
#			category_all_infantry
#			category_army
#		}
#
#		combat_width = 2
#
#		#Offensive Abilities
#		soft_attack = 0.1
#		hard_attack = 4.0
#		
#		#Size Definitions
#		max_strength = 30
#		max_organisation = 60
#		default_morale = 0.3
#		manpower = 1200
#
#		#Misc Abilities
#		training_time = 120
#		suppression = 1.25
#		weight = 1
#		
#		supply_consumption = 0.18
#		
#		# needed since we give so much bonus to infantry even with no mech equipment
#		essential = {
#			infantry_equipment
#			mechanized_equipment
#		}
#
#		# this is what moves us and sets speed
#		transport = mechanized_equipment
#
#		need = {
#			mechanized_equipment = 50
#			infantry_equipment = 100
#		}
#
#		forest = {
#			attack = -0.2
#		}
#		mountain = {
#			attack = -0.05
#		}
#		jungle = {
#			attack = -0.3
#		}
#		marsh = {
#			attack = -0.1
#		}
#		urban = {
#			attack = -0.2
#			defence = -0.05
#		}
#		river = {
#			attack = -0.2
#			movement = -0.2
#		}
#		amphibious = {
#			attack = -0.4
#		}
#
#		hardness = 0.2
#	}

	fake_intel_unit = {
		sprite = infantry
		map_icon_category = infantry
		
		priority = 0
		ai_priority = 0
		active = no

		type = {
			infantry
		}
		
		group = infantry
		
		categories = {
			category_front_line
			category_light_infantry
			category_all_infantry
			category_army
		}
		
		combat_width = 1
		
		#Size Definitions
		max_strength = 1
		max_organisation = 100
		default_morale = 0.3
		manpower = 0

		#Misc Abilities
		training_time = 90
		suppression = 1
		weight = 0.5
		
		supply_consumption = 0.0
	
		need = {
			infantry_equipment = 1
		}
	}

#	cold_war_infantry = {
#		sprite = infantry
#		map_icon_category = infantry
#
#		priority = 1000
#		active = no
#
#		type = {
#			infantry
#		}
#
#		group = infantry
#
#		categories = {
#			category_front_line
#			category_light_infantry
#			category_all_infantry
#			category_army
#		}
#
#		combat_width = 2
#
#		#Size Definitions
#		max_strength = 25
#		max_organisation = 60
#		default_morale = 0.3
#		manpower = 1000
#
#		#Misc Abilities
#		training_time = 110
#		suppression = 1
#		weight = 0.5
#
#		supply_consumption = 0.4
#
#		need = {
#			infantry_equipment = 100
#			uniform_equipment = 100
#		}
#	}

	#pa_infantry = {
	#	sprite = infantry
	#	map_icon_category = infantry

	#	priority = 1000
	#	active = no

	#	type = {
	#		infantry
	#	}

	#	group = infantry

	#	categories = {
	#		category_front_line
	#		category_pa_division
	#		category_all_infantry
	#		category_army
	#	}

	#	combat_width = 2

	#	#Size Definitions
	#	max_strength = 25
	#	max_organisation = 60
	#	default_morale = 0.6
	#	manpower = 1000

	#	#Misc Abilities
	#	training_time = 110
	#	suppression = 1
	#	weight = 0.5

	#	supply_consumption = 0.4

	#	need = {
	#		infantry_equipment = 100
	#		power_armor_equipment = 50
	#	}
	#	
	#	can_be_parachuted = yes
	#}
}