AllowSuitStorageComponent.cs 465 B

12345678910111213141516171819
  1. using Content.Shared.Whitelist;
  2. namespace Content.Shared.Armor;
  3. /// <summary>
  4. /// Used on outerclothing to allow use of suit storage
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class AllowSuitStorageComponent : Component
  8. {
  9. /// <summary>
  10. /// Whitelist for what entities are allowed in the suit storage slot.
  11. /// </summary>
  12. [DataField]
  13. public EntityWhitelist Whitelist = new()
  14. {
  15. Components = new[] {"Item"}
  16. };
  17. }