26 lines
698 B
C#
26 lines
698 B
C#
using Content.Shared.Alert;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Clothing;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
[Access(typeof(SharedMagbootsSystem))]
|
|
public sealed partial class MagbootsComponent : Component
|
|
{
|
|
[DataField]
|
|
public ProtoId<AlertPrototype> MagbootsAlert = "Magboots";
|
|
|
|
/// <summary>
|
|
/// If true, the user must be standing on a grid or planet map to experience the weightlessness-canceling effect
|
|
/// </summary>
|
|
[DataField]
|
|
public bool RequiresGrid = true;
|
|
|
|
/// <summary>
|
|
/// Slot the clothing has to be worn in to work.
|
|
/// </summary>
|
|
[DataField]
|
|
public string Slot = "shoes";
|
|
}
|