using Content.Shared.Database;
using Robust.Shared.Audio;
using Robust.Shared.Prototypes;
namespace Content.Shared.EntityEffects.Effects.Solution;
///
public sealed partial class AreaReactionEffect : EntityEffectBase
{
///
/// How many seconds will the effect stay, counting after fully spreading.
///
[DataField("duration")] public float Duration = 10;
///
/// How big of a reaction scale we need for 1 smoke entity.
///
[DataField] public float OverflowThreshold = 2.5f;
///
/// The entity prototype that is being spread over an area.
///
[DataField(required: true)]
public EntProtoId PrototypeId;
///
/// Sound that will get played when this reaction effect occurs.
///
[DataField(required: true)] public SoundSpecifier Sound = default!;
public override string EntityEffectGuidebookText(IPrototypeManager prototype, IEntitySystemManager entSys)
=> Loc.GetString("entity-effect-guidebook-area-reaction",
("duration", Duration)
);
public override LogImpact? Impact => LogImpact.High;
}