From 75092bbc81e086f4c98d3ee453d35c0bd7aa15c5 Mon Sep 17 00:00:00 2001 From: Mazik_kun <84410981+sumankun@users.noreply.github.com> Date: Fri, 24 Nov 2023 00:09:07 +0300 Subject: [PATCH] common/scripted_character_templates 1.11 --- .../00_officials_templates.txt | 11 +- .../01_fp1_character_templates.txt | 2 +- .../04_fp3_character_templates.txt | 427 ++++++++++++++++++ 3 files changed, 431 insertions(+), 9 deletions(-) create mode 100644 common/scripted_character_templates/04_fp3_character_templates.txt diff --git a/common/scripted_character_templates/00_officials_templates.txt b/common/scripted_character_templates/00_officials_templates.txt index de67cdae14..229254195a 100644 --- a/common/scripted_character_templates/00_officials_templates.txt +++ b/common/scripted_character_templates/00_officials_templates.txt @@ -1,5 +1,6 @@  tax_collector_character = { + # Warcraft age = { 30 65 } gender_female_chance = root_faith_dominant_gender_female_chance random_traits = yes @@ -130,6 +131,7 @@ administrator_character = { learning = { min_template_average_skill max_template_decent_skill } after_creation = { + trigger_race_giving_no_gene_effect = yes # Chance to get a suitable lifestyle trait depending on education if = { limit = { has_trait = education_martial } @@ -178,13 +180,6 @@ administrator_character = { add_trait = scholar } } - # Warcraft - trigger_race_giving_no_gene_effect = yes #Assigns race trait - if = { - limit = { age > age_debug_value } - debug_log = "administrator_character spawned a character over age borders" - debug_log_scopes = no - } } } @@ -222,7 +217,7 @@ estate_owner_character = { trigger_race_giving_no_gene_effect = yes #Assigns race trait if = { limit = { age > age_debug_value } - debug_log = "estate_owner_character spawned a character over age borders" + debug_log = "tax_collector_character spawned a character over age borders" debug_log_scopes = no } } diff --git a/common/scripted_character_templates/01_fp1_character_templates.txt b/common/scripted_character_templates/01_fp1_character_templates.txt index b419564d01..80fb5a5965 100644 --- a/common/scripted_character_templates/01_fp1_character_templates.txt +++ b/common/scripted_character_templates/01_fp1_character_templates.txt @@ -710,7 +710,7 @@ fp1_capital_county_orphan_character = { random_traits = yes #Personality random_traits_list = { - count = 2 + count = 1 rowdy = {} charming = {} curious = {} diff --git a/common/scripted_character_templates/04_fp3_character_templates.txt b/common/scripted_character_templates/04_fp3_character_templates.txt new file mode 100644 index 0000000000..c5676db96d --- /dev/null +++ b/common/scripted_character_templates/04_fp3_character_templates.txt @@ -0,0 +1,427 @@ +######################################################## +#FP3 Character Templates +####################################################### + +fp3_raging_ghazi_character = { + #General + age = { 18 40 } + culture = root.culture + faith = root.faith + dynasty = none + #Education + random_traits_list = { + education_martial_2 = { + weight = { base = 30 } + } + education_martial_3 = { + weight = { base = 20 } + } + education_martial_4 = { + weight = { base = 10} + } + } + trait = murderer + random_traits_list = { + count = 1 + irritable = {} + drunkard = {} + } + random_traits_list = { + count = 1 + aggressive_attacker = {} + desert_warrior = {} + reaver = {} + } + random_traits_list = { + count = 3 + callous = {} + gluttonous = {} + impatient = {} + sadistic = {} + vengeful = {} + wrathful = {} + zealous = {} + } + random_traits_list = { + count = 1 + faith_warrior = {} + lifestyle_blademaster = {} + strong = {} + lunatic_1 = {} + intellect_bad_1 = {} + } + random_traits = no + gender_female_chance = root_soldier_female_chance + #Skills + diplomacy = { min_template_low_skill max_template_decent_skill } + martial = { min_template_decent_skill max_template_high_skill } + stewardship = { min_template_low_skill max_template_decent_skill } + intrigue = { min_template_low_skill max_template_decent_skill } + learning = { min_template_low_skill max_template_decent_skill } + prowess = { min_template_decent_skill max_template_high_skill } + after_creation = { + trigger_race_giving_no_gene_effect = yes + add_random_tiered_trait_xp_effect = { + TRAIT = lifestyle_blademaster + LEVEL_1 = yes + LEVEL_3 = no + } + } +} + +fp3_sufi_mystic = { + age = { 30 80 } + faith = root.faith + culture = root.culture + #Education + random_traits_list = { + education_learning_2 = { + weight = { base = 30 } + } + education_learning_3 = { + weight = { base = 30 } + } + education_learning_4 = { + weight = { base = 10} + } + } + trait = lifestyle_mystic + random_traits_list = { + count = 3 + calm = {} + humble = {} + stubborn = {} + honest = {} + just = {} + zealous = {} + compassionate = {} + temperate = {} + generous = {} + shy = {} + chaste = {} + } + random_traits_list = { #something fun to give them character! + count = 1 + pilgrim = {} + theologian = {} + poet = {} + } + random_traits = no + #Skills + diplomacy = { min_template_decent_skill max_template_high_skill } + martial = { min_template_low_skill max_template_decent_skill } + stewardship = { min_template_low_skill max_template_decent_skill } + intrigue = { min_template_decent_skill max_template_decent_skill } + learning = { min_template_decent_skill max_template_high_skill } + prowess = { min_template_low_skill max_template_decent_skill } + after_creation = { + trigger_race_giving_no_gene_effect = yes + if = { + limit = { has_trait = lifestyle_mystic } + add_random_tiered_trait_xp_effect = { + TRAIT = lifestyle_mystic + LEVEL_1 = yes + LEVEL_3 = no + } + } + } +} + +fp3_zoroastrian_armed_pilgrim = { + age = { 20 50 } + #Education + random_traits_list = { + education_learning_2 = { + weight = { base = 30 } + } + education_learning_3 = { + weight = { base = 30 } + } + education_learning_4 = { + weight = { base = 10} + } + } + trait = lifestyle_mystic + trait = pilgrim + trait = zealous + random_traits_list = { + count = 2 + calm = {} + humble = {} + stubborn = {} + honest = {} + just = {} + compassionate = {} + temperate = {} + generous = {} + chaste = {} + } + random_traits_list = { + count = 1 + scholar = {} + theologian = {} + poet = {} + } + random_traits = no + #Skills + diplomacy = { min_template_low_skill max_template_decent_skill } + martial = { min_template_low_skill max_template_low_skill } + stewardship = { min_template_low_skill max_template_decent_skill } + intrigue = { min_template_low_skill max_template_decent_skill } + learning = { min_template_decent_skill max_template_decent_skill } + prowess = { min_template_low_skill max_template_decent_skill } + after_creation = { + trigger_race_giving_no_gene_effect = yes + if = { + limit = { has_trait = lifestyle_mystic } + add_random_tiered_trait_xp_effect = { + TRAIT = lifestyle_mystic + LEVEL_1 = yes + LEVEL_3 = no + } + add_character_flag = { + flag = need_priest_outfit + } + } + } +} + +fp3_young_rascal = { + age = { 9 12 } + dynasty = none + #Personality + random_traits_list = { + count = 1 + rowdy = {} + bossy = {} + curious = {} + } + random_traits = no + #Misc + gender_female_chance = 50 + #Skills + diplomacy = { min_template_average_skill max_template_average_skill } + martial = { min_template_average_skill max_template_average_skill } + stewardship = { min_template_average_skill max_template_average_skill } + intrigue = { min_template_average_skill max_template_average_skill } + learning = { min_template_average_skill max_template_average_skill } + prowess = { min_template_average_skill max_template_average_skill } + after_creation = { + trigger_race_giving_no_gene_effect = yes + } +} + +fp3_adorable_orphan = { + #General + age = { 6 13 } + faith = root.capital_county.faith + culture = root.capital_county.culture + dynasty = none + trait = wild_oat + #Personality + random_traits_list = { + count = 1 + rowdy = {} + charming = {} + curious = {} + pensive = {} + bossy = {} + } + random_traits_list = { + count = 1 + shrewd = {} + spindly = {} + strong = {} + scarred = {} + } + #Misc + random_traits = no + gender_female_chance = 50 + #Skills + diplomacy = { min_template_low_skill max_template_high_skill } + martial = { min_template_low_skill max_template_average_skill } + stewardship = { min_template_average_skill max_template_high_skill } + intrigue = { min_template_average_skill max_template_high_skill } + learning = { min_template_low_skill max_template_average_skill } + prowess = { min_template_low_skill max_template_average_skill } + after_creation = { + trigger_race_giving_no_gene_effect = yes + } +} + +fp3_tomb_raider = { + #General + age = { 20 40 } + dynasty = none + #Education + random_traits_list = { + education_intrigue_1 = { + weight = { base = 20 } + } + education_intrigue_2 = { + weight = { base = 30 } + } + education_intrigue_3 = { + weight = { base = 10} + } + } + trait = lifestyle_traveler + trait = cynical + random_traits_list = { + count = 2 + brave = {} + greedy = {} + gregarious = {} + wrathful = {} + deceitful = {} + impatient = {} + ambitious = {} + vengeful = {} + lustful = {} + craven = {} + fickle = {} + arbitrary = {} + diligent = {} + } + + random_traits = no + gender_female_chance = 50 + #Skills + diplomacy = { min_template_low_skill max_template_decent_skill } + martial = { min_template_low_skill max_template_low_skill } + stewardship = { min_template_low_skill max_template_decent_skill } + intrigue = { min_template_decent_skill max_template_decent_skill } + learning = { min_template_low_skill max_template_low_skill } + prowess = { min_template_low_skill max_template_low_skill } + after_creation = { + trigger_race_giving_no_gene_effect = yes + } +} + +####FP3 Historical Characters#### + + +fp3_skilled_outsider_template = { + # General + age = { 30 60 } + # Education + ## We give out random low tier education traits, and we'll upgrade them later if we're in batch B. + random_traits_list = { + count = 1 + education_diplomacy_1 = { + trigger = { + OR = { + scope:outsider_diplomacy_martial = yes + scope:outsider_stewardship_diplomacy = yes + } + } + } + education_diplomacy_2 = { + trigger = { + OR = { + scope:outsider_diplomacy_martial = yes + scope:outsider_stewardship_diplomacy = yes + } + } + } + education_martial_1 = { + trigger = { + OR = { + scope:outsider_martial_prowess = yes + scope:outsider_diplomacy_martial = yes + # As there's no main prowess education. + scope:outsider_prowess_learning = yes + } + } + } + education_martial_2 = { + trigger = { + OR = { + scope:outsider_martial_prowess = yes + scope:outsider_diplomacy_martial = yes + # As there's no main prowess education. + scope:outsider_prowess_learning = yes + } + } + } + education_stewardship_1 = { + trigger = { + OR = { + scope:outsider_stewardship_diplomacy = yes + scope:outsider_intrigue_stewardship = yes + } + } + } + education_stewardship_2 = { + trigger = { + OR = { + scope:outsider_stewardship_diplomacy = yes + scope:outsider_intrigue_stewardship = yes + } + } + } + education_intrigue_1 = { + trigger = { + OR = { + scope:outsider_intrigue_stewardship = yes + scope:outsider_learning_intrigue = yes + } + } + } + education_intrigue_2 = { + trigger = { + OR = { + scope:outsider_intrigue_stewardship = yes + scope:outsider_learning_intrigue = yes + } + } + } + education_learning_1 = { + trigger = { + OR = { + scope:outsider_learning_intrigue = yes + scope:outsider_prowess_learning = yes + } + } + } + education_learning_2 = { + trigger = { + OR = { + scope:outsider_learning_intrigue = yes + scope:outsider_prowess_learning = yes + } + } + } + } + # We random roll all of our traits. + random_traits = yes + gender_female_chance = root_soldier_female_chance + # Skills + diplomacy = { + fp3_skilled_outsider_template_diplomacy_min_value + fp3_skilled_outsider_template_diplomacy_max_value + } + martial = { + fp3_skilled_outsider_template_martial_min_value + fp3_skilled_outsider_template_martial_max_value + } + stewardship = { + fp3_skilled_outsider_template_stewardship_min_value + fp3_skilled_outsider_template_stewardship_max_value + } + intrigue = { + fp3_skilled_outsider_template_intrigue_min_value + fp3_skilled_outsider_template_intrigue_max_value + } + learning = { + fp3_skilled_outsider_template_learning_min_value + fp3_skilled_outsider_template_learning_max_value + } + prowess = { + fp3_skilled_outsider_template_prowess_min_value + fp3_skilled_outsider_template_prowess_max_value + } + after_creation = { + trigger_race_giving_no_gene_effect = yes + } +}