Delta-v/Content.Shared/Light/Components
Centronias 9053c9692f
Decouple Lights from Toggleable Visuals (and headphone music notes bugfix) (#35341)
* - Combine enum keys `ToggleableLightVisuals` and `ToggleVisuals` into `ToggleableVisuals`
- Rename `ToggleableLightVisualsComponent` to `ToggleableVisualsComponent` and `ToggleableLightVisualsSystem` to `ToggleableVisualsSystem`
  - (The `SpriteLayer` field on the component is now required because the old default of `light` doesn't make sense anymore)
- Make it so that `ToggleableVisualsComponent` works even when there's not a light attached to the entity
  - (Amazingly this seems to have only applied to  Headphones, but I can only imagine there are many other things people would like to do with simple toggleable visuals)
- Explicitly make `ItemTogglePointLightComponent`'s purpose to make `ToggleVisualsComponent` apply to `PointLightComponent`s on the same entity.
  - Add field `ToggleableVisualsColorModulatesLights`, which makes the `Color` appearance value of `ToggleableVisuals` modulate the color of lights on the same entity
  - Lots of prototype updates to uptake the above

* fix bad merge

* unbork robust

* blindly letting rider reformat stuff

* I guess I never cleaned up these imports at all
2025-05-30 19:53:56 -04:00
..
HandheldLightComponent.cs fix borgs not being able to toggle flashlight (#20448) 2023-10-04 10:30:11 -04:00
ImplicitRoofComponent.cs Add ImplicitRoofComponent (#36112) 2025-05-18 17:47:35 +10:00
IsRoofComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00
ItemTogglePointLightComponent.cs Decouple Lights from Toggleable Visuals (and headphone music notes bugfix) (#35341) 2025-05-30 19:53:56 -04:00
LightBulbComponent.cs Explosion SFX juicing + higher persistence (#22544) 2023-12-16 03:57:46 +11:00
LightCycleComponent.cs Add planet lighting (#32522) 2025-02-16 19:35:32 +11:00
LightOnCollideColliderComponent.cs Station AI (#30944) 2024-08-28 10:57:12 +10:00
LightOnCollideComponent.cs Station AI (#30944) 2024-08-28 10:57:12 +10:00
LightReplacerComponent.cs Fix clientside storage Whitelists (#24063) 2024-02-02 00:33:57 +11:00
RgbLightControllerComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
RoofComponent.cs Roof data rework (#35388) 2025-02-23 18:23:00 +11:00
RotatingLightComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SharedEmergencyLightComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SharedExpendableLightComponent.cs Added the ability to refuel torches (and other expendable lights) (#36209) 2025-04-17 21:59:41 -04:00
SharedLightBehaviourComponent.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SlimPoweredLightComponent.cs Power stuff (#31314) 2024-08-25 22:18:42 +10:00
SunShadowCastComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00
SunShadowComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00
SunShadowCycleComponent.cs Add sun shadows (planet lighting stage 2) (#35145) 2025-03-08 16:07:42 +11:00
TileEmissionComponent.cs Add planet lighting (#32522) 2025-02-16 19:35:32 +11:00
UnpoweredFlashlightComponent.cs Move UnpoweredFlashlight to shared (#27449) 2024-04-29 13:22:11 +10:00