Fix Centcomm (#16772)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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 class StationCentcommComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Crude shuttle offset spawning.
|
||||
/// </summary>
|
||||
[DataField("shuttleIndex")]
|
||||
public float ShuttleIndex;
|
||||
|
||||
[DataField("map")]
|
||||
public ResPath Map = new("/Maps/centcomm.yml");
|
||||
|
||||
/// <summary>
|
||||
/// Centcomm entity that was loaded.
|
||||
/// </summary>
|
||||
[DataField("entity")]
|
||||
public EntityUid Entity = EntityUid.Invalid;
|
||||
|
||||
public MapId MapId = MapId.Nullspace;
|
||||
}
|
||||
Reference in New Issue
Block a user