Files
OldThink/Content.Shared/Flash/Components/FlashOnTriggerComponent.cs
ThereDrD0 9c4126d3a2 Всякие твики (#467)
* tomato juice no longer slippery

* flashbang rework

* add starting gear support for flashbang rework

* flash size and charges tweak

* night and thermal vision tweaks

* night vision is turned off by default

* some size tweaks

* cleanup

* sunglasses and hardsuits tweak
2024-07-20 05:08:01 +03:00

15 lines
454 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;
[DataField] public bool ForceStun; // WD
}