beautiful_peasant_character = {
	age = { 18 35 }
	random_traits_list = {
		count = 1
		beauty_good_2 = {}
		beauty_good_3 = {}
	}
	dynasty = none
	random_traits = yes
	faith = this.faith
	culture = this.culture
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
}

servant_character = {
	age = { 18 40 }
	random_traits = yes
	culture = this.culture
	faith = this.faith
	dynasty = none
	gender_female_chance = 50
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
	}
}

witchy_template = {
	age = { 16 63 }
	gender_female_chance = 50
	culture = root.culture
	faith = root.faith
	dynasty = none
	random_traits = no

	#Education
	random_traits_list = {
		count = 1
		education_intrigue_2  = {}
		education_intrigue_3  = {}
		education_intrigue_4  = {}
		education_learning_2  = {}
		education_learning_3  = {}
		education_learning_4  = {}
		education_diplomacy_3  = {}
		education_diplomacy_4  = {}
	}
	#Personality trait 1 (main)
	random_traits_list = {
		count = 1
		lustful = {}
		deceitful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		vengeful = {}
	}
	#Personality trait 2-3
	random_traits_list = {
		count = 2
		lustful = {}
		deceitful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		vengeful = {}
		gluttonous = {}
		temperate  = {}
		greedy = {}
		generous = {}
		lazy = {}
		diligent = {}
		wrathful = {}
		calm = {}
		patient = {}
		impatient = {}
		arrogant = {}
		honest = {}
		arbitrary = {}
		just = {}
		paranoid = {}
		trusting = {}
		compassionate = {}
		callous = {}
		sadistic = {}
		stubborn = {}
		fickle = {}
		forgiving = {}
	}
	random_traits_list = {
		count = 1
		beauty_good_1 = {}
		beauty_good_2 = {}
		beauty_good_3 = {}
		intellect_good_1 = {}
		intellect_good_2 = {}
		intellect_good_3 = {}
		shrewd  = {}
		fecund = {}
		dwarf = {}
		giant = {}
		albino = {}
		bleeder = {}
		lunatic_1 = {}
		possessed_1 = {}
	}
	random_traits_list = {
		count = 1
		lifestyle_herbalist = {}
		schemer = {}
		seducer = {}
		torturer = {}
		whole_of_body = {}
		scholar = {}
	}
}


merchant_template = {
	age = { 20 40 }
	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
	}
	prowess = { 2 10 }
	martial = { 2 10 }
	diplomacy = { 5 13 }
	learning = { 5 13 }
}

hunter_template = {
	age = { 18 50 }
	dynasty = none
	random_traits = yes
	faith = this.faith
	culture = this.culture
	gender_female_chance = root_soldier_female_chance
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	trait = lifestyle_hunter
	random_traits_list = {
		count = 1
		brave = {}
		calm = {}
		shy = {}
		patient = {}
		physique_good_1 = {}
		physique_good_2 = {}
		strong = {}
		deceitful = {}
		greedy = {}
		callous = {}
		diligent = {}
		arrogant = {}
		stubborn = {}
		athletic = {}
	}
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = hunter
			LEVEL_1 = no
			LEVEL_3 = yes
		}
	}
}

falconer_template = {
	age = { 18 50 }
	dynasty = none
	random_traits = yes
	faith = this.faith
	culture = this.culture
	gender_female_chance = root_soldier_female_chance
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	trait = lifestyle_hunter
	random_traits_list = {
		count = 1
		brave = {}
		calm = {}
		shy = {}
		patient = {}
		physique_good_1 = {}
		physique_good_2 = {}
		strong = {}
		deceitful = {}
		greedy = {}
		callous = {}
		diligent = {}
		arrogant = {}
		stubborn = {}
		athletic = {}
	}
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = lifestyle_hunter
			TRACK = falconer
			LEVEL_1 = no
			LEVEL_3 = yes
		}
	}
}

detective_template = {
	age = { 30 40 }
	dynasty = none
	faith = this.faith
	culture = this.culture
	gender_female_chance = 0
	random_traits = yes
	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_learning_2 = {}
		education_learning_3 = {}
	}
	random_traits_list = {
		count = 1
		intellect_good_1 = {}
		intellect_good_2 = {}
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = { 2 10 }
	prowess = { 5 13 }
	diplomacy = { 2 10 }
	learning = { 5 10 }
}

