mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
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");
|
|
}
|