Files
crystall-punk-14/Content.Shared/_CP14/MagicEssence/CP14MagicEssenceCollecttorComponent.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
546 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared._CP14.MagicEssence;
/// <summary>
/// Reflects the amount of essence stored in this item. The item can be destroyed to release the essence from it.
/// </summary>
[RegisterComponent, NetworkedComponent]
[Access(typeof(CP14MagicEssenceSystem))]
public sealed partial class CP14MagicEssenceCollectorComponent : Component
{
[DataField]
public float CollectRange = 1f;
[DataField]
public float AttractRange = 5f;
[DataField]
public string Solution = "collector";
}