Files
Delta-v/Content.Shared/_DV/Light/BreakLightsOnSpawnComponent.cs
T
William Lemonandpre-commit-ci[bot] 01088086dc Adds Skia (σκιά, shade) as a Midround Antagonist (#4152)
* AAAAAAAAadds skia

* Added to the spawn options table

* Fix EOR, Added shatter ability, Fix Reroll popup

* Fixed the death of the Skia

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed taco's silly mistake

* Skia need pry-ability

* Adds Goob Nightvision

* Added some missing Protos

* Appease the Yaml gods

* Did the Delta Fixes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Lathes fix

* Update attributions.yml

* More yaml fixes

* The Yaml Linter shall never be sated

* More fixes

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed objective reroll

* Bring up to date

* aaaaaaaaaaa

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixed damageset, removed unneeded point light

* I'm so sorry Deltandas

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: William Lemon <William.Lemon2@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-01 08:46:23 +00:00

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;
}