diff --git a/config/ftbquests/quests/chapters/primitive_age.snbt b/config/ftbquests/quests/chapters/primitive_age.snbt index 8f62ae348..895883afe 100644 --- a/config/ftbquests/quests/chapters/primitive_age.snbt +++ b/config/ftbquests/quests/chapters/primitive_age.snbt @@ -1884,6 +1884,7 @@ "6BFD0EF0AA74F136" "4A1690ADC239300D" "390C85E831B2B8A4" + "50E70601ABB5A40C" ] id: "460D944D0070C3AE" size: 2.0d diff --git a/kubejs/server_scripts/gregtech/recipes.js b/kubejs/server_scripts/gregtech/recipes.js index f15690c11..23f5dab8d 100644 --- a/kubejs/server_scripts/gregtech/recipes.js +++ b/kubejs/server_scripts/gregtech/recipes.js @@ -1068,9 +1068,12 @@ const registerGTCEURecipes = (event) => { .duration(448) .EUt(8) - // Фикс выработки пара на ведре лавы + //#region Выход: Фикс выработки пара на ведре лавы + event.remove({ id: 'minecraft:large_boiler/lava_bucket' }) event.recipes.gtceu.large_boiler('lava_bucket') .itemInputs('minecraft:lava_bucket') .duration(25) + + //#endregion } \ No newline at end of file diff --git a/kubejs/server_scripts/minecraft/recipes.js b/kubejs/server_scripts/minecraft/recipes.js index 19cbb14c5..f9b741276 100644 --- a/kubejs/server_scripts/minecraft/recipes.js +++ b/kubejs/server_scripts/minecraft/recipes.js @@ -1669,10 +1669,14 @@ const registerMinecraftRecipes = (event) => { //#endregion - //#region Выход: Книги + //#region Выход: Книга event.remove({ id: 'gtceu:extractor/bookshelf_extraction' }) + event.shapeless('minecraft:book', [ + 'minecraft:paper', 'minecraft:paper', 'minecraft:paper', 'minecraft:leather' + ]).id('minecraft:book') + //#endregion //#region Выход: Трибуна @@ -2352,6 +2356,59 @@ const registerMinecraftRecipes = (event) => { //#endregion + //#region Выход: Бетон + + global.MINECRAFT_DYE_NAMES.forEach(dye => { + + if (dye != "white") + event.recipes.gtceu.chemical_bath(`${dye}_concrete`) + .itemInputs(`minecraft:white_concrete`) + .inputFluids(Fluid.of(`gtceu:${dye}_dye`, 72)) + .itemOutputs(`minecraft:${dye}_concrete`) + .duration(300) + .EUt(4) + }) + + //#endregion + + //#region Выход: Шерсть + + global.MINECRAFT_DYE_NAMES.forEach(dye => { + + if (dye != "white") + event.recipes.gtceu.chemical_bath(`${dye}_wool`) + .itemInputs(`minecraft:white_wool`) + .inputFluids(Fluid.of(`gtceu:${dye}_dye`, 72)) + .itemOutputs(`minecraft:${dye}_wool`) + .duration(300) + .EUt(4) + }) + + //#endregion + + //#region Выход: Кровати + + event.recipes.gtceu.chemical_bath(`bed_decolor`) + .itemInputs('#tfc:colored_bed') + .inputFluids(Fluid.of(`gtceu:chlorine`, 72)) + .itemOutputs(`minecraft:white_bed`) + .duration(300) + .EUt(4) + + global.MINECRAFT_DYE_NAMES.forEach(dye => { + event.remove({ id: `minecraft:${dye}_bed` }) + + if (dye != "white") + event.recipes.gtceu.chemical_bath(`${dye}_bed`) + .itemInputs(`minecraft:white_bed`) + .inputFluids(Fluid.of(`gtceu:${dye}_dye`, 216)) + .itemOutputs(`minecraft:${dye}_bed`) + .duration(300) + .EUt(4) + }) + + //#endregion + //#region Исправление дерьма с медью (Однажды разраб GTCEu вспомнит, лучше бы забыл) event.smelting('tfc:metal/ingot/copper', 'minecraft:raw_copper') diff --git a/kubejs/server_scripts/tfc/recipes.js b/kubejs/server_scripts/tfc/recipes.js index 8a31d4c9f..c2512d37b 100644 --- a/kubejs/server_scripts/tfc/recipes.js +++ b/kubejs/server_scripts/tfc/recipes.js @@ -11,27 +11,30 @@ const registerTFCRecipes = (event) => { // Одинарные слитки if (metalSpecs.props.includes('ingot')) { - if (metalSpecs.isGTDup != undefined) + if (metal != "iron") { - // Отливка слитка в обычной форме - event.recipes.tfc.casting(`gtceu:${metal}_ingot`, 'tfc:ceramic/ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.1) - .id(`tfc:casting/${metal}_ingot`) - - // Отливка слитка в огнеупорной форме - event.recipes.tfc.casting(`gtceu:${metal}_ingot`, 'tfc:ceramic/fire_ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.01) - .id(`tfc:casting/${metal}_fire_ingot`) - - } - // Металлы не дублирующие гт - else - { - // Отливка слитка в обычной форме - event.recipes.tfc.casting(`tfc:metal/ingot/${metal}`, 'tfc:ceramic/ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.1) - .id(`tfc:casting/${metal}_ingot`) - - // Отливка слитка в огнеупорной форме - event.recipes.tfc.casting(`tfc:metal/ingot/${metal}`, 'tfc:ceramic/fire_ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.01) - .id(`tfc:casting/${metal}_fire_ingot`) + if (metalSpecs.isGTDup != undefined) + { + // Отливка слитка в обычной форме + event.recipes.tfc.casting(`gtceu:${metal}_ingot`, 'tfc:ceramic/ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.1) + .id(`tfc:casting/${metal}_ingot`) + + // Отливка слитка в огнеупорной форме + event.recipes.tfc.casting(`gtceu:${metal}_ingot`, 'tfc:ceramic/fire_ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.01) + .id(`tfc:casting/${metal}_fire_ingot`) + + } + // Металлы не дублирующие гт + else + { + // Отливка слитка в обычной форме + event.recipes.tfc.casting(`tfc:metal/ingot/${metal}`, 'tfc:ceramic/ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.1) + .id(`tfc:casting/${metal}_ingot`) + + // Отливка слитка в огнеупорной форме + event.recipes.tfc.casting(`tfc:metal/ingot/${metal}`, 'tfc:ceramic/fire_ingot_mold', TFC.fluidStackIngredient(metalSpecs.fluid, 144), 0.01) + .id(`tfc:casting/${metal}_fire_ingot`) + } } // Декрафт слитка в жидкость diff --git a/kubejs/startup_scripts/tfc/constants.js b/kubejs/startup_scripts/tfc/constants.js index d973d0929..cd3d6473e 100644 --- a/kubejs/startup_scripts/tfc/constants.js +++ b/kubejs/startup_scripts/tfc/constants.js @@ -1081,8 +1081,7 @@ global.METAL_TO_SPECS = { isGTDup: true }, - cast_iron: - { + cast_iron: { forging_temp: 921, welding_temp: 1228, melt_temp: 1535, @@ -1091,6 +1090,21 @@ global.METAL_TO_SPECS = { props: [] }, + iron: { + forging_temp: 921, + welding_temp: 1228, + melt_temp: 1535, + fluid: "tfc:metal/cast_iron", + percent_of_material: 100, + tier: 1, + props: [ + global.INGOT_GEN, + global.NUGGET_GEN, + global.DUST_GEN, + global.ORE_CHUNKS_GEN + ] + }, + pig_iron: { forging_temp: 921, welding_temp: 1228,