mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
i eat batteries
tenfolded max power
This commit is contained in:
parent
d4bf13630b
commit
2dd5400f8f
@ -202,7 +202,7 @@ public class GUIMachineTurbineGas extends GuiInfoContainer {
|
||||
|
||||
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++;
|
||||
if(digitNumber == 9) {
|
||||
@ -220,23 +220,23 @@ public class GUIMachineTurbineGas extends GuiInfoContainer {
|
||||
|
||||
protected void drawPowerMeterDisplay(int number) { //display code
|
||||
|
||||
int firstDigitX = 66;
|
||||
int firstDigitX = 65;
|
||||
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);
|
||||
|
||||
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;
|
||||
|
||||
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)
|
||||
uselessZeros++;
|
||||
@ -246,7 +246,7 @@ public class GUIMachineTurbineGas extends GuiInfoContainer {
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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.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.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
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Loading…
x
Reference in New Issue
Block a user