Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Cleanup gt++ phthalic acid (#737)
Browse files Browse the repository at this point in the history
* cleanup gt++ phthalic acid

* better use material
  • Loading branch information
chochem authored Sep 5, 2023
1 parent 4e0a4b9 commit 8732f36
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 33 deletions.
31 changes: 2 additions & 29 deletions src/main/java/gtPlusPlus/core/item/chemistry/CoalTar.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public class CoalTar extends ItemPackage {
public static Fluid Coal_Tar_Oil;
public static Fluid Sulfuric_Coal_Tar_Oil;
public static Fluid Naphthalene;
public static Fluid Phthalic_Acid;

private static void recipeEthylBenzineFuelsIntoHeavyFuel() {
CORE.RA.addChemicalRecipe(
Expand Down Expand Up @@ -238,15 +237,15 @@ private static void recipeNaphthaleneToPhthalicAcid() {
ItemUtils.getItemStackOfAmountFromOreDict("cellNaphthalene", 2),
ItemUtils.getItemStackOfAmountFromOreDict("dustLithium", 5),
null,
FluidUtils.getFluidStack("fluid.phthalicacid", 2500),
Materials.PhthalicAcid.getFluid(2500),
ItemUtils.getItemStackOfAmountFromOreDict("cellEmpty", 2),
20 * 16);
}

private static void recipePhthalicAcidToPhthalicAnhydride() {
CORE.RA.addDehydratorRecipe(
new ItemStack[] { CI.getNumberedBioCircuit(15) },
FluidUtils.getFluidStack("fluid.phthalicacid", 1000),
Materials.PhthalicAcid.getFluid(1000),
null,
new ItemStack[] { ItemUtils.getItemStackOfAmountFromOreDict("dustPhthalicAnhydride", 15) },
new int[] { 10000 },
Expand All @@ -273,8 +272,6 @@ public boolean generateRecipes() {

recipeEthylBenzineFuelsIntoHeavyFuel();

recipePhthalicAcidConversion();

// Burn the coal gas!
GT_Values.RA.addFuel(ItemUtils.getItemStackOfAmountFromOreDict("cellCoalGas", 1), null, 96, 1);
CORE.RA.addSemifluidFuel(ItemUtils.getItemStackOfAmountFromOreDict("cellSulfuricCoalTarOil", 1), 64);
Expand All @@ -284,19 +281,8 @@ public boolean generateRecipes() {
return true;
}

private void recipePhthalicAcidConversion() {
FluidStack aMyAcid = FluidUtils.getFluidStack(Phthalic_Acid, 500);
FluidStack aGtAcid = FluidUtils.getFluidStack("phtalicacid", 500);
if (aMyAcid != null && aGtAcid != null) {
CORE.RA.addDistilleryRecipe(CI.getNumberedBioCircuit(8), aMyAcid, aGtAcid, null, 50, 16, false);
CORE.RA.addDistilleryRecipe(CI.getNumberedBioCircuit(9), aGtAcid, aMyAcid, null, 50, 16, false);
}
}

@Override
public void items() {
// Phthalic_Acid = FluidUtils.generateFluidNonMolten("PhthalicAcid", "Phthalic Acid", 207, new short[]{210, 220,
// 210, 100}, null, null);
// v - Dehydrate at 180C+
// Create Phthalic Anhydride
ItemUtils.generateSpecialUseDusts(
Expand Down Expand Up @@ -403,18 +389,5 @@ public void fluids() {
new short[] { 210, 185, 135, 100 },
null,
null);
// v - Oxidize with mercury and nitric acid
// Create Phthalic Acid
Phthalic_Acid = FluidUtils.generateFluidNonMolten(
"PhthalicAcid",
"Phthalic Acid",
207,
new short[] { 210, 220, 210, 100 },
null,
null);
// v - Dehydrate at 180C+
// Create Phthalic Anhydride
// ItemUtils.generateSpecialUseDusts("PhthalicAnhydride", "Phthalic Anhydride", "C6H4(CO)2O",
// Utils.rgbtoHexValue(175, 175, 175));
}
}
1 change: 0 additions & 1 deletion src/main/resources/assets/miscutils/lang/de_DE.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1633,7 +1633,6 @@ item.CoalTar.name=Kohl-Teer-Zelle
item.CoalTarOil.name=Kohl-Teeröl-Zelle
item.SulfuricCoalTarOil.name=Schweflige Kohl-Teeröl-Zelle
item.Naphthalene.name=Naphthalin-Zelle
item.PhthalicAcid.name=Phthalsäure-Zelle
item.itemDustPhthalicAnhydride.name=Phthalsäureanhydrid-Staub
item.itemDustSmallPhthalicAnhydride.name=Kleines Häufchen Phthalsäureanhydrid-Staub
item.itemDustTinyPhthalicAnhydride.name=Winziges Häufchen Phthalsäureanhydrid-Staub
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/miscutils/lang/en_US.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,6 @@ item.CoalTar.name=Coal Tar Cell
item.CoalTarOil.name=Coal Tar Oil Cell
item.SulfuricCoalTarOil.name=Sulfuric Coal Tar Oil Cell
item.Naphthalene.name=Naphthalene Cell
item.PhthalicAcid.name=Phthalic Acid Cell
item.itemDustPhthalicAnhydride.name=Phthalic Anhydride Dust
item.itemDustSmallPhthalicAnhydride.name=Small Pile of Phthalic Anhydride Dust
item.itemDustTinyPhthalicAnhydride.name=Tiny Pile of Phthalic Anhydride Dust
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/miscutils/lang/ru_RU.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,6 @@ item.CoalTar.name=Coal Tar Cell
item.CoalTarOil.name=Coal Tar Oil Cell
item.SulfuricCoalTarOil.name=Sulfuric Coal Tar Oil Cell
item.Naphthalene.name=Naphthalene Cell
item.PhthalicAcid.name=Phthalic Acid Cell
item.itemDustPhthalicAnhydride.name=Phthalic Anhydride Dust
item.itemDustSmallPhthalicAnhydride.name=Small Pile of Phthalic Anhydride Dust
item.itemDustTinyPhthalicAnhydride.name=Tiny Pile of Phthalic Anhydride Dust
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/assets/miscutils/lang/zh_CN.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,6 @@ item.CoalTar.name=煤焦油单元
item.CoalTarOil.name=煤焦油单元
item.SulfuricCoalTarOil.name=硫酸煤焦油单元
item.Naphthalene.name=萘单元
item.PhthalicAcid.name=邻苯二甲酸单元
item.itemDustPhthalicAnhydride.name=邻苯二甲酸酐粉
item.itemDustSmallPhthalicAnhydride.name=小堆邻苯二甲酸酐粉
item.itemDustTinyPhthalicAnhydride.name=小撮邻苯二甲酸酐粉
Expand Down

0 comments on commit 8732f36

Please sign in to comment.