alum double plates in LV #3030

This commit is contained in:
Pyritie 2026-02-15 12:55:05 +00:00
parent 59ebbc2578
commit c8951d6d2d
3 changed files with 8 additions and 25 deletions

View file

@ -207,7 +207,12 @@ function processPlateDouble(event, material) {
.EUt(24)
}
addMaterialWelding(event, doublePlateItem, plateItem, plateItem, material, 4, 2);
let tier = 2;
// Allow double aluminium plates with LV machines
if (material === GTMaterials.Aluminium)
tier = 1;
addMaterialWelding(event, doublePlateItem, plateItem, plateItem, material, 4, tier);
}
/**

View file

@ -184,9 +184,9 @@ function addMaterialCasting(event, outputItem, ceramicMold, isFireMold, gtMold,
* @param {Internal.ItemStack} inputItem2
* @param {com.gregtechceu.gtceu.api.data.chemical.material.Material_} material
* @param {number} tierThreshold
* Should be 4 for everything except double ingots, which should be 5
* TFC Anvil tier. Should be 4 for everything except double ingots, which should be 5
* @param {number} nonTfcTier
* What recipe tier should non-tfc materials use? 0 for ulv, 1 for lv, etc
* GregTech voltage tier. What recipe tier should non-tfc materials use? 0 for ulv, 1 for lv, etc
*/
function addMaterialWelding(event, outputItem, inputItem1, inputItem2, material, tierThreshold, nonTfcTier) {
const tfcProperty = material.getProperty(TFGPropertyKey.TFC_PROPERTY);