using Content.Shared.Ghost.Components;
using Robust.Shared.Audio;
namespace Content.Server.Ghost.Components;
///
/// Causes an entity to react to ghost player using the "Boo!" action by
/// extinguishing the entity.
///
///
///
[RegisterComponent]
public sealed partial class SpookyExtinguishableComponent : Component
{
///
/// The likelihood that a extinguishes this entity.
///
[DataField]
public float ExtinguishChance = 0.8f;
///
/// The intensity of this response.
///
///
/// Extinguishing a candle, for example, is less distracting than a flickering light, so the default is Subtle.
///
[DataField]
public GhostBooIntensity Intensity = GhostBooIntensity.Subtle;
///
/// An optional sound that should play when this is extinguished.
///
[DataField]
public SoundSpecifier? ExtinguishSound = new SoundPathSpecifier("/Audio/Effects/quick_exhale.ogg");
}