News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

[r9544] land industry chain filter on the factory edit dialog is broken

Started by RESTRICTED ACCOUNT, October 25, 2022, 09:23:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RESTRICTED ACCOUNT

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.

Dwachs

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
Parsley, sage, rosemary, and maggikraut.

RESTRICTED ACCOUNT

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.