CleverRaven / CleverRaven/Cataclysm-DDA

Crafting menu displaying variants of selected item

Open
#60,271 1 comment 0 reactions 0 assignees View on GitHub
(S2 - Confirmed)
Dominant language
C++
Stars
13.2k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

### Describe the bug

Sometimes when selecting 'drop leg bag' the 'recipe result' menu instead displays other variants of 'drop leg bag', such as 'skull drop leg bag'. Crafting it results in the normal variant of the item.

### Steps to reproduce

1. Make a new character with high tailoring skill.
2. Select 'drop leg bag' in the crafting menu.
3. Repeatedly select another recipe, then move back to 'drop leg bag'.
4. Eventually another variant will be displayed.
5. Crafting the recipe results in the normal variant.

### Expected behavior

The crafting results would display the item you are actually crafting.

### Screenshots

![unknown](https://user-images.githubusercontent.com/91566453/185333604-f462f504-7e62-468b-8837-001e8159bd71.png)
![image](https://user-images.githubusercontent.com/91566453/185334547-fa7eb4cd-1347-4705-aa81-0ae1e0c7542a.png)

### Versions and configuration

- OS: Windows
- OS Version: 10.0.17763.3287 (1809)
- Game Version: 915ef22 [64-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
Bionic Professions [package_bionic_professions]
]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the crafting-menu sequence with a high-tailoring character and the listed recipe variants, then trace the menu's displayed result against the item produced by crafting. Compare the selected recipe and displayed variant across repeated recipe changes. Done means the menu consistently displays the exact item that crafting produces.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.