aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorYang Xizhi <60341015+GlodBlock@users.noreply.github.com>2022-10-08 22:58:34 +0800
committerGitHub <noreply@github.com>2022-10-08 16:58:34 +0200
commit4f05ff3638399c6b32953620c4673f726c8c8264 (patch)
treef8e6f401c78b1f301894e29032e0decef801a954 /src/main/java/com
parente6a5c248d80aa69b60f0e95e9583f85dab1093f6 (diff)
downloadGT5-Unofficial-4f05ff3638399c6b32953620c4673f726c8c8264.tar.gz
GT5-Unofficial-4f05ff3638399c6b32953620c4673f726c8c8264.tar.bz2
GT5-Unofficial-4f05ff3638399c6b32953620c4673f726c8c8264.zip
add foil for bw material (#213)
* add foil for bw material * forget something Former-commit-id: 3c870fc78e13967b71446cb61fec601fba01aa6c
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/Werkstoff.java1
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java1
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/SimpleMetalLoader.java9
3 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/Werkstoff.java b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/Werkstoff.java
index 58c0811d93..6d1a7ace26 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/Werkstoff.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/Werkstoff.java
@@ -774,6 +774,7 @@ public class Werkstoff implements IColorModulationContainer, ISubTagContainer {
Werkstoff.GenerationFeatures.prefixLogic.put(WerkstoffLoader.cellMolten, 0b1000000);
Werkstoff.GenerationFeatures.prefixLogic.put(OrePrefixes.plate, 0b10000000);
+ Werkstoff.GenerationFeatures.prefixLogic.put(OrePrefixes.foil, 0b10000000);
Werkstoff.GenerationFeatures.prefixLogic.put(OrePrefixes.stick, 0b10000000);
Werkstoff.GenerationFeatures.prefixLogic.put(OrePrefixes.stickLong, 0b10000000);
Werkstoff.GenerationFeatures.prefixLogic.put(OrePrefixes.toolHeadHammer, 0b10000000);
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java
index ac5c1948c1..c2cf281663 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java
@@ -1820,6 +1820,7 @@ public class WerkstoffLoader {
}
if ((WerkstoffLoader.toGenerateGlobal & 0b10000000) != 0) {
WerkstoffLoader.items.put(plate, new BW_MetaGenerated_Items(plate));
+ WerkstoffLoader.items.put(foil, new BW_MetaGenerated_Items(foil));
WerkstoffLoader.items.put(stick, new BW_MetaGenerated_Items(stick));
WerkstoffLoader.items.put(stickLong, new BW_MetaGenerated_Items(stickLong));
WerkstoffLoader.items.put(toolHeadWrench, new BW_MetaGenerated_Items(toolHeadWrench));
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/SimpleMetalLoader.java b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/SimpleMetalLoader.java
index fd8d5be39e..20ba0564ac 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/SimpleMetalLoader.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/system/material/werkstoff_loaders/recipe/SimpleMetalLoader.java
@@ -84,6 +84,8 @@ public class SimpleMetalLoader implements IWerkstoffRunnable {
werkstoff.get(stick), GT_Proxy.tBits, new Object[] {"f ", " X", 'X', werkstoff.get(ingot)});
GT_ModHandler.addCraftingRecipe(
werkstoff.get(plate), GT_Proxy.tBits, new Object[] {"h", "X", "X", 'X', werkstoff.get(ingot)});
+ GT_ModHandler.addCraftingRecipe(
+ werkstoff.get(foil, 2), GT_Proxy.tBits, new Object[] {"hX", 'X', werkstoff.get(plate)});
GT_Recipe.GT_Recipe_Map.sBenderRecipes.add(new BWRecipes.DynamicGTRecipe(
true,
@@ -113,6 +115,13 @@ public class SimpleMetalLoader implements IWerkstoffRunnable {
(int) Math.max(werkstoff.getStats().getMass() * 5L, 1L),
16);
+ GT_Values.RA.addBenderRecipe(
+ werkstoff.get(plate),
+ GT_Utility.getIntegratedCircuit(1),
+ werkstoff.get(foil, 4),
+ (int) Math.max(werkstoff.getStats().getMass() * 5L, 1L),
+ 48);
+
GT_Values.RA.addForgeHammerRecipe(
werkstoff.get(stick, 2),
werkstoff.get(stickLong),