﻿# More Personality Depth — Ruler designer marker conversion (GENERATED)
# Generated by mpd_generate_rd_markers.py (sibling) — do not hand-edit.
# Swaps a designer level-marker for the real trait at the matching XP.
# Called from on_ruler_designer_finished, the birthday catchup and the
# character-window view-hook. XP >= 1 makes the regular roller skip the
# trait, so conversion and the game-start roller are order-independent.

mpd_convert_rd_marker_traits = {
	if = {
		limit = { has_trait = mpd_rd_lustful_1 }
		remove_trait = mpd_rd_lustful_1
		add_trait = lustful
		add_trait_xp = { trait = lustful value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_lustful_2 }
		remove_trait = mpd_rd_lustful_2
		add_trait = lustful
		add_trait_xp = { trait = lustful value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_lustful_3 }
		remove_trait = mpd_rd_lustful_3
		add_trait = lustful
		add_trait_xp = { trait = lustful value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_chaste_1 }
		remove_trait = mpd_rd_chaste_1
		add_trait = chaste
		add_trait_xp = { trait = chaste value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_chaste_2 }
		remove_trait = mpd_rd_chaste_2
		add_trait = chaste
		add_trait_xp = { trait = chaste value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_chaste_3 }
		remove_trait = mpd_rd_chaste_3
		add_trait = chaste
		add_trait_xp = { trait = chaste value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_gluttonous_1 }
		remove_trait = mpd_rd_gluttonous_1
		add_trait = gluttonous
		add_trait_xp = { trait = gluttonous value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_gluttonous_2 }
		remove_trait = mpd_rd_gluttonous_2
		add_trait = gluttonous
		add_trait_xp = { trait = gluttonous value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_gluttonous_3 }
		remove_trait = mpd_rd_gluttonous_3
		add_trait = gluttonous
		add_trait_xp = { trait = gluttonous value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_temperate_1 }
		remove_trait = mpd_rd_temperate_1
		add_trait = temperate
		add_trait_xp = { trait = temperate value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_temperate_2 }
		remove_trait = mpd_rd_temperate_2
		add_trait = temperate
		add_trait_xp = { trait = temperate value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_temperate_3 }
		remove_trait = mpd_rd_temperate_3
		add_trait = temperate
		add_trait_xp = { trait = temperate value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_greedy_1 }
		remove_trait = mpd_rd_greedy_1
		add_trait = greedy
		add_trait_xp = { trait = greedy value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_greedy_2 }
		remove_trait = mpd_rd_greedy_2
		add_trait = greedy
		add_trait_xp = { trait = greedy value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_greedy_3 }
		remove_trait = mpd_rd_greedy_3
		add_trait = greedy
		add_trait_xp = { trait = greedy value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_generous_1 }
		remove_trait = mpd_rd_generous_1
		add_trait = generous
		add_trait_xp = { trait = generous value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_generous_2 }
		remove_trait = mpd_rd_generous_2
		add_trait = generous
		add_trait_xp = { trait = generous value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_generous_3 }
		remove_trait = mpd_rd_generous_3
		add_trait = generous
		add_trait_xp = { trait = generous value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_lazy_1 }
		remove_trait = mpd_rd_lazy_1
		add_trait = lazy
		add_trait_xp = { trait = lazy value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_lazy_2 }
		remove_trait = mpd_rd_lazy_2
		add_trait = lazy
		add_trait_xp = { trait = lazy value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_lazy_3 }
		remove_trait = mpd_rd_lazy_3
		add_trait = lazy
		add_trait_xp = { trait = lazy value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_diligent_1 }
		remove_trait = mpd_rd_diligent_1
		add_trait = diligent
		add_trait_xp = { trait = diligent value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_diligent_2 }
		remove_trait = mpd_rd_diligent_2
		add_trait = diligent
		add_trait_xp = { trait = diligent value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_diligent_3 }
		remove_trait = mpd_rd_diligent_3
		add_trait = diligent
		add_trait_xp = { trait = diligent value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_wrathful_1 }
		remove_trait = mpd_rd_wrathful_1
		add_trait = wrathful
		add_trait_xp = { trait = wrathful value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_wrathful_2 }
		remove_trait = mpd_rd_wrathful_2
		add_trait = wrathful
		add_trait_xp = { trait = wrathful value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_wrathful_3 }
		remove_trait = mpd_rd_wrathful_3
		add_trait = wrathful
		add_trait_xp = { trait = wrathful value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_calm_1 }
		remove_trait = mpd_rd_calm_1
		add_trait = calm
		add_trait_xp = { trait = calm value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_calm_2 }
		remove_trait = mpd_rd_calm_2
		add_trait = calm
		add_trait_xp = { trait = calm value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_calm_3 }
		remove_trait = mpd_rd_calm_3
		add_trait = calm
		add_trait_xp = { trait = calm value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_patient_1 }
		remove_trait = mpd_rd_patient_1
		add_trait = patient
		add_trait_xp = { trait = patient value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_patient_2 }
		remove_trait = mpd_rd_patient_2
		add_trait = patient
		add_trait_xp = { trait = patient value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_patient_3 }
		remove_trait = mpd_rd_patient_3
		add_trait = patient
		add_trait_xp = { trait = patient value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_impatient_1 }
		remove_trait = mpd_rd_impatient_1
		add_trait = impatient
		add_trait_xp = { trait = impatient value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_impatient_2 }
		remove_trait = mpd_rd_impatient_2
		add_trait = impatient
		add_trait_xp = { trait = impatient value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_impatient_3 }
		remove_trait = mpd_rd_impatient_3
		add_trait = impatient
		add_trait_xp = { trait = impatient value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_arrogant_1 }
		remove_trait = mpd_rd_arrogant_1
		add_trait = arrogant
		add_trait_xp = { trait = arrogant value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_arrogant_2 }
		remove_trait = mpd_rd_arrogant_2
		add_trait = arrogant
		add_trait_xp = { trait = arrogant value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_arrogant_3 }
		remove_trait = mpd_rd_arrogant_3
		add_trait = arrogant
		add_trait_xp = { trait = arrogant value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_humble_1 }
		remove_trait = mpd_rd_humble_1
		add_trait = humble
		add_trait_xp = { trait = humble value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_humble_2 }
		remove_trait = mpd_rd_humble_2
		add_trait = humble
		add_trait_xp = { trait = humble value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_humble_3 }
		remove_trait = mpd_rd_humble_3
		add_trait = humble
		add_trait_xp = { trait = humble value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_deceitful_1 }
		remove_trait = mpd_rd_deceitful_1
		add_trait = deceitful
		add_trait_xp = { trait = deceitful value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_deceitful_2 }
		remove_trait = mpd_rd_deceitful_2
		add_trait = deceitful
		add_trait_xp = { trait = deceitful value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_deceitful_3 }
		remove_trait = mpd_rd_deceitful_3
		add_trait = deceitful
		add_trait_xp = { trait = deceitful value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_honest_1 }
		remove_trait = mpd_rd_honest_1
		add_trait = honest
		add_trait_xp = { trait = honest value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_honest_2 }
		remove_trait = mpd_rd_honest_2
		add_trait = honest
		add_trait_xp = { trait = honest value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_honest_3 }
		remove_trait = mpd_rd_honest_3
		add_trait = honest
		add_trait_xp = { trait = honest value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_craven_1 }
		remove_trait = mpd_rd_craven_1
		add_trait = craven
		add_trait_xp = { trait = craven value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_craven_2 }
		remove_trait = mpd_rd_craven_2
		add_trait = craven
		add_trait_xp = { trait = craven value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_craven_3 }
		remove_trait = mpd_rd_craven_3
		add_trait = craven
		add_trait_xp = { trait = craven value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_brave_1 }
		remove_trait = mpd_rd_brave_1
		add_trait = brave
		add_trait_xp = { trait = brave value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_brave_2 }
		remove_trait = mpd_rd_brave_2
		add_trait = brave
		add_trait_xp = { trait = brave value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_brave_3 }
		remove_trait = mpd_rd_brave_3
		add_trait = brave
		add_trait_xp = { trait = brave value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_shy_1 }
		remove_trait = mpd_rd_shy_1
		add_trait = shy
		add_trait_xp = { trait = shy value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_shy_2 }
		remove_trait = mpd_rd_shy_2
		add_trait = shy
		add_trait_xp = { trait = shy value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_shy_3 }
		remove_trait = mpd_rd_shy_3
		add_trait = shy
		add_trait_xp = { trait = shy value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_gregarious_1 }
		remove_trait = mpd_rd_gregarious_1
		add_trait = gregarious
		add_trait_xp = { trait = gregarious value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_gregarious_2 }
		remove_trait = mpd_rd_gregarious_2
		add_trait = gregarious
		add_trait_xp = { trait = gregarious value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_gregarious_3 }
		remove_trait = mpd_rd_gregarious_3
		add_trait = gregarious
		add_trait_xp = { trait = gregarious value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_ambitious_1 }
		remove_trait = mpd_rd_ambitious_1
		add_trait = ambitious
		add_trait_xp = { trait = ambitious value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_ambitious_2 }
		remove_trait = mpd_rd_ambitious_2
		add_trait = ambitious
		add_trait_xp = { trait = ambitious value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_ambitious_3 }
		remove_trait = mpd_rd_ambitious_3
		add_trait = ambitious
		add_trait_xp = { trait = ambitious value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_content_1 }
		remove_trait = mpd_rd_content_1
		add_trait = content
		add_trait_xp = { trait = content value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_content_2 }
		remove_trait = mpd_rd_content_2
		add_trait = content
		add_trait_xp = { trait = content value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_content_3 }
		remove_trait = mpd_rd_content_3
		add_trait = content
		add_trait_xp = { trait = content value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_arbitrary_1 }
		remove_trait = mpd_rd_arbitrary_1
		add_trait = arbitrary
		add_trait_xp = { trait = arbitrary value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_arbitrary_2 }
		remove_trait = mpd_rd_arbitrary_2
		add_trait = arbitrary
		add_trait_xp = { trait = arbitrary value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_arbitrary_3 }
		remove_trait = mpd_rd_arbitrary_3
		add_trait = arbitrary
		add_trait_xp = { trait = arbitrary value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_just_1 }
		remove_trait = mpd_rd_just_1
		add_trait = just
		add_trait_xp = { trait = just value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_just_2 }
		remove_trait = mpd_rd_just_2
		add_trait = just
		add_trait_xp = { trait = just value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_just_3 }
		remove_trait = mpd_rd_just_3
		add_trait = just
		add_trait_xp = { trait = just value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_cynical_1 }
		remove_trait = mpd_rd_cynical_1
		add_trait = cynical
		add_trait_xp = { trait = cynical value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_cynical_2 }
		remove_trait = mpd_rd_cynical_2
		add_trait = cynical
		add_trait_xp = { trait = cynical value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_cynical_3 }
		remove_trait = mpd_rd_cynical_3
		add_trait = cynical
		add_trait_xp = { trait = cynical value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_zealous_1 }
		remove_trait = mpd_rd_zealous_1
		add_trait = zealous
		add_trait_xp = { trait = zealous value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_zealous_2 }
		remove_trait = mpd_rd_zealous_2
		add_trait = zealous
		add_trait_xp = { trait = zealous value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_zealous_3 }
		remove_trait = mpd_rd_zealous_3
		add_trait = zealous
		add_trait_xp = { trait = zealous value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_paranoid_1 }
		remove_trait = mpd_rd_paranoid_1
		add_trait = paranoid
		add_trait_xp = { trait = paranoid value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_paranoid_2 }
		remove_trait = mpd_rd_paranoid_2
		add_trait = paranoid
		add_trait_xp = { trait = paranoid value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_paranoid_3 }
		remove_trait = mpd_rd_paranoid_3
		add_trait = paranoid
		add_trait_xp = { trait = paranoid value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_trusting_1 }
		remove_trait = mpd_rd_trusting_1
		add_trait = trusting
		add_trait_xp = { trait = trusting value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_trusting_2 }
		remove_trait = mpd_rd_trusting_2
		add_trait = trusting
		add_trait_xp = { trait = trusting value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_trusting_3 }
		remove_trait = mpd_rd_trusting_3
		add_trait = trusting
		add_trait_xp = { trait = trusting value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_vengeful_1 }
		remove_trait = mpd_rd_vengeful_1
		add_trait = vengeful
		add_trait_xp = { trait = vengeful value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_vengeful_2 }
		remove_trait = mpd_rd_vengeful_2
		add_trait = vengeful
		add_trait_xp = { trait = vengeful value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_vengeful_3 }
		remove_trait = mpd_rd_vengeful_3
		add_trait = vengeful
		add_trait_xp = { trait = vengeful value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_forgiving_1 }
		remove_trait = mpd_rd_forgiving_1
		add_trait = forgiving
		add_trait_xp = { trait = forgiving value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_forgiving_2 }
		remove_trait = mpd_rd_forgiving_2
		add_trait = forgiving
		add_trait_xp = { trait = forgiving value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_forgiving_3 }
		remove_trait = mpd_rd_forgiving_3
		add_trait = forgiving
		add_trait_xp = { trait = forgiving value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_compassionate_1 }
		remove_trait = mpd_rd_compassionate_1
		add_trait = compassionate
		add_trait_xp = { trait = compassionate value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_compassionate_2 }
		remove_trait = mpd_rd_compassionate_2
		add_trait = compassionate
		add_trait_xp = { trait = compassionate value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_compassionate_3 }
		remove_trait = mpd_rd_compassionate_3
		add_trait = compassionate
		add_trait_xp = { trait = compassionate value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_callous_1 }
		remove_trait = mpd_rd_callous_1
		add_trait = callous
		add_trait_xp = { trait = callous value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_callous_2 }
		remove_trait = mpd_rd_callous_2
		add_trait = callous
		add_trait_xp = { trait = callous value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_callous_3 }
		remove_trait = mpd_rd_callous_3
		add_trait = callous
		add_trait_xp = { trait = callous value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_sadistic_1 }
		remove_trait = mpd_rd_sadistic_1
		add_trait = sadistic
		add_trait_xp = { trait = sadistic value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_sadistic_2 }
		remove_trait = mpd_rd_sadistic_2
		add_trait = sadistic
		add_trait_xp = { trait = sadistic value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_sadistic_3 }
		remove_trait = mpd_rd_sadistic_3
		add_trait = sadistic
		add_trait_xp = { trait = sadistic value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_stubborn_1 }
		remove_trait = mpd_rd_stubborn_1
		add_trait = stubborn
		add_trait_xp = { trait = stubborn value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_stubborn_2 }
		remove_trait = mpd_rd_stubborn_2
		add_trait = stubborn
		add_trait_xp = { trait = stubborn value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_stubborn_3 }
		remove_trait = mpd_rd_stubborn_3
		add_trait = stubborn
		add_trait_xp = { trait = stubborn value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_fickle_1 }
		remove_trait = mpd_rd_fickle_1
		add_trait = fickle
		add_trait_xp = { trait = fickle value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_fickle_2 }
		remove_trait = mpd_rd_fickle_2
		add_trait = fickle
		add_trait_xp = { trait = fickle value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_fickle_3 }
		remove_trait = mpd_rd_fickle_3
		add_trait = fickle
		add_trait_xp = { trait = fickle value = 100 }
	}
	if = {
		limit = { has_trait = mpd_rd_eccentric_1 }
		remove_trait = mpd_rd_eccentric_1
		add_trait = eccentric
		add_trait_xp = { trait = eccentric value = 1 }
	}
	if = {
		limit = { has_trait = mpd_rd_eccentric_2 }
		remove_trait = mpd_rd_eccentric_2
		add_trait = eccentric
		add_trait_xp = { trait = eccentric value = 50 }
	}
	if = {
		limit = { has_trait = mpd_rd_eccentric_3 }
		remove_trait = mpd_rd_eccentric_3
		add_trait = eccentric
		add_trait_xp = { trait = eccentric value = 100 }
	}
}
