# herder_character used in code to generate Herders for new titles. Do not remove.
herder_character = {
	age = { 18 50 }
	culture = this.culture
	faith = this.faith
	gender_female_chance = 50
	dynasty = none
	random_traits = no
	random_traits_list = {
		count = 3
		# Personality traits
		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 = {}
		shy = {}
	}
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_intrigue_1 = {}
		education_diplomacy_1 = {}
		education_stewardship_1 = {}
	}
	random_traits_list = {
		count = 1
		# Lifestyle traits
		lifestyle_seasoned_pastor = {}
		lifestyle_hunter = {}
		lifestyle_herbalist = {}
		lifestyle_mystic = {}
		lifestyle_traveler = {}
	}
	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
			}
		}
	}
}

astrologer_character_template = {
	age = { 18 50 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = 50
	dynasty = none
	random_traits_list = {
		count = 3
		# Personality traits
		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 = {}
		shy = {}
	}
	random_traits_list = {
		count = 1
		education_learning_2 = {}
		education_learning_3 = {}
		education_learning_4 = {}
	}
	random_traits_list = {
		count = { 0 1 }
		# Lifestyle traits
		lifestyle_herbalist = {}
		lifestyle_mystic = {}
	}
	martial = {
		min_template_low_skill
		max_template_average_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_average_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_average_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_medium_skill
	}
	learning = {
		min_template_high_skill
		max_template_high_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
			}
		}
	}
}

seasoned_pastor_character = {
	age = { 30 50 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = {
		if = {
			limit = { faith = { has_doctrine = doctrine_gender_male_dominated } }
			add = 0
		}
		else_if = {
			limit = { faith = { has_doctrine = doctrine_gender_female_dominated } }
			add = 100
		}
		else = {
			add = 50
		}
	}
	dynasty = none
	trait = lifestyle_seasoned_pastor
	random_traits_list = {
		count = 3
		# Personality traits
		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 = {}
		shy = {}
	}
	random_traits_list = {
		count = { 0 1 }
		# Lifestyle traits
		lifestyle_hunter = {}
		lifestyle_herbalist = {}
		lifestyle_mystic = {}
		lifestyle_traveler = {}
	}
	random_traits_list = {
		count = 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
			}
		}
	}
}

nomadic_chieftain_character = {
	age = { 18 50 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = 50
	dynasty = none
	random_traits_list = {
		count = 3
		# Personality traits
		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 = {}
		shy = {}
	}
	random_traits_list = {
		count = { 0 1 }
		# Lifestyle traits
		lifestyle_seasoned_pastor = {}
		lifestyle_hunter = {}
		lifestyle_herbalist = {}
		lifestyle_mystic = {}
		lifestyle_traveler = {}
	}
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_intrigue_2 = {}
		education_diplomacy_2 = {}
		education_stewardship_2 = {}
		education_martial_3 = {}
		education_intrigue_3 = {}
		education_diplomacy_3 = {}
		education_stewardship_3 = {}
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = {
		min_template_medium_skill
		max_template_medium_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
			}
		}
		add_character_flag = {
			flag = domicile_culture_and_faith_check
			days = 1
		}
	}
}

nomadic_martial_character = {
	age = { 18 50 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = 50
	dynasty = none
	random_traits_list = {
		count = 3
		# Personality traits
		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 = {}
		shy = {}
	}
	random_traits_list = {
		count = 1
		# Commander traits
		logistician = {}
		aggressive_attacker = {}
		unyielding_defender = {}
		forder = {}
		flexible_leader = {}
		desert_warrior = {}
		reckless = {}
		open_terrain_expert = {}
		organizer = {}
	}
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_intrigue_2 = {}
		education_diplomacy_2 = {}
		education_stewardship_2 = {}
		education_martial_3 = {}
		education_intrigue_3 = {}
		education_diplomacy_3 = {}
		education_stewardship_3 = {}
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = {
		min_template_medium_skill
		max_template_medium_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
			}
		}
	}
}

