CleverRaven / Cataclysm-DDA

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

Debug message show up when handing in makeshift crutches to Tacoma doctor quest #59201

Open PatrikLundell opened 2 years ago

PatrikLundell commented 2 years ago

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

Additional context

No response

hexagonrecursion commented 2 years ago

/confirmed

Note: except for the error message the mission appears to be working as intended

 DEBUG    : Attempted a recipe with no available components!

 FUNCTION : comp_selection<item_comp> Character::select_item_component(const std::vector<item_comp>&, int, read_only_visitable&, bool, const std::function<bool(const item&)>&, bool, const recipe*)
 FILE     : src/crafting.cpp
 LINE     : 1800
 VERSION  : 4abdbc8