mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
16 lines
559 B
C#
16 lines
559 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Trigger.Components.Effects;
|
|
|
|
/// <summary>
|
|
/// Plays a light behavior on the target when this trigger is activated, of note is that the entity needs a PointLightComponent
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class LightBehaviorOnTriggerComponent : BaseXOnTriggerComponent
|
|
{
|
|
/// <summary>
|
|
/// The light behavior we're triggering.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public string Behavior = string.Empty;
|
|
}
|