################################################## # #BP2 Templates #wet_nurse bp2_wet_nurse_template = { culture = root.culture faith = root.faith gender = female age = { 25 35 } dynasty = none after_creation = { random_list = { 5 = { add_trait = physique_good_1 } 5 = { add_trait = strong } 5 = { add_trait = loyal } 90 = {} } } health = 5 } adult_education_teacher = { age = { 35 75 } random_traits_list = { count = 1 education_diplomacy_4 = {} education_martial_4 = {} education_stewardship_4 = {} education_intrigue_4 = {} education_learning_4 = {} education_diplomacy_5 = {} education_martial_5 = {} education_stewardship_5 = {} education_intrigue_5 = {} education_learning_5 = {} } diplomacy = { min_template_average_skill max_template_decent_skill } martial = { min_template_average_skill max_template_decent_skill } stewardship = { min_template_average_skill max_template_decent_skill } intrigue = { min_template_average_skill max_template_decent_skill } learning = { min_template_average_skill max_template_decent_skill } random_traits = yes faith = scope:activity.activity_location.faith culture = scope:activity.activity_location.culture gender_female_chance = { if = { limit = { scope:host.faith = { has_doctrine = doctrine_gender_male_dominated } } add = 0 } else_if = { limit = { scope:host.faith = { has_doctrine = doctrine_gender_female_dominated } } add = 100 } else = { add = 50 } } after_creation = { if = { limit = { OR = { has_trait = education_diplomacy_4 has_trait = education_diplomacy_5 } } add_diplomacy_skill = min_template_average_skill } else_if = { limit = { OR = { has_trait = education_martial_4 has_trait = education_martial_5 } } add_martial_skill = min_template_average_skill } else_if = { limit = { OR = { has_trait = education_stewardship_4 has_trait = education_stewardship_5 } } add_stewardship_skill = min_template_average_skill } else_if = { limit = { OR = { has_trait = education_intrigue_4 has_trait = education_intrigue_5 } } add_intrigue_skill = min_template_average_skill } else_if = { limit = { OR = { has_trait = education_learning_4 has_trait = education_learning_5 } } add_learning_skill = min_template_average_skill } } } adult_education_student = { age = { 18 40 } random_traits = yes faith = scope:activity.activity_location.faith culture = scope:activity.activity_location.culture gender_female_chance = { if = { limit = { scope:host.faith = { has_doctrine = doctrine_gender_male_dominated } } add = 0 } else_if = { limit = { scope:host.faith = { has_doctrine = doctrine_gender_female_dominated } } add = 100 } else = { add = 50 } } } foreign_architect_template = { age = { 30 45 } random_traits_list = { count = 1 education_stewardship_3 = {} education_stewardship_4 = {} } random_traits = yes dynasty = none faith = root.faith culture = root.culture gender_female_chance = root_faith_dominant_gender_female_chance learning = { min_template_average_skill max_template_decent_skill } stewardship = { min_template_decent_skill max_template_high_skill } after_creation = { add_trait = architect set_interesting_traits_and_modifiers_effect = yes set_nickname_effect = { NICKNAME = nick_the_architect } } } culture_defender_knight_template = { age = { 20 40 } random_traits = yes random_traits_list = { count = 1 brave = {} gregarious = {} lifestyle_hunter = {} lifestyle_blademaster = {} lifestyle_poet = {} athletic = {} strong = {} lifestyle_reveler = {} sadistic = {} callous = {} } random_traits_list = { education_martial_2 = { weight = { base = 35 } } education_martial_3 = { weight = { base = 20 } } education_martial_4 = { weight = { base = 10 } } education_diplomacy_2 = { weight = { base = 35 } } education_diplomacy_3 = { weight = { base = 20 } } education_diplomacy_4 = { weight = { base = 10 } } education_intrigue_2 = { weight = { base = 35 } } education_intrigue_3 = { weight = { base = 20 } } education_intrigue_4 = { weight = { base = 10 } } } random_traits_list = { count = { 0 1 } tourney_participant = { } } martial = { min_template_decent_skill max_template_high_skill } prowess = { min_template_decent_skill max_template_high_skill } gender_female_chance = root_soldier_female_chance after_creation = { add_trait = loyal # Cultural Traditions if = { limit = { culture = { has_cultural_parameter = winter_soldier_trait_more_common } NOT = { has_trait = winter_soldier } } add_trait = winter_soldier } if = { limit = { culture = { has_cultural_parameter = forest_fighter_trait_more_common } NOT = { has_trait = forest_fighter } } add_trait = forest_fighter } if = { limit = { culture = { has_cultural_parameter = rough_terrain_expert_trait_more_common } NOT = { has_trait = rough_terrain_expert } } add_trait = rough_terrain_expert } if = { limit = { culture = { has_cultural_parameter = desert_warrior_trait_more_common } NOT = { has_trait = desert_warrior } } add_trait = desert_warrior } if = { limit = { culture = { has_cultural_parameter = jungle_stalker_trait_more_common } NOT = { has_trait = jungle_stalker } } add_trait = jungle_stalker } set_interesting_traits_and_modifiers_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 set_nickname_effect = { NICKNAME = nick_the_guardian } } } foreign_cleric_template = { age = { 30 45 } random_traits_list = { count = { 0 1 } lifestyle_mystic = {} flagellant = {} contrite = {} } random_traits_list = { count = 1 education_learning_3 = {} education_learning_4 = {} } random_traits = yes dynasty = none faith = root.faith culture = root.culture learning = { min_template_decent_skill max_template_high_skill } after_creation = { add_trait = theologian set_interesting_traits_and_modifiers_effect = yes } } foreign_scholar_template = { age = { 30 45 } random_traits_list = { count = { 0 1 } lifestyle_physician = {} spindly = {} depressed_1 = {} stuttering = {} reclusive = {} blind = {} } random_traits_list = { count = 1 education_learning_3 = {} education_learning_4 = {} } random_traits = yes dynasty = none faith = root.faith culture = root.culture learning = { min_template_decent_skill max_template_high_skill } after_creation = { add_trait = scholar set_interesting_traits_and_modifiers_effect = yes set_nickname_effect = { NICKNAME = nick_the_scholar } } } foreign_official_template = { age = { 25 45 } random_traits_list = { count = 3 lustful = {} gluttonous = {} greedy = {} lazy = {} diligent = {} calm = {} impatient = {} arrogant = {} deceitful = {} gregarious = {} ambitious = {} arbitrary = {} cynical = {} paranoid = {} callous = {} sadistic = {} vengeful = {} } random_traits_list = { count = { 0 1 } disloyal = {} beauty_good_1 = {} beauty_good_2 = {} beauty_good_3 = {} schemer = {} seducer = {} diplomat = {} rakish = {} lifestyle_poet = {} profligate = {} weak = {} } random_traits_list = { count = 1 education_diplomacy_3 = {} education_diplomacy_4 = {} education_intrigue_3 = {} education_intrigue_4 = {} } faith = root.faith culture = root.culture diplomacy = { min_template_average_skill min_template_high_skill } intrigue = { min_template_average_skill min_template_high_skill } after_creation = { set_interesting_traits_and_modifiers_effect = yes } } foreign_mercenary_template = { age = { 20 40 } random_traits = yes random_traits_list = { count = 1 adventurer = {} lifestyle_hunter = {} lifestyle_blademaster = {} athletic = {} strong = {} physique_good_1 = {} physique_good_2 = {} lifestyle_traveler = {} tourney_participant = { } } random_traits_list = { education_martial_1 = { weight = { base = 35 } } education_martial_2 = { weight = { base = 35 } } education_martial_3 = { weight = { base = 20 } } education_martial_4 = { weight = { base = 10 } } } martial = { min_template_decent_skill max_template_decent_skill } prowess = { min_template_decent_skill max_template_decent_skill } gender_female_chance = root_soldier_female_chance dynasty = none after_creation = { # Cultural Traditions if = { limit = { culture = { has_cultural_parameter = winter_soldier_trait_more_common } NOT = { has_trait = winter_soldier } } add_trait = winter_soldier } if = { limit = { culture = { has_cultural_parameter = forest_fighter_trait_more_common } NOT = { has_trait = forest_fighter } } add_trait = forest_fighter } if = { limit = { culture = { has_cultural_parameter = rough_terrain_expert_trait_more_common } NOT = { has_trait = rough_terrain_expert } } add_trait = rough_terrain_expert } if = { limit = { culture = { has_cultural_parameter = desert_warrior_trait_more_common } NOT = { has_trait = desert_warrior } } add_trait = desert_warrior } if = { limit = { culture = { has_cultural_parameter = jungle_stalker_trait_more_common } NOT = { has_trait = jungle_stalker } } add_trait = jungle_stalker } set_interesting_traits_and_modifiers_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 } }