Skip to content

Commit

Permalink
More Drug Moodlets (#1014)
Browse files Browse the repository at this point in the history
# Description

This PR adds two more drug related moodlets, neither of which are
addictions. This would be Space Drugs and Ethanol.

# Changelog

:cl:
- add: Added positive moodlets for drinking Space Drugs and Alcohol.
VMSolidus authored Oct 7, 2024
1 parent de4959a commit 2051dee
Showing 4 changed files with 31 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Resources/Locale/en-US/mood/mood.ftl
Original file line number Diff line number Diff line change
@@ -66,4 +66,10 @@ mood-effect-LotoEnthrallment =
mood-effect-NicotineBenefit =
I feel as if I have been standing my entire life and I just sat down.
mood-effect-NicotineWithdrawal =
I could really go for a smoke right now.
I could really go for a smoke right now.
# Drugs
mood-effect-EthanolBenefit =
I feel so relaxed from drinking.
mood-effect-SpaceDrugsBenefit =
Woaaaah, such pretty colors maaaaan. It's like I can hear color and taste sound maaan.
13 changes: 12 additions & 1 deletion Resources/Prototypes/Mood/drugs.yml
Original file line number Diff line number Diff line change
@@ -31,4 +31,15 @@
category: "NicotineAddiction"

- type: moodCategory
id: NicotineAddiction
id: NicotineAddiction

# Non-Addictive Drugs
- type: moodEffect
id: EthanolBenefit
moodChange: 7
timeout: 300 #5 minutes

- type: moodEffect
id: SpaceDrugsBenefit
moodChange: 7
timeout: 300 #5 minutes
6 changes: 6 additions & 0 deletions Resources/Prototypes/Reagents/Consumable/Drink/alcohol.yml
Original file line number Diff line number Diff line change
@@ -255,6 +255,12 @@
Cold: -1.60
- !type:Drunk
boozePower: 2
- !type:ChemAddMoodlet
moodPrototype: EthanolBenefit
conditions:
- !type:ReagentThreshold
reagent: Ethanol
min: 5

- type: reagent
id: Gin
6 changes: 6 additions & 0 deletions Resources/Prototypes/Reagents/narcotics.yml
Original file line number Diff line number Diff line change
@@ -270,6 +270,12 @@
- !type:ReagentThreshold
reagent: SpaceDrugs
min: 15
- !type:ChemAddMoodlet
moodPrototype: SpaceDrugsBenefit
conditions:
- !type:ReagentThreshold
reagent: SpaceDrugs
min: 5

- type: reagent
id: Bananadine

0 comments on commit 2051dee

Please sign in to comment.