CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.64k stars 4.18k forks source link

Trading items outside your inventory that have quantities listed in () will make the remaining quantity disappear. #33458

Closed Quintovir closed 4 years ago

Quintovir commented 5 years ago

Describe the bug

Trading items that have quantities listed in () like "bandage (3)" will cause any remaining quantity to disappear. This only happens when trading items that are not in your inventory.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Talk to a follower or refugee merchant and start a trade.
  2. Select an item on the ground near you that has its quantity listed in parenthesis.
  3. Type a quantity less than the total amount.
  4. Accept the trade.
  5. Start a trade with the same person.
  6. Notice how the remaining quantities of the item you traded have disappeared.

Expected behavior

Items with quantities listed in parenthesis from outside of your inventory should not cause any remaining quantity to disappear.

Screenshots

N/A

Versions and configuration

Additional context

Save File West Jefferson.zip

l29ah commented 5 years ago

I can confirm on 0.D-7431-g0d20828957-dirty: sometimes some of the nearby items just vanish when "trading" with an allied NPC at least.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not \'bump\' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.