Duplicate Items dropped, doesn't check if it's equipped or in use

Started by Raybdbomb, June 06, 2008, 05:32:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[HP=48/MA=8]: (Resting) i
You are carrying 66 silver nobles, padded helm (Head), padded gloves (Hands),
gold jeweled ring (Finger), padded boots (Feet), padded pants (Legs), padded
vest (Torso), club (Weapon Hand), torch (Readied/24), torch
You have no keys.
Wealth: 660 copper farthings
Encumbrance: 653/3840 - Light [17%]
[HP=48/MA=8]: (Resting) drop tor
You dropped torch.
[HP=48/MA=8]: (Resting) i
You are carrying 66 silver nobles, padded helm (Head), padded gloves (Hands),
gold jeweled ring (Finger), padded boots (Feet), padded pants (Legs), padded
vest (Torso), club (Weapon Hand), torch
You have no keys.
Wealth: 660 copper farthings
Encumbrance: 613/3840 - None [15%]
[HP=48/MA=9]: (Resting)


Notice that it had two torches in the inventory.  One was used.  When I dropped a torch, it dropped the one in use, not the spare as it should have done.

This also happens when you have two items, and one is equipped.  It will unequip and drop the one that is equipped, rather than the one in your inventory that is not used.

We had the same problem with the give command and the sell command. I'm sure it's probably also doing this with hide as well.