The International Simutrans Forum

 

Author Topic: Juiced up minimap goods category filter  (Read 237 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • *
  • Posts: 865
  • Languages: ja
Juiced up minimap goods category filter
« on: May 21, 2020, 02:17:40 PM »
Welcome to Ranran's laboratory. (´・ω・`)
Today I brought a new patch prototype.



Enhance goods category filter in minimap.
Link with existing filters to remove extraneous factories from the minimap.
This makes it easy to find a factory near your network where you can pick up cargo.

I would appreciate your feedback. See you in the next experiment. (´・ω・`)らんらん♪

Offline Vladki

  • Devotee
  • *
  • Posts: 3241
    • My addons, mostly roadsigns, pak128.cs
  • Languages: EN, CS
Re: Juiced up minimap goods category filter
« Reply #1 on: May 21, 2020, 02:42:41 PM »
Looks good - especially for games like bridgewater ;)

Offline Freahk

  • *
  • Posts: 960
  • Languages: DE, EN
Re: Juiced up minimap goods category filter
« Reply #2 on: May 21, 2020, 03:46:12 PM »
Oh, from the title I thought you added "good categories" for passenger classes.

Anyways, that's very useful and consistent to other layers now, i.e. use the filters for layers, wher that makes sense.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19684
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Juiced up minimap goods category filter
« Reply #3 on: May 22, 2020, 03:59:33 PM »
This looks like a good addition - but may I ask what the branch name is for this so that I can test it?

Offline Ranran

  • *
  • Posts: 865
  • Languages: ja
Re: Juiced up minimap goods category filter
« Reply #4 on: May 22, 2020, 04:02:56 PM »

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19684
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Juiced up minimap goods category filter
« Reply #5 on: May 22, 2020, 04:20:36 PM »
Excellent, now incorporated.

There is one refinement that needs to be considered, however: currently, when "passengers" or "mail" is selected, no industries are shown, even though the industries do in fact accept/generate passengers and mail. May I suggest that all industries that accept passengers show when the "passengers" filter is active and all industries that accept/generate mail show when the "mail" filter is active?

Thank you for your work on this.

Offline Ranran

  • *
  • Posts: 865
  • Languages: ja
Re: Juiced up minimap goods category filter
« Reply #6 on: May 22, 2020, 04:43:25 PM »
Quote
May I suggest that all industries that accept passengers show when the "passengers" filter is active and all industries that accept/generate mail show when the "mail" filter is active?
Does that mean that the factory has a demand? Or is it to have an output boost by passenger or mail?
In the former case, I think that almost all of them have demand. For passengers, there may be few visitors, but there is worker demand.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19684
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Juiced up minimap goods category filter
« Reply #7 on: May 22, 2020, 04:53:43 PM »
Does that mean that the factory has a demand? Or is it to have an output boost by passenger or mail?
In the former case, I think that almost all of them have demand. For passengers, there may be few visitors, but there is worker demand.

Yes, I do mean a demand: almost all, but not quite all, industries have a passenger demand for workers. Fisheries, for example, have no passenger demand. It does make sense to list all industries with a passenger demand if one selects "passenger" so that players wanting to serve industries with passengers know which ones are available for this purpose, and likewise mail.

Offline Ranran

  • *
  • Posts: 865
  • Languages: ja
Re: Juiced up minimap goods category filter
« Reply #8 on: May 22, 2020, 11:56:55 PM »
Fisheries, for example, have no passenger demand. It does make sense to list all industries with a passenger demand if one selects "passenger" so that players wanting to serve industries with passengers know which ones are available for this purpose, and likewise mail.
Thank you for the explanation. I fixed it and updated "minimup-plus" branch.
« Last Edit: May 23, 2020, 04:45:57 AM by Ranran »

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 19684
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Juiced up minimap goods category filter
« Reply #9 on: May 23, 2020, 05:31:54 PM »
Splendid, thank you: now incorporated.