Delta-v/Content.Server/_NF/Mail/DelayedItemComponent.cs

17 lines
507 B
C#

namespace Content.Server.Mail
{
/// <summary>
/// A placeholder for another entity, spawned when dropped or placed in someone's hands.
/// Useful for storing instant effect entities, e.g. smoke, in the mail.
/// </summary>
[RegisterComponent]
public sealed partial class DelayedItemComponent : Component
{
/// <summary>
/// The entity to replace this when opened or dropped.
/// </summary>
[DataField]
public string Item = "None";
}
}