Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
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
7 changes: 2 additions & 5 deletions config/game_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -674,11 +674,8 @@ MICE_ROUNDSTART 5
## This used to be named traits, hence the config name, but it handles quirks, not the other kind of trait!
ROUNDSTART_TRAITS

## Uncomment to disable human moods.
DISABLE_HUMAN_MOOD

## Uncomment to force human moods. Not compatible with DISABLE_HUMAN_MOOD
FORCE_HUMAN_MOOD
## Uncomment to allow selection for human moods. Comment to force moods on
#DISABLE_HUMAN_MOOD

## Enable night shifts ##
#ENABLE_NIGHT_SHIFTS
Expand Down
2 changes: 1 addition & 1 deletion yogstation/code/controllers/subsystem/processing/quirks.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/datum/controller/subsystem/processing/quirks/proc/checkquirks(mob/living/user,client/cli) // Returns true when the player isn't trying to fuckin scum the mood pref stuff to exploit
var/mob/living/carbon/human/U = user
U.mood_enabled = CONFIG_GET(flag/force_human_mood) || cli.prefs.read_preference(/datum/preference/toggle/mood_enabled) // Marks whether this player had moods enabled in preferences at the time of spawning (helps prevent exploitation)
U.mood_enabled = !CONFIG_GET(flag/disable_human_mood) || cli.prefs.read_preference(/datum/preference/toggle/mood_enabled) // Marks whether this player had moods enabled in preferences at the time of spawning (helps prevent exploitation)

var/ismoody = (!CONFIG_GET(flag/disable_human_mood) || (cli.prefs.read_preference(/datum/preference/toggle/mood_enabled))) // If moods are globally enabled, or this guy does indeed have his mood pref set to Enabled

Expand Down