CleverRaven / CleverRaven/Cataclysm-DDA
Inserting all items into a bag takes non-liquid items out of (sealed) containers to place into the bag alongside the now empty container
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 185
Description
# Describe the bug
When you insert all items in your inventory into your backpack by selecting said bag, hitting "i" and then ";", it also selects everything in containers already in this bag as long as it isn't a liquid and there's enough room for it. If you're like me, you aren't paying 100% attention and just hit confirm, your character will open these cans and jars and dump the contents into their bag, while the now unsealed container never gets taken out. This is a big problem when you're dealing with food items that'll spoil quickly when exposed to air.
# Steps To Reproduce
1. Get yourself a bag, some clothes with storage space (cargo pants or a hoodie work well), put them both on and pick up a container with solid food, ideally a sealed one. Canned salmon, sardine, tuna or tomato work well since they're pretty small.
2. Open your inventory, select your bag, hit "i" and then ";". This should insert the can into the bag.
3. Repeat step 2 and you'll find the contents of the can dumped into your bag, outside its actual container. In addition to having your food start spoiling, it also takes up twice as much inventory space now. It's like magic, but even more annoying to deal with!
# Expected behavior
The food stays in its container like it's supposed to and won't even come up in the list of all insertable items anymore, since it's already safely contained in a can or jar or bag or whatever other container it's currently in. Alternatively, there could be a prompt like with liquids, asking if you really want to drop food out of a sealed container.
# Versions and configuration
- OS: Windows 10
- Game Version: 0.E-10239-gdc8bba6
- Graphics version: Tiles
- Ingame language: English
- Mods loaded: dda, no_npc_food, package_bionic_professions
Contributor guide
Assessment
This issue has not been assessed yet.