From b07cf6b1f9ddbb99f113d99ccf303c7c97e5134c Mon Sep 17 00:00:00 2001 From: Coryler Date: Mon, 10 Aug 2026 13:01:28 +0200 Subject: [PATCH] Untouch Harpy Visuals --- .../_DV/Harpy/HarpyVisualsSystem.cs | 25 ++++++------------- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/Content.Shared/_DV/Harpy/HarpyVisualsSystem.cs b/Content.Shared/_DV/Harpy/HarpyVisualsSystem.cs index dc953ab702c..3de16d5d00e 100644 --- a/Content.Shared/_DV/Harpy/HarpyVisualsSystem.cs +++ b/Content.Shared/_DV/Harpy/HarpyVisualsSystem.cs @@ -1,4 +1,3 @@ -using Content.Shared.Body; using Content.Shared.Inventory.Events; using Content.Shared.Tag; using Content.Shared.Humanoid; @@ -9,6 +8,7 @@ namespace Content.Shared._DV.Harpy; public sealed class HarpyVisualsSystem : EntitySystem { [Dependency] private readonly TagSystem _tagSystem = default!; + [Dependency] private readonly SharedAppearanceSystem _appearanceSystem = default!; private readonly ProtoId HarpyWingsTag = "HidesHarpyWings"; @@ -16,22 +16,16 @@ public sealed class HarpyVisualsSystem : EntitySystem { base.Initialize(); - // Delta V - Commented out since the layer system works differently. - // SubscribeLocalEvent(OnDidEquipEvent); - // SubscribeLocalEvent(OnDidUnequipEvent); + SubscribeLocalEvent(OnDidEquipEvent); + SubscribeLocalEvent(OnDidUnequipEvent); } private void OnDidEquipEvent(EntityUid uid, HarpySingerComponent component, DidEquipEvent args) { if (args.Slot == "outerClothing" && _tagSystem.HasTag(args.Equipment, HarpyWingsTag)) { - // Delta V - Begin make this system work with Nubody - var evWing = new HumanoidLayerVisibilityChangedEvent(HumanoidVisualLayers.RArmExtension, false); - var evTail = new HumanoidLayerVisibilityChangedEvent(HumanoidVisualLayers.Tail, false); - - RaiseLocalEvent(uid, ref evWing); - RaiseLocalEvent(uid, ref evTail); - // Delta V - End + _appearanceSystem.SetData(uid, HumanoidVisualLayers.RArmExtension, false); // Frontier: RArm