mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-19 22:49:01 +03:00
34 lines
786 B
C#
34 lines
786 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 List<ResPath> Maps = new()
|
|
{
|
|
new("/Maps/CentralCommand/main.yml"),
|
|
/// new("/Maps/CentralCommand/harmony.yml") WWDP edit, no more CentCom rotation
|
|
};
|
|
|
|
/// <summary>
|
|
/// Centcomm entity that was loaded.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityUid? Entity;
|
|
|
|
[DataField]
|
|
public EntityUid? MapEntity;
|
|
}
|