diff --git a/kubejs/server_scripts/dustrial_decor/recipes.js b/kubejs/server_scripts/dustrial_decor/recipes.js new file mode 100644 index 0000000..9ab472b --- /dev/null +++ b/kubejs/server_scripts/dustrial_decor/recipes.js @@ -0,0 +1,20 @@ +ServerEvents.recipes(event => { + const greg = event.recipes.gtceu + event.replaceInput( {input: 'dustrial_decor:sheet_metal'}, 'dustrial_decor:sheet_metal', '#forge:plates/iron') + + let rusting = (blockType) => { + event.remove({id: `dustrial_decor:rusty_sheet_metal_${blockType}`}) + greg.chemical_bath(`rusty_${blockType}`) + .itemInputs(`dustrial_decor:sheet_metal_${blockType}`) + .inputFluids('water 10') + .itemOutputs(`dustrial_decor:rusty_sheet_metal_${blockType}`) + .duration(20).EUt(8) + } + rusting("door") + rusting("trapdoor") + rusting("walling") + rusting("siding") + rusting("plating") + rusting("treading") + +}) \ No newline at end of file