############################################
# Mistborn: The Final Empire - Artifact Templates
# Equip conditions and modifier definitions for Mistborn artifacts
############################################

# ===== MISTCLOAK =====
# Iconic tasseled cloak — only Allomancers should wear one
standard_mistcloak = {
	can_equip = {
		is_allomancer_trigger = yes
	}
	can_benefit = { }
	fallback = { }
}

# ===== METAL VIAL SET =====
# Any Allomancer can use metal vials
metal_vial_set_template = {
	can_equip = {
		is_allomancer_trigger = yes
	}
	can_benefit = { }
	fallback = { }
}

# ===== GLASS DAGGERS =====
# No equip restriction — anyone can use glass weapons
glass_daggers_template = {
	can_equip = { }
	can_benefit = { }
	fallback = { }
}

# ===== DUELING CANES =====
# Noble Scadrian weapon of choice
dueling_canes_template = {
	can_equip = {
		culture = culture:noble_scadrian
	}
	can_benefit = { }
	fallback = { }
}

# ===== KOLOSS SWORD =====
# Only the physically powerful can wield a koloss sword
koloss_sword_template = {
	can_equip = {
		prowess >= 12
	}
	can_benefit = { }
	fallback = { }
}

# ===== COPPERMIND =====
# Only Feruchemists can use metalminds
coppermind_template = {
	can_equip = {
		has_trait = trait_feruchemist
	}
	can_benefit = { }
	fallback = { }
}

# Keeper's coppermind — Sazed's masterwork variant
keeper_coppermind = {
	can_equip = {
		has_trait = trait_feruchemist
	}
	can_benefit = { }
	fallback = { }
}

# ===== METALMIND SET =====
# Full set of Feruchemical metalminds
metalmind_set_template = {
	can_equip = {
		has_trait = trait_feruchemist
	}
	can_benefit = { }
	fallback = { }
}

# ===== ATIUM BRACERS =====
# The Lord Ruler's unique legendary artifact — source of his immortality
lord_ruler_atium_bracers = {
	can_equip = {
		OR = {
			has_trait = trait_feruchemist
			has_trait = trait_mistborn
		}
	}
	can_benefit = {
		# Full benefit only if the wielder can Compound (both Mistborn and Feruchemist)
		has_trait = trait_mistborn
		has_trait = trait_feruchemist
	}
	fallback = {
		# Without Compounding, the bracers are just fancy jewelry
		monthly_prestige = 0.5
	}
	unique = yes
}

# ===== INQUISITOR SPIKE SET =====
# Hemalurgic spikes through the eyes — only for Inquisitors
steel_inquisitor_spikes = {
	can_equip = {
		has_trait = trait_hemalurgist
		has_multiple_spikes_trigger = yes
	}
	can_benefit = { }
	fallback = { }
	unique = yes
}
