From 4331bdf0cbf0f06c8c49efa814f2101bd36c8b83 Mon Sep 17 00:00:00 2001 From: VMSolidus Date: Sat, 10 Aug 2024 16:15:41 -0400 Subject: [PATCH] Tighten mood thresholds for movement speed --- Content.Server/Mood/MoodSystem.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Content.Server/Mood/MoodSystem.cs b/Content.Server/Mood/MoodSystem.cs index ae09a25f72f..0c7cce337ff 100644 --- a/Content.Server/Mood/MoodSystem.cs +++ b/Content.Server/Mood/MoodSystem.cs @@ -1,4 +1,4 @@ -using Content.Server.Chat.Managers; +using Content.Server.Chat.Managers; using Content.Server.Popups; using Content.Shared.Alert; using Content.Shared.Chat; @@ -60,7 +60,7 @@ private void OnRemoveEffect(EntityUid uid, MoodComponent component, MoodRemoveEf private void OnRefreshMoveSpeed(EntityUid uid, MoodComponent component, RefreshMovementSpeedModifiersEvent args) { - if (component.CurrentMoodThreshold is > MoodThreshold.Terrible and < MoodThreshold.Exceptional or MoodThreshold.Dead + if (component.CurrentMoodThreshold is > MoodThreshold.Meh and < MoodThreshold.Good or MoodThreshold.Dead || _jetpack.IsUserFlying(uid)) return; @@ -330,8 +330,8 @@ private int GetMovementThreshold(MoodThreshold threshold) { return threshold switch { - >= MoodThreshold.Exceptional => 1, - <= MoodThreshold.Terrible => -1, + >= MoodThreshold.Good => 1, + <= MoodThreshold.Meh => -1, _ => 0 }; }