Make tool upgrades cost money

This commit is contained in:
2026-11-01 22:48:49 -03:00
parent 12702520dd
commit c1871a7bf7
37 changed files with 185 additions and 23 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export function inputs(recipe: Recipe, tags: TagApi): Ingredient[] {
return [{ ids: tags.expand(recipe.item), count: 1 }];
case "bworld:smithing":
return [{ ids: [recipe.tool], count: 1 }, stack(recipe.material)].concat(
recipe.addition ? [{ ids: [recipe.addition], count: 1 }] : [],
recipe.addition ? [stack(recipe.addition)] : [],
);
default: {
const { grid, extras } = mod_recipe_inputs(recipe, tags);