diff options
author | Steelux <70096037+Steelux8@users.noreply.github.com> | 2022-01-18 19:44:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 20:44:57 +0100 |
commit | 721f80939ed53d4ee3f8476b2db3e0b6b36f6400 (patch) | |
tree | 8c234cc0a169ea80a0640a2f88fd4e28cc629405 /src/main/java/gregtech/common | |
parent | 04dbdf690c84d3ba8db5eec822b1c37051815704 (diff) | |
download | GT5-Unofficial-721f80939ed53d4ee3f8476b2db3e0b6b36f6400.tar.gz GT5-Unofficial-721f80939ed53d4ee3f8476b2db3e0b6b36f6400.tar.bz2 GT5-Unofficial-721f80939ed53d4ee3f8476b2db3e0b6b36f6400.zip |
ECE and Fuel Rebalances (#878)
* Large Boiler Rebalance
- Changed Large Steel Boiler to output 1000 instead of 600 EU/t.
- Changed Large Titanium Boiler to output 6000 instead of 800 EU/t.
- Changed Large Titanium Boiler to output 6000 instead of 800 EU/t.
- Changed Large Tungstensteel Boiler to output 18750 instead of 1000 EU/t.
- Changed Titanium and Tungstensteel Boilers to output Superheated Steam instead of regular Steam.
- Added an upper bound for the burn value that can be processed by the boilers, in order to prevent an overflow.
- Added a lower bound for the burn value that can be processed by the boilers. This is a placeholder limitation intended to prevent the player from using the improved Titanium and Tungstensteel boilers to generate lots of power from easy solid fuels like Charcoal. A better way to implement this would be to make a whitelist of accepted fuels. The one I had in mind for these boilers was the Super Fuels, both the magic and non-magic ones.
The last two boilers had terrible numbers for their tier. High numbers would allow for charcoal powergen up to IV or LuV, though, so the better boilers should only accept solid fuels that are difficult to make and need a processing chain.
* Fuel Check, Water to Steam and Tooltip Fixes
- Changed the Titanium and Tungstensteel Boilers to only consume the Super Fuels. They are checking for their burn values, which are unique - this is a hotfix, this should be implemented as a whitelist that can be changed in the config file, but I do not know how to do this;
- Changed the code in the tooltips to differentiate between the two types of boilers without copypasting;
- Changed the water consumption when producing Superheated Steam, to maintain the amount of Distilled Water.
* Powergen Rebalance 1
- Changed Titanium Boiler from 6000 to 4000 EU/t;
- Changed Tungstensteel Boiler from 18750 to 16000 EU/t.
* ECE and Fuel Rebalance
- Changed Biodiesel fuel value from 256k to 320k EU;
- Changed Benzene fuel value from 288k to 360k EU;
- Changed Cetane-Boosted Diesel fuel value from 720k to 1M EU;
- Changed High Octane Gasoline fuel value from 1.728M to 2.5M EU;
- Changed the recipe of Biodiesel to CBD to output 900L instead of 750L per 1000L of Biodiesel, to account for the fuel value change;
- Reduced the LOX consumption of the ECE from 320 to 80 L/s. A quad Vacuum Freezer setup, with 3 HV and 1 EV can feed one ECE;
- Small changes to the EU/t of the ECE due to it all being coded with ints in a specific format, where doubles caused several rounding errors. The boosted output amount is very similar to how it was before;
- Added a condition to the LCE to not burn HOG if it does not have Oxygen to boost it, since it generated power without consuming any fuel due to its consumption being smaller than 1 L/t, and therefore rounded down to 0.
Diffstat (limited to 'src/main/java/gregtech/common')
2 files changed, 10 insertions, 10 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DieselEngine.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DieselEngine.java index d26a29652f..90750eb2b5 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DieselEngine.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DieselEngine.java @@ -183,6 +183,8 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_EnhancedMu return false; fuelValue = tRecipe.mSpecialValue; + //Check to prevent burning HOG without consuming it, if not boosted + if (!boostEu && fuelValue > getNominalOutput()) { return false; } fuelRemaining = tFluid.amount; //Record available fuel this.mEUt = mEfficiency < 2000 ? 0 : getNominalOutput(); //Output 0 if startup is less than 20% this.mProgresstime = 1; diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ExtremeDieselEngine.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ExtremeDieselEngine.java index 4d978ecc6e..e618457d9a 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ExtremeDieselEngine.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ExtremeDieselEngine.java @@ -41,10 +41,10 @@ public class GT_MetaTileEntity_ExtremeDieselEngine extends GT_MetaTileEntity_Die tt.addMachineType("Combustion Generator") .addInfo("Controller block for the Extreme Combustion Engine") .addInfo("Supply High Octane Gasoline and 8000L of Lubricant per hour to run") - .addInfo("Supply 320L/s of Liquid Oxygen to boost output (optional)") - .addInfo("Default: Produces 8192EU/t at 100% fuel efficiency") - .addInfo("Boosted: Produces 32768EU/t at 400% fuel efficiency") - .addInfo("You need to wait for it to reach 400% to output full power") + .addInfo("Supply 80L/s of Liquid Oxygen to boost output (optional)") + .addInfo("Default: Produces 10900EU/t at 100% fuel efficiency") + .addInfo("Boosted: Produces 32700EU/t at 150% fuel efficiency") + .addInfo("You need to wait for it to reach 300% to output full power") .addPollutionAmount(getPollutionPerSecond(null)) .addSeparator() .beginStructureBlock(3, 3, 4, false) @@ -130,13 +130,11 @@ public class GT_MetaTileEntity_ExtremeDieselEngine extends GT_MetaTileEntity_Die @Override protected int getNominalOutput() { - return 8192; + return 10900; } @Override - protected int getBoostFactor() { - return 4; - } + protected int getBoostFactor() { return 2; } @Override protected Materials getBooster() { @@ -145,7 +143,7 @@ public class GT_MetaTileEntity_ExtremeDieselEngine extends GT_MetaTileEntity_Die @Override protected int getAdditiveFactor() { - return 8; + return 2; } @Override @@ -155,7 +153,7 @@ public class GT_MetaTileEntity_ExtremeDieselEngine extends GT_MetaTileEntity_Die @Override public int getMaxEfficiency(ItemStack aStack) { - return boostEu ? 40000 : 10000; + return boostEu ? 30000 : 10000; } @Override |