﻿# A peasant leader selected to lead a servitude faction uprising on behalf
# of faction member counties.
regula_servitude_peasant_leader = {
	age = { 18 35 }
	gender = female

	trait = brave
	trait = peasant_leader

	random_traits_list = {
		count = 1
		education_martial_1 = { weight = { base = 10 } }
		education_martial_2 = { weight = { base = 45 } }
		education_martial_3 = { weight = { base = 30 } }
		education_martial_4 = { weight = { base = 15 } }
	}

	random_traits_list = {
		count = 2
		just = {}
		ambitious = {}
		diligent = {}
		gregarious = {}
		impatient = {}
		wrathful = {}
		compassionate = {}
		callous = {}
		stubborn = {}
		generous = {}
		greedy = {}
		zealous = {}
	}

	# Is guaranteed a good trait - You aren't a "popular" leader for nothing
	random_traits_list = {
		count = 1
		beauty_good_1 = { weight = { base = 10 } }
		beauty_good_2 = { weight = { base = 10 } }
		intellect_good_1 = { weight = { base = 10 } }
		intellect_good_2 = { weight = { base = 10 } }
		physique_good_1 = { weight = { base = 10 } }
		physique_good_2 = { weight = { base = 10 } }
		strong = { weight = { base = 20 } }
		shrewd = { weight = { base = 20 } }
	}

	# Add a commander trait
	random_traits_list = {
		count = 1
		holy_warrior = { weight = { base = 40 } }
		organizer = { weight = { base = 20 } }
		flexible_leader = { weight = { base = 15 } }
		aggressive_attacker = { weight = { base = 15 } }
		logistician = { weight = { base = 10 } }
	}

	random_traits = no

	martial = {
		min_template_decent_skill
		max_template_high_skill
	}
	stewardship = {
		min_template_decent_skill
		max_template_decent_skill
	}
	diplomacy = {
		min_template_decent_skill
		max_template_decent_skill
	}
	intrigue = {
		min_template_low_skill
		max_template_low_skill
	}
	learning = {
		min_template_low_skill
		max_template_low_skill
	}

	dynasty = none

	after_creation  = {
		# Initializes additional carn character settings based on game rules.
		# e.g. Carn DT & Carn futa
		trigger_event = { on_action = carn_character_initialization_pulse }

		# If we have mulsa fascinare - make the peasant leader a mulsa since they
		# 'were probably fascinared during conversion'.
		if = {
			limit = {
				global_var:magister_character ?= {
					character_has_regula_holy_effect_mulsa_fascinare = yes
				}
			}
			add_trait = mulsa
		}
	}
}
