* 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
15 lines
454 B
C#
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
|
|
}
|