﻿# Stewardship & Diplomacy
eparch_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
	}

	random_traits_list = {
		count = 3
		diplomat = {}
		overseer = {}
		administrator = {}
		schemer = {}
		scholar = {}
	}

	random_traits_list = {
		count = 1
		education_republican_knowledge_1 = {}
		education_republican_knowledge_2 = {}
	}

	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		trusting = {}
		compassionate = {}
	}

	stewardship = { 5 8 }
	diplomacy = { 5 8 }
}
# Stewardship & Martial
goldcloaks_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
		education_martial_1 = {}
		education_martial_2 = {}
	}

	random_traits_list = {
		count = 3
		administrator = {}
		overseer = {}
		organizer = {}
		loyal = {}
	}
	
	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
	}
	
	stewardship = { 5 8 }
	martial = { 5 8 }
}
# Diplomacy & Martial
sea_watch_commander_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
		education_martial_1 = {}
		education_martial_2 = {}
	}

	trait = overseer
	trait = loyal
	trait = lifestyle_mariner
	
	random_traits_list = {
		count = 4
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		compassionate = {}
	}
	
	diplomacy = { 5 8 }
	martial = { 5 8 }

	after_creation = {
		random_list = {
			50 = {
				add_trait_xp = {
					trait = lifestyle_mariner
					value = 50
				}
			}
			50 = {
				add_trait_xp = {
					trait = lifestyle_mariner
					value = 100
				}
			}
		}
	}
}
# Stewardship
royal_counter_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
	}

	trait = overseer
	trait = avaricious
	trait = administrator

	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		stubborn = {}
		ambitious = {}
		honest = {}
		greedy = {}
	}

	stewardship = { 5 8 }
}
# Stewardship & Diplomacy
royal_scales_court_position_template = {

	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
	}

	trait = administrator
	trait = overseer
	trait = diligent

	random_traits_list = {
		count = 3
		just = {}
		temperate = {}
		stubborn = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		trusting = {}
		compassionate = {}
	}

	stewardship = { 5 8 }
	diplomacy = { 5 8 }
}
# Stewardship
royal_mint_officer_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
	}

	trait = overseer
	trait = diligent
	trait = administrator

	random_traits_list = {
		count = 3
		just = {}
		stubborn = {}
		ambitious = {}
		honest = {}
		greedy = {}
	}

	stewardship = { 5 8 }
}
# Stewardship
keeper_of_keys_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
	}

	random_traits_list = {
		count = 3
		administrator = {}
		loyal = {}
		family_first = {}
		overseer = {}
	}

	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		stubborn = {}
		ambitious = {}
		honest = {}
		greedy = {}
	}

	stewardship = { 5 8 }
}
# Diplomacy & Learning
high_reeve_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_learning_2 = {}
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
	}

	trait = diplomat
	trait = overseer
	trait = scholar

	random_traits_list = {
		count = 4
		chaste = {}
		content = {}
		patient = {}
		cynical = {}
		eccentric = {}
		diligent = {}
		just = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		compassionate = {}
	}

	learning = { 5 8 }
	diplomacy = { 5 8 }
}
# Diplomacy & Prowess
justiciar_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
	}
	random_traits_list = {
		count = 1
		education_martial_prowess_1 = {}
		education_martial_prowess_2 = {}
	}

	trait = diplomat
	trait = brave
	trait = diligent

	random_traits_list = {
		count = 2
		patient = {}
		just = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		compassionate = {}
	}

	prowess = { 5 8 }
	diplomacy = { 5 8 }
}
# Learning, copy of AGOT VANILLA Maester Template
maester_court_position_template = {
	age = { 20 75 }
	gender = male
	dynasty = none
	random_traits = yes
	faith = faith:fots_seven

	trait = maester

	random_culture = {
		culture:crownlander = {
			weight = { base = 5 }
		}
		culture:clawman = {
			weight = { base = 3 }
		}
		culture:reachman = {
			weight = { base = 8 }
		}
		culture:honeywiner = {
			weight = { base = 8 }
		}
		culture:vineman = {
			weight = { base = 8 }
		}
		culture:riverman_main = {
			weight = { base = 5 }
		}
		culture:stone_dornish = {
			weight = { base = 5 }
		}
		culture:salt_dornish = {
			weight = { base = 5 }
		}
		culture:sand_dornish = {
			weight = { base = 5 }
		}
		culture:stormlander_main = {
			weight = { base = 5 }
		}
		culture:marcher = {
			weight = { base = 5 }
		}
		culture:valeman_main = {
			weight = { base = 5 }
		}
		culture:valeman_upper = {
			weight = { base = 5 }
		}
		culture:valeman_finger = {
			weight = { base = 5 }
		}
		culture:westerman_main = {
			weight = { base = 5 }
		}
		culture:northman = {
			weight = { base = 5 }
		}
		culture:barrowman = {
			weight = { base = 5 }
		}
		culture:harborman = {
			weight = { base = 5 }
		}
		culture:wolfswood_clansman = {
			weight = { base = 3 }
		}
		culture:northern_clan = {
			weight = { base = 1 }
		}
		culture:crannogman = {
			weight = { base = 2 }
		}
		culture:skagosi = {
			weight = { base = 1 }
		}
		culture:ironborn = {
			weight = { base = 2 }
		}
		culture:krakenman = {
			weight = { base = 2 }
		}
	}

	learning = {
		8 20
	}

	random_traits_list = {
		education_learning_1 = { weight = { base = 20 } }
		education_learning_2 = { weight = { base = 45 } }
		education_learning_3 = { weight = { base = 20 } }
		education_learning_4 = { weight = { base = 15 } }
	}

	random_traits_list = {
		count = { 0 1 }
		lifestyle_physician = {}
	}

	random_traits_list = {
		count = { 0 1 }
		scholar = {}
		theologian = {}
		whole_of_body = {}
		lifestyle_mystic = {}
		lifestyle_herbalist = {}
		lifestyle_gardener = {}
		architect = {}
		diplomat = {}
		administrator = {}
		torturer = {}
		shrewd = {}
		journaller = {}
		schemer = {}
	}

	#maester type personality
	random_traits_list = {
		count = 1
		chaste = {}
		diligent = {}
		patient = {}
		calm = {}
		humble = {}
		shy = {}
		content = {}
		cynical = {}
		lazy = {}
		eccentric = {}
	}

	after_creation = {
		set_interesting_traits_and_modifiers_effect = yes
		if = {
			limit = { has_trait = lifestyle_mystic }
			add_random_tiered_trait_xp_effect = {
				TRAIT = lifestyle_mystic
				LEVEL_1 = yes
				LEVEL_3 = yes
			}
		}
		if = {
			limit = { has_trait = lifestyle_physician }
			add_random_tiered_trait_xp_effect = {
				TRAIT = lifestyle_physician
				LEVEL_1 = yes
				LEVEL_3 = yes
			}
		}
		if = {
			limit = {
				has_culture = culture:ironborn
			}
			random_list = {
				25 = { set_character_faith = faith:fots_seven }
				75 = { set_character_faith = faith:drowned_god }
			}
		}
		if = {
			limit = {
				has_culture = culture:harborman
			}
			random_list = {
				70 = { set_character_faith = faith:fots_seven}
				30 = { set_Character_faith = faith:old_gods_wnw }
			}
		}
		if = {
			limit = {
				OR = {
					culture = culture:northman
					culture = culture:barrowman
					culture = culture:wolfswood_clansman
					culture = culture:northern_clan
					culture = culture:crannogman
					culture = culture:skagosi
				}
			}
			random_list = {
			  75 = { set_character_faith = faith:old_gods_wnw }
			  15 = { set_character_faith = faith:fots_seven  }
			}
		}
		if = {
			limit = {
				culture = culture:krakenman
			}
			random_list = {
				60 = {set_character_faith = faith:old_gods_wnw }
				20 = {set_character_faith = faith:old_gods_wnw }
				20 = {set_character_faith = faith:drowned_god }
			}
		}
		#fun flavour stuff
		random_list = {
			80 = { }
			1 = { add_trait = physique_good_3}
			1 = { add_trait = beauty_good_3 }
			1 = { add_trait = beauty_bad_3 }
			5 = { add_trait = intellect_good_1 }
			2 = { add_trait = intellect_good_2 }
			1 = { add_trait = intellect_good_3 }
			5 = { add_trait = disfigured }
			5 = {add_trait = one_eyed}
			5 = { add_trait = one_legged }
			5 = { add_trait = weak }
			5 = { add_trait = drunkard }
			1 = { add_secret = { type = secret_cannibal } }
			2 = { add_secret = { type = secret_witch } }
			5 = { add_secret = { type = secret_non_believer } }
			5 = { add_secret = { type = secret_deviant } }
			5 = { # warrior maester because why not
				add_trait = scarred
				add_trait = education_martial_prowess_3
				add_trait = lifestyle_blademaster
				add_trait = brave
			}
			5 = { add_trait = eunuch_1 }
			5 = { add_trait = lunatic_1 }
			5 = { add_trait = fashionable } #AGOT To Do - Make his hair crazy lookin
			3 = { add_trait = seducer }
			1 = { add_trait = giant }
			1 = { add_trait = intellect_bad_3 } # lol get dumb maester'd
			2 = { add_trait = lifestyle_reveler }
			2 = { add_trait = hashishiyah } #Poppy Addict
		}
		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
			}
		}
		trigger_event = agot_maester.0004
		create_story = story_maester
	}
}
# Martial & Prowess
household_guard_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	random_traits_list = {
		count = 1
		education_martial_prowess_1 = {}
		education_martial_prowess_2 = {}
	}

	trait = lifestyle_blademaster
	trait = authoritative

	random_traits_list = {
		count = 3
		paranoid = {}
		brave = {}
		wrathful = {}
		ambitious = {}
		vengeful = {}
		zealous = {}
		sadistic = {}
	}

	prowess = { 5 8 }
	martial = { 5 8 }

	after_creation = {
		random_list = {
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 50
				}
			}
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 100
				}
			}
		}
	}
}
# Stewardship & Martial (goldcloaks copy)
admiral_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
		education_martial_1 = {}
		education_martial_2 = {}
	}

	random_traits_list = {
		count = 3
		administrator = {}
		overseer = {}
		organizer = {}
		loyal = {}
	}
	
	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
	}
	
	stewardship = { 5 8 }
	martial = { 5 8 }
}
# Learning
septon_court_position_template = {
	age = { 20 75 }

	gender_female_chance = 0

	faith = faith:fots_seven

	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_learning_2 = {}
	}
	trait = septon
	trait = loyal
	random_traits = no
	random_traits_list = {
		count = 4
		just = {}
		compassionate = {}
		chaste = {}
		diligent = {}
		patient = {}
		humble = {}
		brave = {}
		honest = {}
		zealous = {}
		content = {}
		ambitious = {}
		forgiving = {}
		trusting = {}
		eccentric = {}
	}

	learning = { 5 8 }
}
# Learning
septa_court_position_template = {
	age = { 20 75 }

	gender_female_chance = 100

	faith = faith:fots_seven

	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_learning_2 = {}
	}
	trait = septon
	trait = loyal
	random_traits = no
	random_traits_list = {
		count = 4
		just = {}
		compassionate = {}
		chaste = {}
		diligent = {}
		patient = {}
		humble = {}
		brave = {}
		honest = {}
		zealous = {}
		content = {}
		ambitious = {}
		forgiving = {}
		trusting = {}
		eccentric = {}
	}

	learning = { 5 8 }
}
# Intrigue
gaoler_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_intrigue_1 = {}
		education_intrigue_2 = {}
	}

	trait = torturer
	trait = callous
	trait = arbitrary

	random_traits_list = {
		count = 2
		craven = {}
		shy = {}
		lustful = {}
		ambitious = {}
		vengeful = {}
		deceitful = {}
		paranoid = {}
		cynical = {}
		sadistic = {}
		fickle = {}
	}

	intrigue = { 5 8 }
}
# Stewardship & Learning
harbormaster_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
		education_learning_1 = {}
		education_learning_2 = {}
	}

	trait = administrator
	trait = overseer
	trait = lifestyle_mariner

	random_traits_list = {
		count = 4
		greedy = {}
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		ambitious = {}
		chaste = {}
		content = {}
		forgiving = {}
	}

	stewardship = { 5 8 }
	learning = { 5 8 }

	after_creation = {
		random_list = {
			50 = {
				add_trait_xp = {
					trait = lifestyle_mariner
					value = 50
				}
			}
			50 = {
				add_trait_xp = {
					trait = lifestyle_mariner
					value = 100
				}
			}
		}
	}
}
# Martial, Placeholders for Wardens
warden_of_the_north_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}

	random_traits_list = {
		count = 3
		administrator = {}
		overseer = {}
		organizer = {}
		loyal = {}
	}
	
	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
	}
	
	martial = { 5 8 }
}
warden_of_the_east_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}

	random_traits_list = {
		count = 3
		administrator = {}
		overseer = {}
		organizer = {}
		loyal = {}
	}
	
	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
	}
	
	martial = { 5 8 }
}
warden_of_the_west_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}

	random_traits_list = {
		count = 3
		administrator = {}
		overseer = {}
		organizer = {}
		loyal = {}
	}
	
	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
	}
	
	martial = { 5 8 }
}
warden_of_the_south_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}

	random_traits_list = {
		count = 3
		administrator = {}
		overseer = {}
		organizer = {}
		loyal = {}
	}
	
	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
	}
	
	martial = { 5 8 }
}
# Stewardship, (Royal Mint copy)
master_at_arms_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
	}

	trait = overseer
	trait = diligent
	trait = administrator

	random_traits_list = {
		count = 3
		just = {}
		stubborn = {}
		ambitious = {}
		honest = {}
		greedy = {}
	}

	stewardship = { 5 8 }
}
# Stewardship & Prowess
court_smith_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_stewardship_1 = {}
		education_stewardship_2 = {}
	}

	random_traits_list = {
		count = 1
		education_martial_prowess_1 = {}
		education_martial_prowess_2 = {}
	}

	trait = strong
	trait = athletic

	random_traits_list = {
		count = 1
		physique_good_1 = {}
		physique_good_2 = {}
		physique_good_3 = {}
		administrator = {}
		giant = {}
		diligent = {}
	}
	
	random_traits_list = {
		count = 4
		diligent = {}
		just = {}
		temperate = {}
		stubborn = {}
		brave = {}
		ambitious = {}
		vengeful = {}
		sadistic = {}
	}
	
	stewardship = { 5 8 }
	prowess = { 5 8 }
}
# Copy of AGOT VANILLA Dragonkeeper Template
head_dragonkeeper_court_position_template = {
	age = { 25 45 }
	gender = male
	dynasty = none
	learning = { 15 20 }
	stewardship = { 15 20 }
	intrigue = { 10 15 }
	martial = { 10 15 }
	diplomacy = { 10 15 }
	prowess = { 8 20 }
	trait = loyal
	random_traits_list = {
		count = 1
		education_learning_4 = {}
		education_stewardship_4 = {}
	}
	random_traits = yes
	random_traits_list = {
		count = 3
		diligent = {weight = { base = 20 }}
		temperate = {weight = { base = 5 }}
		patient = {}
		calm = {}
		humble = {}
		shy = {}
		content = {}
		ambitious = {}
		just = {}
	}
	random_traits_list = {
		count = 1
		scholar = {}
		administrator = {}
		shrewd = {}
	}
	after_creation = {
		#add_character_flag = highest_fund
		if = {
			limit = {
				NOT = {
					knows_language = language_agot_valyrian
				}
			}
			learn_language = language_agot_valyrian
		}
	}
}
# Prowess, copy of VANILLA Bodyguard
bloodrider_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	trait = gallant
	trait = lifestyle_blademaster
	trait = brave
	trait = paranoid
	
	random_traits_list = {
		count = 1
		strong = {}
		giant = {}
	}
	
	random_traits_list = {
		count = 1
		vengeful = {}
		ambitious = {}
	}
	
	prowess = { 5 8 }
	
	after_creation = {
		random_list = {
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 50
				}
			}
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 100
				}
			}
		}
	}
}
# Prowess, copy of VANILLA Bodyguard
first_sword_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_martial_1 = {}
		education_martial_2 = {}
	}
	trait = gallant
	trait = lifestyle_blademaster
	trait = brave
	trait = paranoid
	
	random_traits_list = {
		count = 1
		strong = {}
		giant = {}
	}
	
	random_traits_list = {
		count = 1
		vengeful = {}
		ambitious = {}
	}
	
	prowess = { 5 8 }
	
	after_creation = {
		random_list = {
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 50
				}
			}
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 100
				}
			}
		}
	}
}
# Diplomacy & Martial
grey_cloaks_commander_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
		education_martial_1 = {}
		education_martial_2 = {}
	}

	trait = overseer
	trait = loyal
	
	random_traits_list = {
		count = 4
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		compassionate = {}
	}
	
	diplomacy = { 5 8 }
	martial = { 5 8 }
}
# Diplomacy & Martial
crimson_cloaks_commander_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_soldier_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
		education_martial_1 = {}
		education_martial_2 = {}
	}

	trait = overseer
	trait = loyal
	
	random_traits_list = {
		count = 4
		brave = {}
		authoritative = {}
		wrathful = {}
		ambitious = {}
		zealous = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		compassionate = {}
	}
	
	diplomacy = { 5 8 }
	martial = { 5 8 }
}
# Diplomacy & Intrigue
chief_eunuch_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
		education_intrigue_1 = {}
		education_intrigue_2 = {}
	}

	random_traits_list = {
		count = 1
		eunuch_1 = {}
		beardless_eunuch = {}
	}

	random_traits_list = {
		count = 3
		spider = {}
		torturer = {}
		seducer = {}
		schemer = {}
		diplomat = {}
		herbalist = {}
		intellect_good_3 = {}
		shrewd  = {}
		fashionable = {}
	}

	random_traits_list = {
		count = 4
		craven = {}
		calm = {}
		lustful = {}
		ambitious = {}
		diligent = {}
		gregarious = {}
		deceitful = {}
		humble = {}
		arbitrary = {}
		paranoid = {}
		cynical = {}
		sadistic = {}
		fickle = {}
	}

	intrigue = { 5 8 }

}
# Intrigue & Prowess
master_assassin_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_intrigue_1 = {}
		education_intrigue_2 = {}
	}

	random_traits_list = {
		count = 1
		education_martial_prowess_1 = {}
		education_martial_prowess_2 = {}
	}

	trait = lifestyle_blademaster
	trait = murderer
	trait = faith_warrior
	
	random_traits_list = {
		count = 4
		brave = {}
		calm = {}
		lustful = {}
		ambitious = {}
		vengeful = {}
		deceitful = {}
		arbitrary = {}
		paranoid = {}
		callous = {}
		sadistic = {}
		fickle = {}
		eccentric = {}
	}
	
	intrigue = { 5 8 }
	prowess = { 5 8 }

	after_creation = {
		random_list = {
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 50
				}
			}
			50 = {
				add_trait_xp = {
					trait = lifestyle_blademaster
					value = 100
				}
			}
		}
	}
}
# Diplomacy
cultural_emissary_court_position_template = {
	age = { 20 30 }
	gender_female_chance = root_faith_dominant_gender_female_chance
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
	}

	trait = diplomat
	trait = overseer
	trait = scholar

	random_traits_list = {
		count = 4
		chaste = {}
		content = {}
		patient = {}
		cynical = {}
		eccentric = {}
		diligent = {}
		just = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		compassionate = {}
	}

	diplomacy = { 5 8 }
}
# Learning
court_brewmaster_court_position_template = {
	age = { 20 30 }

	gender_female_chance = root_faith_dominant_gender_female_chance


	random_traits_list = {
		count = 1
		education_learning_1 = {}
		education_learning_2 = {}
	}
	trait = lifestyle_reveler
	random_traits = no
	random_traits_list = {
		count = 4
		just = {}
		compassionate = {}
		chaste = {}
		diligent = {}
		patient = {}
		humble = {}
		brave = {}
		honest = {}
		zealous = {}
		content = {}
		ambitious = {}
		forgiving = {}
		trusting = {}
		eccentric = {}
	}

	learning = { 5 8 }

	after_creation = {
		random_list = {
			50 = {
				add_trait_xp = {
					trait = lifestyle_reveler
					value = 50
				}
			}
			50 = {
				add_trait_xp = {
					trait = lifestyle_reveler
					value = 100
				}
			}
		}
	}
}
# Diplomacy
lady_in_waiting_court_position_template = {
	age = { 20 30 }
	gender_female_chance = 100
	
	dynasty = none
	
	random_traits = no
	
	random_traits_list = {
		count = 1
		education_diplomacy_1 = {}
		education_diplomacy_2 = {}
	}

	random_traits_list = {
		count = 1
		diplomat = {}
		spider = {}
		scholar = {}
		gallant = {}
		schemer = {}
		theologian = {}
		beauty_good_1 = {}
		beauty_good_2 = {}
		beauty_good_3 = {}
		herbalist = {}
		intellect_bad_1 = {}
		intellect_bad_2 = {}
		intellect_bad_3 = {}
		dull = {}
		shrewd = {}
		intellect_good_1 = {}
		intellect_good_2 = {}
		intellect_good_3 = {}
	}

	random_traits_list = {
		count = 4
		chaste = {}
		content = {}
		patient = {}
		cynical = {}
		eccentric = {}
		diligent = {}
		just = {}
		calm = {}
		ambitious = {}
		forgiving = {}
		generous = {}
		gregarious = {}
		honest = {}
		humble = {}
		compassionate = {}
	}

	diplomacy = { 5 8 }
}
# Dragonkeeper template, plus an inspiration
court_artificer_court_position_template = {
	age = { 25 45 }
	gender = male
	dynasty = none
	learning = { 15 20 }
	stewardship = { 15 20 }
	intrigue = { 10 15 }
	martial = { 10 15 }
	diplomacy = { 10 15 }
	prowess = { 8 20 }
	trait = loyal
	random_traits_list = {
		count = 1
		education_learning_4 = {}
		education_stewardship_4 = {}
	}
	random_traits = yes
	random_traits_list = {
		count = 3
		diligent = {weight = { base = 20 }}
		temperate = {weight = { base = 5 }}
		patient = {}
		calm = {}
		humble = {}
		shy = {}
		content = {}
		ambitious = {}
		just = {}
	}
	random_traits_list = {
		count = 1
		scholar = {}
		administrator = {}
		shrewd = {}
	}
	after_creation = {
		grant_inspiration_to_character_effect = { CHARACTER = this }
	}
}