Files
crystall-punk-14/Content.Shared/_CP14/MagicEssence/CP14MagicEssenceComponent.cs
Ed 3fd47443ae Essence collector (#952)
* collector attract essence

* collector

* Update magic-essence.yml

* Update essence_collelctor.yml
2025-02-28 15:55:47 +03:00

21 lines
517 B
C#

using Robust.Shared.Audio;
using Robust.Shared.GameStates;
namespace Content.Shared._CP14.MagicEssence;
/// <summary>
///
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class CP14MagicEssenceComponent : Component
{
[DataField]
public string Solution = "essence";
[DataField]
public SoundSpecifier ConsumeSound = new SoundPathSpecifier("/Audio/_CP14/Effects/essence_consume.ogg")
{
Params = AudioParams.Default.WithVolume(-2f).WithVariation(0.2f),
};
}