6
StarHorizon_Public/Content.Server/_NF/Stacks/Components/RandomStackCountComponent.cs
2026-01-24 12:49:55 +03:00

16 lines
396 B
C#

namespace Content.Server._NF.Stacks.Components;
/// <summary>
/// Denotes an item that starts with a random amount of material in its stack.
/// The material is uniformly picked from an inclusive minimum and maximum.
/// </summary>
[RegisterComponent]
public sealed partial class RandomStackCountComponent : Component
{
[DataField]
public int Min;
[DataField]
public int Max;
}