﻿holy_order_leader_character = {
	age = { 20 50 }
	trait = order_member
	#Education
	random_traits_list = {
		count = 1
		education_martial_1 = {
			weight = { base = 5 }
		}
		education_learning_1 = {
			weight = { base = 5 }
		}
		education_martial_2 = {
			weight = { base = 10 }
		}
		education_learning_2 = {
			weight = { base = 10 }
		}
		education_martial_3 = {
			weight = { base = 20 }
		}
		education_learning_3 = {
			weight = { base = 20 }
		}
		education_martial_4 = {
			weight = { base = 10 }
		}
		education_learning_4 = {
			weight = { base = 10 }
		}
	}
	#Personality
	random_traits_list = {
		count = 3
		ambitious = {}
		arrogant = {}
		just = {}
		zealous = {}
		brave = {}
		diligent = {}
		wrathful = {}
		humble = {}
		callous = {}
		stubborn = {}
		vengeful = {}
	}
	#Commander
	random_traits_list = {
		count = 1
		unyielding_defender = {
			weight = { base = 5 }
		}
		forder = {
			weight = { base = 5 }
		}
		logistician = {
			weight = { base = 10 }
		}
		military_engineer = {
			weight = { base = 10 }
		}
		organizer = {
			weight = { base = 10 }
		}
		rough_terrain_expert = {
			weight = { base = 20 }
		}
		aggressive_attacker = {
			weight = { base = 20 }
		}
		reckless = {
			weight = { base = 20 }
		}
		open_terrain_expert = {
			weight = { base = 20 }
		}
		desert_warrior = {
			trigger = {
				root = {
					any_sub_realm_barony = {
						title_province = {
							terrain = desert
						}
					}
				}
			}
			weight = { base = 50 }
		}
		jungle_stalker = {
			trigger = {
				root = {
					any_sub_realm_barony = {
						title_province = {
							terrain = jungle
						}
					}
				}
			}
			weight = { base = 50 }
		}
		holy_warrior = {
			weight = { base = 50 }
		}
	}	
	faith = root.faith
	rite = root.rite
	culture = root.culture
	gender_female_chance = root_faith_clergy_gender_female_chance
	martial = {
		min_template_high_skill
		max_template_high_skill
	}
	learning = {
		min_template_high_skill
		max_template_high_skill
	}
	after_creation = {
		if = {
			limit = { has_dlc_feature = tours_and_tournaments }
			add_trait = tourney_participant
			add_random_tourney_participant_level_effect = yes
		}
	}
}

