The International Simutrans Forum

Development => Bug Reports => Known bugs and features => Topic started by: Ranran(retired) on October 25, 2022, 09:23:35 AM

Title: [r9544] land industry chain filter on the factory edit dialog is broken
Post by: Ranran(retired) on October 25, 2022, 09:23:35 AM
I think the land industry chain is correct to include the green lettered industries.
I noticed this because the filter button happened to be further broken in extended.

https://github.com/aburch/simutrans/blob/cf18af2f3fb4f3f68f6aa4f3174f108d708bb753/src/simutrans/gui/factory_edit.cc#L181
I suspect that !desc->is_consumer_only() is correct.
Title: Re: [r9544] land industry chain filter on the factory edit dialog is broken
Post by: Dwachs on October 27, 2022, 06:41:34 PM
This check has been there for a long time (>14 years). So it seems to be intended (?)

green industries = pure producers without any input

land chain = pure consumers not placed in cities
Title: Re: [r9544] land industry chain filter on the factory edit dialog is broken
Post by: Ranran(retired) on October 28, 2022, 11:30:09 AM
Thank you for confirmation.
I jumped to the conclusion.  :-[
It isn't a filter option, but a trigger button. I will correct the Japanese translation to make it less misleading.