mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
suit storage whitelist (cherry picked from commit 9e4b8077f3295931556e7b1892f6b2ddcd9d7ab6)
20 lines
465 B
C#
20 lines
465 B
C#
using Content.Shared.Whitelist;
|
|
|
|
namespace Content.Shared.Armor;
|
|
|
|
/// <summary>
|
|
/// Used on outerclothing to allow use of suit storage
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class AllowSuitStorageComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Whitelist for what entities are allowed in the suit storage slot.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntityWhitelist Whitelist = new()
|
|
{
|
|
Components = new[] {"Item"}
|
|
};
|
|
}
|