CatStation/Content.Shared/Trigger/Components/Effects/RemoveStatusEffectOnTriggerComponent.cs
āda 5ca65503f7
StatusEffect On Trigger (#43665)
commit

Co-authored-by: iaada <iaada@users.noreply.github.com>
2026-04-24 06:12:38 +00:00

19 lines
620 B
C#

using Content.Shared.StatusEffectNew.Components;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Trigger.Components.Effects;
/// <summary>
/// Removes a status effect when triggered.
/// If TargetUser is true the user loses the status.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class RemoveStatusEffectOnTriggerComponent : BaseXOnTriggerComponent
{
/// <summary>
/// Status effect to be removed.
/// </summary>
[DataField, AutoNetworkedField]
public EntProtoId<StatusEffectComponent> Status;
}