N3OW/common/scripted_character_templates/tgp_character_templates.txt
2026-04-25 18:55:31 -04:00

1146 lines
22 KiB
Text

tgp_orphan_character = {
age = { 8 10 }
gender_female_chance = {
if = {
limit = {
root.faith = {
has_doctrine = doctrine_gender_male_dominated
}
}
add = 0
}
else_if = {
limit = {
root.faith = {
has_doctrine = doctrine_gender_female_dominated
}
}
add = 100
}
else = {
add = 50
}
}
dynasty = none
faith = root.faith
culture = root.culture
random_traits = yes
after_creation = {
random_list = {
33 = {
add_trait = intellect_good_2
add_trait = physique_bad_3
}
33 = {
add_trait = beauty_good_2
add_trait = intellect_bad_2
}
33 = {
add_trait = physique_good_2
add_trait = beauty_bad_2
}
}
}
}
tgp_examiner_learning_template = {
age = { 35 49 }
dynasty = none
random_traits_list = {
count = 1
education_learning_3 = {}
education_learning_4 = {}
}
learning = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
faith = scope:host.top_liege.faith
culture = scope:host.top_liege.culture
gender_female_chance = {
if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = confucian_education }
}
add_trait = confucian_education
}
add_trait_xp = {
trait = confucian_education
value = {
integer_range = {
min = small_lifestyle_random_xp_low
max = medium_lifestyle_random_xp_low
}
}
}
add_learning_skill = min_template_average_skill
change_merit = { fixed_range = { min = 250 max = 500 } }
}
}
tgp_examiner_martial_template = {
age = { 35 49 }
dynasty = none
random_traits_list = {
count = 1
education_martial_3 = {}
education_martial_4 = {}
}
martial = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
faith = scope:host.top_liege.faith
culture = scope:host.top_liege.culture
gender_female_chance = {
if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = confucian_education }
}
add_trait = confucian_education
}
add_trait_xp = {
trait = confucian_education
value = {
integer_range = {
min = small_lifestyle_random_xp_low
max = small_lifestyle_random_xp_mid
}
}
}
add_martial_skill = min_template_average_skill
change_merit = { fixed_range = { min = 100 max = 250 } }
}
}
tgp_examiner_stewardship_template = {
age = { 35 49 }
dynasty = none
random_traits_list = {
count = 1
education_stewardship_3 = {}
education_stewardship_4 = {}
}
stewardship = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
faith = scope:host.top_liege.faith
culture = scope:host.top_liege.culture
gender_female_chance = {
if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = confucian_education }
}
add_trait = confucian_education
}
add_trait_xp = {
trait = confucian_education
value = {
integer_range = {
min = small_lifestyle_random_xp_low
max = small_lifestyle_random_xp_mid
}
}
}
add_stewardship_skill = min_template_average_skill
change_merit = { fixed_range = { min = 250 max = 500 } }
}
}
tgp_learning_exam_entrant_template = {
age = { 16 27 }
dynasty = none
random_traits_list = {
count = 1
education_learning_2 = {}
education_learning_3 = {}
}
learning = {
min_template_average_skill
max_template_average_skill
}
random_traits = yes
faith = scope:host.top_liege.faith
culture = scope:host.top_liege.culture
gender_female_chance = {
if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
}
tgp_stewardship_exam_entrant_template = {
age = { 16 27 }
dynasty = none
random_traits_list = {
count = 1
education_stewardship_2 = {}
education_stewardship_3 = {}
}
stewardship = {
min_template_average_skill
max_template_average_skill
}
random_traits = yes
faith = scope:host.top_liege.faith
culture = scope:host.top_liege.culture
gender_female_chance = {
if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
}
tgp_martial_exam_entrant_template = {
age = { 16 27 }
dynasty = none
random_traits_list = {
count = 1
education_martial_2 = {}
education_martial_3 = {}
}
martial = {
min_template_average_skill
max_template_average_skill
}
random_traits = yes
faith = scope:host.top_liege.faith
culture = scope:host.top_liege.culture
gender_female_chance = {
if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { scope:host.top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
}
tgp_concubine_template = {
age = { 16 21 }
dynasty = none
gender_female_chance = marriage_gender_adjusted_female_chance
random_traits = no
faith = root.faith
culture = root.culture
random_traits_list = {
count = 1
education_diplomacy_2 = {}
education_diplomacy_3 = {}
education_diplomacy_4 = {}
education_intrigue_2 = {}
education_intrigue_3 = {}
education_intrigue_4 = {}
}
#Personality trait 1
random_traits_list = {
count = 1
lustful = {}
deceitful = {}
brave = {}
gregarious = {}
ambitious = {}
vengeful = {}
}
#Personality trait 2-3
random_traits_list = {
count = 2
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 = {}
}
after_creation = {
random_list = {
65 = {
}
20 = {
add_trait = beauty_good_1
}
10 = {
add_trait = beauty_good_2
}
5 = {
add_trait = beauty_good_3
}
}
}
}
tgp_japan_imperial_scion_template = {
culture = scope:kampaku.culture
faith = scope:kampaku.faith
dynasty_house = scope:house_yamato
gender_female_chance = {
if = {
limit = { scope:kampaku.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { scope:kampaku.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
}
tgp_decent_heir_template = {
age = { 18 30 }
random_traits = yes
culture = root.culture
faith = root.faith
gender_female_chance = 25
dynasty = none
random_traits_list = {
count = 1
education_learning_2 = { weight = { base = 30 } }
education_martial_2 = { weight = { base = 30 } }
education_intrigue_2 = { weight = { base = 30 } }
education_diplomacy_2 = { weight = { base = 30 } }
education_stewardship_2 = { weight = { base = 30 } }
education_learning_3 = { weight = { base = 10 } }
education_martial_3 = { weight = { base = 10 } }
education_intrigue_3 = { weight = { base = 10 } }
education_diplomacy_3 = { weight = { base = 10 } }
education_stewardship_3 = { weight = { base = 10 } }
}
martial = {
min_template_decent_skill
max_template_decent_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
}
}
tgp_minister_administrator_template = {
age = { 25 49 }
dynasty = none
random_traits_list = {
count = 1
education_stewardship_3 = {}
education_stewardship_4 = {}
}
stewardship = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
gender_female_chance = {
if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = governor }
}
random = {
chance = 25
add_trait = governor
}
if = {
limit = { has_trait = governor }
add_trait_xp = {
trait = governor
value = {
integer_range = {
min = small_lifestyle_random_xp_low
max = medium_lifestyle_random_xp_low
}
}
}
}
}
if = {
limit = {
NOT = { has_trait = administrator }
}
random = {
chance = 20
add_trait = administrator
}
}
if = {
limit = {
NOT = { has_trait = architect }
}
random = {
chance = 15
add_trait = architect
}
}
add_stewardship_skill = min_template_average_skill
change_merit = { fixed_range = { min = 250 max = 750 } }
}
}
tgp_minister_diplomat_template = {
age = { 25 49 }
dynasty = none
random_traits_list = {
count = 1
education_diplomacy_3 = {}
education_diplomacy_4 = {}
}
diplomacy = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
gender_female_chance = {
if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = diplomat }
}
random = {
chance = 30
add_trait = diplomat
}
}
add_diplomacy_skill = min_template_average_skill
change_merit = { fixed_range = { min = 250 max = 750 } }
}
}
tgp_minister_commander_template = {
age = { 25 49 }
dynasty = none
random_traits_list = {
count = 1
education_martial_3 = {}
education_martial_4 = {}
}
martial = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
gender_female_chance = {
if = {
limit = { top_liege.culture = { has_cultural_parameter = martial_custom_male_only_combatant } }
add = 0
}
else_if = {
limit = { top_liege.culture = { has_cultural_parameter = martial_custom_female_only_combatant } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = strategist }
}
random = {
chance = 15
add_trait = strategist
}
}
if = {
limit = {
NOT = { has_trait = overseer }
}
random = {
chance = 15
add_trait = overseer
}
}
if = {
limit = {
number_of_commander_traits < 2
}
random = {
chance = {
value = 35
if = {
limit = { has_trait = education_martial_4 }
add = 40
}
}
give_random_commander_trait_effect = yes
}
}
add_martial_skill = min_template_average_skill
change_merit = { fixed_range = { min = 250 max = 750 } }
}
}
tgp_minister_warrior_template = {
age = { 18 35 }
dynasty = none
random_traits_list = {
count = 1
education_martial_2 = {}
education_martial_3 = {}
}
martial = {
min_template_low_skill
max_template_average_skill
}
prowess = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
gender_female_chance = {
if = {
limit = { top_liege.culture = { has_cultural_parameter = martial_custom_male_only_combatant } }
add = 0
}
else_if = {
limit = { top_liege.culture = { has_cultural_parameter = martial_custom_female_only_combatant } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = lifestyle_blademaster }
}
random = {
chance = 20
add_trait = lifestyle_blademaster
}
if = {
limit = { has_trait = lifestyle_blademaster }
add_trait_xp = {
trait = lifestyle_blademaster
value = {
integer_range = {
min = small_lifestyle_random_xp_low
max = medium_lifestyle_random_xp_low
}
}
}
}
}
if = {
limit = {
NOT = { has_trait = gallant }
}
random = {
chance = 15
add_trait = gallant
}
}
if = {
limit = {
NOT = { has_trait = strong }
}
random = {
chance = 10
add_trait = strong
}
}
if = {
limit = {
NOT = { has_trait = giant }
}
random = {
chance = 2
add_trait = giant
}
}
change_merit = { fixed_range = { min = 100 max = 250 } }
}
}
tgp_minister_scholar_template = {
age = { 25 49 }
dynasty = none
random_traits_list = {
count = 1
education_learning_3 = {}
education_learning_4 = {}
}
learning = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
gender_female_chance = {
if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = scholar }
}
random = {
chance = 30
add_trait = scholar
}
}
if = {
limit = {
NOT = { has_trait = theologian }
}
random = {
chance = 10
add_trait = theologian
}
}
add_learning_skill = min_template_average_skill
change_merit = { fixed_range = { min = 250 max = 1250 } }
}
}
tgp_minister_confucian_scholar_template = {
age = { 30 55 }
dynasty = none
random_traits_list = {
count = 1
education_learning_3 = {}
education_learning_4 = {}
}
learning = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
gender_female_chance = {
if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
if = {
limit = {
NOT = { has_trait = confucian_education }
}
add_trait = confucian_education
}
add_trait_xp = {
trait = confucian_education
value = {
integer_range = {
min = small_lifestyle_random_xp_low
max = medium_lifestyle_random_xp_high
}
}
}
add_learning_skill = min_template_average_skill
change_merit = { fixed_range = { min = 500 max = 1500 } }
}
}
tgp_minister_eunuch_template = {
age = { 25 49 }
dynasty = none
random_traits_list = {
count = 1
education_diplomacy_3 = { weight = { base = 25 } }
education_diplomacy_4 = { weight = { base = 20 } }
education_stewardship_3 = { weight = { base = 25 } }
education_stewardship_4 = { weight = { base = 20 } }
education_intrigue_3 = { weight = { base = 50 } }
education_intrigue_4 = { weight = { base = 40 } }
education_learning_3 = { weight = { base = 25 } }
education_learning_4 = { weight = { base = 20 } }
}
stewardship = {
min_template_low_skill
max_template_decent_skill
}
intrigue = {
min_template_average_skill
max_template_decent_skill
}
random_traits = yes
gender_female_chance = 0
after_creation = {
if = {
limit = {
NOT = { has_trait = eunuch }
}
add_trait = eunuch_1
}
change_merit = { fixed_range = { min = 250 max = 1250 } }
}
}
very_good_eunuch_character = {
age = { 25 45 }
random_traits_list = {
count = 1
education_learning_5 = {}
education_learning_4 = {}
education_intrigue_5 = {}
education_intrigue_4 = {}
education_diplomacy_5 = {}
education_diplomacy_4 = {}
education_stewardship_5 = {}
education_stewardship_4 = {}
}
random_traits = yes
dynasty = none
faith = root.faith
culture = root.culture
gender_female_chance = 0
trait = beardless_eunuch
trait = loyal
learning = {
min_template_high_skill
max_template_high_skill
}
intrigue = {
min_template_high_skill
max_template_high_skill
}
stewardship = {
min_template_high_skill
max_template_high_skill
}
diplomacy = {
min_template_high_skill
max_template_high_skill
}
martial = {
min_template_low_skill
max_template_low_skill
}
prowess = {
min_template_low_skill
max_template_low_skill
}
after_creation = {
random_list = {
10 = {
change_current_weight = 150
}
10 = {
change_current_weight = 100
}
10 = {
change_current_weight = 50
}
}
assign_quirk_effect = yes
if = {
limit = {
NOT = {
knows_language_of_culture = root.culture
}
}
learn_language_of_culture = root.culture
}
change_merit = { fixed_range = { min = 1250 max = 3250 } }
}
}
tgp_warrior_monk_template = {
age = { 18 30 }
trait = devoted
dynasty = none
faith = root.faith
culture = root.culture
gender_female_chance = root_faith_clergy_gender_female_chance
random_traits_list = {
count = 1
education_martial_2 = {}
education_martial_3 = {}
education_martial_4 = {}
}
random_traits_list = {
count = { 0 1 }
lifestyle_blademaster = {}
lifestyle_hunter = {}
tourney_participant = {}
strategist = {}
gallant = {}
torturer = {}
}
martial = {
min_template_average_skill
max_template_average_skill
}
prowess = { 10 16 }
after_creation = {
#Chance of receiving an extra commander trait
random = {
chance = 25
give_random_commander_trait_effect = yes
}
add_random_tiered_trait_xp_effect = {
TRAIT = lifestyle_blademaster
LEVEL_1 = yes
LEVEL_3 = yes
}
add_random_tiered_trait_track_xp_effect = {
TRAIT = lifestyle_hunter
TRACK = hunter
LEVEL_1 = yes
LEVEL_3 = no
}
add_random_tourney_participant_level_effect = yes
}
}
tgp_court_brahmin_template = {
age = { 30 60 }
dynasty = none
faith = root.faith
culture = root.culture
gender_female_chance = root_faith_clergy_gender_female_chance
random_traits_list = {
count = 1
generous = {}
compassionate = {}
}
random_traits = yes
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_low_skill
}
intrigue = {
min_template_low_skill
max_template_low_skill
}
learning = {
min_template_decent_skill
max_template_decent_skill
}
prowess = {
min_template_low_skill
max_template_average_skill
}
}
tgp_khlon_glan_template = {
age = { 30 60 }
dynasty = none
faith = root.faith
culture = root.culture
gender_female_chance = root_soldier_female_chance
random_traits = yes
martial = {
min_template_medium_skill
max_template_medium_skill
}
stewardship = {
min_template_medium_skill
max_template_medium_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_low_skill
max_template_average_skill
}
}
tgp_steppe_admin_family_head_template = {
age = { 25 49 }
random_traits_list = {
count = 1
education_diplomacy_3 = {}
education_diplomacy_4 = {}
education_martial_3 = {}
education_martial_4 = {}
education_stewardship_3 = {}
education_stewardship_4 = {}
education_intrigue_3 = {}
education_intrigue_4 = {}
education_learning_3 = {}
education_learning_4 = {}
}
random_traits = yes
gender_female_chance = {
if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_male_dominated } }
add = 0
}
else_if = {
limit = { top_liege.faith = { has_doctrine = doctrine_gender_female_dominated } }
add = 100
}
else = {
add = 50
}
}
after_creation = {
change_merit = { fixed_range = { min = 250 max = 1250 } }
}
}
tgp_poet_lover_template = {
age = { 18 40 }
random_traits_list = {
count = 1
beauty_good_1 = {}
beauty_good_2 = {}
beauty_good_3 = {}
}
gender_female_chance = root_attraction_based_female_chance
dynasty = none
trait = lustful
random_traits_list = {
count = 2
calm = {}
content = {}
vengeful = {}
generous = {}
gregarious = {}
deceitful = {}
arrogant = {}
gluttonous = {}
trusting = {}
patient = {}
cynical = {}
compassionate = {}
fickle = {}
}
culture = root.location.culture
faith = root.location.faith
intrigue = {
min_template_decent_skill
max_template_decent_skill
}
after_creation = {
add_trait = lifestyle_poet
set_sexuality = bisexual
set_relation_potential_lover = root
}
}
tgp_aspect_acolyte_template = {
age = { 18 40 }
random_traits_list = {
count = 1
education_stewardship_2 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_creation }
}
}
education_stewardship_3 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_creation }
}
}
education_diplomacy_2 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_serenity }
}
}
education_diplomacy_3 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_serenity }
}
}
education_martial_2 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_destruction }
}
}
education_martial_3 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_destruction }
}
}
education_intrigue_2 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_trickery }
}
}
education_intrigue_3 = {
trigger = {
root.house = { has_house_aspiration_parameter = aspect_of_trickery }
}
}
}
gender_female_chance = 0
dynasty = none
trait = lustful
random_traits_list = {
count = 2
calm = {}
content = {}
vengeful = {}
generous = {}
gregarious = {}
deceitful = {}
arrogant = {}
zealous = {}
trusting = {}
patient = {}
cynical = {}
compassionate = {}
fickle = {}
}
culture = root.culture
faith = root.faith
after_creation = {
set_sexuality = heterosexual
}
}