[feat]MeatyOre panel

This commit is contained in:
rhailrake
2023-04-28 06:07:50 +06:00
committed by Aviu00
parent c71ac26fdc
commit 4f6be99853
21 changed files with 2058 additions and 7 deletions

View File

@@ -23,6 +23,8 @@ using Content.Shared.Tag;
using Content.Shared.Timing;
using Content.Shared.Verbs;
using Content.Shared.Wall;
using Content.Shared.Weapons.Ranged.Components;
using Content.Shared.White.MeatyOre;
using JetBrains.Annotations;
using Robust.Shared.Containers;
using Robust.Shared.Input;
@@ -125,6 +127,11 @@ namespace Content.Shared.Interaction
return;
}
if (CompOrNull<IgnorBUIInteractionRangeComponent>(ev.Target) != null)
{
return;
}
if (!InRangeUnobstructed(user, ev.Target))
{
ev.Cancel();