Many lighting tweaks (#4709)

This commit is contained in:
mirrorcult
2021-10-01 13:59:06 -07:00
committed by GitHub
parent f07bd6b005
commit 402cd9b56b
18 changed files with 207 additions and 13 deletions

View File

@@ -0,0 +1,18 @@
using Content.Server.Light.EntitySystems;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
namespace Content.Server.Light.Components
{
// TODO PoweredLight also snowflakes this behavior. Ideally, powered light is renamed to 'wall light' and the
// actual 'light on power' stuff is just handled by this component.
/// <summary>
/// Enables or disables a pointlight depending on the powered
/// state of an entity.
/// </summary>
[RegisterComponent, Friend(typeof(PoweredLightSystem))]
public class LitOnPoweredComponent : Component
{
public override string Name => "LitOnPowered";
}
}