Mag gloves (#147)
* created yml * +mechanics * textures * full implementation of magnetic gloves without lathe crafts and researches * finale * meeerge * Fixed
This commit is contained in:
31
Content.Shared/_White/MagGloves/MagneticGlovesComponent.cs
Normal file
31
Content.Shared/_White/MagGloves/MagneticGlovesComponent.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared._White.MagGloves;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for...
|
||||
/// </summary>
|
||||
[RegisterComponent, AutoGenerateComponentState]
|
||||
public sealed partial class MagneticGlovesComponent : Component
|
||||
{
|
||||
[ViewVariables]
|
||||
public bool Enabled { get; set; } = false;
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
public EntityUid? ToggleActionEntity;
|
||||
|
||||
[DataField("action")]
|
||||
public EntProtoId ToggleAction = "ActionToggleMagneticGloves";
|
||||
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
public TimeSpan GlovesReadyAt = TimeSpan.Zero;
|
||||
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
public TimeSpan GlovesLastActivation = TimeSpan.Zero;
|
||||
|
||||
[DataField("glovesCooldown")]
|
||||
public TimeSpan GlovesCooldown = TimeSpan.FromSeconds(60);
|
||||
|
||||
[DataField("glovesActiveTime")]
|
||||
public TimeSpan GlovesActiveTime = TimeSpan.FromSeconds(60);
|
||||
}
|
||||
Reference in New Issue
Block a user