WeightedRandomFillSolutionPrototype.cs 528 B

123456789101112131415161718
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Random;
  3. /// <summary>
  4. /// Random weighting dataset for solutions, able to specify reagents quantity.
  5. /// </summary>
  6. [Prototype]
  7. public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
  8. {
  9. [IdDataField] public string ID { get; private set; } = default!;
  10. /// <summary>
  11. /// List of RandomFills that can be picked from.
  12. /// </summary>
  13. [DataField("fills", required: true)]
  14. public List<RandomFillSolution> Fills = new();
  15. }