"using" field doesn't work as intended for construction recipe #34191
Labels
[C++]
Changes (can be) made in C++. Previously named `Code`
Crafting / Construction / Recipes
Includes: Uncrafting / Disassembling
<Enhancement / Feature>
New features, or enhancements on existing
Describe the bug
None of the construction recipe using
"using"
are loaded properly.See Workbench or Dumpster: they can be build with no tool at all.
Steps To Reproduce
Steps to reproduce the behavior:
*
Expected behavior
This should work
"using": [ [ "welding_standard", 15 ] ],
But the code can actually only handle
"using": "welding_standard",
Additional context
requirement
is only arequirement_id
inconstruction.h
instead ofstd::vector<std::pair<requirement_id, int>>
inrecipe.h
The text was updated successfully, but these errors were encountered: