6
StarHorizon_Public/Content.Shared/ContainerHeld/ContainerHeldComponent.cs
2026-01-18 12:53:36 +03:00

17 lines
526 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.ContainerHeld;
[RegisterComponent, NetworkedComponent]
public sealed partial class ContainerHeldComponent: Component
{
/// <summary>
/// The amount of weight needed to be in the container
/// in order for it to toggle it's appearance
/// to ToggleableVisuals.Enabled = true, and
/// SetHeldPrefix() to "full" instead of "empty".
/// </summary>
[DataField("threshold")]
public int Threshold { get; private set; } = 1;
}