6
StarHorizon_Public/Content.Shared/Inventory/SelfEquipOnlyComponent.cs
2025-08-05 10:00:54 +03:00

17 lines
513 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Inventory;
/// <summary>
/// This is used for an item that can only be equipped/unequipped by the user.
/// </summary>
[RegisterComponent, NetworkedComponent, Access(typeof(SelfEquipOnlySystem))]
public sealed partial class SelfEquipOnlyComponent : Component
{
/// <summary>
/// Whether or not the self-equip only condition requires the person to be conscious.
/// </summary>
[DataField]
public bool UnequipRequireConscious = true;
}