Delta-v/Content.Server/Shuttles/Components/StationCentcommComponent.cs

30 lines
667 B
C#

using Robust.Shared.Map;
using Robust.Shared.Utility;
namespace Content.Server.Shuttles.Components;
/// <summary>
/// Spawns Central Command (emergency destination) for a station.
/// </summary>
[RegisterComponent]
public sealed partial class StationCentcommComponent : Component
{
/// <summary>
/// Crude shuttle offset spawning.
/// </summary>
[DataField]
public float ShuttleIndex;
[DataField]
public ResPath Map = new("/Maps/_DV/midpoint.yml"); // DeltaV
/// <summary>
/// Centcomm entity that was loaded.
/// </summary>
[DataField]
public EntityUid? Entity;
[DataField]
public EntityUid? MapEntity;
}