
demanding_poet_character = {
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	trait = education_learning_2
	trait = arrogant
	trait = ambitious
	trait = arbitrary
	trait = wheezing
	trait = lifestyle_poet
	diplomacy = average_skill_level
	learning = average_skill_level
	stewardship = average_skill_level
	intrigue = average_skill_level
	martial = average_skill_level
	random_traits = no
}

demanding_poet_lover_character = {
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	trait = beauty_good_2
	trait = arrogant
	trait = ambitious
	trait = arbitrary
	trait = wheezing
	trait = lifestyle_poet
	diplomacy = average_skill_level
	learning = average_skill_level
	stewardship = average_skill_level
	intrigue = average_skill_level
	martial = average_skill_level
	random_traits = no
}

demanding_poet_diplomacy_character = {
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	trait = beauty_good_2
	trait = arrogant
	trait = ambitious
	trait = arbitrary
	trait = wheezing
	trait = lifestyle_poet
	trait = education_diplomacy_4
	diplomacy = 13
	stewardship = 6
	intrigue = 5
	learning = 4
	martial = 2
	random_traits = no
	after_creation = {
		if = {
			limit = { has_dlc_feature = tours_and_tournaments }
			add_trait = tourney_participant
			add_random_tiered_trait_track_xp_effect = {
				TRAIT = tourney_participant
				TRACK = wit
				LEVEL_1 = yes
				LEVEL_3 = no
			}
		}
	}
}

demanding_poet_stewardship_character = {
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	trait = beauty_good_2
	trait = arrogant
	trait = ambitious
	trait = arbitrary
	trait = wheezing
	trait = lifestyle_poet
	trait = education_stewardship_4
	diplomacy = 5
	stewardship = 13
	intrigue = 5
	learning = 4
	martial = 2
	random_traits = no
}

demanding_poet_martial_character = {
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	trait = beauty_good_2
	trait = arrogant
	trait = ambitious
	trait = arbitrary
	trait = wheezing
	trait = journaller
	trait = education_martial_4
	diplomacy = 5
	stewardship = 5
	intrigue = 5
	learning = 4
	martial = 13
	random_traits = no
	after_creation = {
		if = {
			limit = { has_dlc_feature = tours_and_tournaments }
			add_trait = tourney_participant
			add_random_tiered_trait_track_xp_effect = {
				TRAIT = tourney_participant
				TRACK = wit
				LEVEL_1 = yes
				LEVEL_3 = no
			}
		}
	}
}

demanding_poet_intrigue_character = {
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	trait = beauty_good_2
	trait = arrogant
	trait = ambitious
	trait = arbitrary
	trait = wheezing
	trait = lifestyle_poet
	trait = education_intrigue_4
	diplomacy = 5
	stewardship = 4
	intrigue = 13
	learning = 4
	martial = 2
	random_traits = no
}
demanding_poet_learning_character = {
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	trait = beauty_good_2
	trait = arrogant
	trait = ambitious
	trait = arbitrary
	trait = wheezing
	trait = lifestyle_poet
	trait = education_learning_4
	diplomacy = 5
	stewardship = 6
	intrigue = 5
	learning = 14
	martial = 2
	random_traits = no
}

suspicious_genealogist_character = {
	age = { 70 80 }
	faith = root.faith
	culture = root.culture
	trait = education_intrigue_2
	gender_female_chance = root_soldier_female_chance
	diplomacy = 9
	stewardship = 10
	learning = 3
	intrigue = 12
	martial = 3
	random_traits = yes
}

alluring_suitor_character = {
	age = { 18 35 }
	random_traits_list = {
		count = 1
		beauty_good_2 = {}
		beauty_good_3 = {}
	}
	random_traits = yes
	faith = ROOT.faith
	culture = ROOT.culture
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
}

ambassador_template = {
	age = { 25 65 }
	random_traits_list = {
		count = 1
		education_diplomacy_3 = {}
		education_diplomacy_4 = {}
		education_diplomacy_5 = {}
	}
	random_traits = yes
	dynasty = none
	trait = diplomat
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		if = {
			limit = { has_dlc_feature = tours_and_tournaments }
			add_trait = tourney_participant
			add_random_tiered_trait_track_xp_effect = {
				TRAIT = tourney_participant
				TRACK = wit
				LEVEL_1 = yes
				LEVEL_3 = no
			}
		}
	}
}

mime_template = {
	age = { 16 42 }
	random_traits_list = {
		count = 1
		education_diplomacy_2 = {}
		education_diplomacy_3 = {}
		education_diplomacy_4 = {}
	}
	random_traits = yes
	dynasty = none
	gender_female_chance = root_faith_dominant_gender_female_chance
	trait = shrewd
	trait = athletic
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		if = {
			limit = { has_dlc_feature = tours_and_tournaments }
			add_trait = tourney_participant
			add_random_tiered_trait_track_xp_effect = {
				TRAIT = tourney_participant
				TRACK = wit
				LEVEL_1 = no
				LEVEL_3 = yes
			}
		}
	}
}

