Lamps don't consider white/grey/black a color

Bugs that are actually features.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Lamps don't consider white/grey/black a color

Post by mrvn »

The "Use colors" option of lamps ignores white, grey and black as color signals.
black-lamp-bug.png
black-lamp-bug.png (258.13 KiB) Viewed 1450 times
I expected the top lamp to be black and the bottom lamp to be white because 10 > 1.
Loewchen
Global Moderator
Global Moderator
Posts: 10368
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Lamps don't consider white/grey/black a color

Post by Loewchen »

That is just not how they work, higher values do not give precedence to colors and grey and black are just not viable.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Lamps don't consider white/grey/black a color

Post by mrvn »

Loewchen wrote: Wed Sep 15, 2021 3:11 pm That is just not how they work, higher values do not give precedence to colors and grey and black are just not viable.
Ok, so using the higher count could be an Idea&Suggestion.

Why isn't grey and black viable? It's just another RGB value. In viewtopic.php?f=7&t=99956 there is a black lamp due to integer overflow bugs. Looks fine to me.
quale
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Thu Aug 15, 2019 4:16 pm
Contact:

Re: Lamps don't consider white/grey/black a color

Post by quale »

I took this opportunity to learn to mod. It doesn’t make physical sense, but it works. It also adds even more shades to be used with that bug. :lol:

I should add that the game already recognizes white. It just doesn’t do much because it had the lowest priority, and if no color is specified you get white anyway.
Attachments
black-lamp.zip
(789 Bytes) Downloaded 147 times
Post Reply

Return to “Not a bug”