Error when filling condom that is stored in small container when larger container is available #56183
Labels
<Bug>
This needs to be fixed
[C++]
Changes (can be) made in C++. Previously named `Code`
Items: Containers
Things that hold other things
(S2 - Confirmed)
Bug that's been confirmed to exist
(S3 - Duplicate)
Bug that is duplicate of another one
Describe the bug
Whenever I go to fill a condom stored in a small container or pocket (eg pants pocket) while carrying a larger container (eg empty duffel bag) I get an error on every turn that the condom remains in an unfit container or pocket.
Steps to reproduce
Expected behavior
Ideally the game would move the condom to an appropriate container if available and prompt the player when trying to fill a condom they don't have space to carry and give them the option to drop the filled condom or cancel filling.
Screenshots
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Stats Through Kills [stats_through_kills],
Stats Through Skills [StatsThroughSkills]
]
Additional context
DEBUG : volume exceeds capacity (5610ml > 1600ml)
FUNCTION : relative_encumbrance
FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\item_contents.cpp
LINE : 1872
VERSION : 714f560
The text was updated successfully, but these errors were encountered: