[Fix] Mood system fix (#439)

* mood back

* fix ready
This commit is contained in:
HitPanda
2023-09-25 01:44:44 +03:00
committed by Aviu00
parent c58225fc98
commit 2cd1656188
47 changed files with 1221 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ using Content.Shared.Inventory;
using Content.Shared.StatusEffect;
using Content.Shared.StepTrigger.Systems;
using Content.Shared.Stunnable;
using Content.Shared.White.Mood;
using JetBrains.Annotations;
using Robust.Shared.Audio;
using Robust.Shared.Audio.Systems;
@@ -78,6 +79,8 @@ public sealed class SlipperySystem : EntitySystem
_stun.TryParalyze(other, TimeSpan.FromSeconds(component.ParalyzeTime), true);
RaiseLocalEvent(other, new MoodEffectEvent("MobSlipped")); // WD edit
// Preventing from playing the slip sound when you are already knocked down.
if (playSound)
{