You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
465 B
13 lines
465 B
2 years ago
|
// priority: 0
|
||
|
|
||
|
onEvent("recipes", event => {
|
||
|
// See `recipes/essentials/stairs.js` for comments.
|
||
|
event.forEachRecipe({ id: /^immersiveengineering:crafting\/.*_slope$/ }, recipe => {
|
||
|
let input = recipe.inputItems[0];
|
||
|
let output = recipe.outputItems[0].getId();
|
||
|
recipe.replaceOutput(output, "6x " + output, false, (out, orig) => out);
|
||
|
event.shaped("3x " + output, [ "BB", "B " ], { B: input });
|
||
|
event.shapeless(input, [ output ]);
|
||
|
});
|
||
|
});
|