nomadic_commander_template = {
	age = { 18 35 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = {
		if = {
			limit = { culture = { has_cultural_parameter = martial_custom_male_only_combatant } }
			add = 0
		}
		else_if = {
			limit = { culture = { has_cultural_parameter = martial_custom_female_only_combatant } }
			add = 100
		}
		else = {
			add = 50
		}
	}
	dynasty = none
	random_traits_list = {
		count = 3
		# Personality traits
		lustful = {}
		brave = {}
		ambitious = {}
		vengeful = {}
		diligent = {}
		wrathful = {}
		calm = {}
		patient = {}
		impatient = {}
		arrogant = {}
		callous = {}
		sadistic = {}
		zealous = {}
	}
	random_traits_list = {
		count = 1
		# Commander traits
		logistician = {}
		aggressive_attacker = {}
		unyielding_defender = {}
		forder = {}
		flexible_leader = {}
		reckless = {}
		open_terrain_expert = {}
		organizer = {}
	}
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_martial_3 = {}
		education_martial_4 = {}
	}
	martial = {
		min_template_decent_skill
		max_template_high_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_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
	}
	prowess = {
		min_template_average_skill
		max_template_average_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
			}
		}
	}
}

nomadic_hunter_template = {
	age = { 18 35 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = {
		if = {
			limit = { culture = { has_cultural_parameter = martial_custom_male_only_combatant } }
			add = 0
		}
		else_if = {
			limit = { culture = { has_cultural_parameter = martial_custom_female_only_combatant } }
			add = 100
		}
		else = {
			add = 50
		}
	}
	dynasty = none
	trait = lifestyle_hunter
	random_traits_list = {
		count = 3
		# Personality traits
		lustful = {}
		deceitful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		diligent = {}
		calm = {}
		patient = {}
		honest = {}
		just = {}
		callous = {}
		sadistic = {}
		stubborn = {}
		fickle = {}
	}
	random_traits_list = {
		count = { 0 1 }
		# Commander traits
		athletic = {}
		lifestyle_traveler = {}
		lifestyle_herbalist = {}
		forest_fighter = {}
	}
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_martial_3 = {}
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_average_skill
	}
	diplomacy = {
		min_template_low_skill
		max_template_average_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_average_skill
	}
	learning = {
		min_template_low_skill
		max_template_average_skill
	}
	prowess = {
		min_template_average_skill
		max_template_average_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
			}
		}
		random_list = {
			65 = {
				add_trait_xp = {
					trait = lifestyle_hunter
					track = hunter
					value = 25
				}
			}
			20 = {
				add_trait_xp = {
					trait = lifestyle_hunter
					track = hunter
					value = 50
				}
			}
			10 = {
				add_trait_xp = {
					trait = lifestyle_hunter
					track = hunter
					value = 75
				}
			}
			5 = {
				add_trait_xp = {
					trait = lifestyle_hunter
					track = hunter
					value = 100
				}
			}
		}
		remove_trait = logistician
		remove_trait = military_engineer
		remove_trait = aggressive_attacker
		remove_trait = unyielding_defender
		remove_trait = forder
		remove_trait = flexible_leader
		remove_trait = desert_warrior
		remove_trait = winter_soldier
		remove_trait = reaver
		remove_trait = reckless
		remove_trait = holy_warrior
		remove_trait = open_terrain_expert
		remove_trait = rough_terrain_expert
		remove_trait = cautious_leader
		remove_trait = organizer
	}
}

nomadic_knight_template = {
	age = { 18 35 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = {
		if = {
			limit = { culture = { has_cultural_parameter = martial_custom_male_only_combatant } }
			add = 0
		}
		else_if = {
			limit = { culture = { has_cultural_parameter = martial_custom_female_only_combatant } }
			add = 100
		}
		else = {
			add = 50
		}
	}
	dynasty = none
	random_traits_list = {
		count = 3
		# Personality traits
		lustful = {}
		deceitful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		diligent = {}
		calm = {}
		patient = {}
		honest = {}
		just = {}
		callous = {}
		sadistic = {}
		stubborn = {}
		fickle = {}
	}
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	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
	}
	prowess = {
		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
			}
		}
		remove_trait = logistician
		remove_trait = military_engineer
		remove_trait = aggressive_attacker
		remove_trait = unyielding_defender
		remove_trait = forder
		remove_trait = flexible_leader
		remove_trait = desert_warrior
		remove_trait = winter_soldier
		remove_trait = reaver
		remove_trait = reckless
		remove_trait = holy_warrior
		remove_trait = open_terrain_expert
		remove_trait = rough_terrain_expert
		remove_trait = cautious_leader
		remove_trait = organizer
		remove_trait = forest_fighter
	}
}

nomadic_bride_template = {
	age = { 18 24 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = 100
	dynasty = none
	random_traits_list = {
		count = 3
		# Personality traits
		lustful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		diligent = {}
		calm = {}
		patient = {}
		honest = {}
		just = {}
		stubborn = {}
		fickle = {}
	}
	random_traits_list = {
		count = { 0 1 }
		fecund = {}
		physique_good_1 = {}
		beauty_good_1 = {}
		strong = {}
	}
	random_traits_list = {
		count = 1
		education_learning_2 = {}
		education_learning_3 = {}
		education_diplomacy_2 = {}
		education_diplomacy_3 = {}
		education_stewardship_2 = {}
		education_stewardship_3 = {}
		education_intrigue_2 = {}
		education_intrigue_3 = {}
	}
	martial = {
		min_template_average_skill
		max_template_average_skill
	}
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	learning = {
		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
			}
		}
	}
}

nomadic_husband_template = {
	age = { 18 24 }
	random_traits = no
	culture = this.culture
	faith = this.faith
	gender_female_chance = 0
	dynasty = none
	random_traits_list = {
		count = 3
		# Personality traits
		lustful = {}
		brave = {}
		gregarious = {}
		ambitious = {}
		diligent = {}
		calm = {}
		patient = {}
		honest = {}
		just = {}
		stubborn = {}
		fickle = {}
	}
	random_traits_list = {
		count = { 0 1 }
		fecund = {}
		physique_good_1 = {}
		beauty_good_1 = {}
		strong = {}
	}
	random_traits_list = {
		count = 1
		education_learning_2 = {}
		education_learning_3 = {}
		education_diplomacy_2 = {}
		education_diplomacy_3 = {}
		education_stewardship_2 = {}
		education_stewardship_3 = {}
		education_intrigue_2 = {}
		education_intrigue_3 = {}
	}
	martial = {
		min_template_average_skill
		max_template_average_skill
	}
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	learning = {
		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
			}
		}
	}
}

wounded_messenger_character_template = {
	age = { 18 50 }
	dynasty = none
	random_traits = no
	gender_female_chance = 50
	trait = open_terrain_expert
	trait = lifestyle_traveler

	random_traits_list = {
		count = 3
		# Personality traits
		brave = {}
		calm = {}
		diligent {}
		just = {}
		patient = {}
		impatient = {}
		compassionate = {}
		stubborn = {}
	}

	random_traits_list = {
		count = { 0 1 }
		lifestyle_herbalist = {}
		education_martial_1 = {}
		education_martial_2 = {}
	}

	diplomacy = {
		min_template_medium_skill
		max_template_high_skill
	}
	martial = {
		min_template_average_skill
		max_template_medium_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_low_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_average_skill
	}
	learning = {
		min_template_low_skill
		max_template_average_skill
	}
}

throat_singer_character_template = {
	age = { 30 55 }
	dynasty = none
	random_traits = no
	gender_female_chance = 20
	trait = lifestyle_poet

	random_traits_list = {
		count = 3
		# Personality traits
		calm = {}
		lustful = {}
		content = {}
		ambitious = {}
		diligent {}
		forgiving = {}
		vengeful = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		arbitrary = {}
		patient = {}
		trusting = {}
		compassionate = {}
		fickle = {}
		stubborn = {}
		eccentric = {}
	}

	random_traits_list = {
		count = { 0 1 }
		education_learning_1 = {}
		education_learning_2 = {}
		lifestyle_traveler = {}
	}

	diplomacy = {
		min_template_medium_skill
		max_template_medium_skill
	}
	martial = {
		min_template_low_skill
		max_template_low_skill
	}
	stewardship = {
		min_template_low_skill
		max_template_average_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_average_skill
	}
	learning = {
		min_template_high_skill
		max_template_high_skill
	}
}
