Files
space-station-14/Content.Shared/Traits/Assorted/PainNumbnessStatusEffectComponent.cs
SlamBamActionman d0a784b9e6 Add status effect support to Traits, change PainNumbness to be a status effect (#41646)
* Initial commit

* Review comments

* Jobify

* Prototype(effect)
2025-12-03 11:55:29 +00:00

21 lines
780 B
C#

using Content.Shared.Dataset;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Traits.Assorted;
/// <summary>
/// Hides the damage overlay and displays the health alert for the client controlling the entity as full.
/// Has to be applied as a status effect.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class PainNumbnessStatusEffectComponent : Component
{
/// <summary>
/// The fluent string prefix to use when picking a random suffix upon taking damage.
/// This is only active for those who have the pain numbness status effect. Set to null to prevent changing.
/// </summary>
[DataField]
public ProtoId<LocalizedDatasetPrototype>? ForceSayNumbDataset = "ForceSayNumbDataset";
}