CleverRaven / Cataclysm-DDA

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

Macro function to "Normalize items" #74892

Closed XygenSS closed 2 months ago

XygenSS commented 2 months ago

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

This is what an "average" pile of clutter looks like after some "light looting": Screenshot_2024-07-04-20-20-55-776_com cleverraven cataclysmdda experimental-edit

Ever since #66260 and #71884 was implemented several containers spawning as loot are automatically assigned a pocket whitelist. The result is multple of the same containers not stacking due to having different pocket settings. If you're trying to do anything with your trash containers you run into massive organization issues because there is no way to "normalize" multiple items into its default state or bulk-reset pocket settings. Pages and pages of individual small plastic bags and pill bottles are extremely annoying to deal with

Solution you would like.

Some kind of macro function to normalize items in bulk, removing special pocket settings and any other unique identifiers (names, favorites, etc...) to reset them into a default stackable state; This could be a zone, a UI menu, or even integrated into the "unload everything" zone function.

Describe alternatives you have considered.

Alternatively a setting in the options menu to disable #66260 would also suffice.

Additional context

No response

RenechCDDA commented 2 months ago

This is actually just a symptom of #73216

kevingranade commented 2 months ago

The fix is fixing stacking, not adding a manual override.