Files
Delta-v/Content.Shared/_DV/Augments/SharedAugmentToolPanelSystem.cs
T
pathetic meowmeowandLyndomen a40f0be6fd Set up surgical augments infrastructure & add tool panel augments (#3059)
* Set up _Shitmed groundwork for organ slot manipulation

* Groundwork for surgical augments

* Add tool panel augments

* sprite gaming

* code review gaming

* i think the textures got swapped

* localization gaming

* surgery localization gaming

* crafting gaming

* fix tests

* fix tests actually

* now we deal with ouroboros

* she feed on my back til i

* relocation

* nuke felinid

* augment fixes

* event-based battery search

* descriptionned

---------

Co-authored-by: Lyndomen <49795619+Lyndomen@users.noreply.github.com>
2025-03-16 21:18:53 +00:00

20 lines
527 B
C#

using Content.Shared.Hands;
using Robust.Shared.Containers;
namespace Content.Shared._DV.Augments;
public sealed class SharedAugmentToolPanelSystem : EntitySystem
{
public override void Initialize()
{
base.Initialize();
SubscribeLocalEvent<AugmentToolPanelActiveItemComponent, ContainerGettingRemovedAttemptEvent>(OnDropAttempt);
}
private void OnDropAttempt(Entity<AugmentToolPanelActiveItemComponent> ent, ref ContainerGettingRemovedAttemptEvent args)
{
args.Cancel();
}
}