2024-04-28 00:11:46 -07:00
using Content.Shared.Inventory ;
using Content.Shared.StepTrigger.Systems ;
using Robust.Shared.GameStates ;
namespace Content.Shared.StepTrigger.Components ;
/// <summary>
2024-09-10 21:12:08 -05:00
/// This is used for cancelling preventable step trigger events if the user is wearing clothing in a valid slot or if the user itself has the component.
2024-04-28 00:11:46 -07:00
/// </summary>
[RegisterComponent, NetworkedComponent]
[Access(typeof(StepTriggerImmuneSystem))]
2024-09-10 21:12:08 -05:00
public sealed partial class ProtectedFromStepTriggersComponent : Component , IClothingSlots
2024-04-28 00:11:46 -07:00
{
[DataField]
public SlotFlags Slots { get ; set ; } = SlotFlags . FEET ;
}