Files
wwdpublic/Content.Shared/Containers/ItemSlot/ItemSlotsLockComponent.cs
metalgearsloth c5d4a0f7ad ItemToggle + slots stuff (#31312)
* ItemToggle + slots stuff

- Add component for itemslot locks to match LockComponent (surprised this didn't exist).
- Add thing for pointlight to match itemtoggle. In future should be used for PDAs and stuff but need to fix some other stuff first.

* Also this

* grill

(cherry picked from commit d6b0b997c0b89a17409782198f80dc9cd95897e1)
2025-01-14 02:01:57 +03:00

14 lines
366 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Containers.ItemSlots;
/// <summary>
/// Updates the relevant ItemSlots locks based on <see cref="LockComponent"/>
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class ItemSlotsLockComponent : Component
{
[DataField(required: true)]
public List<string> Slots = new();
}