Delta-v/Content.Shared/Light
Centronias 697879a0ee 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-08-06 22:06:58 +02:00
..
Components Decouple Lights from Toggleable Visuals (and headphone music notes bugfix) (#35341) 2025-08-06 22:06:58 +02:00
EntitySystems Decouple Lights from Toggleable Visuals (and headphone music notes bugfix) (#35341) 2025-08-06 22:06:58 +02:00
LightToggleEvent.cs Move UnpoweredFlashlight to shared (#27449) 2024-05-07 02:04:57 +02:00
PoweredLightDoAfterEvent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
SharedEmergencyLightSystem.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SharedHandheldLightSystem.cs Decouple Lights from Toggleable Visuals (and headphone music notes bugfix) (#35341) 2025-08-06 22:06:58 +02:00
SharedPoweredLightVisuals.cs Glowy lights - light fixtures now actually glow (#23428) 2024-01-26 21:27:53 +01:00
SharedRgbLightControllerSystem.cs Code cleanup: Dirty(Comp) (#26238) 2024-03-24 00:04:13 +01:00
SharedRotatingLightSystem.cs light refactoring/rework (#19314) 2023-09-03 22:31:10 -07:00
SharedUnpoweredFlashlightVisuals.cs Cleanup the namespaces (#8132) 2022-05-13 17:59:03 +10:00