Files
wwdpublic/Content.Server/Shuttles/Components/StationCentcommComponent.cs
Gersoon 043624e28a VelikoFixVelikoFixaVelikoFixa (#738)
* VelikoFixHZChego

* VelikoFixVelikoFixaVelikoFixa

* +meta
2025-08-02 09:37:37 +03:00

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;
}