using Content.Server.DeltaV.Station.Systems;
using Content.Shared.DeltaV.Planet;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
namespace Content.Server.DeltaV.Station.Components;
///
/// Loads a planet map on mapinit and spawns a grid on it (e.g. a mining base).
/// The map can then be FTLd to by any shuttle matching its whitelist.
///
[RegisterComponent, Access(typeof(StationPlanetSpawnerSystem))]
public sealed partial class StationPlanetSpawnerComponent : Component
{
///
/// The planet to create.
///
[DataField(required: true)]
public ProtoId Planet;
///
/// Path to the grid to load onto the map.
///
[DataField(required: true)]
public ResPath? GridPath;
///
/// The map that was loaded.
///
[DataField]
public EntityUid? Map;
}