# High elven skirmishers
noldor_skirmishers = {
 	type = skirmishers

 	buy_cost = { gold = 170 }
 	low_maintenance_cost = { gold = 0.1 }
 	high_maintenance_cost = { gold = 0.3 }

	provision_cost = @provisions_cost_infantry_cheap

	can_recruit = {
		OR = {
			culture = { has_innovation = innovation_noldor_warfare }
			AND = {
				is_elf = yes
				is_landless_adventurer = yes
				has_perk = planned_cultivation_perk
				location.culture ?= { has_innovation = innovation_noldor_warfare }
			}
		}
	}

 	stack = 30
 	damage = 160
 	toughness = 120
 	pursuit = 40
 	screen = 20

 	counters = {
 		archers = 1
 		archer_cavalry = 1
		heavy_infantry = 1
 	}
	
 	terrain_bonus = {
 	}

 	winter_bonus = {
 	}
	
 	ai_quality = { value = 500 }
 	icon = noldor_skirmishers
 	allowed_in_hired_troops = no
 }

# High elven Light cavalry
noldor_light_cavalry = {
	type = light_cavalry

	buy_cost = { gold = 200 }
	low_maintenance_cost = { gold = 0.15 }
	high_maintenance_cost = { gold = 0.45 }

	provision_cost = @provisions_cost_cavalry_moderate
	
	can_recruit = {
		OR = {
			culture = { has_innovation = innovation_noldor_warfare }
			AND = {
				is_elf = yes
				is_landless_adventurer = yes
				has_perk = planned_cultivation_perk
				location.culture ?= { has_innovation = innovation_noldor_warfare }
			}
		}
	}

	stack = 20
	damage = 220
	toughness = 110
	pursuit = 120
	screen = 40

	counters = {
		heavy_infantry = 1
		monster = 1
		archers = 1
	}
	
	terrain_bonus = {
	}

	winter_bonus = {
	}
	
	ai_quality = { value = 500 }
	icon = noldor_light_cavalry
	allowed_in_hired_troops = no
}
# Noldor Archers (Archers)
noldor_archers = {
	type = archers

	buy_cost = { gold = 290 }
	low_maintenance_cost = { gold = 0.2 }
	high_maintenance_cost = { gold = 0.6 }

	provision_cost = @provisions_cost_infantry_moderate
	
	can_recruit = {
		OR = {
			culture = { has_innovation = innovation_noldor_warfare }
			AND = {
				is_elf = yes
				is_landless_adventurer = yes
				has_perk = planned_cultivation_perk
				location.culture ?= { has_innovation = innovation_noldor_warfare }
			}
		}
	}
	
	stack = 25
	damage = 300
	toughness = 200
	pursuit = 30
	screen = 0

	counters = {
		skirmishers = 1
		light_cavalry = 1
		heavy_cavalry = 1
	}

	terrain_bonus = {
	}

	winter_bonus = {
	}

	ai_quality = { value = 500 }
	icon = noldor_archers
	allowed_in_hired_troops = no
}
#Noldor Horse Archers
noldor_horse_archers = {
	type = archer_cavalry

	buy_cost = { gold = 350 }
	low_maintenance_cost = { gold = 0.3 }
	high_maintenance_cost = { gold = 0.7 }
	
	can_recruit = {
		OR = {
			culture = { has_innovation = innovation_noldor_warfare }
			AND = {
				is_elf = yes
				is_landless_adventurer = yes
				has_perk = planned_cultivation_perk
				location.culture ?= { has_innovation = innovation_noldor_warfare }
			}
		}
	}

	stack = 20
	damage = 400
	toughness = 100
	pursuit = 200
	screen = 200

	counters = {
		skirmishers = 1
		archers = 1
		heavy_infantry = 1
	}
	
	terrain_bonus = {
	}

	winter_bonus = {
	}
	
	ai_quality = { value = culture_ai_weight_heavy_cavalry }
	icon = noldor_horse_archers
	allowed_in_hired_troops = no
}

# elvellyn_outriders = { # Light Cav unlocked by dynasty legacy
	# can_recruit = {
		# dynasty ?= { has_dynasty_perk = noldor_legacy_4 }
		# is_in_valinor = no
	# }
	# type = light_cavalry
	
	# damage = 45
	# toughness = 20
	# pursuit = 40
	# screen = 20
	
	# terrain_bonus = {
		# plains = { damage = 15 }
		# drylands = { damage = 10 }
		# mountains = { damage = -25 pursuit = -25 screen = -15 }
		# desert_mountains = { damage = -25 pursuit = -25 screen = -15 }
		# wetlands = { damage = -30 toughness = -10 pursuit = -50 screen = -30 }
	# }

	# counters = {
		# archers = 1
	# }

	# winter_bonus = {
	# }

	# buy_cost = { gold = 150 }
	# low_maintenance_cost = { gold = 0.4 }
	# high_maintenance_cost = { gold = 1.2 }
	
	# stack = 100

	# allowed_in_hired_troops = no
	# ai_quality = { value = culture_ai_weight_light_cavalry }
	# icon = light_cavalry
# }

# elvellyn_warriors = { #Skirmishers unlocked by dynasty legacy
	# can_recruit = {
		# dynasty ?= { has_dynasty_perk = noldor_legacy_4 }
		# is_in_valinor = no
	# }
	# type = skirmishers
	
	# damage = 15
	# toughness = 20
	# screen = 20
	
	# terrain_bonus = {
		# hills = { damage = 4 toughness = 6 }
		# plains = { damage = 4 toughness = 6 }
		# farmlands = { damage = 6 toughness = 8 }
	# }

	# counters = {
		# heavy_infantry = 1
	# }

	# buy_cost = { gold = 100 }
	# low_maintenance_cost = { gold = 0.2 }
	# high_maintenance_cost = { gold = 0.6 }

	# allowed_in_hired_troops = no
	
	# stack = 100
	# ai_quality = { value = culture_ai_weight_skirmishers }
	# icon = skirmishers
# }