parent
							
								
									05d7baa91f
								
							
						
					
					
						commit
						6ec73fc256
					
				
				 1 changed files with 12 additions and 0 deletions
			
			
		| @ -0,0 +1,12 @@ | ||||
| // 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 ]); | ||||
|   }); | ||||
| }); | ||||
					Loading…
					
					
				
		Reference in new issue