mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
18 lines
694 B
C#
18 lines
694 B
C#
using Content.Client.Shuttles.Systems;
|
|
using Robust.Shared.Console;
|
|
|
|
namespace Content.Client.Shuttles.Commands;
|
|
|
|
public sealed class ShowEmergencyShuttleCommand : IConsoleCommand
|
|
{
|
|
public string Command => "showemergencyshuttle";
|
|
public string Description => "Shows the expected position of the emergency shuttle";
|
|
public string Help => $"{Command}";
|
|
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
var tstalker = IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<ShuttleSystem>();
|
|
tstalker.EnableShuttlePosition ^= true;
|
|
shell.WriteLine($"Set emergency shuttle debug to {tstalker.EnableShuttlePosition}");
|
|
}
|
|
}
|