fish-station/Content.Shared/Interaction/Components/UnremoveableComponent.cs
Kyle Tyo 68ba22548d
Predict GlueSystem (#39079)
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2025-07-30 12:57:50 -07:00

14 lines
525 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Interaction.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
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, AutoNetworkedField]
public bool DeleteOnDrop = true;
}