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:
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.
[0.15.30] Lamp not taking correct color
Re: [0.15.30] Lamp not taking correct color
NaB, as the cookbook says
Green is before yellow, so the lamp lights up green no matter if yellow is present or not.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.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: [0.15.30] Lamp not taking correct color
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...Bilka wrote:NaB, as the cookbook saysGreen is before yellow, so the lamp lights up green no matter if yellow is present or not.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.
I'd like to change this post to a feature request.
Coloring lamps should follow the signal value / conditional.

