Files
crystall-punk-14/Resources/Prototypes
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
..
2024-09-15 21:49:05 +02:00
2025-05-14 23:06:56 +02:00
2025-04-23 19:38:10 -07:00
2025-05-27 16:55:48 -07:00
2025-02-25 22:34:07 -07:00
2025-05-29 19:41:25 -04:00
2025-04-16 12:50:27 -07:00
2025-05-12 19:42:51 -04:00
2024-12-20 14:36:23 +03:00
2025-04-23 16:55:35 -07:00
2025-05-21 12:49:56 -07:00
2025-04-16 00:38:26 +02:00
2025-04-23 19:38:10 -07:00
2024-11-27 16:32:39 +11:00
2025-04-24 19:29:16 -07:00
2025-04-17 20:12:13 +10:00
…
…
2025-04-23 19:38:10 -07:00
2025-02-25 22:34:07 -07:00
2025-04-23 19:38:10 -07:00
2024-09-11 09:52:27 -04:00
2024-08-27 18:01:17 +02:00