import mods.tconstruct.Alloy; import mods.tconstruct.Melting; import mods.tconstruct.Fuel; import mods.tconstruct.Casting; import crafttweaker.data.IData; import crafttweaker.liquid.ILiquidDefinition; import crafttweaker.liquid.ILiquidStack; #MC Eternal Scripts print("--- loading TinkersConstruct.zs ---"); #Remove Steel from being maked in the tinkers smeltery Alloy.removeRecipe(); #Remove Fluxed Electrum Alloying/Part Smelting Alloy.removeRecipe(); Melting.removeRecipe(); #Add alternate Mirion alloying Alloy.addRecipe(*72, [*18, *18, *18, *18, *125]); #Nihilite // commit space :pointingrat: recipes.addShapeless("nihilite_mce", , [, , ]); Alloy.removeRecipe(); // patch funni iron>gold exploit Melting.removeRecipe(, ); // addSmelteryFuel(liquid as ILiquidStack, duration as int, temp as int); // use -1 for the temp to not change the temp function addSmelteryFuel (fluid as ILiquidStack, duration as int, temp as int) { Fuel.registerFuel(fluid, duration); if(temp != -1){ fluid.definition.temperature = temp; } } addSmelteryFuel(*75, 3000, 10000); addSmelteryFuel(*25, 500, 2000); // Starmetal Fix v2 // aka: the version using a central concept i figured out while making a Gregtech script inspired by FTB Interactions val allparts = { 1:["tconstruct:binding","tconstruct:tool_rod","tconstruct:hand_guard","tconstruct:knife_blade","tconstruct:wide_guard","tconstruct:cross_guard","conarm:armor_trim"], 2:["tconstruct:arrow_head","tconstruct:sharpening_kit","tconstruct:axe_head","tconstruct:shovel_head","tconstruct:kama_head","tconstruct:sword_blade"], 3:["tconstruct:pick_head","tconstruct:bow_limb","tconstruct:sign_head","tconstruct:tough_tool_rod","tconstruct:tough_binding","conarm:armor_plate"], 4:["tconstruct:pan_head","conarm:helmet_core","conarm:boots_core"], 5:["conarm:leggings_core"], 6:["conarm:chest_core"], 8:["tconstruct:scythe_head","tconstruct:large_sword_blade","tconstruct:large_plate","tconstruct:hammer_head","tconstruct:excavator_head","tconstruct:broad_axe_head"] } as string[][int]; for value in allparts { for part in allparts[value] { Casting.addTableRecipe(itemUtils.getItem(part).withTag({Material: "starmetal"}),.withTag({PartType: part as IData}), , 144*value, false, 85*value); Casting.addTableRecipe(itemUtils.getItem(part).withTag({Material: "starmetal"}),.withTag({PartType: part as IData}), , 144*value, false, 85*value); } } val materialsThatDontExist = [ "electrumflux", "redmatter", "ebonypsi", "ivorypsi", "psigem", "psi", "quartzenrichediron", "yellorium" ] as string[]; for material in materialsThatDontExist { mods.jei.JEI.hide(.withTag({Material: material as IData})); for value in allparts { for part in allparts[value] { mods.jei.JEI.hide(itemUtils.getItem(part).withTag({Material: material as IData})); } } } print("--- TinkersConstruct.zs initialized ---");