diff options
author | chochem <40274384+chochem@users.noreply.github.com> | 2024-04-07 13:50:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 13:50:44 +0100 |
commit | 3b53231d0ed59e59a0a022a5cda6142beca4941d (patch) | |
tree | 63721cc9c2501480dcd52c4ef769946b6ec6ea60 /src/main/java/gtPlusPlus/xmod/gregtech | |
parent | 04c3b1abf0fbb2ecceb529af54fbce08306de485 (diff) | |
download | GT5-Unofficial-3b53231d0ed59e59a0a022a5cda6142beca4941d.tar.gz GT5-Unofficial-3b53231d0ed59e59a0a022a5cda6142beca4941d.tar.bz2 GT5-Unofficial-3b53231d0ed59e59a0a022a5cda6142beca4941d.zip |
Fix the speed of the chemplant (again) (#864)
* fix speed bonus
* simplify as requested
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java index 9df9c0086f..6471a5e262 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java @@ -509,11 +509,6 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt return false; } - // Same speed bonus as pyro oven - public int getSpeedBonus() { - return 50 * (this.mCoilTier + 1); - } - public int getMaxCatalystDurability() { return 50; } @@ -607,7 +602,8 @@ public class GregtechMTE_ChemicalPlant extends GregtechMeta_MultiBlockBase<Gregt @Override protected void setupProcessingLogic(ProcessingLogic logic) { super.setupProcessingLogic(logic); - logic.setSpeedBonus(100F / (100F + getSpeedBonus())); + // Same speed bonus as pyro oven + logic.setSpeedBonus(2F / (1 + this.mCoilTier)); } @Override |