Files
tbd-station-14/Content.Server/Nuke/Commands/SendNukeCodesCommand.cs
2022-02-16 18:23:23 +11:00

23 lines
681 B
C#

using Content.Server.Administration;
using Content.Shared.Administration;
using JetBrains.Annotations;
using Robust.Shared.Console;
using Robust.Shared.GameObjects;
namespace Content.Server.Nuke.Commands
{
[UsedImplicitly]
[AdminCommand(AdminFlags.Fun)]
public sealed class SendNukeCodesCommand : IConsoleCommand
{
public string Command => "nukecodes";
public string Description => "Send nuke codes to the communication console";
public string Help => "nukecodes";
public void Execute(IConsoleShell shell, string argStr, string[] args)
{
EntitySystem.Get<NukeCodeSystem>().SendNukeCodes();
}
}
}