2022-06-26 15:20:45 +10:00
|
|
|
using Content.Server.Administration;
|
|
|
|
|
using Content.Server.Shuttles.Systems;
|
|
|
|
|
using Content.Shared.Administration;
|
|
|
|
|
using Robust.Shared.Console;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Shuttles.Commands;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Early launches in the emergency shuttle.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[AdminCommand(AdminFlags.Fun)]
|
2025-06-23 17:25:35 -04:00
|
|
|
public sealed class LaunchEmergencyShuttleCommand : LocalizedEntityCommands
|
2022-06-26 15:20:45 +10:00
|
|
|
{
|
2025-06-23 17:25:35 -04:00
|
|
|
[Dependency] private readonly EmergencyShuttleSystem _shuttleSystem = default!;
|
2023-03-24 12:54:41 +11:00
|
|
|
|
2025-06-23 17:25:35 -04:00
|
|
|
public override string Command => "launchemergencyshuttle";
|
|
|
|
|
|
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
2022-06-26 15:20:45 +10:00
|
|
|
{
|
2025-06-23 17:25:35 -04:00
|
|
|
_shuttleSystem.EarlyLaunch();
|
2022-06-26 15:20:45 +10:00
|
|
|
}
|
|
|
|
|
}
|