religious_leader_character = {
	age = { 20 50 }
	#Education
	random_traits_list = {
		count = 1
		education_learning_1 = {
			weight = { base = 10 }
		}
		education_learning_2 = {
			weight = { base = 20 }
		}
		education_learning_3 = {
			weight = { base = 30 }
		}
		education_learning_4 = {
			weight = { base = 20 }
		}
	}
	#Neutral Personality
	random_traits_list = {
		count = 1
		zealous = {
			weight = { base = 50 }
		}
		diligent = {
			weight = { base = 30 }
		}
		gregarious = {
			weight = { base = 20 }
		}
	}
	#Virtue Personality
	##Give them two traits which are considered virtuous in their faith. Traits which would be the opposite of a neutral personality are omitted.
	random_traits_list = {
		count = 2
		lustful = {
			trigger = {
				root.rite = { trait_is_virtue_rite = lustful }
			}
		}
		chaste = {
			trigger = {
				root.rite = { trait_is_virtue_rite = chaste }
			}
		}
		gluttonous = {
			trigger = {
				root.rite = { trait_is_virtue_rite = gluttonous }
			}
		}
		temperate = {
			trigger = {
				root.rite = { trait_is_virtue_rite = temperate }
			}
		}
		greedy = {
			trigger = {
				root.rite = { trait_is_virtue_rite = greedy }
			}
		}
		generous = {
			trigger = {
				root.rite = { trait_is_virtue_rite = generous }
			}
		}
		wrathful = {
			trigger = {
				root.rite = { trait_is_virtue_rite = wrathful }
			}
		}
		calm = {
			trigger = {
				root.rite = { trait_is_virtue_rite = calm }
			}
		}
		patient = {
			trigger = {
				root.rite = { trait_is_virtue_rite = patient }
			}
		}
		impatient = {
			trigger = {
				root.rite = { trait_is_virtue_rite = impatient }
			}
		}
		arrogant = {
			trigger = {
				root.rite = { trait_is_virtue_rite = arrogant }
			}
		}
		humble = {
			trigger = {
				root.rite = { trait_is_virtue_rite = humble }
			}
		}
		deceitful = {
			trigger = {
				root.rite = { trait_is_virtue_rite = deceitful }
			}
		}
		honest = {
			trigger = {
				root.rite = { trait_is_virtue_rite = honest }
			}
		}
		craven = {
			trigger = {
				root.rite = { trait_is_virtue_rite = craven }
			}
		}
		brave = {
			trigger = {
				root.rite = { trait_is_virtue_rite = brave }
			}
		}
		ambitious = {
			trigger = {
				root.rite = { trait_is_virtue_rite = ambitious }
			}
		}
		content = {
			trigger = {
				root.rite = { trait_is_virtue_rite = content }
			}
		}
		arbitrary = {
			trigger = {
				root.rite = { trait_is_virtue_rite = arbitrary }
			}
		}
		just = {
			trigger = {
				root.rite = { trait_is_virtue_rite = just }
			}
		}
		paranoid = {
			trigger = {
				root.rite = { trait_is_virtue_rite = paranoid }
			}
		}
		trusting = {
			trigger = {
				root.rite = { trait_is_virtue_rite = trusting }
			}
		}
		compassionate = {
			trigger = {
				root.rite = { trait_is_virtue_rite = compassionate }
			}
		}
		callous = {
			trigger = {
				root.rite = { trait_is_virtue_rite = callous }
			}
		}
		sadistic = {
			trigger = {
				root.rite = { trait_is_virtue_rite = sadistic }
			}
		}
		stubborn = {
			trigger = {
				root.rite = { trait_is_virtue_rite = stubborn }
			}
		}
		fickle = {
			trigger = {
				root.rite = { trait_is_virtue_rite = fickle }
			}
		}
		vengeful = {
			trigger = {
				root.rite = { trait_is_virtue_rite = vengeful }
			}
		}
		forgiving = {
			trigger = {
				root.rite = { trait_is_virtue_rite = forgiving }
			}
		}
		diligent = {
			trigger = {
				root.rite = { trait_is_virtue_rite = diligent }
			}
		}
		lazy = {
			trigger = {
				root.rite = { trait_is_virtue_rite = lazy }
			}
		}
		zealous = {
			trigger = {
				root.rite = { trait_is_virtue_rite = zealous }
			}
		}
		cynical = {
			trigger = {
				root.rite = { trait_is_virtue_rite = cynical }
			}
		}
		gregarious = {
			trigger = {
				root.rite = { trait_is_virtue_rite = gregarious }
			}
		}
		shy = {
			trigger = {
				root.rite = { trait_is_virtue_rite = shy }
			}
		}
		eccentric = {
			trigger = {
				root.rite = { trait_is_virtue_rite = eccentric }
			}
		}
	}
	faith = root.faith
	rite = root.rite
	culture = root.culture
	gender_female_chance = root_faith_clergy_gender_female_chance
	martial = {
		min_template_high_skill
		max_template_high_skill
	}
	learning = {
		min_template_high_skill
		max_template_high_skill
	}
}

monastic_order_leader_character = {
	age = { 25 55 }
	trait = devoted
	#Education
	random_traits_list = {
		count = 1
		education_learning_1 = {
			weight = { base = 10 }
		}
		education_learning_2 = {
			weight = { base = 20 }
		}
		education_learning_3 = {
			weight = { base = 40 }
		}
		education_learning_4 = {
			weight = { base = 20 }
		}
		education_learning_5 = {
			weight = { base = 10 }
		}
		education_stewardship_1 = {
			weight = { base = 5 }
		}
		education_stewardship_2 = {
			weight = { base = 10 }
		}
		education_stewardship_3 = {
			weight = { base = 20 }
		}
		education_stewardship_4 = {
			weight = { base = 10 }
		}
		education_stewardship_5 = {
			weight = { base = 5 }
		}
	}
	#Personality
	random_traits_list = {
		count = 3
		ambitious = {}
		arrogant = {}
		just = {}
		chaste = {}
		temperate = {}
		diligent = {}
		calm = {}
		patient = {}
		humble = {}
		content = {}
		zealous = {}
		trusting = {}
		eccentric = {}
	}
	random_traits_list = {
		count = { 0 2 }
		shrewd = {
			weight = { base = 5 }
		}
		lifestyle_physician = {
			weight = { base = 5 }
		}
		pilgrim = {
			weight = { base = 10 }
		}
		lifestyle_mystic = {
			weight = { base = 10 }
		}
		lifestyle_gardener = {
			weight = { base = 5 }
		}
		administrator = {
			weight = { base = 10 }
		}
		erudite = {
			weight = { base = 10 }
		}
		theologian = {
			weight = { base = 10 }
		}
		lifestyle_herbalist = {
			weight = { base = 5 }
		}
		journaller = {
			weight = { base = 5 }
		}
	}	
	faith = scope:founder.faith
	rite = scope:founder.rite
	culture = scope:founder.culture
	gender_female_chance = root_faith_clergy_gender_female_chance
	stewardship = {
		min_template_decent_skill
		max_template_high_skill
	}
	learning = {
		min_template_decent_skill
		max_template_high_skill
	}
	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
		add_trait_xp = {
			trait = devoted
			value = { 0 70 }
		}
	}
}