generic_peasant_character = {
	age = { 18 50 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender_female_chance = 50
	dynasty = none
	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_martial_1 = {}
		education_intrigue_1 = {}
		education_diplomacy_1 = {}
		education_stewardship_1 = {}
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		add_character_flag = created
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
	}
}

generic_female_peasant_character = {
	age = { 18 50 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender = female
	dynasty = none
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
	}
}

challenger_peasant_character = {
	age = { 18 45 }
	dynasty = none
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	faith = root.faith
	culture = root.culture
	trait = zealous
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = { 2 4 }
	prowess = { 5 13 }
	diplomacy = { 2 6 }
	learning = { 5 7 }
}

peasant_character = {
	age = { 18 40 }
	dynasty = none
	trait = peasant_leader
	random_traits = yes
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
	}
}

drunken_peasant_character = {
	age = { 18 45 }
	dynasty = none
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	faith = root.faith
	culture = root.culture
	trait = drunkard
	trait = peasant_leader
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	prowess = { 5 13 }
}

diseased_peasant_character = {
	age = { 18 45 }
	dynasty = none
	random_traits = yes
	gender_female_chance = 50
	faith = root.faith
	culture = root.culture
	trait = peasant_leader
	random_traits_list = {
		count = { 1 3 }
		consumption = {}
		typhus = {}
		lovers_pox = {}
		great_pox = {}
		pneumonic = {}
	}
	health = 6
}

peasant_child_character = {
	age = { 3 15 }
	dynasty = none
	gender_female_chance = 50
	random_traits = yes
	after_creation = {
		add_character_flag = created
		add_character_flag = peasant_outfit
	}
}

peasant_young_child_character = {
	age = { 6 12 }
	dynasty = none
	gender_female_chance = 50
	random_traits = yes
	after_creation = {
		add_character_flag = created
		add_character_flag = peasant_outfit
	}
}

peasant_toddler_character = {
	age = { 3 8 }
	dynasty = none
	gender_female_chance = 50
	random_traits = yes
}

bandit_character_generic = {
	age = { 20 40 }
	random_traits = no
	dynasty = none
	random_traits_list = {
		count = 1
		education_martial_1 = { weight = { base = 50 } }
		education_martial_2 = { weight = { base = 20 } }
		education_martial_3 = { weight = { base = 5 } }
	}
	random_traits_list = {
		count = 2
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		lazy = {}
		deceitful = {}
		arrogant = {}
		gluttonous = {}
	}
	random_traits_list = {
		count = 1
		intellect_bad_1 = { weight = { base = 10 } }
		intellect_bad_2 = { weight = { base = 10 } }
		physique_good_1 = { weight = { base = 5 } }
		physique_good_2 = { weight = { base = 5 } }
		strong = { weight = { base = 5 } }
		giant = { weight = { base = 5 } }
		reckless = { weight = { base = 20 } }
		rough_terrain_expert = { weight = { base = 20 } }
		unyielding_defender = { weight = { base = 10 } }
		flexible_leader = { weight = { base = 10 } }
		forder = { weight = { base = 10 } }
		tourney_participant = { weight = { base = 20 } }
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		random_list = {
			10 = {}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = horse
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = bow
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
		}
	}
}

bandit_character = {
	age = { 20 40 }
	random_traits = no
	dynasty = none
	faith = root.location.county.holder.faith
	culture = root.location.culture
	random_traits_list = {
		count = 1
		education_martial_1 = { weight = { base = 50 } }
		education_martial_2 = { weight = { base = 20 } }
		education_martial_3 = { weight = { base = 5 } }
	}
	random_traits_list = {
		count = 2
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		lazy = {}
		deceitful = {}
		arrogant = {}
		gluttonous = {}
	}
	random_traits_list = {
		count = 1
		intellect_bad_1 = { weight = { base = 10 } }
		intellect_bad_2 = { weight = { base = 10 } }
		physique_good_1 = { weight = { base = 5 } }
		physique_good_2 = { weight = { base = 5 } }
		strong = { weight = { base = 5 } }
		giant = { weight = { base = 5 } }
		reckless = { weight = { base = 20 } }
		rough_terrain_expert = { weight = { base = 20 } }
		unyielding_defender = { weight = { base = 10 } }
		flexible_leader = { weight = { base = 10 } }
		forder = { weight = { base = 10 } }
		tourney_participant = { weight = { base = 20 } }
	}
	gender_female_chance = root_soldier_female_chance
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		random_list = {
			10 = {}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = horse
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
			10 = {
				add_random_tiered_trait_track_xp_effect = {
					TRAIT = tourney_participant
					TRACK = bow
					LEVEL_1 = yes
					LEVEL_3 = no
				}
			}
		}
	}
}

