Files
wwdpublic/Content.Server/Shuttles/Components/StationCentcommComponent.cs
Gersoon b785d17562 Map update and fix (#1010)
* base

* +battleships

* finish

* 1

* Apply suggestions from code review

---------

Co-authored-by: Spatison <137375981+Spatison@users.noreply.github.com>
2026-01-09 00:50:23 +03:00

35 lines
889 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"), WWDP edit, and now we have GREAT HUB
/// new("/Maps/CentralCommand/harmony.yml") WWDP edit, no more CentCom rotation
new("/Maps/_White/CentralCommand/hub.yml"), // WD EDIT
};
/// <summary>
/// Centcomm entity that was loaded.
/// </summary>
[DataField]
public EntityUid? Entity;
[DataField]
public EntityUid? MapEntity;
}