Files
crystall-punk-14/Content.Shared/Stunnable/StunbatonComponent.cs

19 lines
553 B
C#
Raw Permalink Normal View History

using Content.Shared.Stunnable;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
namespace Content.Server.Stunnable.Components;
[RegisterComponent, NetworkedComponent]
[AutoGenerateComponentState]
[Access(typeof(SharedStunbatonSystem))]
public sealed partial class StunbatonComponent : Component
{
[DataField("energyPerUse"), ViewVariables(VVAccess.ReadWrite)]
[AutoNetworkedField]
public float EnergyPerUse = 350;
[DataField("sparksSound")]
public SoundSpecifier SparksSound = new SoundCollectionSpecifier("sparks");
}