mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-30 20:17:32 +03:00
* It begins * Delete error.txt * Patch by Debug * HIDING WINGS NOW WORKS * Runs smoother from Shared * Delete HarpyVisualsSystem.cs * The entire clientside script is no longer needed, and the visuals now work correctly. Helmetbug is gone. * Update HarpyVisualsSystem.cs * First completed Harpy Hardsuit * Captain and Atmos tech birdsuits * Update hardsuit-helmets.yml * And more content * Adding new finch tail <3 * whoops * guh * I swear the tail works now, I just need the adhd meds to kick in * birb juggsuit * More stuff * Nukie hardsuits * fixing clipping issues on birb juggsuit * Update meta.json * aaaaaaaaa * two more * Ton of extra harpy sprites * Create equipped-INNERCLOTHING-harpy.png * Harpy Ultravision trait TODO: Optional trait that disables it * Trait that removes Ultravision * Code optimizations * Adding hueshift maps to all harpy markings * No more jumpsuits * 1984 the harpy jumpsuits, they are no longer needed * last 2 * final QA pass * shennanigans related to an earlier merge conflict --------- Signed-off-by: VMSolidus <evilexecutive@gmail.com>
32 lines
907 B
C#
32 lines
907 B
C#
using Content.Shared.Abilities;
|
|
using Robust.Client.Graphics;
|
|
|
|
namespace Content.Client.DeltaV.Overlays;
|
|
|
|
public sealed partial class UltraVisionSystem : EntitySystem
|
|
{
|
|
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
|
|
|
private UltraVisionOverlay _overlay = default!;
|
|
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
|
|
SubscribeLocalEvent<UltraVisionComponent, ComponentInit>(OnUltraVisionInit);
|
|
SubscribeLocalEvent<UltraVisionComponent, ComponentShutdown>(OnUltraVisionShutdown);
|
|
|
|
_overlay = new();
|
|
}
|
|
|
|
private void OnUltraVisionInit(EntityUid uid, UltraVisionComponent component, ComponentInit args)
|
|
{
|
|
_overlayMan.AddOverlay(_overlay);
|
|
}
|
|
|
|
private void OnUltraVisionShutdown(EntityUid uid, UltraVisionComponent component, ComponentShutdown args)
|
|
{
|
|
_overlayMan.RemoveOverlay(_overlay);
|
|
}
|
|
}
|