GetRandomRoom = { type = character random_valid = yes text = { localization_key = room_library trigger = { trigger_if = { limit = { has_variable = random_location } var:random_location = 0 } trigger_else = { always = yes } } } text = { localization_key = room_garden trigger = { trigger_if = { limit = { has_variable = random_location } var:random_location = 1 } trigger_else = { always = yes } } } text = { localization_key = room_corridor trigger = { trigger_if = { limit = { has_variable = random_location } var:random_location = 2 } trigger_else = { always = yes } } } text = { localization_key = room_council_chamber trigger = { trigger_if = { limit = { has_variable = random_location } var:random_location = 3 } trigger_else = { always = yes } } } text = { localization_key = room_throne_room trigger = { trigger_if = { limit = { has_variable = random_location } var:random_location = 4 } trigger_else = { always = yes } } } text = { localization_key = room_command_tent trigger = { trigger_if = { limit = { has_variable = random_location } var:random_location = 5 } trigger_else = { always = no } } } } #Takes two character scopes PartnerOpinionDescription = { type = character #High text = { trigger = { opinion = { target = scope:second value >= 50 } } localization_key = partner_opinion_high } #Low text = { trigger = { opinion = { target = scope:second value < 50 } } localization_key = partner_opinion_low } } #Is filtered through PartnerOpinionDescription PartnerOpinionHighDescription = { type = character random_valid = yes #Darling text = { localization_key = partner_opinion_desc_darling } #Precious text = { localization_key = partner_opinion_desc_precious } #Sweet text = { localization_key = partner_opinion_desc_sweet } #Lovely text = { localization_key = partner_opinion_desc_lovely } } #Is filtered through PartnerOpinionDescription PartnerOpinionLowDescription = { type = character random_valid = yes #Esteemed text = { localization_key = partner_opinion_desc_esteemed } #Imposing text = { localization_key = partner_opinion_desc_imposing } #Respectable text = { localization_key = partner_opinion_desc_respectable } } RandomJewelry = { type = character random_valid = yes #Torc text = { localization_key = random_jewelry_torc } #Pendant text = { localization_key = random_jewelry_pendant } #Ring text = { localization_key = random_jewelry_ring } #Medallion text = { localization_key = random_jewelry_medallion } #Bracelet text = { localization_key = random_jewelry_bracelet } #Bangle text = { localization_key = random_jewelry_bangle } #Brooch text = { localization_key = random_jewelry_brooch } } RandomPositiveLookAdjective = { type = character random_valid = yes #Magnificent text = { localization_key = random_positive_look_magnificent } #Stupendous text = { localization_key = random_positive_look_stupendous } #Marvelous text = { localization_key = random_positive_look_marvelous } #Exquisite text = { localization_key = random_positive_look_exquisite } #Delightful text = { localization_key = random_positive_look_delightful } #Terrific text = { localization_key = random_positive_look_terrific } #Splendid text = { localization_key = random_positive_look_splendid } #Stunning text = { localization_key = random_positive_look_stunning } #Enchanting text = { localization_key = random_positive_look_enchanting } #Wonderful text = { localization_key = random_positive_look_wonderful } } MurderMemoryEnding = { type = character random_valid = yes text = { localization_key = murder_memory_ending_revenge } text = { localization_key = murder_memory_ending_justice } text = { localization_key = murder_memory_ending_sleep } text = { localization_key = murder_memory_ending_sow } } GetFamilyFeudLongFlavor = { type = story text = { localization_key = house_feud_head_rivalry_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_rivalry } } } text = { localization_key = house_feud_family_rivalry_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_rivalry } } } text = { localization_key = house_feud_head_killed_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_killed } } } text = { localization_key = house_feud_family_killed_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_killed } } } text = { localization_key = house_feud_head_imprisoned_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_imprisoned } } } text = { localization_key = house_feud_family_imprisoned_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_imprisoned } } } text = { localization_key = house_feud_head_tortured_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_tortured } } } text = { localization_key = house_feud_family_tortured_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_tortured } } } text = { localization_key = house_feud_head_castrated_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_castrated } } } text = { localization_key = house_feud_family_castrated_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_castrated } } } text = { localization_key = house_feud_head_blinded_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_blinded } } } text = { localization_key = house_feud_family_blinded_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_blinded } } } text = { localization_key = house_feud_head_cuckolded_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_cuckolded } } } text = { localization_key = house_feud_family_cuckolded_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_cuckolded } } } text = { localization_key = house_feud_competing_claim_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = competing_claim } } } text = { localization_key = house_feud_inherited_rivalry_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = inherited_rivalry } } } text = { localization_key = house_feud_reciprocated_rivalry_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = reciprocated_rivalry } } } text = { localization_key = house_feud_head_broken_grand_wedding_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = head_broke_gw_betrothal } } } text = { localization_key = house_feud_family_broken_grand_wedding_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = family_broke_gw_betrothal } } } text = { localization_key = house_feud_murder_feast_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = murder_feast } } } text = { localization_key = house_feud_bloody_wedding_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = bloody_wedding } } } text = { localization_key = house_feud_raid_estate_flavor trigger = { house_feud_story_flag_trigger = { VARIABLE = house_feud_reason FLAG = raid_estate } } } } GetFamilyFeudBalance = { type = character text = { localization_key = house_feud_balance_terrible trigger = { house.house_head = { any_owned_story = { story_type = story_cycle_house_feud house_feud_balance_value <= -3 } } } } text = { localization_key = house_feud_balance_bad trigger = { house.house_head = { any_owned_story = { story_type = story_cycle_house_feud house_feud_balance_value > -3 house_feud_balance_value < -0.5 } } } } text = { localization_key = house_feud_balance_even trigger = { house.house_head = { any_owned_story = { story_type = story_cycle_house_feud house_feud_balance_value >= -0.5 house_feud_balance_value <= 0.5 } } } } text = { localization_key = house_feud_balance_good trigger = { house.house_head = { any_owned_story = { story_type = story_cycle_house_feud house_feud_balance_value > 0.5 house_feud_balance_value < 3 } } } } text = { localization_key = house_feud_balance_excellent trigger = { house.house_head = { any_owned_story = { story_type = story_cycle_house_feud house_feud_balance_value >= 3 } } } } } GetFamilyFeudShortFlavor = { type = story text = { localization_key = house_feud_flavor_char_attacker trigger = { var:house_feud_attacker = { is_local_player = yes } OR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry } } } text = { localization_key = house_feud_flavor_char_victim trigger = { var:house_feud_victim = { is_local_player = yes } OR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry var:house_feud_reason = flag:family_broke_gw_betrothal var:house_feud_reason = flag:head_broke_gw_betrothal } } } text = { localization_key = house_feud_flavor_char trigger = { OR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry var:house_feud_reason = flag:family_broke_gw_betrothal var:house_feud_reason = flag:head_broke_gw_betrothal } } } text = { localization_key = house_feud_verb_char_attacker trigger = { var:house_feud_attacker = { is_local_player = yes } NOR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry } } } text = { localization_key = house_feud_verb_char_victim trigger = { var:house_feud_victim = { is_local_player = yes } NOR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry } } } text = { localization_key = house_feud_verb_char trigger = { NOR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry } } } } GetFamilyFeudVictimFlavor = { type = story text = { localization_key = house_feud_flavor_victim trigger = { OR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry } } } text = { localization_key = house_feud_verb_victim trigger = { NOR = { var:house_feud_reason = flag:competing_claim var:house_feud_reason = flag:inherited_rivalry var:house_feud_reason = flag:reciprocated_rivalry } } } } GetFamilyFeudShort = { type = story text = { localization_key = house_feud_hatred trigger = { var:house_feud_reason = flag:head_rivalry } } text = { localization_key = house_feud_killing trigger = { OR = { var:house_feud_reason = flag:head_killed var:house_feud_reason = flag:family_killed } } } text = { localization_key = house_feud_imprisonment trigger = { OR = { var:house_feud_reason = flag:head_imprisoned var:house_feud_reason = flag:family_imprisoned } } } text = { localization_key = house_feud_torturing trigger = { OR = { var:house_feud_reason = flag:head_tortured var:house_feud_reason = flag:family_tortured } } } text = { localization_key = house_feud_blinding trigger = { OR = { var:house_feud_reason = flag:head_blinded var:house_feud_reason = flag:family_blinded } } } text = { localization_key = house_feud_castration trigger = { OR = { var:house_feud_reason = flag:head_castrated var:house_feud_reason = flag:family_castrated } } } text = { localization_key = house_feud_cuckoldry trigger = { OR = { var:house_feud_reason = flag:head_cuckolded var:house_feud_reason = flag:family_cuckolded } } } text = { localization_key = house_feud_competing trigger = { var:house_feud_reason = flag:competing_claim } } text = { localization_key = house_feud_inherited trigger = { var:house_feud_reason = flag:inherited_rivalry } } text = { localization_key = house_feud_reciprocated trigger = { var:house_feud_reason = flag:reciprocated_rivalry } } text = { localization_key = house_feud_betrothal trigger = { OR = { var:house_feud_reason = flag:family_broke_gw_betrothal var:house_feud_reason = flag:head_broke_gw_betrothal } } } text = { localization_key = house_feud_murder_feast trigger = { var:house_feud_reason = flag:murder_feast } } text = { localization_key = house_feud_bloody_wedding trigger = { var:house_feud_reason = flag:bloody_wedding } } text = { localization_key = house_feud_raid_estate trigger = { var:house_feud_reason = flag:raid_estate } } text = { localization_key = house_feud_fallback trigger = { always = no } fallback = yes } } GetLaughType = { type = character random_valid = yes text = { localization_key = laugh_type_baha } text = { localization_key = laugh_type_hehe } text = { localization_key = laugh_type_heh } text = { localization_key = laugh_type_hoho } text = { localization_key = laugh_type_haha } text = { localization_key = laugh_type_hah } text = { localization_key = laugh_type_haw } text = { localization_key = laugh_type_cackle } text = { localization_key = laugh_type_wheeze } text = { localization_key = laugh_type_wheeze_long } text = { localization_key = laugh_type_snort } }