Make tool upgrades cost money

This commit is contained in:
2026-11-03 15:35:17 -03:00
committed by paula
parent 43bd4509ad
commit 9e48a42c1f
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);