Files
tbd-station-14/Content.Shared/Flash/Components/FlashOnTriggerComponent.cs
slarticodefast b83d00b792 Predict Flashes (#37640)
Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-06-23 13:32:56 +02:00

19 lines
445 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Flash.Components;
/// <summary>
/// Upon being triggered will flash in an area around it.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class FlashOnTriggerComponent : Component
{
[DataField]
public float Range = 1.0f;
[DataField]
public TimeSpan Duration = TimeSpan.FromSeconds(8);
[DataField]
public float Probability = 1.0f;
}