Unloading or Reloading items like (misc repair kit, gas mask, or sewing kit) result in none items and nothing being reloaded Respectively #40315
Labels
(S3 - Duplicate)
Bug that is duplicate of another one
Describe the bug, Steps To Reproduce, and Screenshots
When you unload an item like (misc repair kit, gas mask, or sewing kit) it will result in an error message.
DEBUG : cannot determine reload cost as none is neither ammo or magazine
FUNCTION : int player::item_reload_cost(const item&, const item&, int) const
FILE : src/player.cpp
LINE : 2860
and a none item instead of duct tape, gas mask cartridges, and thread Respectively
EXAMPLE when unloading:
spawn in a gas mask using the Debug menu
take the action "Unload"
open inventory and verify that the none item is there
When you reload an item like (misc repair kit, gas mask, or sewing kit) it will simply say that it was reloaded and do nothing.
EXAMPLE when reloading:
spawn in a misc repair kit and duct tape using the Debug menu
take the action Reload
open inventory and verify that the misc repair kit is still empty
Expected behavior
When unloading
When I unload a gas mask I expected to get the appropriate gas mask cartridges from it.
I expected this behavior because that is how it worked before and how I think it should function.
When reloading
When I reload a misc repair kit I expected to fill it with the appropriate item(duct tape).
I expected this behavior because that is how it worked before and how I think it should function.
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Cataclysm++ [Cata++]
]
using Windows 10
Additional context
this is my first time making a Bug report so pleas give me feedback on how I did (aka tell me what I did wrong)
The text was updated successfully, but these errors were encountered: