tournament_foot_character = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_martial_3 = {}
	}
	trait = lifestyle_blademaster
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = no
			LEVEL_3 = yes
		}
	}
}

tournament_horse_character = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_martial_3 = {}
	}
	random_traits_list = {
		count = 1
		education_martial_prowess_2 = {}
		education_martial_prowess_3 = {}
		tourney_participant = {}
	}
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = tourney_participant
			TRACK = horse
			LEVEL_1 = no
			LEVEL_3 = yes
		}
	}
}

tournament_archery_character = {
	age = { 18 40 }
	dynasty = none
	trait = tourney_participant
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = tourney_participant
			TRACK = bow
			LEVEL_1 = no
			LEVEL_3 = yes
		}
	}
}

tournament_recital_character = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = {
		count = 1
		lifestyle_poet = {}
		journaller = {}
	}
	random_traits_list = {
		count = 1
		education_diplomacy_2 = {}
		education_diplomacy_3 = {}
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_soldier_female_chance
}

tournament_pugilism_character = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = {
		count = 1
		strong = {}
		physique_good_1 = {}
		physique_good_2 = {}
		tourney_participant = {}
	}
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_random_tiered_trait_track_xp_effect = {
			TRAIT = tourney_participant
			TRACK = foot
			LEVEL_1 = no
			LEVEL_3 = yes
		}
	}
}

tournament_board_game_character = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = {
		count = 1
		education_learning_2 = {}
		education_learning_3 = {}
	}
	learning = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_soldier_female_chance
}

loyal_fan_character = {
	age = { 18 40 }
	dynasty = none
	trait = loyal
	random_traits_list = {
		count = 1
		honest = {}
		calm = {}
		compassionate = {}
		forgiving = {}
	}
	random_traits_list = {
		count = 1
		chaste = {}
		lustful = {}
	}
	gender_female_chance = 50
}

local_beauty_character = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = {
		count = { 0 1 }
		beauty_good_1 = {}
		beauty_good_2 = {}
		beauty_good_3 = {}
	}
	random_traits_list = {
		count = 1
		chaste = {}
		lustful = {}
	}
	learning = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_sexuality_female_chance
	after_creation = {
		random_list = {
			50 = {
				if = {
					limit = {
						OR = {
							AND = {
								is_female = yes
								root = { is_male = yes }
							}
							AND = {
								is_male = yes
								root = { is_female = yes }
							}
						}
					}
					set_sexuality = heterosexual
				}
				else_if = {
					limit = {
						OR = {
							AND = {
								is_female = yes
								root = { is_female = yes }
							}
							AND = {
								is_male = yes
								root = { is_male = yes }
							}
						}
					}
					set_sexuality = homosexual
				}
			}
			50 = {
				set_sexuality = bisexual
			}
		}
	}
}

feral_child_template = {
	age = { 6 12 }
	random_traits_list = {
		count = { 0 1 }
		physique_good_1 = {}
		physique_good_2 = {}
		physique_good_3 = {}
		strong = {}
		athletic = {}
	}
	random_traits_list = {
		count = { 0 1 }
		intellect_bad_1 = {}
		intellect_bad_2 = {}
		intellect_bad_3 = {}
		dull = {}
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	dynasty = none
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			20 = {
				change_current_weight = -50
			}
			20 = {
				change_current_weight = -100
			}
		}
		add_character_modifier = {
			modifier = nonverbal_modifier
			years = 2
		}
		add_character_modifier = {
			modifier = feral_modifier
			years = 5
		}
	}
}

castaway_character = {
	age = { 18 40 }
	dynasty = none
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			20 = {
				change_current_weight = -50
			}
			20 = {
				change_current_weight = -100
			}
		}
	}
}

sexy_assassin_character = {
	age = { 18 35 }
	random_traits_list = {
		count = 1
		beauty_good_2 = {}
		beauty_good_3 = {}
	}
	random_traits_list = {
		count = 1
		deceitful = {}
		arbitrary = {}
	}
	random_traits_list = {
		count = 1
		lustful = {}
		seducer = {}
	}
	random_traits_list = {
		count = 1
		education_intrigue_1 = {
			weight = { base = 10 }
		}
		education_intrigue_2 = {
			weight = { base = 20 }
		}
		education_intrigue_3 = {
			weight = { base = 20 }
		}
		education_intrigue_4 = {
			weight = { base = 10 }
		}
	}
	dynasty = none
	random_traits = yes
	faith = this.faith
	culture = this.culture
	gender_female_chance = root_attraction_based_female_chance
	intrigue = {
		min_template_decent_skill
		max_template_decent_skill
	}
	after_creation = {
		set_sexuality = bisexual
	}
}

garden_hermit_character = {
	age = { 55 80 }
	dynasty = none
	trait = lifestyle_mystic
	random_traits_list = {
		count = 1
		education_learning_2 = {}
		education_learning_3 = {}
	}
	gender_female_chance = root_faith_clergy_gender_female_chance
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	after_creation = {
		add_trait_xp = {
			trait = lifestyle_mystic
			value = {
				integer_range = {
					min = medium_lifestyle_random_xp_low
					max = medium_lifestyle_random_xp_high
				}
			}
		}
	}
}

brainless_character_template = {
	age = { 18 40 }
	dynasty = none
	trait = dull
	random_traits_list = {
		count = 1
		wounded_1 = {}
		wounded_2 = {}
		wounded_3 = {}
		maimed = {}
	}
	random_traits_list = {
		count = { 0 1 }
		one_eyed = {}
		one_legged = {}
		disfigured = {}
	}
	random_traits_list = {
		count = { 0 1 }
		gregarious = {}
		compassionate = {}
		lifestyle_reveler = {}
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		if = {
			limit = { has_trait = lifestyle_reveler }
			add_trait_xp = {
				trait = lifestyle_reveler
				value = {
					integer_range = {
						min = small_lifestyle_random_xp_low
						max = small_lifestyle_random_xp_high
					}
				}
			}
		}
		random_list = {
			20 = {
			}
			20 = {
				change_current_weight = -50
			}
		}
	}
}

