Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert-ing partial stacks of items duplicates items #41004

Closed
mutability opened this issue Jun 1, 2020 · 1 comment · Fixed by #42099
Closed

insert-ing partial stacks of items duplicates items #41004

mutability opened this issue Jun 1, 2020 · 1 comment · Fixed by #42099
Labels
<Bug> This needs to be fixed Items: Containers Things that hold other things

Comments

@mutability
Copy link
Contributor

Describe the bug

When inserting stackable items into a container, selecting less than the full number of items takes the correct number of items from the source stack, but inserts the full stack into the container, duplicating items.

Steps To Reproduce

  1. Create a test character, drop all items/clothes
  2. Spawn and wear cargo pants
  3. Spawn and drop 20 scrap metal
  4. inventory -> cargo pants -> insert -> 10 right-arrow scrap metal.
    Shows ITEMS TO INSERT: 10 of 20 scrap metals (20).
  5. Now there is 10 scrap metal left on the ground, and 20 scrap metal in inventory.

Expected behavior

10 scrap metal on the ground, 10 scrap metal in inventory.

Versions and configuration

  • OS: Linux
    • OS Version: LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch; Distributor ID: Ubuntu; Description: Ubuntu 18.04.4 LTS; Release: 18.04; Codename: bionic;
  • Game Version: 0.E-2607-ga3c5c682ad-dirty [64-bit] (upstream bd62ef6)
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food]
    ]
@anothersimulacrum anothersimulacrum added <Bug> This needs to be fixed Items: Containers Things that hold other things labels Jun 1, 2020
@stopple
Copy link

stopple commented Jul 13, 2020

encountered this issue in Game Version: 0.E-3894-g4929649 [64-bit]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Items: Containers Things that hold other things
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants