From f207765de8887b458c6d0992e1b4b807e9520e1c Mon Sep 17 00:00:00 2001 From: Firewatch <54725557+musicmanvr@users.noreply.github.com> Date: Tue, 13 Feb 2024 23:26:20 -0500 Subject: [PATCH] code drinks v1 amnesia gaming --- .../en-US/deltav/flavors/flavor-profiles.ftl | 2 + .../Locale/en-US/deltav/reagents/generic.ftl | 26 +++++ .../reagents/meta/consumable/drink/drinks.ftl | 6 ++ .../Prototypes/DeltaV/Flavors/flavors.yml | 5 + .../Reagents/Consumable/Drink/drinks.yml | 91 ++++++++++++++++++ .../DeltaV/Recipes/Reactions/drinks.yml | 28 +++++- .../Untitled.png => admiralty.rsi/icon.png} | Bin .../Consumable/Drinks/admiralty.rsi/meta.json | 14 +++ .../amnesia.rsi/{Untitled.png => icon.png} | Bin .../Consumable/Drinks/amnesia.rsi/meta.json | 14 +++ 10 files changed, 185 insertions(+), 1 deletion(-) rename Resources/Textures/DeltaV/Objects/Consumable/Drinks/{admirality.rsi/Untitled.png => admiralty.rsi/icon.png} (100%) create mode 100644 Resources/Textures/DeltaV/Objects/Consumable/Drinks/admiralty.rsi/meta.json rename Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/{Untitled.png => icon.png} (100%) create mode 100644 Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/meta.json diff --git a/Resources/Locale/en-US/deltav/flavors/flavor-profiles.ftl b/Resources/Locale/en-US/deltav/flavors/flavor-profiles.ftl index d4602b99398..7cb624a8956 100644 --- a/Resources/Locale/en-US/deltav/flavors/flavor-profiles.ftl +++ b/Resources/Locale/en-US/deltav/flavors/flavor-profiles.ftl @@ -27,3 +27,5 @@ flavor-complex-daiquiri = fashionable flavor-complex-arsonistsbrew = like ash and flame flavor-complex-dulleavene = ominous flavor-complex-pumpkin = like pumpkin +flavor-complex-amnesia = like ...huh? + diff --git a/Resources/Locale/en-US/deltav/reagents/generic.ftl b/Resources/Locale/en-US/deltav/reagents/generic.ftl index d58eb83095a..ede1c56863f 100644 --- a/Resources/Locale/en-US/deltav/reagents/generic.ftl +++ b/Resources/Locale/en-US/deltav/reagents/generic.ftl @@ -1,3 +1,29 @@ ### Messages that can be utilized by multiple reagents. generic-reagent-effect-damnation = Your liver cries out in agony! Damnation! + +### Used by the "Amnesia" drink +generic-reagent-effect-confusion = Huh..? What's going on? +generic-reagent-effect-spoiler = Nukies are going to attack! Or zombies... +generic-reagent-effect-knowledge = You suddenly know how to play poker, or did you always..? +generic-reagent-effect-headache = You feel like your head is going to explode! +generic-reagent-effect-clown = Remember that one time you got slipped by the Clown? Good times... +generic-reagent-effect-question = Question marks..??? +generic-reagent-effect-paranoia = What if the last person you talked to was a traitor..!? + +## Random Trivia! +generic-reagent-effect-trivia-plasma = You can fill batteries with liquid plasma to make them explode... +generic-reagent-effect-trivia-toilet = You can hide items in toilets using a crowbar... +generic-reagent-effect-trivia-coordinates = Turn off the coordinates of people you intend to hide... +generic-reagent-effect-trivia-soap = Keep a bar of soap to clean your fingerprints off of evidence... +generic-reagent-effect-trivia-foam = Chemical foam is an excellent way to magnify the effects of a chemical... +generic-reagent-effect-trivia-drink = You shouldn't drink random substances... Wait a minute... +generic-reagent-effect-trivia-plant = Hiding things in plants can be an easy way to get rid of contaband... +generic-reagent-effect-trivia-walk = If you're scared of slipping on stuff that isn't slick, try walking... + +## Rare things +generic-reagent-effect-error = ERROR 404, DOES NOT COMPUTE. +generic-reagent-effect-sophie = Sophie loves you. +generic-reagent-effect-syndicate = Whiskey... Echo... Whiskey... Lima... +generic-reagent-effect-reach = Reach for the security officer's gun... They're free... +generic-reagent-effect-lie = When in doubt, lie! diff --git a/Resources/Locale/en-US/deltav/reagents/meta/consumable/drink/drinks.ftl b/Resources/Locale/en-US/deltav/reagents/meta/consumable/drink/drinks.ftl index 92118b5afee..d950fe3871a 100644 --- a/Resources/Locale/en-US/deltav/reagents/meta/consumable/drink/drinks.ftl +++ b/Resources/Locale/en-US/deltav/reagents/meta/consumable/drink/drinks.ftl @@ -21,3 +21,9 @@ reagent-desc-healthviolation = Allegedly it's a cocktail. The warning cone motif reagent-name-mothamphetamine = mothamphetamine reagent-desc-mothamphetamine = A strangely... fuzzy drink. It has a chaotic aura. + +reagent-name-admiralty = admiralty +reagent-desc-admiralty = Look at me. I am the Admiral now. + +reagent-name-amnesia = amnesia +reagent-desc-amnesia = They put something in the water, something to make you forget. diff --git a/Resources/Prototypes/DeltaV/Flavors/flavors.yml b/Resources/Prototypes/DeltaV/Flavors/flavors.yml index f3c7876a8af..d89e521f4b8 100644 --- a/Resources/Prototypes/DeltaV/Flavors/flavors.yml +++ b/Resources/Prototypes/DeltaV/Flavors/flavors.yml @@ -115,3 +115,8 @@ id: arsonistsbrew flavorType: Complex description: flavor-complex-arsonistsbrew + +- type: flavor + id: amnesia + flavorType: Complex + description: flavor-complex-amnesia diff --git a/Resources/Prototypes/DeltaV/Reagents/Consumable/Drink/drinks.yml b/Resources/Prototypes/DeltaV/Reagents/Consumable/Drink/drinks.yml index 816aa574448..efe689ffa59 100644 --- a/Resources/Prototypes/DeltaV/Reagents/Consumable/Drink/drinks.yml +++ b/Resources/Prototypes/DeltaV/Reagents/Consumable/Drink/drinks.yml @@ -183,3 +183,94 @@ Poison: effects: - !type:Jitter + +- type: reagent + id: Admiralty + name: reagent-name-admiralty + parent: BaseDrink + desc: reagent-desc-admiralty + physicalDesc: reagent-physical-desc-strong-smelling + flavor: strong + color: "#000070" + metamorphicSprite: + sprite: DeltaV/Objects/Consumable/Drinks/admiralty.rsi + state: icon + metabolisms: + Drink: + effects: + - !type:SatiateThirst + factor: 2 + - !type:AdjustReagent + reagent: Ethanol + amount: 0.25 + +- type: reagent + id: Amnesia + name: reagent-name-amnesia + parent: BaseDrink + desc: reagent-desc-amnesia + physicalDesc: reagent-physical-desc-inky + flavor: amnesia + metamorphicSprite: + sprite: DeltaV/Objects/Consumable/Drinks/amnesia.rsi + state: icon + metabolisms: + Drink: + effects: + - !type:SatiateThirst + factor: 2 + - !type:AdjustReagent + reagent: THC + amount: 0.3 + Poison: + effects: + - !type:GenericStatusEffect + key: SeeingRainbows + component: SeeingRainbows + type: Add + time: 10 + refresh: false + - !type:PopupMessage + type: Local + visualType: Small + messages: + - "generic-reagent-effect-confusion" + - "generic-reagent-effect-spoiler" + - "generic-reagent-effect-knowledge" + - "generic-reagent-effect-headache" + - "generic-reagent-effect-clown" + - "generic-reagent-effect-question" + - "generic-reagent-effect-paranoia" + probability: 0.1 + conditions: + - !type:ReagentThreshold + min: 5 + - !type:PopupMessage + type: Local + visualType: Medium + messages: + - "generic-reagent-effect-trivia-plasma" + - "generic-reagent-effect-trivia-toilet" + - "generic-reagent-effect-trivia-coordinates" + - "generic-reagent-effect-trivia-soap" + - "generic-reagent-effect-trivia-foam" + - "generic-reagent-effect-trivia-drink" + - "generic-reagent-effect-trivia-plant" + - "generic-reagent-effect-trivia-walk" + probability: 0.02 + conditions: + - !type:ReagentThreshold + min: 10 + - !type:PopupMessage + type: Local + visualType: LargeCaution + messages: + - "generic-reagent-effect-error" + - "generic-reagent-effect-sophie" + - "generic-reagent-effect-syndicate" + - "generic-reagent-effect-reach" + - "generic-reagent-effect-lie" + probability: 0.001 # Rare easter egg subtles + conditions: + - !type:ReagentThreshold + min: 15 diff --git a/Resources/Prototypes/DeltaV/Recipes/Reactions/drinks.yml b/Resources/Prototypes/DeltaV/Recipes/Reactions/drinks.yml index c33f19be7ce..5f8df37b2c4 100644 --- a/Resources/Prototypes/DeltaV/Recipes/Reactions/drinks.yml +++ b/Resources/Prototypes/DeltaV/Recipes/Reactions/drinks.yml @@ -87,4 +87,30 @@ BlueCuracao: amount: 1 products: - Mothamphetamine: 3 + Mothamphetamine: 3 + +- type: reaction + id: Admiralty + reactants: + NavyRum: + amount: 3 + Fernet: + amount: 1 + Vermouth: + amount: 1 + products: + Admiralty: 5 + sound: + path: Delta-V\Resources\Audio\Effects\Weather\rain2.ogg + +- type: reaction + id: Amnesia + reactants: + LotophagoiOil: + amount: 1 + Nothing: + amount: 1 + MindbreakerToxin: + amount: 1 + products: + Amnesia: 3 diff --git a/Resources/Textures/DeltaV/Objects/Consumable/Drinks/admirality.rsi/Untitled.png b/Resources/Textures/DeltaV/Objects/Consumable/Drinks/admiralty.rsi/icon.png similarity index 100% rename from Resources/Textures/DeltaV/Objects/Consumable/Drinks/admirality.rsi/Untitled.png rename to Resources/Textures/DeltaV/Objects/Consumable/Drinks/admiralty.rsi/icon.png diff --git a/Resources/Textures/DeltaV/Objects/Consumable/Drinks/admiralty.rsi/meta.json b/Resources/Textures/DeltaV/Objects/Consumable/Drinks/admiralty.rsi/meta.json new file mode 100644 index 00000000000..7580c878955 --- /dev/null +++ b/Resources/Textures/DeltaV/Objects/Consumable/Drinks/admiralty.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC0-1.0", + "copyright": "Inspired from /tg/, sprite by Mike under CC-1.0", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + } + ] +} diff --git a/Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/Untitled.png b/Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/icon.png similarity index 100% rename from Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/Untitled.png rename to Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/icon.png diff --git a/Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/meta.json b/Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/meta.json new file mode 100644 index 00000000000..3bad12912eb --- /dev/null +++ b/Resources/Textures/DeltaV/Objects/Consumable/Drinks/amnesia.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC0-1.0", + "copyright": "Original sprite by Mike under CC-1.0", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + } + ] +}