23 lines
601 B
C#
23 lines
601 B
C#
using Content.Shared.Destructible.Thresholds;
|
|
|
|
namespace Content.Server.Xenoarchaeology.Artifact.XAE.Components;
|
|
|
|
/// <summary>
|
|
/// Artifact that ignites surrounding entities when triggered.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(XAEIgniteSystem))]
|
|
public sealed partial class XAEIgniteComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Range, inside which all entities going be set on fire.
|
|
/// </summary>
|
|
[DataField]
|
|
public float Range = 2f;
|
|
|
|
/// <summary>
|
|
/// Amount of fire stacks to apply
|
|
/// </summary>
|
|
[DataField]
|
|
public MinMax FireStack = new(2, 5);
|
|
}
|