CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
9.92k stars 4.08k forks source link

Filter items with pockets by pocket's size, len, etc. #74635

Open Brambor opened 1 week ago

Brambor commented 1 week ago

Is your feature request related to a problem? Please describe.

It is very tedious to find out whether I have an item with a pocket that can contain a 78 cm long item (pickaxe). Or if I can craft such an item.

Solution you would like.

Add a filter such as l:X (l for length) to filter items with a pocket that can contain items that are X cm long.

This isn't perfect by itself, but it would filter out all the clothing etc. on the tile that definitely cannot contain items with selected lengths.

Implement that filter in AIM and crafting menu.

Then it would be nice to filter by pocket size, weight etc. or sort by them.

Describe alternatives you have considered.

Currently one of the ways is to read this menu in the item description and search for every item there, whether I have them in my base and then search again, if I can craft this item: image

This method is feasible for plank: image

Otherwise, if the menu text (Can be stored in) would highlight items that are nearby, I would only need to search the crafting menu, if I don't have any item nearby.

Additional context

No response