This commit is contained in:
Dmitry 2024-01-12 16:07:56 +07:00
parent 466b3beea1
commit ff323bec9d

View file

@ -920,6 +920,19 @@ const registerTFCRecipes = (event) => {
// Anvils, Lamps, Trapdors, Chains
if (material.hasFlag(TFGMaterialFlags.HAS_TFC_UTILITY)) {
// Удаление рецептов блоков
event.remove({ id: `tfc:crafting/metal/block/${metal}` })
event.remove({ id: `tfc:heating/metal/${metal}_block` })
// Удаление рецептов ступеней
event.remove({ id: `tfc:crafting/metal/block/${metal}_stairs` })
event.remove({ id: `tfc:heating/metal/${metal}_block_stairs` })
// Удалание рецептов полублоков
event.remove({ id: `tfc:crafting/metal/block/${metal}_slab` })
event.remove({ id: `tfc:heating/metal/${metal}_block_slab` })
// Декрафт незавершенной лампы в жидкость
event.recipes.tfc.heating(`tfc:metal/unfinished_lamp/${material}`, tfcProperty.getMeltTemp())
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))
@ -1143,10 +1156,20 @@ const registerTFCRecipes = (event) => {
//#endregion
//#region Фиксы рецептов предметов из Cast Iron
//#region Удаление рецептов для предметов из Cast Iron
// Блок
event.remove({ id: `tfc:crafting/metal/block/cast_iron` })
event.remove({ id: `tfc:heating/metal/cast_iron_block` })
// Ступень
event.remove({ id: `tfc:crafting/metal/block/cast_iron_stairs` })
event.remove({ id: `tfc:heating/metal/cast_iron_block_stairs` })
// Полублок
event.remove({ id: `tfc:crafting/metal/block/cast_iron_slab` })
event.remove({ id: `tfc:heating/metal/cast_iron_block_slab` })
//#region Удаление
// Слиток
event.remove({ id: `tfc:casting/cast_iron_ingot` })
event.remove({ id: `tfc:casting/cast_iron_fire_ingot` })
@ -1180,52 +1203,7 @@ const registerTFCRecipes = (event) => {
event.remove({ id: `tfc:crafting/metal/block/cast_iron_slab` })
event.remove({ id: `tfc:heating/metal/cast_iron_block_slab` })
//#endregion
//#region Добавление
/*
event.recipes.tfc.heating('#forge:nuggets/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 16))
.id(`tfg:heating/iron_nugget`)
event.recipes.tfc.heating('#forge:tiny_dusts/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 16))
.id(`tfg:heating/iron_tiny_dust`)
event.recipes.tfc.heating('#forge:small_dusts/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 36))
.id(`tfg:heating/iron_small_dust`)
event.recipes.tfc.heating('#forge:dusts/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 144))
.id(`tfg:heating/iron_dust`)
event.recipes.tfc.heating('#forge:poor_raw_materials/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 24))
.id(`tfg:heating/poor_raw_iron`)
event.recipes.tfc.heating('#forge:raw_materials/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 36))
.id(`tfg:heating/raw_iron`)
event.recipes.tfc.heating('#forge:rich_raw_materials/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 48))
.id(`tfg:heating/rich_raw_iron`)
event.recipes.tfc.heating('#forge:ingots/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 144))
.id(`tfg:heating/iron_ingot`)
event.recipes.tfc.heating('#forge:plates/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 144))
.id(`tfg:heating/iron_plate`)
event.recipes.tfc.heating('#forge:storage_blocks/iron', 1535)
.resultFluid(Fluid.of('tfc:metal/cast_iron', 1296))
.id(`tfg:heating/iron_block`)*/
//#endregion
//#endregion