Add Spaceshrooms (#17092)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
18
Content.Shared/Random/WeightedRandomFillSolutionPrototype.cs
Normal file
18
Content.Shared/Random/WeightedRandomFillSolutionPrototype.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Random;
|
||||
|
||||
/// <summary>
|
||||
/// Random weighting dataset for solutions, able to specify reagents quantity.
|
||||
/// </summary>
|
||||
[Prototype("weightedRandomFillSolution")]
|
||||
public sealed class WeightedRandomFillSolutionPrototype : IPrototype
|
||||
{
|
||||
[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();
|
||||
}
|
||||
Reference in New Issue
Block a user