2022-11-06 18:05:44 -05:00
|
|
|
|
namespace Content.Server.Xenoarchaeology.XenoArtifacts.Effects.Components;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Flickers all the lights within a certain radius.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class LightFlickerArtifactComponent : Component
|
2022-11-06 18:05:44 -05:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Lights within this radius will be flickered on activation
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("radius")]
|
|
|
|
|
|
public float Radius = 4;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The chance that the light will flicker
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("flickerChance")]
|
|
|
|
|
|
public float FlickerChance = 0.75f;
|
|
|
|
|
|
}
|