Disable interactions for entities in storage
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Content.Shared.GameObjects.EntitySystems;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.GameObjects.Components.Items.Storage
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class InEntityStorageComponent : Component, IActionBlocker
|
||||
{
|
||||
public override string Name => "InEntityStorage";
|
||||
|
||||
public bool CanInteract()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user