Skip to content

Commit

Permalink
code drinks v1
Browse files Browse the repository at this point in the history
amnesia gaming
  • Loading branch information
musicmanvr committed Feb 14, 2024
1 parent 57019ae commit f207765
Show file tree
Hide file tree
Showing 10 changed files with 185 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/deltav/flavors/flavor-profiles.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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?
26 changes: 26 additions & 0 deletions Resources/Locale/en-US/deltav/reagents/generic.ftl
Original file line number Diff line number Diff line change
@@ -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!
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 5 additions & 0 deletions Resources/Prototypes/DeltaV/Flavors/flavors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,8 @@
id: arsonistsbrew
flavorType: Complex
description: flavor-complex-arsonistsbrew

- type: flavor
id: amnesia
flavorType: Complex
description: flavor-complex-amnesia
91 changes: 91 additions & 0 deletions Resources/Prototypes/DeltaV/Reagents/Consumable/Drink/drinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
28 changes: 27 additions & 1 deletion Resources/Prototypes/DeltaV/Recipes/Reactions/drinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
Original file line number Diff line number Diff line change
@@ -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"
}
]
}

0 comments on commit f207765

Please sign in to comment.