2023-04-24 01:20:39 +01:00
|
|
|
using Content.Shared.Whitelist;
|
2022-02-18 17:57:31 -05:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Interaction.Components
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
[NetworkedComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class UnremoveableComponent : Component
|
2023-04-24 01:20:39 +01:00
|
|
|
{
|
|
|
|
|
/// <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;
|
|
|
|
|
}
|
2022-02-18 17:57:31 -05:00
|
|
|
}
|