ruins (#23767)
* ruins * code-side * round-robin instead --------- Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -9,5 +9,23 @@ namespace Content.Server.Shuttles.Components;
|
||||
[RegisterComponent, Access(typeof(ShuttleSystem))]
|
||||
public sealed partial class GridSpawnComponent : Component
|
||||
{
|
||||
[DataField("paths", required: true)] public List<ResPath> Paths = new();
|
||||
/// <summary>
|
||||
/// Dictionary of groups where each group will have entries selected.
|
||||
/// String is just an identifier to make yaml easier.
|
||||
/// </summary>
|
||||
[DataField(required: true)] public Dictionary<string, GridSpawnGroup> Groups = new();
|
||||
}
|
||||
|
||||
[DataRecord]
|
||||
public record struct GridSpawnGroup
|
||||
{
|
||||
public List<ResPath> Paths = new();
|
||||
public int MinCount = 1;
|
||||
public int MaxCount = 1;
|
||||
|
||||
public GridSpawnGroup()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user