2022-02-18 17:57:31 -05:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
2025-07-30 15:57:50 -04:00
|
|
|
namespace Content.Shared.Interaction.Components;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
|
|
|
public sealed partial class UnremoveableComponent : Component
|
2022-02-18 17:57:31 -05:00
|
|
|
{
|
2025-07-30 15:57:50 -04: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, AutoNetworkedField]
|
|
|
|
|
public bool DeleteOnDrop = true;
|
2022-02-18 17:57:31 -05:00
|
|
|
}
|