Autoclave pouches sometimes cause avatar_action error and then get deleted #40373
Labels
Bionics
CBM (Compact Bionic Modules)
<Bug>
This needs to be fixed
Items: Containers
Things that hold other things
Describe the bug
Using an autoclave pouch to pack a CBM sometimes, but not always, causes this vague error:
`DEBUG : Failed to obtain target item
FUNCTION : void avatar_action::use_item(avatar&, item_location&)
FILE : src/avatar_action.cpp
LINE : 1241`
and then deletes all other autoclave pouches in the stack, unless the autoclave pouch is used individually or if Mercury is in retrograde or something that I can't figure out.
Steps To Reproduce
Just try to pack CBMs, it seems. I've had it happen pretty consistently, but there were also a few times where it didn't happen, and I have no idea at all why.
This happened immediately after starting as a bio-weapon in a bio-weapon lab with two different characters.
Expected behavior
game workie
Versions and configuration
-OS: Windows
Dark Days Ahead [dda],
Secronom [secronom],
Aftershock [aftershock],
Blaze Industries [blazeindustries],
C.R.I.T Expansion Mod [crt_expansion],
Magiclysm [magiclysm],
Bootleg Walkers [Bootleg_Walkers],
DinoMod [DinoMod],
Alternative Map Key [alt_map_key],
Graphical Overmap [Graphical_Overmap],
Cataclysm++ [Cata++],
Bionic Slots [cbm_slots],
Stats Through Skills [StatsThroughSkills]
debug.log
The text was updated successfully, but these errors were encountered: