﻿hi_random_spouse_character_template = {
	age = { 17 27 }
	gender = female

	#faith
	#culture

	# Personality Traits

	# Education
	random_traits_list = {
		education_diplomacy_1 = { weight = { base = 35 } }
		education_diplomacy_2 = { weight = { base = 35 } }
		education_diplomacy_3 = { weight = { base = 20 } }
		education_diplomacy_4 = { weight = { base = 10 } }
		education_martial_1 = { weight = { base = 35 } }
		education_martial_2 = { weight = { base = 35 } }
		education_martial_3 = { weight = { base = 20 } }
		education_martial_4 = { weight = { base = 10 } }
		education_stewardship_1 = { weight = { base = 35 } }
		education_stewardship_2 = { weight = { base = 35 } }
		education_stewardship_3 = { weight = { base = 20 } }
		education_stewardship_4 = { weight = { base = 10 } }
		education_intrigue_1 = { weight = { base = 35 } }
		education_intrigue_2 = { weight = { base = 35 } }
		education_intrigue_3 = { weight = { base = 20 } }
		education_intrigue_4 = { weight = { base = 10 } }
		education_learning_1 = { weight = { base = 35 } }
		education_learning_2 = { weight = { base = 35 } }
		education_learning_3 = { weight = { base = 20 } }
		education_learning_4 = { weight = { base = 10 } }
	}

	# Other Traits
	random_traits_list = {
		count = { 0 1 }
		diplomat = {}
		strategist = {}
		architect = {}
		schemer = {}
		scholar = {}
		whole_of_body = {}
		fecund = {}
		intellect_good_1 = {}
		physique_good_1 = {}
		beauty_good_1 = {}
	}

	random_traits = yes
	after_creation = {
		random = {
			chance = 1
			
			add_trait = lifestyle_poet
			
			modifier = {
				add = 10
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 5
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
	}
}

hi_random_child_character_template = {
	age = { 0 12 }
	gender_female_chance = 50

	random_traits = yes

	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
	}
}

hi_new_physician_template = {
	age = { 25 40 }
	gender_female_chance = 50
	dynasty = none

	intrigue = { min_template_low_skill max_template_low_skill }
	learning = { min_template_high_skill max_template_high_skill }

	random_traits_list = {
		count = 3
		chaste = {}
		diligent = {}
		patient = {}
		humble = {}
		shy = {}
		content = {}
		cynical = {}
		lazy = {}
	}

	random_traits_list = {
		count = 1
		education_learning_3 = { weight = { base = 2 } }
		education_learning_4 = { weight = { base = 1 } }
	}

	random_traits_list = {
		count = 1
		lifestyle_physician = {}
		lifestyle_physician = {}
		lifestyle_physician = {}
	}

	random_traits_list = {
		count = 1
		scholar = {}
		theologian = {}
		whole_of_body = {}
		lifestyle_mystic = {}
		lifestyle_mystic = {}
		lifestyle_herbalist = {}
	}

	random_traits = no
	after_creation = {
		if = {
			limit = {
				faith = {
					has_doctrine = tenet_monasticism
				}
			}
			random_list = {
				75 = {}
				25 = {
					add_trait = devoted
				}
			}
		}
		random = {
			chance = 1
			
			add_trait = lifestyle_poet
			
			modifier = {
				add = 10
				culture = { has_cultural_parameter = poet_trait_more_common }
			}
			modifier = {
				add = 5
				OR = {
					culture = { has_cultural_pillar = heritage_north_germanic }
					religion = religion:germanic_religion
				}
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
	}
}