#GetChildEducationFocus is using loc from this education_focus = { type = character text = { localization_key = education_learning_loc trigger = { has_trait = education_learning } } text = { localization_key = education_stewardship_loc trigger = { has_trait = education_stewardship } } text = { localization_key = education_martial_loc trigger = { has_trait = education_martial } } text = { localization_key = education_intrigue_loc trigger = { has_trait = education_intrigue } } text = { localization_key = education_diplomacy_loc trigger = { has_trait = education_diplomacy } } } education_focus_child = { type = character text = { localization_key = education_learning_loc trigger = { exists = var:education_learning_variable } } text = { localization_key = education_stewardship_loc trigger = { exists = var:education_stewardship_variable } } text = { localization_key = education_martial_loc trigger = { exists = var:education_martial_variable } } text = { localization_key = education_intrigue_loc trigger = { exists = var:education_intrigue_variable } } text = { localization_key = education_diplomacy_loc trigger = { exists = var:education_diplomacy_variable } } } GeneralTemperament = { type = character text = { localization_key = temper_anger trigger = { OR = { has_personality_malicious_trigger = yes has_personality_dominant_trigger = yes has_personality_extroverted_trigger = yes } } } text = { localization_key = temper_disappointment trigger = { has_personality_benevolent_trigger = yes } } text = { localization_key = temper_hesitation trigger = { OR = { has_personality_introverted_trigger = yes has_personality_submissive_trigger = yes has_personality_levelheaded_trigger = yes } } } text = { localization_key = temper_horror trigger = { has_personality_emotional_trigger = yes } } } prison_pet = { type = character text = { trigger = { OR = { AND = { exists = var:prison_pet_variable var:prison_pet_variable = flag:rat } NOT = { exists = var:prison_pet_variable } } } localization_key = prison_pet_rat } text = { trigger = { OR = { AND = { exists = var:prison_pet_variable var:prison_pet_variable = flag:stone } NOT = { exists = var:prison_pet_variable } } } localization_key = prison_pet_stone } text = { trigger = { OR = { AND = { exists = var:prison_pet_variable var:prison_pet_variable = flag:spoon } NOT = { exists = var:prison_pet_variable } } } localization_key = prison_pet_spoon } text = { trigger = { OR = { AND = { exists = var:prison_pet_variable var:prison_pet_variable = flag:cockroach } NOT = { exists = var:prison_pet_variable } } } localization_key = prison_pet_cockroach } } #Can only be things which are made by man! Should all fit with "a" (not an) SuitableGiftItem = { type = character random_valid = yes text = { trigger = { ai_energy > 0 } localization_key = saddle } text = { trigger = { is_female = yes } localization_key = gown } text = { trigger = { is_female = no } localization_key = jacket } text = { trigger = { intrigue >= decent_skill_rating } localization_key = dagger } text = { trigger = { OR = { intrigue >= decent_skill_rating prowess >= decent_skill_rating } } localization_key = sword } text = { trigger = { diplomacy >= decent_skill_rating } localization_key = silver_inkhorn } text = { localization_key = ruby_ring } text = { localization_key = emerald_necklace } text = { localization_key = enamel_brooch } text = { localization_key = tapestry } text = { trigger = { OR = { learning >= decent_skill_rating has_trait = zealous } } localization_key = holy_bock } text = { trigger = { learning >= decent_skill_rating } localization_key = leatherbound_journal } } #How did the character die? (For easy tooltipping) DiedHouse_arrest = { type = character text = { localization_key = died_simply trigger = { NOT = { exists = scope:house_arrest_holder } } } text = { localization_key = died_house_arrest trigger = { exists = scope:house_arrest_holder } } } #Object for deviant DeviantObjectArticle = { type = character random_valid = yes text = { localization_key = a_whip } text = { localization_key = a_shoe } text = { localization_key = a_rope } text = { localization_key = a_loincloth } text = { localization_key = a_stick } text = { localization_key = a_feather } text = { localization_key = an_animal_skin } text = { localization_key = a_candle } text = { localization_key = a_razor_blade } } DeviantObjectNoun = { type = character random_valid = yes text = { localization_key = whip } text = { localization_key = shoe } text = { localization_key = rope } text = { localization_key = loincloth } text = { localization_key = stick } text = { localization_key = feather } text = { localization_key = animal_skin } text = { localization_key = candle } text = { localization_key = razor_blade } } DeviantObjectCapitalized = { type = character random_valid = yes text = { localization_key = capitalized_whip } text = { localization_key = capitalized_shoe } text = { localization_key = capitalized_rope } text = { localization_key = capitalized_loincloth } text = { localization_key = capitalized_stick } text = { localization_key = capitalized_feather } text = { localization_key = capitalized_animal_skin } text = { localization_key = capitalized_candle } text = { localization_key = capitalized_razor_blade } } DeviantObjectPlural = { type = character random_valid = yes text = { localization_key = object_whips } text = { localization_key = object_shoes } text = { localization_key = object_ropes } text = { localization_key = object_loinclothes } text = { localization_key = object_sticks } text = { localization_key = object_feathers } text = { localization_key = object_animal_skins } text = { localization_key = object_candles } text = { localization_key = object_razor_blades } } RandomObjectPlural = { type = character random_valid = yes text = { localization_key = object_whips } text = { localization_key = object_shoes } text = { localization_key = object_ropes } text = { localization_key = object_sticks } text = { localization_key = object_feathers } text = { localization_key = object_candles } }