criminal_brains_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = none
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	trait = shrewd
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
		education_diplomacy_3 = {}
	}
	random_traits_list = {
		count = 3
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		diligent = {}
		deceitful = {}
		arrogant = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		random_list = {
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = bandit
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = trickster
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = thief
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = poacher
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = marauder
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
		}
	}
}

criminal_brawn_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = none
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	trait = strong
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
	}
	random_traits_list = {
		count = 3
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		diligent = {}
		deceitful = {}
		arrogant = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		random_list = {
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = bandit
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = trickster
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = thief
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = poacher
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = marauder
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
		}
	}
}

criminal_fingers_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = none
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	random_traits_list = {
		count = 1
		clubfooted = {}
		hunchbacked = {}
		lisping = {}
		stuttering = {}
		dwarf = {}
		impotent = {}
		spindly = {}
		scaly = {}
		albino = {}
		wheezing = {}
		bleeder = {}
		disloyal = {}
	}
	random_traits_list = {
		count = 1
		education_intrigue_1 = {}
		education_intrigue_2 = {}
		education_intrigue_3 = {}
	}
	random_traits_list = {
		count = 3
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
		greedy = {}
		zealous = {}
		diligent = {}
		deceitful = {}
		arrogant = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		random_list = {
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = bandit
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = trickster
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = thief
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = poacher
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
			100 = {
				laamp_rewards_apply_criminal_xp_effect = {
					TRACK = marauder
					XP_MAX = gallowsbait_xp_massive_gain
					XP_MIN = gallowsbait_xp_massive_gain
				}
			}
		}
	}
}

guide_character = {
	age = { 18 40 }
	random_traits = yes
	culture = root.location.county.holder.culture
	faith = root.location.faith
	dynasty = none
	gender_female_chance = 50
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
}

tournament_locale_character = {
	age = { 18 40 }
	random_traits = yes
	culture = scope:activity.activity_location.culture
	faith = scope:activity.activity_location.faith
	dynasty = none
	gender_female_chance = activity_host_faith_dominant_gender_adjusted_female_chance
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
}

child_peasant_character = {
	age = { 6 14 }
	dynasty = none
	random_traits = yes
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
	}
}

servant_father_character = {
	age = { 16 36 }
	random_traits = yes
	dynasty = none
	gender = male
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		add_character_flag = peasant_outfit
	}
}

jester_template = {
	age = { 16 50 }
	random_traits = yes
	dynasty = none
	gender_female_chance = 50
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	random_traits_list = {
		count = 1
		gregarious = {}
		stubborn = {}
		shrewd = {}
		lifestyle_poet = {}
		athletic = {}
	}
}

weird_sailor_template = {
	gender_female_chance = root_soldier_female_chance
	random_traits = yes
	dynasty = none
	culture = root.location.culture
	faith = root.location.faith

	age = { 45 60 }
	trait = eccentric
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
	}

	random_traits_list = {
		count = 2
		brave = {}
		arrogant = {}
		gregarious = {}
		honest = {}
		ambitious = {}
		stubborn = {}
		wrathful = {}
	}
	random_traits_list = {
		count = 1
		logistician = {}
		organizer = {}
		forder = {}
	}
	trait = one_legged
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
}

criminal_thief_bandit_character = {
	age = { 20 40 }
	random_traits = yes
	dynasty = none
	faith = root.location.faith
	culture = root.location.culture
	trait = gallowsbait
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_martial_3 = {}
	}
	random_traits_list = {
		count = 1
		ambitious = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		callous = {}
		stubborn = {}
		vengeful = {}
	}
	gender_female_chance = root_soldier_female_chance
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	prowess = {
		min_template_low_skill
		min_template_decent_skill
	}
	after_creation = {
		laamp_rewards_apply_criminal_xp_effect = {
			TRACK = bandit
			XP_MAX = gallowsbait_xp_massive_gain
			XP_MIN = gallowsbait_xp_major_gain
		}
		laamp_rewards_apply_criminal_xp_effect = {
			TRACK = thief
			XP_MAX = gallowsbait_xp_massive_gain
			XP_MIN = gallowsbait_xp_major_gain
		}
	}
}

generic_peasant_character_no_rags = {
	age = { 18 50 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender_female_chance = 50
	dynasty = none
	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_martial_1 = {}
		education_intrigue_1 = {}
		education_diplomacy_1 = {}
		education_stewardship_1 = {}
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
	}
}

