diff options
author | Johannes Gäßler <updrn@student.kit.edu> | 2017-07-24 11:14:52 +0200 |
---|---|---|
committer | Johannes Gäßler <updrn@student.kit.edu> | 2017-07-24 11:14:52 +0200 |
commit | 306160fb69b41376644d793803c67b85bc125af3 (patch) | |
tree | aeaa08cba60b2634765e5ef10deb2cc399723b7f /src/main/java/gregtech/api/metatileentity/implementations | |
parent | a687bcd24ee1ff97ad6d86f84f1748e1cd0129a4 (diff) | |
download | GT5-Unofficial-306160fb69b41376644d793803c67b85bc125af3.tar.gz GT5-Unofficial-306160fb69b41376644d793803c67b85bc125af3.tar.bz2 GT5-Unofficial-306160fb69b41376644d793803c67b85bc125af3.zip |
Implemented Fluid Output for the EBF
Regular Fluids are put out at the bottom layer.
CO2, CO, and SO2 are put out at the top layer and their amount scales
with the tier of the EBF's Muffler Hatch
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity/implementations')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Muffler.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Muffler.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Muffler.java index 86547d1736..e6f4f3d766 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Muffler.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_Hatch_Muffler.java @@ -28,10 +28,12 @@ public class GT_MetaTileEntity_Hatch_Muffler extends GT_MetaTileEntity_Hatch { @Override public String[] getDescription() { - String[] desc = new String[mDescriptionArray.length + 2]; + String[] desc = new String[mDescriptionArray.length + 3]; System.arraycopy(mDescriptionArray, 0, desc, 0, mDescriptionArray.length); desc[mDescriptionArray.length] = "DO NOT OBSTRUCT THE OUTPUT!"; desc[mDescriptionArray.length + 1] = "Reduces Pollution to " + calculatePollutionReduction(100) + "%"; + //Pollution Recovery scales from 5% at LV to 100% at MAX Voltage + desc[mDescriptionArray.length + 2] = "Recovers " + (105 - calculatePollutionReduction(100)) + "% of CO2/CO/SO2"; return desc; } |