From 425c57b280dd8a77d83f897c62688644578d51af Mon Sep 17 00:00:00 2001 From: TechLord22 <37029404+TechLord22@users.noreply.github.com> Date: Mon, 9 Jan 2023 17:10:55 -0500 Subject: [PATCH] Prevent decomposition of acids for hydrogen production (#1406) --- .../unification/material/materials/FirstDegreeMaterials.java | 3 +++ .../material/materials/OrganicChemistryMaterials.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/api/unification/material/materials/FirstDegreeMaterials.java b/src/main/java/gregtech/api/unification/material/materials/FirstDegreeMaterials.java index 59d2a161e63..f044a6dd7e1 100644 --- a/src/main/java/gregtech/api/unification/material/materials/FirstDegreeMaterials.java +++ b/src/main/java/gregtech/api/unification/material/materials/FirstDegreeMaterials.java @@ -1104,17 +1104,20 @@ public static void register() { NitricAcid = new Material.Builder(401, "nitric_acid") .fluid(FluidTypes.ACID) .color(0xCCCC00) + .flags(DISABLE_DECOMPOSITION) .components(Hydrogen, 1, Nitrogen, 1, Oxygen, 3) .build(); SulfuricAcid = new Material.Builder(402, "sulfuric_acid") .fluid(FluidTypes.ACID) + .flags(DISABLE_DECOMPOSITION) .components(Hydrogen, 2, Sulfur, 1, Oxygen, 4) .build(); PhosphoricAcid = new Material.Builder(403, "phosphoric_acid") .fluid(FluidTypes.ACID) .color(0xDCDC01) + .flags(DISABLE_DECOMPOSITION) .components(Hydrogen, 3, Phosphorus, 1, Oxygen, 4) .build(); diff --git a/src/main/java/gregtech/api/unification/material/materials/OrganicChemistryMaterials.java b/src/main/java/gregtech/api/unification/material/materials/OrganicChemistryMaterials.java index ae8ff9ac735..062694e4d6d 100644 --- a/src/main/java/gregtech/api/unification/material/materials/OrganicChemistryMaterials.java +++ b/src/main/java/gregtech/api/unification/material/materials/OrganicChemistryMaterials.java @@ -404,7 +404,7 @@ public static void register() { .build(); PhthalicAcid = new Material.Builder(1057, "phthalic_acid") - .fluid(FluidTypes.ACID, true) + .fluid(FluidTypes.ACID) .color(0xD1D1D1) .flags(DISABLE_DECOMPOSITION) .components(Carbon, 8, Hydrogen, 6, Oxygen, 4)