* collector attract essence * collector * Update magic-essence.yml * Update essence_collelctor.yml
21 lines
546 B
C#
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";
|
|
}
|