]> git.lizzy.rs Git - dragonblocks.git/blob - game/furnace/api.js
Rework inventory rendering
[dragonblocks.git] / game / furnace / api.js
1 furnace.recipes = [];
2
3 furnace.registerRecipe = def => {
4         if (! def || ! def.input || ! def.output || ! def.time)
5                 return;
6
7         furnace.recipes.push(def);
8 };