heartless_knight = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = { # Likely to commit social faux pas
		count = 1
		callous = {}
		sadistic = {}
		shy = {}
		wrathful = {}
		impatient = {}
		stubborn = {}
	}
	random_traits_list = {
		count = 1
		education_martial_1 = {
			weight = { base = 5 }
		}
		education_martial_2 = {
			weight = { base = 10 }
		}
		education_martial_3 = {
			weight = { base = 10 }
		}
		education_martial_4 = {
			weight = { base = 5 }
		}
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
}

cowardly_knight = {
	age = { 18 40 }
	dynasty = none
	trait = craven
	random_traits_list = {
		count = 1
		education_martial_1 = {
			weight = { base = 5 }
		}
		education_martial_2 = {
			weight = { base = 5 }
		}
		education_martial_3 = {
			weight = { base = 15 }
		}
		education_martial_4 = {
			weight = { base = 5 }
		}
	}
	diplomacy = {
		min_template_low_skill
		max_template_low_skill
	}
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
}

child_thief_character = {
	age = { 6 12 }
	dynasty = none
	gender_female_chance = 50
	trait = charming
	intrigue = {
		min_template_decent_skill
		max_template_high_skill
	}
}

wealthy_gambler_template = {
	age = { 25 55 }
	random_traits_list = {
		count = 1
		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 }
}

tournament_mulan_character = {
	age = { 18 30 }
	dynasty = none
	random_traits_list = {
		count = 1
		education_martial_2 = {}
		education_martial_3 = {}
	}
	trait = lifestyle_blademaster
	trait = ambitious
	trait = brave
	trait = stubborn
	martial = {
		min_template_decent_skill
		max_template_decent_skill
	}
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	gender_female_chance = root_faith_dominant_gender_female_reversed_chance
	after_creation = {
		add_random_tiered_trait_xp_effect = {
			TRAIT = lifestyle_blademaster
			LEVEL_1 = no
			LEVEL_3 = yes
		}
	}
}

quasimodo_template = {
	age = { 6 12 }
	dynasty = none
	random_traits_list = {
		count = { 1 3 }
		hunchbacked = {}
		clubfooted = {}
		beauty_bad_1 = {}
		beauty_bad_2 = {}
		beauty_bad_3 = {}
		spindly = {}
		scaly = {}
		albino = {}
		dwarf = {}
		giant = {}
	}
	random_traits = yes
	gender_female_chance = 50
}

tournament_unusual_stranger = {
	age = { 18 40 }
	dynasty = none
	random_traits_list = {
		count = 1
		education_intrigue_3 = {}
		education_intrigue_4 = {}
	}
	trait = schemer
	intrigue = {
		min_template_decent_skill
		max_template_high_skill
	}
	prowess = {
		min_template_decent_skill
		max_template_decent_skill
	}
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_gold = 1
	}
}

travel_messenger = {
	age = { 20 30 }
	dynasty = none 
	random_traits = yes 
	diplomacy = {
		min_template_decent_skill
		max_template_high_skill
	}
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_gold = 10 
	}
}

sea_captain = {
	age = { 30 55 }
	dynasty = none
	faith = root.faith
	culture = root.culture
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
		education_martial_4 = {}
	}
	trait = forder
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			15 = {
				give_nickname = nick_the_navigator
			}
			40 = {
				add_trait = one_eyed
			}
			45 = {
				add_trait = adventurer
			}
		}
	}
}

jungle_guide = {
	age = { 30 55 }
	dynasty = none
	faith = root.faith
	culture = root.culture
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
		education_martial_4 = {}
	}
	trait = jungle_stalker
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			55 = {
			
			}
			45 = {
				add_trait = adventurer
			}
		}
	}
}

mountaineer_guide = {
	age = { 30 55 }
	dynasty = none
	faith = root.faith
	culture = root.culture
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
		education_martial_4 = {}
	}
	trait = rough_terrain_expert
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			55 = {
			
			}
			45 = {
				add_trait = adventurer
			}
		}
	}
}

forder_guide = {
	age = { 30 55 }
	dynasty = none
	faith = root.faith
	culture = root.culture
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
		education_martial_4 = {}
	}
	trait = forder
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			55 = {
			
			}
			45 = {
				add_trait = adventurer
			}
		}
	}
}

desert_warrior_guide = {
	age = { 30 55 }
	dynasty = none
	faith = root.faith
	culture = root.culture
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
		education_martial_4 = {}
	}
	trait = desert_warrior
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			55 = {
			
			}
			45 = {
				add_trait = adventurer
			}
		}
	}
}

rough_terrain_guide = { #I.e. Forest Guide
	age = { 30 55 }
	dynasty = none
	faith = root.faith
	culture = root.culture
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
		education_martial_3 = {}
		education_martial_4 = {}
	}
	trait = forest_fighter
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		random_list = {
			55 = {
			
			}
			45 = {
				add_trait = adventurer
			}
		}
	}
}

cultural_ambassador = {
	age = { 30 55 }
	dynasty = none
	faith = root.faith
	culture = root.culture
	diplomacy = {
		min_template_decent_skill
		max_template_high_skill
	}
	random_traits = yes
	gender_female_chance = root_soldier_female_chance
	after_creation = {
		add_gold = 10
	}
}