good_merchant_template = {
	age = { 25 50 }
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
		education_stewardship_3 = {}
		education_stewardship_4 = {}
	}
	dynasty = none
	random_traits = yes
	faith = this.faith
	culture = this.culture
	gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	learning = { 10 15 }
	trait = lifestyle_traveler
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_traveler
			TRACK = travel
			LEVEL_1 = yes
			LEVEL_3 = no
		}
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_traveler
			TRACK = danger
			LEVEL_1 = yes
			LEVEL_3 = no
		}
	}
}

diplomacy_court_position_holder_template = {
	age = { 25 60 }
	gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
	dynasty = none
	random_traits_list = {
		count = 1
		education_diplomacy_2 = { weight = { base = 20 } }
		education_diplomacy_3 = { weight = { base = 30 } }
		education_diplomacy_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = 1
		diplomat = { weight = { base = 20 } }
		lifestyle_reveler = { weight = { base = 20 } }
		gregarious = { weight = { base = 20 } }
	}
	diplomacy = { min_template_average_skill max_template_average_skill }
	after_creation = {
		if = {
			limit = { has_trait = lifestyle_reveler }
			add_trait_xp = {
				trait = lifestyle_reveler
				value = {
					integer_range = {
						min = small_lifestyle_random_xp_low
						max = medium_lifestyle_random_xp_high
					}
				}
			}
		}
	}
}

stewardship_court_position_holder_template = {
	age = { 25 60 }
	gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
	dynasty = none
	random_traits_list = {
		count = 1
		education_stewardship_2 = { weight = { base = 20 } }
		education_stewardship_3 = { weight = { base = 30 } }
		education_stewardship_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = 1
		lifestyle_gardener = {}
		architect = {}
		administrator = {}
		diligent = { weight = { base = 20 } }
	}
	stewardship = { min_template_average_skill max_template_average_skill }
}

intrigue_court_position_holder_template = {
	age = { 25 60 }
	gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
	dynasty = none
	random_traits_list = {
		count = 1
		education_intrigue_2 = { weight = { base = 20 } }
		education_intrigue_3 = { weight = { base = 30 } }
		education_intrigue_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = 1
		schemer = { weight = { base = 30 } }
		eunuch_1 = { weight = { base = 10 } }
		beardless_eunuch = { weight = { base = 30 } }
		deceitful = { weight = { base = 20 } }
	}
	intrigue = { min_template_average_skill max_template_average_skill }
}

learning_court_position_holder_template = {
	age = { 25 60 }
	gender_female_chance = root_faith_dominant_gender_adjusted_female_chance
	dynasty = none
	random_traits_list = {
		count = 1
		education_learning_2 = { weight = { base = 20 } }
		education_learning_3 = { weight = { base = 30 } }
		education_learning_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = 1
		scholar = { weight = { base = 20 } }
		theologian = { weight = { base = 20 } }
		lifestyle_mystic = { weight = { base = 20 } }
		lifestyle_herbalist = { weight = { base = 20 } }
	}
	learning = { min_template_average_skill max_template_average_skill }
	after_creation = {
		if = {
			limit = { has_trait = lifestyle_mystic }
			add_trait_xp = {
				trait = lifestyle_mystic
				value = {
					integer_range = {
						min = small_lifestyle_random_xp_low
						max = medium_lifestyle_random_xp_high
					}
				}
			}
		}
	}
}

prowess_court_position_holder_template = {
	age = { 25 60 }
	gender_female_chance = root_soldier_female_chance
	dynasty = none
	random_traits_list = {
		count = 1
		education_martial_1 = { weight = { base = 30 } }
		education_martial_2 = { weight = { base = 10 } }
	}
	random_traits_list = {
		lifestyle_blademaster = { weight = { base = 10 } }
		education_martial_prowess_2 = { weight = { base = 20 } }
		education_martial_prowess_3 = { weight = { base = 30 } }
		education_martial_prowess_4 = { weight = { base = 10 } }
	}
	random_traits_list = {
		count = 1
		lifestyle_hunter = { weight = { base = 10 } }
		tourney_participant = { weight = { base = 10 } }
		brave = { weight = { base = 10 } }
	}
	prowess = { min_template_medium_skill max_template_medium_skill }
	after_creation = {
		if = {
			limit = { has_trait = lifestyle_hunter }
			add_trait_xp = {
				trait = lifestyle_hunter
				track = hunter
				value = {
					integer_range = {
						min = small_lifestyle_random_xp_low
						max = medium_lifestyle_random_xp_high
					}
				}
			}
		}
		if = {
			limit = { has_trait = lifestyle_blademaster }
			add_trait_xp = {
				trait = lifestyle_blademaster
				value = {
					integer_range = {
						min = small_lifestyle_random_xp_low
						max = medium_lifestyle_random_xp_high
					}
				}
			}
		}
		if = {
			limit = { has_trait = tourney_participant }
			add_trait_xp = {
				trait = tourney_participant
				track = foot
				value = {
					integer_range = {
						min = small_lifestyle_random_xp_low
						max = medium_lifestyle_random_xp_high
					}
				}
			}
			add_trait_xp = {
				trait = tourney_participant
				track = horse
				value = {
					integer_range = {
						min = small_lifestyle_random_xp_low
						max = medium_lifestyle_random_xp_high
					}
				}
			}
		}
	}
}
