Files
OldThink/Content.Server/Flash/Components/FlashOnTriggerComponent.cs

16 lines
453 B
C#
Raw Normal View History

2021-07-21 19:20:13 +10:00
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Flash.Components
{
/// <summary>
/// Upon being triggered will flash in an area around it.
2021-07-21 19:20:13 +10:00
/// </summary>
[RegisterComponent]
internal sealed class FlashOnTriggerComponent : Component
2021-07-21 19:20:13 +10:00
{
[DataField("range")] internal float Range = 1.0f;
[DataField("duration")] internal float Duration = 8.0f;
}
}