Files

15 lines
407 B
C#
Raw Permalink Normal View History

namespace Content.Server.Xenoarchaeology.XenoArtifacts.Triggers.Components;
/// <summary>
/// Triggers when a nearby entity dies
/// </summary>
[RegisterComponent]
public sealed partial class ArtifactDeathTriggerComponent : Component
{
/// <summary>
/// How close to the death the artifact has to be for it to trigger.
/// </summary>
[DataField("range")]
public float Range = 15f;
}