The International Simutrans Forum

Simutrans Extended => Patches/pull requests for consideration => Simutrans-Extended development => Incorporated patches/merged pull requests => Topic started by: Vladki on May 23, 2020, 01:39:06 PM

Title: Livery info depot - show even if inly one livery is available.
Post by: Vladki on May 23, 2020, 01:39:06 PM
Hello Ranran,

I really like the livery info in depot. I have one small improvement suggestion. Show the applicable livery scheme, even if there is only one.
Why? The livery can change over time even in one scheme, or one scheme may end and be replaced by another, and players may be (at least I am) interested which one, to apply it and refresh the livery on its lines.  Thank you.
Title: Re: Livery info depot - show even if inly one livery is available.
Post by: RESTRICTED ACCOUNT on May 23, 2020, 02:06:59 PM
Does that mean "selectable livery schemes:"?
Title: Re: Livery info depot - show even if inly one livery is available.
Post by: Vladki on May 23, 2020, 02:11:08 PM
Yes
Title: Re: Livery info depot - show even if inly one livery is available.
Post by: RESTRICTED ACCOUNT on May 23, 2020, 02:33:40 PM
I think I fixed it, but is it okay to keep the expression "selectable"?

Apart from that, it should be noted that even if there is only one choice, it will not change over time unless the name displayed there is selected in the combo box. This has not changed since before. I just removed the unwanted choices from the list.

EDIT:
The behavior may depend on which scheme the rest of the possessions belong to. If you have only one choice, the default is displayed regardless of your choice. I may be misunderstanding (´ ・ ω ・ `)
Title: Re: Livery info depot - show even if inly one livery is available.
Post by: Vladki on May 23, 2020, 02:53:33 PM
Quote from: Ranran on May 23, 2020, 02:33:40 PMI think I fixed it, but is it okay to keep the expression "selectable"?
Of course, it is OK.

I know that the livery does not change automatically, but you can change liveries in lines dialog to any livery and back to the original, and it will refresh to the current livery of given scheme.
Title: Re: Livery info depot - show even if inly one livery is available.
Post by: jamespetts on May 23, 2020, 05:29:06 PM
I have incorporated Ranran's change to give effect to this.