mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-19 22:49:01 +03:00
* 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)
15 lines
489 B
C#
15 lines
489 B
C#
using Content.Shared.Dataset;
|
|
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Damage.Events;
|
|
|
|
/// <summary>
|
|
/// Event for interrupting and changing the prefix for when an entity is being forced to say something
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class BeforeForceSayEvent(ProtoId<LocalizedDatasetPrototype> prefixDataset) : EntityEventArgs
|
|
{
|
|
public ProtoId<LocalizedDatasetPrototype> Prefix = prefixDataset;
|
|
}
|