############################################
# Mistborn Mod - Men-at-Arms Types
############################################

# Anti-Allomancer specialist heavy infantry
# Trained specifically to fight and kill Allomancers
# Counters Mistborn Agents (skirmishers) — the Hazekillers-vs-Mistborn dynamic from the books
hazekillers = {
	type = heavy_infantry

	can_recruit = {
		culture = culture:noble_scadrian
	}

	damage = 35
	toughness = 25
	pursuit = 5
	screen = 15

	terrain_bonus = {
		plains = { damage = 5 }
		hills = { damage = 3 toughness = 3 }
		mountains = { toughness = 5 }
	}

	counters = {
		skirmishers = 2
	}

	buy_cost = { gold = 150 }
	low_maintenance_cost = { gold = 2 }
	high_maintenance_cost = { gold = 4 }

	max = 200

	stack = 100

	ai_quality = { value = 80 }

	icon = heavy_infantry
}

# Koloss - massive blue-skinned Hemalurgic creatures
# Incredibly powerful but difficult to control without Allomancy
# Expensive to maintain, limited numbers — not freely available
koloss = {
	type = heavy_infantry

	can_recruit = {
		culture = culture:noble_scadrian
		OR = {
			highest_held_title_tier >= tier_kingdom
			any_held_title = {
				tier >= tier_duchy
			}
		}
	}

	damage = 80
	toughness = 40
	pursuit = 15
	screen = 0
	siege_value = 0.1

	terrain_bonus = {
		plains = { damage = 15 toughness = 5 }
		farmlands = { damage = 10 }
		desert = { damage = 5 toughness = -5 }
		mountains = { damage = -10 toughness = -10 }
	}

	counters = {
		heavy_infantry = 1
		pikemen = 1
	}

	buy_cost = { gold = 120 }
	low_maintenance_cost = { gold = 2 }
	high_maintenance_cost = { gold = 4 }

	max = 150

	stack = 50

	ai_quality = { value = 100 }

	icon = heavy_infantry
}

# Mistborn Agents - elite Allomancer operatives
# Small number, devastating damage, assassination specialists
# Requires Allomancers in court to recruit
mistborn_agents = {
	type = skirmishers

	can_recruit = {
		OR = {
			is_allomancer_trigger = yes
			any_courtier = { is_allomancer_trigger = yes }
		}
	}

	damage = 80
	toughness = 10
	pursuit = 50
	screen = 0

	terrain_bonus = {
		plains = { damage = 10 }
		hills = { damage = 5 pursuit = 10 }
		wetlands = { damage = -10 }
	}

	counters = {
		heavy_infantry = 1
	}

	buy_cost = { gold = 500 }
	low_maintenance_cost = { gold = 5 }
	high_maintenance_cost = { gold = 15 }

	max = 10

	stack = 5

	ai_quality = { value = 150 }

	icon = skirmishers
}

# Skaa Levies - conscripted skaa laborers pressed into service
# Cheap and plentiful, but poorly equipped and poorly motivated
# No recruitment restriction — any ruler can conscript skaa
skaa_levies = {
	type = light_infantry

	damage = 8
	toughness = 8
	pursuit = 2
	screen = 5

	terrain_bonus = {
		farmlands = { damage = 2 toughness = 2 }
		plains = { damage = 1 }
	}

	buy_cost = { gold = 15 }
	low_maintenance_cost = { gold = 0.2 }
	high_maintenance_cost = { gold = 0.5 }

	max = 500

	stack = 200

	ai_quality = { value = 20 }

	icon = light_infantry
}

# Noble Guard - professional soldiers from noble houses
# Well-equipped, well-trained, loyal to their house
noble_guard = {
	type = heavy_infantry

	can_recruit = {
		culture = culture:noble_scadrian
	}

	damage = 25
	toughness = 30
	pursuit = 5
	screen = 10

	terrain_bonus = {
		plains = { damage = 3 toughness = 3 }
		hills = { toughness = 5 }
		farmlands = { damage = 2 toughness = 2 }
	}

	counters = {
		light_infantry = 1
	}

	buy_cost = { gold = 120 }
	low_maintenance_cost = { gold = 1.5 }
	high_maintenance_cost = { gold = 3 }

	max = 300

	stack = 100

	ai_quality = { value = 60 }

	icon = heavy_infantry
}
