dustrial decor integration

jank but wanted to unify plates and stuff. will do more later
This commit is contained in:
mina
2023-09-28 20:06:04 +01:00
parent c9dbca8cc0
commit 63e6647c23

View File

@@ -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")
})