CleverRaven / CleverRaven/Cataclysm-DDA
Debug message show up when handing in makeshift crutches to Tacoma doctor quest
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description
### Describe the bug
DEBUG : Attempted a recipe with no available components!
FUNCTION : select_item_component
FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\crafting.cpp
LINE : 1800
VERSION : ec37cf1
### Steps to reproduce
1. Advance quest lines for Tacoma to get doctor to give you the quest to provide a pair of crutches.
2. Check your stuff and find that you don't have any, so you have probably never encountered any, including the hospital (quite a few experimentals and months ago).
3. See that you can only make makeshift crutches, not the real thing.
4. Scratch head and check quest script to see exactly what it is looking for.
5. Find that there are lines for makeshift crutches in there.
6. Make makeshift crutches and hand them in to the doctor.
7. Get debug message above.
8. See message saying the quest had been completed.
### Expected behavior
No debug message, and whatever crafting was attempted succeed with makeshift crutches (don't know if it would have worked with regular crutches).
### Screenshots
_No response_
### Versions and configuration
- OS: Windows
- OS Version: 10.0.19043.1766 (21H1)
- Game Version: ec37cf1 [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]
]
+ JSON "mod" to disable portal storms
+ JSON addition of welding consumables to Workshop expansion recipe list.
### Additional context
_No response_
Contributor guide
Research direction
Start by reviewing the Tacoma doctor quest script and the select_item_component path in src/crafting.cpp around line 1800. Reproduce the hand-in with makeshift crutches, then trace why the attempted recipe reports no available components. Done means the quest completes without the debug message for the supported crutch item.
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