* add paper label component * git mv * rename namespace * add cargo printouts * more crates * directly attach paper * comment typo
18 lines
481 B
C#
18 lines
481 B
C#
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 string LabelSlot = "labelSlot";
|
|
}
|
|
}
|