Delta-v/Content.Shared/_DV/Light/BreakLightsOnSpawnComponent.cs

20 lines
493 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared._DV.Light;
[RegisterComponent, NetworkedComponent]
public sealed partial class BreakLightsOnSpawnComponent : Component
{
/// <summary>
/// The radius in which lights will be broken.
/// </summary>
[DataField]
public float Radius = 10f;
/// <summary>
/// If true, lights will only be broken if the entity has line of sight to them.
/// </summary>
[DataField]
public bool LineOfSight = false;
}