2022-09-06 00:28:23 +10:00
|
|
|
using Content.Client.NPC.HTN;
|
|
|
|
|
using Robust.Shared.Console;
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.NPC;
|
|
|
|
|
|
2025-06-17 14:08:12 -04:00
|
|
|
public sealed class ShowHtnCommand : LocalizedEntityCommands
|
2022-09-06 00:28:23 +10:00
|
|
|
{
|
2025-06-17 14:08:12 -04:00
|
|
|
[Dependency] private readonly HTNSystem _htnSystem = default!;
|
|
|
|
|
|
|
|
|
|
public override string Command => "showhtn";
|
|
|
|
|
|
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
2022-09-06 00:28:23 +10:00
|
|
|
{
|
2025-06-17 14:08:12 -04:00
|
|
|
_htnSystem.EnableOverlay ^= true;
|
2022-09-06 00:28:23 +10:00
|
|
|
}
|
|
|
|
|
}
|