* Namespace adjustments for days * pod * thanks rider * Fix the oop launch * Fixes * Fix stuff * eeeeeeeee * Fix * access * map * forgor * thing * Genericise escape pod fill
25 lines
822 B
C#
25 lines
822 B
C#
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)]
|
|
public sealed class LaunchEmergencyShuttleCommand : IConsoleCommand
|
|
{
|
|
[Dependency] private readonly IEntitySystemManager _sysManager = default!;
|
|
|
|
public string Command => "launchemergencyshuttle";
|
|
public string Description => Loc.GetString("emergency-shuttle-command-launch-desc");
|
|
public string Help => $"{Command}";
|
|
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
var system = _sysManager.GetEntitySystem<EmergencyShuttleSystem>();
|
|
system.EarlyLaunch();
|
|
}
|
|
}
|