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

sub_units = {

	cavalry = {
		sprite = cavalry
		map_icon_category = other
		priority = 599
		ai_priority = 200
		active = yes
		cavalry = yes

		type = { infantry }
		
		group = mobile
		
		categories = {
			category_front_line
			category_army
			category_cavalry
		}

		
		combat_width = 2
		
		#Size Definitions
		max_organisation = 70
		max_strength = 25
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		maximum_speed = 0.6
		training_time = 120		
		weight = 0.5
		
		supply_consumption = 0.12

		#Offensive Abilities
		suppression = 2
	
		need = {
			infantry_equipment = 120
		}

		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
		}
	}
	
	irregular_cavalry = {
		abbreviation = "IRC"
		sprite = cavalry
		map_icon_category = other
		priority = 599
		ai_priority = 200
		active = yes
		cavalry = yes

		type = { infantry }

		group = mobile

		categories = {
			category_front_line
			category_army
			category_mounted_inf
			category_all_infantry
			category_mobile_infantry
			category_cavalry
		}


		combat_width = 2

		#Size Definitions
		max_organisation = 60 #reg cav 70
		max_strength = 35 #reg cav 25
		default_morale = 0.4 #reg cav 0.3
		manpower = 1000 

		#Misc Abilities
		maximum_speed = 0.65 #reg cav 0.65
		training_time = 125 #reg cav 120
		weight = 0.5 

		supply_consumption = 0.11

		#Offensive Abilities
		suppression = 3 #reg cav 2
		
		# generally not as drilled in modern warfare as regular troops
		soft_attack = -0.05
		defense = 0.05 

		need = {
			infantry_equipment = 120
		}

		forest = {
			attack = -0.05
		}

		hills = {
			attack = 0.05 #reg cav -0.05
		}
		plains = {
			attack = 0.05 #reg cav 0
			movement = 0.15 #reg cav 0
		}
		
		mountain = {
			attack = -0.05 #reg cav -0.1
			movement = -0.05
		}

		jungle = {
			attack = -0.1
		}

		urban = {
			attack = -0.05
		}

		amphibious = {
			attack = -0.4
		}
	}
	
	camelry = {
		abbreviation = "CAM"
		sprite = camelry
		map_icon_category = other
		priority = 599
		ai_priority = 200
		active = no
		cavalry = yes

		type = { infantry }
		
		group = mobile
		
		categories = {
			category_front_line
			category_army
			category_cavalry
		}
		
		combat_width = 2
		
		#Size Definitions
		max_organisation = 70
		max_strength = 30
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		maximum_speed = 0.4
		training_time = 160		
		weight = 0.6
		
		supply_consumption = 0.1

		#Offensive Abilities
		suppression = 2
	
		need = {
			infantry_equipment = 150
		}

		forest = {
			attack = -0.05
		}

		hills = {
			attack = -0.05
			movement = -0.05
		}

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

		jungle = {
			attack = -0.1
		}

		marsh = {
			movement = 0.05
		}

		plains = {
			movement = 0.15
		}

		urban = {
			attack = -0.05
			movement = -0.05
		}

		desert = {
			attack = 0.05
			defence = 0.05
			movement = 0.1
		}

		amphibious = {
			attack = -0.4
		}
	}
	
	mountain_cavalry = {
		sprite = cavalry
		map_icon_category = other
		priority = 599
		ai_priority = 200
		active = no
		cavalry = yes
		special_forces = yes

		type = { infantry }
		
		group = mobile
		
		categories = {
			category_front_line
			category_army
			category_special_forces
			category_mountaineers
			category_cavalry
		}

		
		combat_width = 2
		
		#Size Definitions
		max_organisation = 75
		max_strength = 18
		default_morale = 0.3
		manpower = 1000

		#Misc Abilities
		maximum_speed = 0.6
		training_time = 120		
		weight = 0.5
		
		supply_consumption = 0.12

		#Offensive Abilities
		suppression = 2
	
		need = {
			infantry_equipment = 100
			support_equipment = 20
		}

		hills = {
			attack = 0.15
			defence = 0.05
			movement = 0.1
		}

		mountain = {
			attack = 0.15
			defence = 0.05
			movement = 0.1
		}

		urban = {
			attack = -0.05
		}

		amphibious = {
			attack = -0.4
		}
	}
	light_anti_tank_cav_brigade = {
		sprite = anti_tank
		map_icon_category = infantry
		priority = 1197
		ai_priority = 100
		active = no
		
		type = {
			motorized
			anti_tank
		}
		
		group = mobile
		
		categories = {
			category_front_line
			category_army
			category_cavalry
			category_antitank
		}		
		
		combat_width = 1
		transport = motorized_equipment
		need = {
			light_anti_tank_equipment = 36
		}
		manpower = 400
		max_organisation = 0
		default_morale = 0
		max_strength = 0.6
		training_time = 120
		weight = 0.5

		supply_consumption = 0.15

		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
		}
	}
}
