Files
wwdpublic/Content.Shared/Random/WeightedRandomFillSolutionPrototype.cs
Tayrtahn 7f3b436dc1 Fix prototypes so they pass analyzer checks (#35435)
(cherry picked from commit 6f925dd61083a3fd377e5d12549ac908985e855f)
2025-09-27 13:54:06 +03:00

19 lines
558 B
C#

using Robust.Shared.Prototypes;
namespace Content.Shared.Random;
/// <summary>
/// Random weighting dataset for solutions, able to specify reagents quantity.
/// </summary>
[Prototype("weightedRandomFillSolution")]
public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
{
[IdDataField] public string ID { get; private set; } = default!;
/// <summary>
/// List of RandomFills that can be picked from.
/// </summary>
[DataField("fills", required: true)]
public List<RandomFillSolution> Fills = new();
}