Files
tbd-station-14/Content.Shared/Flash/Components/FlashOnTriggerComponent.cs
Ed 5659edd207 Chances of triggering effects (#27056)
* electrocution

* slippery

* flashibg

* Update SlipperyComponent.cs

* Update SlipperySystem.cs
2024-04-18 10:08:42 +10:00

14 lines
409 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 float Duration = 8.0f;
[DataField] public float Probability = 1.0f;
}