using Content.Server.Shuttles.Systems;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
namespace Content.Server.Shuttles.Components;
///
/// Similar to except spawns the grid near to the station.
///
[RegisterComponent, Access(typeof(ShuttleSystem))]
public sealed partial class GridSpawnComponent : Component
{
///
/// Dictionary of groups where each group will have entries selected.
/// String is just an identifier to make yaml easier.
///
[DataField(required: true)] public Dictionary Groups = new();
}
[DataRecord]
public record struct GridSpawnGroup
{
public List Paths = new();
public int MinCount = 1;
public int MaxCount = 1;
///
/// Components to be added to any spawned grids.
///
public ComponentRegistry AddComponents = new();
///
/// Hide the IFF label of the grid.
///
public bool Hide = false;
///
/// Should we set the metadata name of a grid. Useful for admin purposes.
///
public bool NameGrid = false;
///
/// Should we add this to the station's grids (if possible / relevant).
///
public bool StationGrid = true;
public GridSpawnGroup()
{
}
}