############################################
# Mistborn: The Final Empire - Custom Doctrines & Tenets
# 12 custom tenets (3 per faith) and 3 custom doctrine groups
############################################

# ============================================================
# STEEL MINISTRY TENETS
# ============================================================

tenet_obligator_hierarchy = {
	is_tenet = yes

	# Obligators enforce the Lord Ruler's law and witness every transaction
	character_modifier = {
		monthly_piety = 0.3
		tax_mult = 0.05
		same_faith_opinion = 5
	}
}

tenet_allomantic_oversight = {
	is_tenet = yes

	# The Ministry monitors Allomantic activity and detects hidden users
	character_modifier = {
		learning = 2
		enemy_personal_scheme_success_chance_add = -10
	}
}

tenet_imperial_mandate = {
	is_tenet = yes

	# The Lord Ruler's divine right to rule — obedience rewarded, defiance punished
	character_modifier = {
		monthly_prestige = 0.2
	}
}

# ============================================================
# TERRIS WORLDBRINGERS TENETS
# ============================================================

tenet_keepers_vow = {
	is_tenet = yes

	# Keepers are scholars and pacifists who preserve knowledge
	character_modifier = {
		learning = 3
		martial = -2
	}
}

tenet_preservation_of_knowledge = {
	is_tenet = yes

	# Preserving pre-Ascension knowledge and culture through copperminds
	character_modifier = {
		development_growth_factor = 0.15
		stewardship = 1
	}
}

tenet_worldbringer_mission = {
	is_tenet = yes

	# Worldbringers preserve ALL knowledge, fostering understanding across faiths
	character_modifier = {
		different_faith_opinion = 5
	}

	# Cultural acceptance handled at faith level
}

# ============================================================
# SURVIVORIST TENETS
# ============================================================

tenet_kelsiers_sacrifice = {
	is_tenet = yes

	# The power of the Survivor's martyrdom — defiance against tyranny
	character_modifier = {
		same_faith_opinion = 15
		hostile_scheme_power_mult = 0.1
		monthly_county_control_growth_add = -0.1
	}
}

tenet_hope_in_ash = {
	is_tenet = yes

	# The belief that things can change, that flowers can grow in ash
	character_modifier = {
		stress_loss_mult = 0.2
		attraction_opinion = 5
		monthly_prestige = 0.1
	}
}

tenet_underground_network = {
	is_tenet = yes

	# The skaa underground's secrecy and resistance networks
	character_modifier = {
		owned_hostile_scheme_success_chance_add = 10
		enemy_hostile_scheme_success_chance_add = -15
	}
}

# ============================================================
# CULT OF RUIN TENETS
# ============================================================

tenet_hemalurgic_rites = {
	is_tenet = yes

	# Hemalurgy as sacrament — sacrifice for power
	character_modifier = {
		dread_baseline_add = 10
		prowess = 2
		diplomacy = -2
	}
}

tenet_embrace_destruction = {
	is_tenet = yes

	# Embracing entropy and the end of all things
	character_modifier = {
		stress_gain_mult = -0.15
		monthly_piety = 0.1
		health = -0.25
	}
}

tenet_ruins_whispers = {
	is_tenet = yes

	# Ruin's influence whispering guidance to followers
	character_modifier = {
		intrigue = 3
		owned_scheme_secrecy_add = 15
	}
}

# ============================================================
# CUSTOM DOCTRINE GROUPS
# ============================================================

# --- Allomantic Stance ---
doctrine_allomantic_stance = {
	group = "doctrine_allomantic_stance_group"

	doctrine_allomancy_divine = {
		# Allomancy is a gift from Preservation
		character_modifier = {
			monthly_piety = 0.1
		}
	}

	doctrine_allomancy_controlled = {
		# Allomancy must be registered and regulated
		character_modifier = {
			learning = 1
		}
	}

	doctrine_allomancy_forbidden = {
		# Allomancy (except Hemalurgy) is abomination
		character_modifier = {
			dread_baseline_add = 5
		}
	}
}

# --- Caste Doctrine ---
doctrine_caste_stance = {
	group = "doctrine_caste_stance_group"

	doctrine_caste_divine_order = {
		# The noble/skaa divide is ordained by the Lord Ruler
		character_modifier = {
			same_culture_opinion = 5
		}
	}

	doctrine_caste_irrelevant = {
		# All people are equal before Preservation
		character_modifier = {
			different_culture_opinion = 5
		}
	}

	doctrine_caste_tool = {
		# Castes are tools for control — use or discard as needed
		character_modifier = {
			intrigue = 1
		}
	}
}

# --- Scadrial Gender Doctrine ---
doctrine_scadrial_gender = {
	group = "doctrine_scadrial_gender_group"

	doctrine_gender_male_preference = {
		# Male preference succession — women hold all other roles equally
		# Male preference in succession only
	}

	doctrine_gender_equal = {
		# Full gender equality — Allomancy doesn't discriminate
		# Already defined in vanilla, referenced here for completeness
	}

	doctrine_gender_irrelevant = {
		# Gender is meaningless to Ruin — power is all that matters
		# Mechanically identical to equal
	}
}
