make admin interacts with storages silent (#35417)
* make admin interacts with storages silent * review * silent insert and transfer * i love code --------- Co-authored-by: ScarKy0 <scarky0@onet.eu>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Content.Shared.Item;
|
||||
using Content.Shared.Storage.EntitySystems;
|
||||
using Content.Shared.Tag;
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Containers;
|
||||
@@ -141,6 +142,12 @@ namespace Content.Shared.Storage
|
||||
[DataField]
|
||||
public bool HideStackVisualsWhenClosed = true;
|
||||
|
||||
/// <summary>
|
||||
/// Entities with this tag won't trigger storage sound.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public ProtoId<TagPrototype> SilentStorageUserTag = "SilentStorageUser";
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum StorageUiKey : byte
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user