From 172886f0f05c37ead683cef19ee6601491fdfae1 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Tue, 24 Jun 2025 14:54:53 +0100 Subject: [PATCH] redo of 8bc9247 --- config/tfchotornot-common.toml | 2 +- kubejs/server_scripts/tfc/recipes.materials.js | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/config/tfchotornot-common.toml b/config/tfchotornot-common.toml index ed10d7c44..e6e95be29 100644 --- a/config/tfchotornot-common.toml +++ b/config/tfchotornot-common.toml @@ -31,7 +31,7 @@ itemDamageTimeInterval = 60 #Durability for wooden tongs. #Range: > 0 - woodenTongsDurability = 250 + woodenTongsDurability = 100 #Durability for potholders. #Range: > 0 potholderDurability = 600 diff --git a/kubejs/server_scripts/tfc/recipes.materials.js b/kubejs/server_scripts/tfc/recipes.materials.js index a105e1203..80f4d9112 100644 --- a/kubejs/server_scripts/tfc/recipes.materials.js +++ b/kubejs/server_scripts/tfc/recipes.materials.js @@ -1114,6 +1114,15 @@ function registerTFCMaterialsRecipes(event) { let tongPartStack = Item.of(`tfchotornot:tong_part/${material.getName()}`) if (!tongsStack.isEmpty() && !tongPartStack.isEmpty()) { + event.shaped(tongsStack, [ + 'AA', + 'BC' + ], { + A: tongPartStack, + B: '#forge:bolts', + C: '#forge:tools/hammers' + }).id(`tfchotornot:crafting/tongs/${material.getName()}`) + // Ручка щипцов event.recipes.tfc.heating(tongPartStack, tfcProperty.getMeltTemp()) .resultFluid(Fluid.of(outputMaterial.getFluid(), 144))