Files
wwdpublic/Content.Shared/Armor/AllowSuitStorageComponent.cs
Errant 820bbab25f suit storage whitelist code (#29332)
suit storage whitelist

(cherry picked from commit 9e4b8077f3295931556e7b1892f6b2ddcd9d7ab6)
2025-07-20 15:53:13 +10:00

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"}
};
}