i eat batteries

tenfolded max power
This commit is contained in:
Pvndols 2024-05-28 16:26:14 +02:00
parent d4bf13630b
commit 2dd5400f8f
3 changed files with 8 additions and 8 deletions

View File

@ -202,7 +202,7 @@ public class GUIMachineTurbineGas extends GuiInfoContainer {
public void displayStartup() { public void displayStartup() {
if(numberToDisplay < 888888 && turbinegas.counter < 60) { //48 frames needed to complete if(numberToDisplay < 8888888 && turbinegas.counter < 60) { //48 frames needed to complete
digitNumber++; digitNumber++;
if(digitNumber == 9) { if(digitNumber == 9) {
@ -220,23 +220,23 @@ public class GUIMachineTurbineGas extends GuiInfoContainer {
protected void drawPowerMeterDisplay(int number) { //display code protected void drawPowerMeterDisplay(int number) { //display code
int firstDigitX = 66; int firstDigitX = 65;
int firstDigitY = 62; int firstDigitY = 62;
int[] digit = new int[6]; int[] digit = new int[7];
for(int i = 5; i >= 0; i--) { //creates an array of digits that represent the numbers for(int i = 6; i >= 0; i--) { //creates an array of digits that represent the numbers
digit[i] = (int) (number % 10); digit[i] = (int) (number % 10);
number = number / 10; number = number / 10;
drawTexturedModalRect(guiLeft + firstDigitX + i * 8, guiTop + 9 + firstDigitY, 194 + digit[i] * 5, 0, 5, 11); drawTexturedModalRect(guiLeft + firstDigitX + i * 7, guiTop + 9 + firstDigitY, 194 + digit[i] * 5, 0, 5, 11);
} }
int uselessZeros = 0; int uselessZeros = 0;
for(int i = 0; i < 5; i++) { //counts how much zeros there are before the number, to display 57 instead of 000057 for(int i = 0; i < 6; i++) { //counts how much zeros there are before the number, to display 57 instead of 000057
if(digit[i] == 0) if(digit[i] == 0)
uselessZeros++; uselessZeros++;
@ -246,7 +246,7 @@ public class GUIMachineTurbineGas extends GuiInfoContainer {
for(int i = 0; i < uselessZeros; i++) { //turns off the useless zeros for(int i = 0; i < uselessZeros; i++) { //turns off the useless zeros
drawTexturedModalRect(guiLeft + firstDigitX + i * 8, guiTop + 9 + firstDigitY, 244, 0, 5, 11); drawTexturedModalRect(guiLeft + firstDigitX + i * 7, guiTop + 9 + firstDigitY, 244, 0, 5, 11);
} }
} }

View File

@ -70,7 +70,7 @@ public class TileEntityMachineTurbineGas extends TileEntityMachineBase implement
fuelMaxCons.put(Fluids.GAS, 50D); // natgas doesn't burn well so it burns faster to compensate fuelMaxCons.put(Fluids.GAS, 50D); // natgas doesn't burn well so it burns faster to compensate
fuelMaxCons.put(Fluids.SYNGAS, 10D); // syngas just fucks fuelMaxCons.put(Fluids.SYNGAS, 10D); // syngas just fucks
fuelMaxCons.put(Fluids.OXYHYDROGEN, 100D); // oxyhydrogen is terrible so it needs to burn a ton for the bare minimum fuelMaxCons.put(Fluids.OXYHYDROGEN, 100D); // oxyhydrogen is terrible so it needs to burn a ton for the bare minimum
fuelMaxCons.put(Fluids.REFORMGAS, 2.5D); // halved because it's too powerful fuelMaxCons.put(Fluids.REFORMGAS, 5D); // fuck it we ball
// default to 5 if not in list // default to 5 if not in list
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB