Files
wwdpublic/Content.Shared/Mobs/Events/BeforeAlertSeverityCheckEvent.cs
Coolsurf6 a4189d8de8 Added Pain Numbness Trait (#34538)
* added pain-numbness component and system

* added numb as a trait that pulls the pain numbness component

* removed new event as mob threshold event as already being fired

* checked for MobThresholdsComponent first before running VerifyThresholds

* refacted force say to using LocalizedDatasetPrototype and added numb messages

* added severity check alert

* added comment for BeforeForceSayEvent

* removed space formatting

* changed Cancelled to CancelUpdate, fixed spacing and added two more damage-force-say-numb

* changed prefix damage-force-say-numb to 5 (whoops)

(cherry picked from commit 012c8355594823bc327fc42693a43a7c00f0caf9)
2026-02-13 17:48:10 +03:00

17 lines
553 B
C#

using Content.Shared.Alert;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
namespace Content.Shared.Mobs.Events;
/// <summary>
/// Event for allowing the interrupting and change of the mob threshold severity alert
/// </summary>
[Serializable, NetSerializable]
public sealed class BeforeAlertSeverityCheckEvent(ProtoId<AlertPrototype> currentAlert, short severity) : EntityEventArgs
{
public bool CancelUpdate = false;
public ProtoId<AlertPrototype> CurrentAlert = currentAlert;
public short Severity = severity;
}