18 lines
572 B
C#
18 lines
572 B
C#
using Content.Shared.Whitelist;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Interaction.Components
|
|
{
|
|
[RegisterComponent]
|
|
[NetworkedComponent]
|
|
public sealed partial class UnremoveableComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// If this is true then unremovable items that are removed from inventory are deleted (typically from corpse gibbing).
|
|
/// Items within unremovable containers are not deleted when removed.
|
|
/// </summary>
|
|
[DataField("deleteOnDrop")]
|
|
public bool DeleteOnDrop = true;
|
|
}
|
|
}
|