settlement_elder_character = {
	age = { 50 70 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender_female_chance = 50
	dynasty = none
	random_traits_list = {
		count = 1
		education_intrigue_1 = {}
		education_diplomacy_1 = {}
		education_stewardship_1 = {}
		education_intrigue_2 = {}
		education_diplomacy_2 = {}
		education_stewardship_2 = {}
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_average_skill
		max_template_average_skill
	}
	intrigue = {
		min_template_average_skill
		max_template_average_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		if = {
			limit = {
				root.location = {
					OR = {
						has_holding_type = castle_holding
						has_holding_type = city_holding
						has_holding_type = church_holding
					}
				}
			}
			random_list = {
				1 = { add_trait = education_republican_knowledge_2 }
				1 = { add_trait = education_republican_knowledge_3 }
				1 = { add_trait = education_republican_knowledge_4 }
			}
		}
	}
}

opposite_gender_peasant_template = {
	#General
	age = { 20 30 }
	faith = root.faith
	culture = root.culture
	dynasty = none
	#Misc
	random_traits = yes
	gender_female_chance = root_self_based_reverse_female_chance
	
	after_creation = {
		add_character_flag = created
		if = {
			limit = {
				has_trait = chaste
			}
			remove_trait = chaste
			add_trait = lustful
		}
		random_list = {
			50 = {
				set_sexuality = bisexual
			}
			50 = {
				set_sexuality = heterosexual
			}
		}
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		#add_character_flag = peasant_outfit
	}
}

local_noble_character = {
	age = { 30 50 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	gender_female_chance = 50
	dynasty = generate
	random_traits_list = {
		count = 1
		education_learning_3 = {}
		education_martial_3 = {}
		education_intrigue_3 = {}
		education_diplomacy_3 = {}
		education_stewardship_3 = {}
	}
	martial = {
		min_template_average_skill
		max_template_average_skill
	}
	stewardship = {
		min_template_average_skill
		max_template_average_skill
	}
	diplomacy = {
		min_template_average_skill
		max_template_average_skill
	}
	intrigue = {
		min_template_average_skill
		max_template_average_skill
	}
	learning = {
		min_template_average_skill
		max_template_average_skill
	}
	
	after_creation = {
		add_character_flag = created
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
	}
}

mediocre_spouse = {
	gender_female_chance = root.marriage_gender_adjusted_female_chance
	age = { 16 26 }
	random_traits = yes
	culture = root.culture
	faith = root.faith
	random_traits_list = {
		education_diplomacy_1 = { weight = { base = 35 } }
		education_diplomacy_2 = { weight = { base = 35 } }
		education_martial_1 = {
			weight = {
				base = 35
				modifier = { # Less common with martial education if character can't be combatant because of gender
					factor = 0.3
					trigger_if = {
						limit = { root = { is_female = yes } }
						dummy_male = { NOT = { can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root } } }
					}
					trigger_else = {
						dummy_female = { NOT = { can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root } } }
					}
				}
			}
		}
		education_martial_2 = {
			weight = {
				base = 35
				modifier = { # Less common with martial education if character can't be combatant because of gender
					factor = 0.3
					trigger_if = {
						limit = { root = { is_female = yes } }
						dummy_male = { NOT = { can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root } } }
					}
					trigger_else = {
						dummy_female = { NOT = { can_be_combatant_based_on_gender_trigger = { ARMY_OWNER = root } } }
					}
				}
			}
		}
		education_stewardship_1 = { weight = { base = 35 } }
		education_stewardship_2 = { weight = { base = 35 } }
		education_intrigue_1 = { weight = { base = 35 } }
		education_intrigue_2 = { weight = { base = 35 } }
		education_learning_1 = { weight = { base = 35 } }
		education_learning_2 = { weight = { base = 35 } }
	}
	dynasty = none
	after_creation = {
		random_list = {
			200 = {
				# Character is of average weight, nothing happens	
			}
			25 = {
				change_current_weight = -25
			}
			25 = {
				change_current_weight = -75
			}
			25 = {
				change_current_weight = 25
			}
			25 = {
				change_current_weight = 75
			}
			5 = {
				change_current_weight = 100
			}
			5 = {
				change_current_weight = 200
			}
		}
		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:folkgerman_religion
				}
			}
		}
		set_interesting_traits_and_modifiers_effect = yes
	}
}
