Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com> Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Co-authored-by: SnappingOpossum <snappingopossum@outlook.com> Co-authored-by: IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
16 lines
562 B
C#
16 lines
562 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;
|
|
}
|