using Robust.Shared.Audio; using Robust.Shared.GameStates; using Robust.Shared.Prototypes; namespace Content.Shared._DV.Psionics.Components.PsionicPowers; [RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause] public sealed partial class PsionicEruptionPowerComponent : BasePsionicPowerComponent { public override EntProtoId ActionProtoId { get; set; } = "ActionEruption"; public override string PowerName { get; set; } = "psionic-power-name-eruption"; public override int MinGlimmerChanged { get; set; } = -200; public override int MaxGlimmerChanged { get; set; } = -100; /// /// Minimum time for the Detonation DoAfter to take effect. /// Half of it is the time for every spark. /// [DataField] public TimeSpan MinDetonateDelay = TimeSpan.FromSeconds(10); /// /// Maximum time for the Detonation DoAfter to take effect. /// Half of it is the time for every spark. /// [DataField] public TimeSpan MaxDetonateDelay = TimeSpan.FromSeconds(30); /// /// The sound that appears when the action is pressed. /// [DataField] public SoundSpecifier SoundUse = new SoundPathSpecifier("/Audio/Nyanotrasen/Psionics/heartbeat_fast.ogg"); /// /// The timespan for the next annoy popup. This will be refreshed depending on the glimmer amount. /// [DataField, AutoPausedField] public TimeSpan NextAnnoy = TimeSpan.FromSeconds(5); /// /// The timespan for the next spark to appear. /// [DataField, AutoPausedField] public TimeSpan? NextSpark; }