Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Drug Moodlets #1014

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Resources/Locale/en-US/mood/mood.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions Resources/Prototypes/Reagents/narcotics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading