Skip to content

Commit

Permalink
Prevent decomposition of acids for hydrogen production (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 authored Jan 9, 2023
1 parent 136404f commit 425c57b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 425c57b

Please sign in to comment.