Skip to content

Commit

Permalink
Tighten mood thresholds for movement speed
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Aug 10, 2024
1 parent 086ba65 commit 4331bdf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Content.Server/Mood/MoodSystem.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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
};
}
Expand Down

0 comments on commit 4331bdf

Please sign in to comment.