Files
tbd-station-14/Content.Server/Labels/Label/Components/PaperLabelComponent.cs
Leon Friedrich 91b185e3c2 Rejigging Item slots (#4933)
* itemslot overhaul

* remove "shared" prefix

* handle component shutdown

* comments, cleanup, tests

* comments and minor tweak

* rename ItemSlotManagerState

* fix swapping

* fix merge

* Add ItemSlot verb text override

* fix merge  (IEntity -> entityUid)

* Fix merge (LabelSystem)

* Fix merge (nuke disk)

* fix test
2021-11-19 22:26:01 -07:00

19 lines
520 B
C#

using Content.Shared.Containers.ItemSlots;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Labels.Components
{
/// <summary>
/// This component allows you to attach and remove a piece of paper to an entity.
/// </summary>
[RegisterComponent]
public class PaperLabelComponent : Component
{
public override string Name => "PaperLabel";
[DataField("labelSlot")]
public ItemSlot LabelSlot = new();
}
}