Delta-v/Content.Shared/Weapons
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
..
Marker Replace obsolete EntityWhitelist IsValid usages (#28465) 2024-06-06 21:44:41 +02:00
Melee Decouple Lights from Toggleable Visuals (and headphone music notes bugfix) (#35341) 2025-08-06 22:06:58 +02:00
Misc Decouple Lights from Toggleable Visuals (and headphone music notes bugfix) (#35341) 2025-08-06 22:06:58 +02:00
Ranged Spray nozzle can suck puddles into tank directly! (#30600) 2025-08-05 16:49:19 +02:00
Reflect Minor ReflectionSystem refactor (#37039) 2025-05-18 15:54:11 +01:00