Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter items with pockets by pocket's length, weight, volume #74635

Closed
Brambor opened this issue Jun 17, 2024 · 2 comments · Fixed by #78519
Closed

Filter items with pockets by pocket's length, weight, volume #74635

Brambor opened this issue Jun 17, 2024 · 2 comments · Fixed by #78519
Labels
Info / User Interface Game - player communication, menus, etc. Quality of Life QoL: degree to which players are comfortable, and able to enjoy CDDA <Suggestion / Discussion> Talk it out before implementing

Comments

@Brambor
Copy link
Contributor

Brambor commented Jun 17, 2024

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

@Brambor Brambor added <Suggestion / Discussion> Talk it out before implementing Info / User Interface Game - player communication, menus, etc. Quality of Life QoL: degree to which players are comfortable, and able to enjoy CDDA labels Jun 17, 2024
@silvadomi
Copy link
Contributor

Such a filtering option seems useful indeed. Or, maybe even more direct, filter by items that have pockets which can hold a specific item? Like a condition such as f:pickaxe that would show all items that a pickaxe can fit into.

@Brambor
Copy link
Contributor Author

Brambor commented Dec 6, 2024

Such a filtering option seems useful indeed. Or, maybe even more direct, filter by items that have pockets which can hold a specific item? Like a condition such as f:pickaxe that would show all items that a pickaxe can fit into.

Yes, this is more straightforward. This also avoids the problem of putting cm vs inches into the filter.

I like f:, but it is already occupied in AIM for flags, so I choose i:

Edit: It introduces a problem too. If player writes plank, they don't want it to match against short plank etc.

Edit: Cannot do it, some (149) items have the same name but different mass/volume/longest side. This makes queries such as i:tanto ambiguous and this ambiguity would make this feature "not work sometimes for some reason".

@Brambor Brambor changed the title Filter items with pockets by pocket's size, len, etc. Filter items with pockets by pocket's length, weight, volume Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Info / User Interface Game - player communication, menus, etc. Quality of Life QoL: degree to which players are comfortable, and able to enjoy CDDA <Suggestion / Discussion> Talk it out before implementing
Projects
None yet
2 participants