Gateway destinations (#21040)
* Gateway generation * Gateway stuff * gatewehs * mercenaries * play area * Range fixes and tweaks * weh * Gateway UI polish * Lots of fixes * Knock some items off * Fix dungeon spawning Realistically we should probably be using a salvage job. * wahwah * wehvs * expression * weh * eee * a * a * WEH * frfr * Gatwey * Fix gateway windows * Fix gateway windows * a * a * Better layer masking * a * a * Noise fixes * a * Fix fractal calculations * a * More fixes * Fixes * Add layers back in * Fixes * namespaces and ftl * Other TODO * Fix distance * Cleanup * Fix test
This commit is contained in:
22
Content.Client/Parallax/Commands/ShowBiomeCommand.cs
Normal file
22
Content.Client/Parallax/Commands/ShowBiomeCommand.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Shared.Console;
|
||||
|
||||
namespace Content.Client.Parallax.Commands;
|
||||
|
||||
public sealed class ShowBiomeCommand : LocalizedCommands
|
||||
{
|
||||
[Dependency] private readonly IOverlayManager _overlayMgr = default!;
|
||||
|
||||
public override string Command => "showbiome";
|
||||
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
||||
{
|
||||
if (_overlayMgr.HasOverlay<BiomeDebugOverlay>())
|
||||
{
|
||||
_overlayMgr.RemoveOverlay<BiomeDebugOverlay>();
|
||||
}
|
||||
else
|
||||
{
|
||||
_overlayMgr.AddOverlay(new BiomeDebugOverlay());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user