using Content.Shared.Clothing.Components;
using Content.Shared.Gravity;
using Content.Shared.Inventory;
namespace Content.Shared.Clothing.EntitySystems;
public sealed class AntiGravityClothingSystem : EntitySystem
{
///
public override void Initialize()
{
SubscribeLocalEvent>(OnIsWeightless);
}
private void OnIsWeightless(Entity ent, ref InventoryRelayedEvent args)
{
if (args.Args.Handled)
return;
args.Args.Handled = true;
args.Args.IsWeightless = true;
}
}