﻿MZ_BurialRites = {
	type = character
	random_valid = yes

	# FALLBACK BLOCK
	## Generic Fallback
	text = {
		localization_key = MZ_BurialRites_GenericFallback
		trigger = { always = no }
		weight_multiplier = { base = 0 }
		fallback = yes
	}
	## Child Fallback
	text = {
		localization_key = MZ_BurialRites_ChildFallback
		trigger = {
			var:ancestor_to_bury = { is_adult = no }
		}
		weight_multiplier = { base = 0 }
	}
	# LIFESTYLES BLOCK
	## Diplomat
	text = {
		localization_key = MZ_BurialRites_Diplomat
		trigger = {
			var:ancestor_to_bury = { has_trait = diplomat }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Family First
	text = {
		localization_key = MZ_BurialRites_FamilyFirst
		trigger = {
			var:ancestor_to_bury = { has_trait = family_first }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Reveler
	text = {
		localization_key = MZ_BurialRites_Reveler
		trigger = {
			var:ancestor_to_bury = { has_trait = lifestyle_reveler }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Blademaster
	text = {
		localization_key = MZ_BurialRites_Blademaster
		trigger = {
			var:ancestor_to_bury = { has_trait = lifestyle_blademaster }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Hunter
	text = {
		localization_key = MZ_BurialRites_Hunter
		trigger = {
			var:ancestor_to_bury = { has_trait = lifestyle_hunter }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Strategist
	text = {
		localization_key = MZ_BurialRites_Strategist
		trigger = {
			var:ancestor_to_bury = { has_trait = strategist }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Overseer
	text = {
		localization_key = MZ_BurialRites_Overseer
		trigger = {
			var:ancestor_to_bury = { has_trait = overseer }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Gallant
	text = {
		localization_key = MZ_BurialRites_Gallant
		trigger = {
			var:ancestor_to_bury = { has_trait = gallant }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Architect
	text = {
		localization_key = MZ_BurialRites_Architect
		trigger = {
			var:ancestor_to_bury = { has_trait = architect }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Administrator
	text = {
		localization_key = MZ_BurialRites_Administrator
		trigger = {
			var:ancestor_to_bury = { has_trait = administrator }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Avaricious
	text = {
		localization_key = MZ_BurialRites_Avaricious
		trigger = {
			var:ancestor_to_bury = { has_trait = avaricious }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Schemer
	text = {
		localization_key = MZ_BurialRites_Schemer
		trigger = {
			var:ancestor_to_bury = { has_trait = schemer }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Seducer
	text = {
		localization_key = MZ_BurialRites_Seducer
		trigger = {
			var:ancestor_to_bury = { has_trait = seducer }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Torturer
	text = {
		localization_key = MZ_BurialRites_Torturer
		trigger = {
			var:ancestor_to_bury = { has_trait = torturer }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Whole of Body: excluded because it's really, really difficult to write a memorial for this that doesn't sound unfortunately lewd.
	## Scholar
	text = {
		localization_key = MZ_BurialRites_Scholar
		trigger = {
			var:ancestor_to_bury = { has_trait = scholar }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Theologian
	text = {
		localization_key = MZ_BurialRites_Theologian
		trigger = {
			var:ancestor_to_bury = { has_trait = theologian }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Mystic
	text = {
		localization_key = MZ_BurialRites_Mystic
		trigger = {
			var:ancestor_to_bury = { has_trait = lifestyle_mystic }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Physician
	text = {
		localization_key = MZ_BurialRites_Physician
		trigger = {
			var:ancestor_to_bury = { has_trait = lifestyle_physician }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Herbalist
	text = {
		localization_key = MZ_BurialRites_Herbalist
		trigger = {
			var:ancestor_to_bury = { has_trait = lifestyle_herbalist }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	# PERSONALITY BLOCK
	## Lustful
	text = {
		localization_key = MZ_BurialRites_Lustful
		trigger = {
			var:ancestor_to_bury = { has_trait = lustful }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Chaste
	text = {
		localization_key = MZ_BurialRites_Chaste
		trigger = {
			var:ancestor_to_bury = { has_trait = chaste }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Gluttonous
	text = {
		localization_key = MZ_BurialRites_Gluttonous
		trigger = {
			var:ancestor_to_bury = { has_trait = gluttonous }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Temperate
	text = {
		localization_key = MZ_BurialRites_Temperate
		trigger = {
			var:ancestor_to_bury = { has_trait = temperate }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Greedy
	text = {
		localization_key = MZ_BurialRites_Greedy
		trigger = {
			var:ancestor_to_bury = { has_trait = greedy }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Generous
	text = {
		localization_key = MZ_BurialRites_Generous
		trigger = {
			var:ancestor_to_bury = { has_trait = generous }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Lazy
	text = {
		localization_key = MZ_BurialRites_Lazy
		trigger = {
			var:ancestor_to_bury = { has_trait = lazy }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Diligent
	text = {
		localization_key = MZ_BurialRites_Diligent
		trigger = {
			var:ancestor_to_bury = { has_trait = diligent }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Wrathful
	text = {
		localization_key = MZ_BurialRites_Wrathful
		trigger = {
			var:ancestor_to_bury = { has_trait = wrathful }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Calm
	text = {
		localization_key = MZ_BurialRites_Calm
		trigger = {
			var:ancestor_to_bury = { has_trait = calm }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Patient
	text = {
		localization_key = MZ_BurialRites_Patient
		trigger = {
			var:ancestor_to_bury = { has_trait = patient }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Impatient
	text = {
		localization_key = MZ_BurialRites_Impatient
		trigger = {
			var:ancestor_to_bury = { has_trait = impatient }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Arrogant
	text = {
		localization_key = MZ_BurialRites_Arrogant
		trigger = {
			var:ancestor_to_bury = { has_trait = arrogant }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Humble
	text = {
		localization_key = MZ_BurialRites_Humble
		trigger = {
			var:ancestor_to_bury = { has_trait = humble }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Deceitful
	text = {
		localization_key = MZ_BurialRites_Deceitful
		trigger = {
			var:ancestor_to_bury = { has_trait = deceitful }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Honest
	text = {
		localization_key = MZ_BurialRites_Honest
		trigger = {
			var:ancestor_to_bury = { has_trait = honest }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Craven
	text = {
		localization_key = MZ_BurialRites_Craven
		trigger = {
			var:ancestor_to_bury = { has_trait = craven }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Brave
	text = {
		localization_key = MZ_BurialRites_Brave
		trigger = {
			var:ancestor_to_bury = { has_trait = brave }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Shy
	text = {
		localization_key = MZ_BurialRites_Shy
		trigger = {
			var:ancestor_to_bury = { has_trait = shy }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Gregarious
	text = {
		localization_key = MZ_BurialRites_Gregarious
		trigger = {
			var:ancestor_to_bury = { has_trait = gregarious }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Ambitious
	text = {
		localization_key = MZ_BurialRites_Ambitious
		trigger = {
			var:ancestor_to_bury = { has_trait = ambitious }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Content
	text = {
		localization_key = MZ_BurialRites_Content
		trigger = {
			var:ancestor_to_bury = { has_trait = content }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Arbitrary
	text = {
		localization_key = MZ_BurialRites_Arbitrary
		trigger = {
			var:ancestor_to_bury = { has_trait = arbitrary }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Just
	text = {
		localization_key = MZ_BurialRites_Just
		trigger = {
			var:ancestor_to_bury = { has_trait = just }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Cynical
	text = {
		localization_key = MZ_BurialRites_Cynical
		trigger = {
			var:ancestor_to_bury = { has_trait = cynical }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Zealous
	text = {
		localization_key = MZ_BurialRites_Zealous
		trigger = {
			var:ancestor_to_bury = { has_trait = zealous }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Paranoid
	text = {
		localization_key = MZ_BurialRites_Paranoid
		trigger = {
			var:ancestor_to_bury = { has_trait = paranoid }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Trusting
	text = {
		localization_key = MZ_BurialRites_Trusting
		trigger = {
			var:ancestor_to_bury = { has_trait = trusting }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Compassionate
	text = {
		localization_key = MZ_BurialRites_Compassionate
		trigger = {
			var:ancestor_to_bury = { has_trait = compassionate }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Callous
	text = {
		localization_key = MZ_BurialRites_Callous
		trigger = {
			var:ancestor_to_bury = { has_trait = callous }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Sadistic
	text = {
		localization_key = MZ_BurialRites_Sadistic
		trigger = {
			var:ancestor_to_bury = { has_trait = sadistic }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Stubborn
	text = {
		localization_key = MZ_BurialRites_Stubborn
		trigger = {
			var:ancestor_to_bury = { has_trait = stubborn }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Fickle
	text = {
		localization_key = MZ_BurialRites_Fickle
		trigger = {
			var:ancestor_to_bury = { has_trait = fickle }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Vengeful
	text = {
		localization_key = MZ_BurialRites_Vengeful
		trigger = {
			var:ancestor_to_bury = { has_trait = vengeful }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Forgiving
	text = {
		localization_key = MZ_BurialRites_Forgiving
		trigger = {
			var:ancestor_to_bury = { has_trait = forgiving }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	# STRESS BLOCK
	## Drunkard
	text = {
		localization_key = MZ_BurialRites_Drunkard
		trigger = {
			var:ancestor_to_bury = { has_trait = drunkard }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Hashishiyah
	text = {
		localization_key = MZ_BurialRites_Hashishiyah
		trigger = {
			var:ancestor_to_bury = { has_trait = hashishiyah }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Rakish
	text = {
		localization_key = MZ_BurialRites_Rakish
		trigger = {
			var:ancestor_to_bury = { has_trait = rakish }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Reclusive
	text = {
		localization_key = MZ_BurialRites_Reclusive
		trigger = {
			var:ancestor_to_bury = { has_trait = reclusive }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Irritable
	text = {
		localization_key = MZ_BurialRites_Irritable
		trigger = {
			var:ancestor_to_bury = { has_trait = irritable }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Flagellant
	text = {
		localization_key = MZ_BurialRites_Flagellant
		trigger = {
			var:ancestor_to_bury = { has_trait = flagellant }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Profligate
	text = {
		localization_key = MZ_BurialRites_Profligate
		trigger = {
			var:ancestor_to_bury = { has_trait = profligate }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Improvident
	text = {
		localization_key = MZ_BurialRites_Improvident
		trigger = {
			var:ancestor_to_bury = { has_trait = improvident }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Contrite
	text = {
		localization_key = MZ_BurialRites_Contrite
		trigger = {
			var:ancestor_to_bury = { has_trait = contrite }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Comfort Eater
	text = {
		localization_key = MZ_BurialRites_ComfortEater
		trigger = {
			var:ancestor_to_bury = { has_trait = comfort_eater }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Inappetetic
	text = {
		localization_key = MZ_BurialRites_Inappetetic
		trigger = {
			var:ancestor_to_bury = { has_trait = inappetetic }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Journaller
	text = {
		localization_key = MZ_BurialRites_Journaller
		trigger = {
			var:ancestor_to_bury = { has_trait = journaller }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Confider
	text = {
		localization_key = MZ_BurialRites_Confider
		trigger = {
			var:ancestor_to_bury = { has_trait = confider }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	## Athletic
	text = {
		localization_key = MZ_BurialRites_Athletic
		trigger = {
			var:ancestor_to_bury = { has_trait = athletic }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1 }
		}
	}
	# RELIGIOUS BLOCK
	## Saoshyant
	text = {
		localization_key = MZ_BurialRites_Saoshyant
		trigger = {
			var:ancestor_to_bury = { has_trait = saoshyant }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1000 }
		}
	}
	# FAME BLOCK
	## Berserker
	text = {
		localization_key = MZ_BurialRites_Berserker
		trigger = {
			var:ancestor_to_bury = { has_trait = berserker }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Shieldmaiden
	text = {
		localization_key = MZ_BurialRites_Shieldmaiden
		trigger = {
			var:ancestor_to_bury = { has_trait = shieldmaiden }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Varangian
	text = {
		localization_key = MZ_BurialRites_Varangian
		trigger = {
			var:ancestor_to_bury = { has_trait = varangian }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Kinslayer
	text = {
		localization_key = MZ_BurialRites_Kinslayer
		trigger = {
			var:ancestor_to_bury = { has_trait = kinslayer }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Deviant
	text = {
		localization_key = MZ_BurialRites_Deviant
		trigger = {
			var:ancestor_to_bury = { has_trait = deviant }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Cannibal
	text = {
		localization_key = MZ_BurialRites_Cannibal
		trigger = {
			var:ancestor_to_bury = { has_trait = cannibal }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Incestuous
	text = {
		localization_key = MZ_BurialRites_Incestuous
		trigger = {
			var:ancestor_to_bury = { has_trait = incestuous }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Murderer
	text = {
		localization_key = MZ_BurialRites_Murderer
		trigger = {
			var:ancestor_to_bury = { has_trait = murderer }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	## Viking
	text = {
		localization_key = MZ_BurialRites_Viking
		trigger = {
			var:ancestor_to_bury = { has_trait = viking }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Reincarnation
	text = {
		localization_key = MZ_BurialRites_Reincarnation
		trigger = {
			var:ancestor_to_bury = { has_trait = reincarnation }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Adventurer
	text = {
		localization_key = MZ_BurialRites_Adventurer
		trigger = {
			var:ancestor_to_bury = { has_trait = adventurer }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Heresiarch
	text = {
		localization_key = MZ_BurialRites_Heresiarch
		trigger = {
			var:ancestor_to_bury = { has_trait = heresiarch }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Peasant Leader
	text = {
		localization_key = MZ_BurialRites_PeasantLeader
		trigger = {
			var:ancestor_to_bury = { has_trait = peasant_leader }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
	## Witch
	text = {
		localization_key = MZ_BurialRites_Witch
		trigger = {
			var:ancestor_to_bury = { has_trait = witch }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 5 }
		}
	}
	# SPECIAL BLOCK
	## Crusader Monarch
	text = {
		localization_key = MZ_BurialRites_CrusaderMonarch
		trigger = {
			var:ancestor_to_bury = { has_trait = crusader_king }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1000 }
		}
	}
	## Chakravarti
	text = {
		localization_key = MZ_BurialRites_Chakravarti
		trigger = {
			var:ancestor_to_bury = { has_trait = chakravarti }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1000 }
		}
	}
	## Greatest of Khans
	text = {
		localization_key = MZ_BurialRites_GreatestOfKhans
		trigger = {
			var:ancestor_to_bury = { has_trait = greatest_of_khans }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 1000 }
		}
	}
	## Paragon
	text = {
		localization_key = MZ_BurialRites_Paragon
		trigger = {
			var:ancestor_to_bury = { has_trait = paragon }
		}
		weight_multiplier = {
			base = 0
			modifier = { add = 50 }
		}
	}
}
