alum double plates in LV #3030
This commit is contained in:
parent
59ebbc2578
commit
c8951d6d2d
3 changed files with 8 additions and 25 deletions
|
|
@ -1283,28 +1283,6 @@
|
|||
x: 6.0d
|
||||
y: 8.0d
|
||||
}
|
||||
{
|
||||
dependencies: ["45769156F4253C86"]
|
||||
dependency_requirement: "one_completed"
|
||||
description: ["{quests.medium_voltage.mv_jetpack.desc}"]
|
||||
id: "6FA956DAA72D6139"
|
||||
optional: true
|
||||
shape: "heart"
|
||||
size: 1.0d
|
||||
subtitle: "{quests.medium_voltage.mv_jetpack.subtitle}"
|
||||
tasks: [{
|
||||
id: "022324F9630960C6"
|
||||
item: {
|
||||
Count: 1
|
||||
id: "gtceu:liquid_fuel_jetpack"
|
||||
tag: { }
|
||||
}
|
||||
type: "item"
|
||||
}]
|
||||
title: "{quests.medium_voltage.mv_jetpack.title}"
|
||||
x: -5.0d
|
||||
y: 5.0d
|
||||
}
|
||||
{
|
||||
dependencies: ["75F38905DEA60F15"]
|
||||
dependency_requirement: "one_completed"
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue