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>
|
2025-03-19 14:30:31 -04:00
|
|
|
[Prototype]
|
2023-11-01 19:56:23 -07:00
|
|
|
public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
|
2023-08-01 22:10:48 +08:00
|
|
|
{
|
2025-02-23 23:21:59 -05:00
|
|
|
[IdDataField] public string ID { get; private set; } = default!;
|
2023-08-01 22:10:48 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// List of RandomFills that can be picked from.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField("fills", required: true)]
|
|
|
|
|
public List<RandomFillSolution> Fills = new();
|
|
|
|
|
}
|