2021-12-03 15:35:57 +01:00
|
|
|
|
using Robust.Shared.Console;
|
|
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.Decals;
|
|
|
|
|
|
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class ToggleDecalCommand : IConsoleCommand
|
2021-12-03 15:35:57 +01:00
|
|
|
|
{
|
|
|
|
|
|
public string Command => "toggledecals";
|
|
|
|
|
|
public string Description => "Toggles decaloverlay";
|
|
|
|
|
|
public string Help => $"{Command}";
|
|
|
|
|
|
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
|
|
|
|
{
|
|
|
|
|
|
EntitySystem.Get<DecalSystem>().ToggleOverlay();
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|