From a2a30eb84b3a6dafcdbef7522c1ecff6ac0c60c7 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Thu, 21 Aug 2025 12:06:38 +0100 Subject: [PATCH] sterling silver alloy smelter --- CHANGELOG.md | 2 +- kubejs/server_scripts/tfc/recipes.metals.js | 30 ++++++++++++++------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a57a3c42c..ea8eb76c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,13 +18,13 @@ - Fixed moon mob spawning light levels, so now they need a light level of 0 instead of 11 (#1587) @NINAustinFett - Fixed wrong output amount of mortaring soybean paste (#1607) @TomPlop - Fixed duplicate mixer recipes for rose gold and sterling silver @Pyritie +- Added missing rose gold + sterling silver alloy smelter recipes (#1664) @Redeix - Fixed mechanical mixers requiring an alloy that needed that tier of mixer @Pyritie - Finally fixed all the issues with upgrading the toolbelt - now you can safely dye and undye, upgrade with and without tools inside it, etc (#368) @Pyritie - Fixed a dupe with certus quartz @Pyritie - Moved the golden apple recipe over to the food processor so it respects food expiry data @Pyritie - Removed some remaining swine-steel crafting recipes @Pyritie - Added missing hoe/scythe mineable tags from custom crops (#1622) @Pyritie -- Added missing rose gold alloy smelter recipes (#1664) @Redeix - Fixed some (but not all) model issues with the reflector block (#1664) @Redeix ## [0.10.9] - 10-08-2025 diff --git a/kubejs/server_scripts/tfc/recipes.metals.js b/kubejs/server_scripts/tfc/recipes.metals.js index ec358a554..a1026e886 100644 --- a/kubejs/server_scripts/tfc/recipes.metals.js +++ b/kubejs/server_scripts/tfc/recipes.metals.js @@ -116,49 +116,49 @@ function registerTFCMetalsRecipes(event) { event.recipes.gtceu.forge_hammer('tfg/refined_bloom') .itemInputs('tfc:raw_iron_bloom') .itemOutputs('tfc:refined_iron_bloom') - .duration(400) + .duration(200) .EUt(4) // Укрепленная крица -> Слиток кованного железа event.recipes.gtceu.forge_hammer('tfg/wrought_iron_ingot') .itemInputs('tfc:refined_iron_bloom') .itemOutputs('gtceu:wrought_iron_ingot') - .duration(400) + .duration(200) .EUt(4) // Чугун -> Высокоуглеродная сталь event.recipes.gtceu.forge_hammer('tfg/high_carbon_steel') .itemInputs('tfc:metal/ingot/pig_iron') .itemOutputs('tfc:metal/ingot/high_carbon_steel') - .duration(500) + .duration(300) .EUt(4) // Высокоуглеродная сталь -> Cталь event.recipes.gtceu.forge_hammer('tfg/steel') .itemInputs('tfc:metal/ingot/high_carbon_steel') .itemOutputs('gtceu:steel_ingot') - .duration(500) + .duration(300) .EUt(4) // Высокоуглеродная черная сталь -> черная сталь event.recipes.gtceu.forge_hammer('tfg/black_steel') .itemInputs('tfc:metal/ingot/high_carbon_black_steel') .itemOutputs('tfc:metal/ingot/black_steel') - .duration(600) + .duration(300) .EUt(4) // Высокоуглеродная синяя сталь -> синяя сталь event.recipes.gtceu.forge_hammer('tfg/blue_steel') .itemInputs('tfc:metal/ingot/high_carbon_blue_steel') .itemOutputs('tfc:metal/ingot/blue_steel') - .duration(700) + .duration(400) .EUt(4) // Высокоуглеродная красная сталь -> красная сталь event.recipes.gtceu.forge_hammer('tfg/red_steel') .itemInputs('tfc:metal/ingot/high_carbon_red_steel') .itemOutputs('tfc:metal/ingot/red_steel') - .duration(700) + .duration(400) .EUt(4) // Слабая сталь + Чугун -> Высокоуглеродная черная сталь @@ -200,7 +200,7 @@ function registerTFCMetalsRecipes(event) { .duration(700) .EUt(4) - // Rose Gold + // Rose Gold + Sterling Silver const copper_types = [ "#forge:ingots/copper", "#forge:dusts/copper", @@ -211,6 +211,10 @@ function registerTFCMetalsRecipes(event) { "#forge:ingots/gold", "#forge:dusts/gold" ]; + const silver_types = [ + "#forge:ingots/silver", + "#forge:dusts/silver" + ]; copper_types.forEach(copper_types_array => { gold_types.forEach(gold_types_array => { @@ -219,9 +223,17 @@ function registerTFCMetalsRecipes(event) { .itemOutputs(ChemicalHelper.get(TagPrefix.ingot, GTMaterials.RoseGold, 5)) .duration(20*10) .EUt(GTValues.VA[GTValues.LV]) - }) + }); + silver_types.forEach(silver_types_array => { + event.recipes.gtceu.alloy_smelter(`sterling_silver_from_${copper_types_array.replace(/:/g, "/").replace(/#/g, "")}_and_${silver_types_array.replace(/:/g, "/").replace(/#/g, "")}`) + .itemInputs(Ingredient.of(copper_types_array).withCount(1), Ingredient.of(silver_types_array).withCount(4)) + .itemOutputs(ChemicalHelper.get(TagPrefix.ingot, GTMaterials.SterlingSilver, 5)) + .duration(20*10) + .EUt(GTValues.VA[GTValues.LV]) + }); }); + const TFC_INTERMEDIATE_METALS = [ { metal: 'pig_iron', meltTemp: 1535 },