2023-08-01 22:10:48 +08:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Random;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Random weighting dataset for solutions, able to specify reagents quantity.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Prototype("weightedRandomFillSolution")]
|
2023-11-01 19:56:23 -07:00
|
|
|
public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
|
2023-08-01 22:10:48 +08:00
|
|
|
{
|
|
|
|
|
[IdDataField] public string ID { get; } = default!;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// List of RandomFills that can be picked from.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("fills", required: true)]
|
|
|
|
|
public List<RandomFillSolution> Fills = new();
|
|
|
|
|
}
|