Files
tbd-station-14/Content.Shared/Trigger/Components/Triggers/TriggerOnGotUnequippedComponent.cs
Artxmisery 71f5c2d665 Equip and unequip triggers (#39675)
* added equip and unequip triggers for equipment and equipee

* Update Content.Shared/Trigger/Components/Triggers/TriggerOnDidEquipComponent.cs

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2025-08-16 15:50:32 +02:00

19 lines
618 B
C#

using Content.Shared.Inventory;
using Robust.Shared.GameStates;
namespace Content.Shared.Trigger.Components.Triggers;
/// <summary>
/// Triggers when an entity is unequipped from another entity.
/// The user is the entity being unequipped from (i.e. the (un)equipee).
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class TriggerOnGotUnequippedComponent : BaseTriggerOnXComponent
{
/// <summary>
/// The slots that being unequipped from will trigger the entity.
/// </summary>
[DataField, AutoNetworkedField]
public SlotFlags SlotFlags;
}