Page 1 of 1

Lamp Color priority

Posted: Tue May 26, 2020 2:16 am
by Yokmp
The vanilla behaviour for lamp light colors is a bit unhandy as it prefers like red over green because it comes first in the row of signals.
I would like to be able to increase eg. green by one so the lamp would use green instead of red because it now has a "higher" signal value.

This way one has more control over what color a lamp uses insted of turning signals on or off.

Let's say your Train arrives at a Station and so T > 0 and we decide to return a green Signal to a Lamp.
But we also want to show a blue one when the Wagon isn't full. We need to additionally check if a blue Signal is sent and substract its value from green so the lamp can be blue.
If the color is chosen by the value then we could just read the Train contents and output that 1:1 as a blue signal and like override the green one.

Since no other entities use the colors like lamps does the change wouldn't break anything critical.

Re: Lamp Color priority

Posted: Tue May 26, 2020 8:04 am
by Koub
[Koub] Moved to Ideas and Suggestions.