Flavor profiles (#10991)

* flavor profiles

TODO: every single flavor! yeah!!!

* adds basic localization, and flavors/lastFlavor values for when you get the flavor profile message

* multiple and single flavor messages

* start on flavor localization, multiple flavors in localized flavors

* flavor prototypes

* a few more flavors, descriptions on what each section of the flavor file should be doing

* localization for flavor profiles in drink/food system

* adds an event that allows a flavor profile list to be transformed base on the user entity

* raises it on the food entity too

* changes a field in flavor, adds some more flavors, starts adding flavor prototypes

* adds basic flavors to several entities, and consumable drinks, renames flavor field to 'flavors'

* changes call ordering in flavorprofile, adds flavor to ignored components server-side

flavor is really just a popup message, and those are all processed server-side

* fixes where food tried to get the flavor of the user instead of the food

* single flavors will now get the localized string

* getting the flavor message now ensures that flavors are deduplicated

* makes flavor processing more strictly unique bu making everything hashsets

* yeah, that could just not have distinctby now

* adds flavorprofile directly to food base instead for generic food taste

* FlavorProfileModificationEvent now passes a hashset of strings and not flavorprototypes

* flavorprofilesystem now broadcasts the flavor profile modification event

* adds more flavors to the flavor profile loc file

* skips a flavor, if the flavor string is null/empty

* adds some more flavors, adds generic medicine flavor to medicinal chemicals

* more food flavors, adds flavors to swallowing

* adds some cocktails to the set of flavor profiles

* regenerates flavor prototypes

* adds flavor type to all flavors, adds whitespace between variants

* adds more flavors, adds flavors to several chemicals and food items

this is the part that took the longest

* changes backup flavor message

* spelling mistake

* more flavors, and flavors on food

* readds all the type fields, whoops

* fixes localization strings for forcefeeding food/drink

* fixes multiple flavor profile

* adds flavor limit for flavors

* makes that fetch the cvardef instead
This commit is contained in:
Flipp Syder
2022-09-08 16:14:49 -07:00
committed by GitHub
parent f3510324ea
commit 3cfa00e91c
45 changed files with 2048 additions and 9 deletions

View File

@@ -0,0 +1,173 @@
flavor-profile = Tastes {$flavor}.
flavor-profile-multiple = Tastes {$flavors} and {$lastFlavor}.
flavor-profile-unknown = Tastes indescribable.
# Base flavors. Use these when you can't think of anything.
# These are specifically flavors that are placed in front
# of other flavors. When the flavors are processed, these
# will go in front so you don't get this like "Tastes like tomatoes, sweet and spicy",
# instead, you get "Tastes sweet, spicy and like tomatoes".
flavor-base-savory = savory
flavor-base-sweet = sweet
flavor-base-salty = salty
flavor-base-sour = sour
flavor-base-bitter = bitter
flavor-base-spicy = spicy
flavor-base-metallic = metallic
flavor-base-meaty = meaty
flavor-base-fishy = fishy
flavor-base-cheesy = cheesy
flavor-base-funny = funny
flavor-base-tingly = tingly
flavor-base-acid = acidic
flavor-base-leafy = leafy
flavor-base-minty = minty
flavor-base-nutty = nutty
flavor-base-chalky = chalky
flavor-base-oily = oily
flavor-base-peppery = peppery
flavor-base-slimy = slimy
flavor-base-magical = magical
flavor-base-fiber = fibrous
flavor-base-cold = cold
flavor-base-spooky = spooky
flavor-base-smokey = smokey
flavor-base-fruity = fruity
flavor-base-creamy = creamy
flavor-base-fizzy = fizzy
flavor-base-shocking = shocking
flavor-base-cheap = cheap
# lmao
flavor-base-terrible = terrible
# Complex flavors. Put a flavor here when you want something that's more
# specific.
flavor-complex-nothing = like nothing
flavor-complex-honey = like honey
# Food-specific flavors.
## Food chemicals. In case you get something that has this inside.
flavor-complex-nutriment = like nutrition
flavor-complex-vitamin = like vitamins
flavor-complex-protein = like protein
## Generic food taste. This should be replaced with an actual flavor profile,
## if you have food that looks like this.
flavor-complex-food = like food
## Basic foodstuffs (ingredients, generic flavors)
flavor-complex-bun = like bun
flavor-complex-bread = like bread
flavor-complex-batter = like batter
flavor-complex-butter = like butter
flavor-complex-egg = like egg
flavor-complex-bacon = like bacon
flavor-complex-chocolate = like chocolate
flavor-complex-pasta = like pasta
flavor-complex-rice = like rice
flavor-complex-oats = like oats
flavor-complex-jelly = like jelly
flavor-complex-soy = like soy
flavor-complex-ice-cream = like ice cream
flavor-complex-dough = like dough
flavor-complex-sweet-dough = like sweet dough
flavor-complex-tofu = like tofu
flavor-complex-muffin = like a muffin
flavor-complex-peas = like peas
flavor-complex-pineapple = like pineapple
flavor-complex-onion = like onion
flavor-complex-eggplant = like eggplant
flavor-complex-carrot = like carrots
flavor-complex-potatoes = like potatoes
flavor-complex-mushroom = like mushrooms
flavor-complex-tomato = like tomatoes
flavor-complex-corn = like corn
flavor-complex-banana = like bananas
flavor-complex-apple = like apples
flavor-complex-bungo = like bungo
flavor-complex-raisins = like dried grapes
flavor-complex-orange = like oranges
## Complex foodstuffs (cooked foods, joke flavors, etc)
flavor-complex-pink = like pink
flavor-complex-curry = like curry
flavor-complex-borsch-1 = like borsch
flavor-complex-borsch-2 = like bortsch
flavor-complex-borsch-3 = like borstch
flavor-complex-borsch-4 = like borsh
flavor-complex-borsch-5 = like borscht
flavor-complex-mre-brownie = like a cheap brownie
flavor-complex-fortune-cookie = like random chance
flavor-complex-nutribrick = like you're operating in a jungle
flavor-complex-cheap-noodles = like cheap noodles
flavor-complex-syndi-cakes = like a hearty fruit cake
flavor-complex-sus-jerky = like sus
flavor-complex-boritos = like gaming
flavor-complex-nachos = like nachos
flavor-complex-donk = like cheap pizza
flavor-complex-copypasta = like a reptitive joke
flavor-complex-memory-leek = like a fork bomb
flavor-complex-gunpowder = like gunpowder
flavor-complex-validhunting = like validhunting
# Drink-specific flavors.
## Generic alcohol/soda taste. This should be replaced with an actual flavor profile.
flavor-complex-alcohol = like alcohol
flavor-complex-soda = like soda
flavor-complex-juice = like juice
## Basic drinks
flavor-complex-water = like water
flavor-complex-beer = like piss
flavor-complex-ale = like bread
flavor-complex-cola = like cola
flavor-complex-vodka = like fermented grain
flavor-complex-tequila = like fermented death
flavor-complex-sake = like sweet, alcoholic rice
flavor-complex-rum = like fermented sugar
flavor-complex-coffee-liquor = like strong, bitter coffee
flavor-complex-whiskey = like molasses
flavor-complex-shitty-wine = like grape rinds
flavor-complex-iced-tea = like iced tea
flavor-complex-coffee = like coffee
flavor-complex-milk = like milk
flavor-complex-tea = like tea
flavor-complex-ice = like ice
## Cocktails
flavor-complex-long-island = suspiciously like iced tea
flavor-complex-three-mile-island = like tea brewed in nuclear runoff
flavor-complex-whiskey-cola = like carbonated molasses
flavor-complex-singulo = like a bottomless hole
flavor-complex-syndie-bomb = like bitter whiskey
flavor-complex-tequila-sunrise = like a mexican morning
flavor-complex-irish-coffee = like an alcoholic wakeup call
flavor-complex-iced-beer = like ice cold piss
flavor-complex-gargle-blaster = like somebody smashed your head with a lemon-covered brick of gold
flavor-complex-bloody-mary = like a bad hangover
flavor-complex-beepsky = like oil and whiskey
flavor-complex-banana-honk = like a banana milkshake
flavor-complex-atomic-bomb = like a nuclear wasteland
flavor-complex-atomic-cola = like hoarding bottle caps
flavor-complex-cuba-libre = like spiked cola
flavor-complex-gin-tonic = like spiked lemon-lime soda
flavor-complex-screwdriver = like spiked orange juice
### This is exactly what pilk tastes like. I'm not even joking. I might've been a little drunk though
flavor-complex-pilk = like sweet milk
# Medicine/chemical-specific flavors.
## Generic flavors.
flavor-complex-medicine = like medicine
flavor-complex-carpet = like a handful of fur
flavor-complex-bee = unbeelievable
flavor-complex-sax = like jazz