@@ -21,7 +21,8 @@ using Content.Shared.Mobs; // WD
|
||||
using Content.Shared.Mobs.Components; // WD
|
||||
using Content.Shared.Mobs.Systems;
|
||||
using Content.Shared.Popups; // WD
|
||||
using Content.Shared.White.CPR.Events; // WD
|
||||
using Content.Shared.White.CPR.Events;
|
||||
using Content.Shared.White.Mood; // WD
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Server.Audio; // WD
|
||||
using Robust.Shared.Audio; // WD
|
||||
@@ -188,6 +189,7 @@ namespace Content.Server.Body.Systems
|
||||
if (respirator.SuffocationCycles >= respirator.SuffocationCycleThreshold)
|
||||
{
|
||||
_alertsSystem.ShowAlert(uid, AlertType.LowOxygen);
|
||||
RaiseLocalEvent(uid, new MoodEffectEvent("Suffocating")); // WD edit
|
||||
}
|
||||
|
||||
_damageableSys.TryChangeDamage(uid, respirator.Damage, false, false);
|
||||
@@ -343,6 +345,8 @@ namespace Content.Server.Body.Systems
|
||||
args.Repeat = true;
|
||||
else
|
||||
component.CPRPerformedBy = null;
|
||||
|
||||
RaiseLocalEvent(args.User, new MoodEffectEvent("SavedLife"));
|
||||
}
|
||||
//WD end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user