Page 1 of 1

Expanded logic handling for lamp colors

Posted: Sat Feb 08, 2025 3:14 pm
by Tesse11ation
TL;DR
The new display panels allow a list of up to 100 conditions to change their display, so lamps should allow a list to change their color too!
What?
I think everyone can agree that lamps are great - whether you're lighting up your factory, or futzing around with the circuit network and want to display things at a glance. 2.0 has added a wealth of great options to control lamps in new and exciting ways. HOWEVER, I think they could be improved in a small, but very meaningful way.

Has this ever happened to you?
fig. A: Basic power meter setup that requires 4(!) decider combinators.
fig. A: Basic power meter setup that requires 4(!) decider combinators.
02-07-2025, 18-46-39.png (269.91 KiB) Viewed 390 times
As anyone who uses colored lamps knows, any time you want to change its color via the circuit network, you need a separate combinator per color, especially if you're doing the classic color mapping mode. This obviously increases the footprint of any meaningful design where you're changing colors with lamps. So, how can we improve this? It's fairly simple - update the GUI so lamps can list conditions to change colors under their own power.

An elegant solution:
fig. B: The new display panel with a list of conditions!
fig. B: The new display panel with a list of conditions!
02-07-2025, 18-48-25.png (41.37 KiB) Viewed 390 times
It makes perfect sense!
Why?
Although I think it goes without saying, when it comes to combinators in the circuit network, less is more. Lamps handling their own color logic would be a great improvement to the game, since it would save on design footprint. So, what do you say? :)

Re: Expanded logic handling for lamp colors

Posted: Sat Feb 08, 2025 5:55 pm
by Muche
This contraption won't save you the number of used combinators in case of 4 or less indicated signal levels, but for 5 or more it will.
126688-SignalValueLevelsIndicator.jpg
126688-SignalValueLevelsIndicator.jpg (63.07 KiB) Viewed 348 times
(To change the demonstration between manual (signal A) and automatic (signal T) reconfigure the "Levels filtering" decider.)

Re: Expanded logic handling for lamp colors

Posted: Sun Feb 09, 2025 2:49 pm
by Hares

Re: Expanded logic handling for lamp colors

Posted: Sun Feb 09, 2025 2:51 pm
by Hares
-1 on that; instead, this should be a separate entity - i.e., mode of operation in Selector comb, or output of display panel, etc.