Lamp Color priority

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
User avatar
Yokmp
Inserter
Inserter
Posts: 26
Joined: Tue Aug 23, 2016 10:30 am
Contact:

Lamp Color priority

Post 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.

Koub
Global Moderator
Global Moderator
Posts: 7203
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Lamp Color priority

Post by Koub »

[Koub] Moved to Ideas and Suggestions.
Koub - Please consider English is not my native language.

Post Reply

Return to “Ideas and Suggestions”