Page 1 of 1

Enable click-and-drag when setting item slot filters

Posted: Sat Jun 08, 2024 6:29 am
by macdjord
TL;DR
When copying settings from one building to another, you can Shift-Right-click on a building to copy its settings, then hold Shift-Left-click and drag your mouse over multiple buildings to update them all. But when you're setting item slot filters (e.g. in a cargo wagon), you have to Shift-Left-click on every slot individually to set it. This is annoying.

What ?
Inside the cargo inventory of any player or vehicle (but not, annoyingly, chests), you can set filters on individual item slots, thus preventing any item other than the one selected as the filter from being loaded into that slot:
  • You can Shift-Right-click on any empty slot that already has a filter to copy that filter, then Shift-Left-click on any empty slot to set the same filter (replacing any filter currently applied to that slot). Currently, you must click on each slot individually for this to work. It would be better if you could click and drag to assign the filter to every slot your cursor passes over
    • As an added bonus, this would allow you to paste the filter on occupied slots; currently there is no way to do that, because Shift-Left-click on an occupied slot transfers the items in that slot to your inventory instead of setting the filter
  • You can middle-click on any occupied slot that does not have a filter to set that slot's filter to be the item it currently holds. Currently, again, you must click on each slot individually; it would be better if you could click and drag to assign a filter to every occupied, non-filtered slot your cursor passes over
    • This would set each slot's filter to the item in that slot, not to the item in the slot you initially clicked on
    • Middle-clicking has a different effect depending on whether you do it on an occupied non-filtered slot, an empty non-filtered slot, or a filtered slot; thus, to disambiguate, this gesture must be begun by middle-clicking and holding on an occupied, non-filtered slot
    • Passing your cursor over an empty or already-filtered slot while performing this gesture would have no effect
  • You can middle-click on any slot that already has a filter to clear that filter. Currently, again, you must click on each slot individually; it would be better if you could click and drag to clear the filter from every slot your cursor passes over
    • Middle-clicking has a different effect depending on whether you do it on an occupied non-filtered slot, an empty non-filtered slot, or a filtered slot; thus, to disambiguate, this gesture must be begun by middle-clicking and holding on filtered slot
    • Passing your cursor over an non-filtered slot while performing this gesture would have no effect
  • You can middle-click on any empty, non-filtered slot to bring up a menu from which you can select an item to set as the filter. Click-and-drag is meaningless in this case, so no change is proposed.
Why ?
Because clicking 40 times to set train inventories is tedious.

Re: Enable click-and-drag when setting item slot filters

Posted: Tue Oct 22, 2024 4:26 pm
by macdjord
This has been implemented in 2.0.

Re: Enable click-and-drag when setting item slot filters

Posted: Tue Oct 22, 2024 9:28 pm
by Koub
Thanks for the pointer.
[Koub] Moved to implemented for 2.0