* 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)
17 lines
540 B
C#
17 lines
540 B
C#
using Content.Shared.Dataset;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Traits.Assorted;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
public sealed partial class PainNumbnessComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The fluent string prefix to use when picking a random suffix
|
|
/// This is only active for those who have the pain numbness component
|
|
/// </summary>
|
|
[DataField]
|
|
public ProtoId<LocalizedDatasetPrototype> ForceSayNumbDataset = "ForceSayNumbDataset";
|
|
}
|