Files
tbd-station-14/Content.Server/Flash/Components/FlashOnTriggerComponent.cs
metalgearsloth ced39d4b2e Slight trigger refactor (#4320)
* Trigger tweaks

* Finish trigger refactor

* Clusterflash too
2021-07-25 12:09:08 +02:00

20 lines
543 B
C#

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.
/// </summary>
[RegisterComponent]
internal sealed class FlashOnTriggerComponent : Component
{
public override string Name => "FlashOnTrigger";
[DataField("range")] internal float Range = 1.0f;
[DataField("duration")] internal float Duration = 8.0f;
internal bool Flashed;
}
}