The International Simutrans Forum

 

Author Topic: [patch] split the station waiting bar into classes  (Read 242 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 984
  • Languages: ja
[patch] split the station waiting bar into classes
« on: June 12, 2020, 10:34:42 AM »
Ranran built a mail network in the western continent on the bridge-water server to deliver the thoughts of ancient lovers.  :-*
But mailing is not a charity. My company has to make a profit. So I need to get more money from a rich man who wants to deliver in a hurry.  ^-^

I can see mails higher than the clock tower are piled up at big bases such as ports. :o  It would be useful to separate this into classes and see how many rich guy's mails there are.
Then I will drive the horse there urgently. Because it is a money tree!  ;)
Of course, this also applies to passengers. Until the latter half of the 20th century, it was common for upper-class humans to hate being in the same room as lower-class humans. So you can get a lot of money instead of fulfilling their wishes. This benefits both parties.


This patch simply divides it into the number of classes. I thought that it would be difficult to understand by individual color coding. Know its class by position. It is a higher class to the right.
This patch will laterally expand the entire bar at the passenger and mail stations. However, IMO it would be much more useful than a lot of unnecessary bars for piece goods.


Note that this image has the bar of the email changed to yellow according to the color change proposal presented in another thread.

It's a small change so I've already made a pull request, but here's the github branch.
https://github.com/Ranran-the-JuicyPork/simutrans-extended/tree/classes-waiting-bar

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19823
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [patch] split the station waiting bar into classes
« Reply #1 on: June 12, 2020, 12:12:47 PM »
Thank you for this: this is very interesting. One thing that I wonder is whether there might be some benefit in grouping class based bars in a way that makes it clearer that they are all subdivisions of the same sort of thing, rather than treating a class of passengers in exactly the same way as a category of goods. However, I am not sure whether there is a workable way of doing this or not.

It would be useful to have feedback on this question from others, as well as to have an idea from Ranran as to whether he can think of any way of making this clearer.

I should also be interested to know others' thoughts on this generally.

Offline Ves

  • Devotee
  • *
  • Posts: 1793
  • Languages: EN, SV, DK
Re: [patch] split the station waiting bar into classes
« Reply #2 on: June 12, 2020, 01:04:28 PM »
Hello,

I think this is a really usefull feature, thank you for coming up with it and coding it.
You mentioned that the higher classes are to the right of lower classes, but I think that the expectations from players is that the higher classes is to the left of the lower classes. That would mean that the leftmost bar is the very high class.

From the picture Ranran provide, I must say that I find it quite easy to identify the 5 bars, as it will be a block of the same color. Maybe it could be a display setting to display the individual classes, or display it like it currently is, one bar for passengers and one bar for mail.


Offline Vladki

  • Devotee
  • *
  • Posts: 3328
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: [patch] split the station waiting bar into classes
« Reply #3 on: June 12, 2020, 02:21:31 PM »
I think that the expectations from players is that the higher classes is to the left of the lower classes.
Same for me. Highest class on left. Otherwise I really like it. Just wonder that the bars are not uniform pink/yellow but also some grey, what is that?  Transfers?

Online Freahk

  • Devotee
  • *
  • Posts: 1056
  • Languages: DE, EN
Re: [patch] split the station waiting bar into classes
« Reply #4 on: June 12, 2020, 03:34:39 PM »
About the order, I'd actually expect it to be in
I think that the expectations from players is that the higher classes is to the left of the lower classes.
In which case I am not a player :P
I'd actually expect it the way Ranran implemented this. I have no idea where that expectation comes from.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19823
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [patch] split the station waiting bar into classes
« Reply #5 on: June 12, 2020, 03:37:35 PM »
I am intrigued as to the chiral differences here. I tend to agree that Ranran's ordering would the the most obvious: the normal sequence is low to high, left to right.

Offline Ranran

  • Devotee
  • *
  • Posts: 984
  • Languages: ja
Re: [patch] split the station waiting bar into classes
« Reply #6 on: June 12, 2020, 04:08:13 PM »
Certainly, it may be normal for the 1st class to come to the far left. However, I think it is difficult to understand if it is not written with symbols or characters.
I simply incremented in the order recorded, from 0 to max_classes.

EDIT:
Just wonder that the bars are not uniform pink/yellow but also some grey, what is that?  Transfers?
I think it's just the color degradation due to the gif image. The value being transferred is not displayed.
But it is possible to add a display.

EDIT2:
As Acarlotti pointed out before, it should be noted that there are differences between fare class, accommodation class and wealth class.
I used the phrase "1st class" at the beginning of this post but it means fare class. :-[
What the additional split bars represent is a wealth class. In this case, I think that the left side is low and there is no problem.
« Last Edit: June 13, 2020, 03:42:13 AM by Ranran »

Offline Ves

  • Devotee
  • *
  • Posts: 1793
  • Languages: EN, SV, DK
Re: [patch] split the station waiting bar into classes
« Reply #7 on: June 12, 2020, 04:26:55 PM »
Well, I guess you are right that this might individual taste.  :P
Why I would expect it to be the highest to the left is because that is the most important bit of information. The reason Ranran implemented this feature in the first place, he says, is because he wanted specifically to know how many of the higher class passenger and mail was waiting. Having the higher classes on the right, towards the middle of the (potential very long) bar, makes it more difficult to read at a glance which bars is the "high" and "very high" class passenger. However, it would be very easy to read status of the bars for "low" and "very low"...

In which case I am not a player
Did say think ;)

Offline wlindley

  • Devotee
  • *
  • Posts: 1021
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: [patch] split the station waiting bar into classes
« Reply #8 on: June 12, 2020, 11:30:03 PM »
First-degree burns are the least type, while first-degree murder is the strongest type. 

We could put First Class first (on the left as in Western script) or we could put it at the highest value on a graph (rightmost on a number-line). 

In matters of semantics, we need only be consistent.   Ranran's proposal seems the best, and most consistent, here.  Looks like a good addition.