Improve a buuuunch of textures and some reworks
This commit is contained in:
@@ -3,6 +3,7 @@ import { BlockRegistry, EverythingRegistry, ItemRegistry } from "./everything_re
|
||||
import {
|
||||
block_from_json,
|
||||
BlockJson,
|
||||
choice_ids,
|
||||
grid_recipe_from_json,
|
||||
GridRecipe,
|
||||
is_mod_recipe,
|
||||
@@ -95,11 +96,13 @@ export function register_mod_data(mods: { id: string; data: ModData }[]): Recipe
|
||||
recipes.shaped.push(grid_recipe_from_json(recipe));
|
||||
break;
|
||||
case "furnace":
|
||||
if (recipes.furnace.has(recipe.input)) fail(`two furnace recipes for ${recipe.input}`);
|
||||
recipes.furnace.set(recipe.input, { output: recipe.output, cook_time: recipe.cook_time });
|
||||
for (const input of choice_ids(recipe.input)) {
|
||||
if (recipes.furnace.has(input)) fail(`two furnace recipes for ${input}`);
|
||||
recipes.furnace.set(input, { output: recipe.output, cook_time: recipe.cook_time });
|
||||
}
|
||||
break;
|
||||
case "fuel":
|
||||
recipes.fuel.set(recipe.item, recipe.burn_time);
|
||||
for (const item of choice_ids(recipe.item)) recipes.fuel.set(item, recipe.burn_time);
|
||||
break;
|
||||
case "smithing":
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user