CleverRaven / CleverRaven/Cataclysm-DDA

Items which previously used charges are not grouped together inside a container

Open
#73,249 1 comment 1 reaction 0 assignees View on GitHub
(S2 - Confirmed) [C++] Info / User Interface Items / Item Actions / Item Qualities
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
200

Description

### Describe the bug

![image](https://github.com/CleverRaven/Cataclysm-DDA/assets/59517351/3d5258fd-9a58-4ec2-bfc2-6ba017ed7f23)

Quite spammy.

### Attach save file

n/a

### Steps to reproduce

1. Find e.g plastic bag with yeast in it.
2. Enjoy the pointless duplication of entries.

### Expected behavior

It would display as Yeast (x25) or something similar.

### Screenshots

_No response_

### Versions and configuration

- OS: Linux
- OS Version: LSB Version: n/a; Distributor ID: Arch; Description: Arch Linux; Release: rolling; Codename: n/a;
- Game Version: cdda-experimental-2024-04-23-1301 9251ce4 [64-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth],
Sky Island [skyisland]
]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the report. Start by reproducing the container inventory display with a plastic bag containing yeast, then trace the code responsible for grouping contained items and add a regression test. Done means identical items previously using charges appear as one grouped entry, such as Yeast (x25).

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.