Add Spaceshrooms (#17092)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
forthbridge
2023-08-01 22:10:48 +08:00
committed by GitHub
parent 474b29cc16
commit 5fc7f21853
18 changed files with 369 additions and 54 deletions

View 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();
}