MagbootsComponent.cs 698 B

12345678910111213141516171819202122232425
  1. using Content.Shared.Alert;
  2. using Robust.Shared.GameStates;
  3. using Robust.Shared.Prototypes;
  4. namespace Content.Shared.Clothing;
  5. [RegisterComponent, NetworkedComponent]
  6. [Access(typeof(SharedMagbootsSystem))]
  7. public sealed partial class MagbootsComponent : Component
  8. {
  9. [DataField]
  10. public ProtoId<AlertPrototype> MagbootsAlert = "Magboots";
  11. /// <summary>
  12. /// If true, the user must be standing on a grid or planet map to experience the weightlessness-canceling effect
  13. /// </summary>
  14. [DataField]
  15. public bool RequiresGrid = true;
  16. /// <summary>
  17. /// Slot the clothing has to be worn in to work.
  18. /// </summary>
  19. [DataField]
  20. public string Slot = "shoes";
  21. }