using Content.Server.DeviceLinking.Systems;
using Robust.Shared.Audio;
namespace Content.Server.DeviceLinking.Components.Overload;
///
/// Plays a sound when a device link overloads.
/// An overload happens when a device link sink is invoked to many times per tick
/// and it raises a
///
[RegisterComponent]
[Access(typeof(DeviceLinkOverloadSystem))]
public sealed partial class SoundOnOverloadComponent : Component
{
///
/// Sound to play when the device overloads
///
[DataField("sound")]
public SoundSpecifier? OverloadSound = new SoundPathSpecifier("/Audio/Items/Defib/defib_zap.ogg");
///
/// Modifies the volume the sound is played at
///
[DataField("volumeModifier")]
public float VolumeModifier;
}