19 lines
542 B
C#
19 lines
542 B
C#
using Content.Shared.Stunnable;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Stunnable;
|
|
|
|
[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");
|
|
}
|