6
StarHorizon_Public/Content.Shared/Inventory/SelfEquipOnlyComponent.cs
2026-01-13 18:31:02 +02: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;
}