Better recipe api and port smithing to it

This commit is contained in:
2026-11-01 19:21:40 -03:00
parent ad782839ec
commit c8b5f2a3bd
50 changed files with 371 additions and 120 deletions
-6
View File
@@ -361,12 +361,6 @@ export function check_references(mods: LoadedMod[], engine_textures: Iterable<st
case "fuel":
for (const id of choice_list(json.item)) uses(file, id, "item");
break;
case "smithing":
uses(file, json.tool, "item");
uses(file, json.material.id, "item");
if (json.addition) uses(file, json.addition, "item");
uses(file, json.result, "item");
break;
}
}
for (const { file, json } of mod.ores) {