using Robust.Shared.Console; namespace Content.Client.Audio; public sealed class AmbientOverlayCommand : IConsoleCommand { public string Command => "showambient"; public string Description => "Shows all AmbientSoundComponents in the viewport"; public string Help => $"{Command}"; public void Execute(IConsoleShell shell, string argStr, string[] args) { var system = IoCManager.Resolve().GetEntitySystem(); system.OverlayEnabled ^= true; shell.WriteLine($"Ambient sound overlay set to {system.OverlayEnabled}"); } }