Fixes Borgs and Syndicats getting hurt by glass shards and other things + honkbot slipping 2 (#31011)
* Lets do this again * I noticed this way to late
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Content.Shared.Inventory;
|
||||
using Content.Shared.StepTrigger.Systems;
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.StepTrigger.Components;
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(StepTriggerImmuneSystem))]
|
||||
public sealed partial class ProtectedFromStepTriggersComponent : Component, IClothingSlots
|
||||
{
|
||||
[DataField]
|
||||
public SlotFlags Slots { get; set; } = SlotFlags.FEET;
|
||||
}
|
||||
Reference in New Issue
Block a user