############################################
# Mistborn: The Final Empire - Education Focuses
# Custom education tracks replacing vanilla
# Each maps to one of the 5 custom lifestyles (M4)
############################################

# Allomantic Training — intense physical/mental training to awaken Allomancy
# Maps to: Metallic Arts lifestyle
# Target: Any character with allomantic potential
# Key stats: martial, prowess
education_allomantic = {
	education_type = martial

	# Traits produced (tier 1-4)
	trait = education_allomantic_1
	trait = education_allomantic_2
	trait = education_allomantic_3
	trait = education_allomantic_4

	# Selection weight — AI preference
	selection_weight = {
		base = 1
		modifier = {
			add = 5
			OR = {
				has_trait = trait_allomantic_potential
				has_trait = trait_mistborn_potential
			}
		}
		modifier = {
			add = 3
			is_allomancer_trigger = yes
		}
		modifier = {
			add = 2
			culture = culture:noble_scadrian
		}
	}

	description = education_allomantic_desc
	icon = "gfx/interface/icons/education/education_allomantic.dds"
}

# Noble Court Education — ball etiquette, house politics, social manipulation
# Maps to: Noble Intrigue lifestyle
# Target: noble_scadrian culture
# Key stats: diplomacy, intrigue
education_noble_court = {
	education_type = diplomacy

	trait = education_noble_court_1
	trait = education_noble_court_2
	trait = education_noble_court_3
	trait = education_noble_court_4

	selection_weight = {
		base = 1
		modifier = {
			add = 5
			culture = culture:noble_scadrian
		}
		modifier = {
			add = 3
			highest_held_title_tier >= tier_county
		}
	}

	description = education_noble_court_desc
	icon = "gfx/interface/icons/education/education_noble_court.dds"
}

# Ministry Indoctrination — obligator academy training
# Maps to: Steel Ministry lifestyle
# Target: Any character with Steel Ministry faith
# Key stats: learning, stewardship
education_ministry = {
	education_type = learning

	trait = education_ministry_1
	trait = education_ministry_2
	trait = education_ministry_3
	trait = education_ministry_4

	selection_weight = {
		base = 1
		modifier = {
			add = 5
			faith = faith:steel_ministry
		}
		modifier = {
			add = 3
			any_parent = {
				faith = faith:steel_ministry
			}
		}
	}

	description = education_ministry_desc
	icon = "gfx/interface/icons/education/education_ministry.dds"
}

# Skaa Survival — plantation survival, street smarts, hiding from Inquisitors
# Maps to: Underground lifestyle
# Target: skaa culture
# Key stats: intrigue, prowess
education_skaa = {
	education_type = intrigue

	trait = education_skaa_1
	trait = education_skaa_2
	trait = education_skaa_3
	trait = education_skaa_4

	selection_weight = {
		base = 1
		modifier = {
			add = 5
			culture = culture:skaa
		}
		modifier = {
			add = 2
			NOT = { highest_held_title_tier >= tier_county }
		}
	}

	description = education_skaa_desc
	icon = "gfx/interface/icons/education/education_skaa.dds"
}

# Keeper Apprenticeship — secret Feruchemy training, coppermind use, pre-Ascension history
# Maps to: Scholarship lifestyle
# Target: terris culture
# Key stats: learning, stewardship
education_keeper = {
	education_type = learning

	trait = education_keeper_1
	trait = education_keeper_2
	trait = education_keeper_3
	trait = education_keeper_4

	selection_weight = {
		base = 1
		modifier = {
			add = 5
			culture = culture:terris
		}
		modifier = {
			add = 3
			has_any_feruchemy_trigger = yes
		}
		modifier = {
			add = 5
			any_parent = {
				is_keeper_or_initiate_trigger = yes
			}
		}
	}

	description = education_keeper_desc
	icon = "gfx/interface/icons/education/education_keeper.dds"
}
