[0.15.30] Lamp not taking correct color

Bugs that are actually features.
paole
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jul 21, 2017 11:54 am
Contact:

[0.15.30] Lamp not taking correct color

Post by paole »

version: 0.15.30

Following an inspiration from the Circuit Network Cookbook I have done this setup to provide multiple colors for a single lamp depending on the input value:
2017-07-21_14h10_59.png
2017-07-21_14h10_59.png (503.54 KiB) Viewed 1455 times
When I decrease the input "I" the color changes for blue, green, red and switching the lamp off are done correctly ... but for the value "2" the lamp stays green instead of switching to yellow.
lamp_doesnt_become_yellow.png
lamp_doesnt_become_yellow.png (1.45 MiB) Viewed 1455 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3677
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.15.30] Lamp not taking correct color

Post by Bilka »

NaB, as the cookbook says
The lamp will light up with the colored signal that is greater than zero and earliest in this list: Red, Green, Blue, Yellow, Pink, Cyan, White.
Green is before yellow, so the lamp lights up green no matter if yellow is present or not.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
paole
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jul 21, 2017 11:54 am
Contact:

Re: [0.15.30] Lamp not taking correct color

Post by paole »

Bilka wrote:NaB, as the cookbook says
The lamp will light up with the colored signal that is greater than zero and earliest in this list: Red, Green, Blue, Yellow, Pink, Cyan, White.
Green is before yellow, so the lamp lights up green no matter if yellow is present or not.
So the colors list is fixed and doesn't follow the order of the Constant Combinator? Because thats what I thought seeing the image in the cookbook...

I'd like to change this post to a feature request. :lol:
Coloring lamps should follow the signal value / conditional.
Post Reply

Return to “Not a bug”