aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorVolence <32358820+Volence@users.noreply.github.com>2024-08-03 22:07:37 -0400
committerGitHub <noreply@github.com>2024-08-04 09:07:37 +0700
commit50c7afb6c42498c45b422dfd09a0b9433a061034 (patch)
tree88ee4f3f5a52ef05a42312a321c54250471146db /src/main
parentc530f2f6c5a3afd3d4a823820228471b26266700 (diff)
downloadGT5-Unofficial-50c7afb6c42498c45b422dfd09a0b9433a061034.tar.gz
GT5-Unofficial-50c7afb6c42498c45b422dfd09a0b9433a061034.tar.bz2
GT5-Unofficial-50c7afb6c42498c45b422dfd09a0b9433a061034.zip
Cryofreezer buff (#2795)
* changed the eu bonus, speed bonus, parallel bonus, and cryo use to be akin to the volcanus * Changed cryo freezer recipe to be IV based * actually change it to use half the cryotheum * revert certain buffs as requested * changed check for pyro/cryo from 5 every half second to 10 every full second, got rid of grace check
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java4
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java17
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/advanced/GregtechMetaTileEntity_Adv_EBF.java17
3 files changed, 14 insertions, 24 deletions
diff --git a/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java b/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java
index c312149cfc..075b8978f6 100644
--- a/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java
+++ b/src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java
@@ -2678,9 +2678,9 @@ public class RECIPES_Machines {
if (true) {
// Advanced Vacuum Freezer
- ItemStack plate = ALLOY.HG1223.getPlateDouble(1);
+ ItemStack plate = ALLOY.LEAGRISIUM.getPlateDouble(1);
ItemStack gear = ALLOY.INCOLOY_MA956.getGear(1);
- ItemStack frame = ALLOY.LAFIUM.getFrameBox(1);
+ ItemStack frame = ALLOY.NITINOL_60.getFrameBox(1);
ItemStack cell1 = ItemList.Reactor_Coolant_He_6.get(1);
ItemStack cell2 = ItemList.Reactor_Coolant_NaK_6.get(1);
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java
index aba508e183..36fb1d526d 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/GregtechMetaTileEntity_IndustrialVacuumFreezer.java
@@ -83,7 +83,7 @@ public class GregtechMetaTileEntity_IndustrialVacuumFreezer extends
tt.addMachineType(getMachineType())
.addInfo("Factory Grade Advanced Vacuum Freezer")
.addInfo("Speed: +100% | EU Usage: 100% | Parallel: 4")
- .addInfo("Consumes 20L of " + mCryoFuelName + "/s during operation")
+ .addInfo("Consumes 10L of " + mCryoFuelName + "/s during operation")
.addInfo("Constructed exactly the same as a normal Vacuum Freezer")
.addPollutionAmount(getPollutionPerSecond(null))
.addSeparator()
@@ -230,8 +230,6 @@ public class GregtechMetaTileEntity_IndustrialVacuumFreezer extends
return false;
}
- private int mGraceTimer = 2;
-
@Override
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
/*
@@ -243,16 +241,13 @@ public class GregtechMetaTileEntity_IndustrialVacuumFreezer extends
if (this.mStartUpCheck < 0) {
if (this.mMaxProgresstime > 0 && this.mProgresstime != 0 || this.getBaseMetaTileEntity()
.hasWorkJustBeenEnabled()) {
- if (aTick % 10 == 0 || this.getBaseMetaTileEntity()
+ if (aTick % 20 == 0 || this.getBaseMetaTileEntity()
.hasWorkJustBeenEnabled()) {
if (!this.depleteInputFromRestrictedHatches(this.mCryotheumHatches, 10)) {
- if (mGraceTimer-- == 0) {
- this.causeMaintenanceIssue();
- this.stopMachine(
- ShutDownReasonRegistry
- .outOfFluid(Objects.requireNonNull(FluidUtils.getFluidStack("cryotheum", 20))));
- mGraceTimer = 2;
- }
+ this.causeMaintenanceIssue();
+ this.stopMachine(
+ ShutDownReasonRegistry
+ .outOfFluid(Objects.requireNonNull(FluidUtils.getFluidStack("cryotheum", 10))));
}
}
}
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/advanced/GregtechMetaTileEntity_Adv_EBF.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/advanced/GregtechMetaTileEntity_Adv_EBF.java
index 89c219c14e..4d8c4fb128 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/advanced/GregtechMetaTileEntity_Adv_EBF.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/advanced/GregtechMetaTileEntity_Adv_EBF.java
@@ -272,8 +272,6 @@ public class GregtechMetaTileEntity_Adv_EBF extends GregtechMeta_MultiBlockBase<
return false;
}
- private int mGraceTimer = 2;
-
@Override
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
super.onPostTick(aBaseMetaTileEntity, aTick);
@@ -281,16 +279,13 @@ public class GregtechMetaTileEntity_Adv_EBF extends GregtechMeta_MultiBlockBase<
if (this.mStartUpCheck < 0) {
if (this.mMaxProgresstime > 0 && this.mProgresstime != 0 || this.getBaseMetaTileEntity()
.hasWorkJustBeenEnabled()) {
- if (aTick % 10 == 0 || this.getBaseMetaTileEntity()
+ if (aTick % 20 == 0 || this.getBaseMetaTileEntity()
.hasWorkJustBeenEnabled()) {
- if (!this.depleteInputFromRestrictedHatches(this.mPyrotheumHatches, 5)) {
- if (mGraceTimer-- == 0) {
- this.causeMaintenanceIssue();
- this.stopMachine(
- ShutDownReasonRegistry
- .outOfFluid(Objects.requireNonNull(FluidUtils.getFluidStack("pyrotheum", 10))));
- mGraceTimer = 2;
- }
+ if (!this.depleteInputFromRestrictedHatches(this.mPyrotheumHatches, 10)) {
+ this.causeMaintenanceIssue();
+ this.stopMachine(
+ ShutDownReasonRegistry
+ .outOfFluid(Objects.requireNonNull(FluidUtils.getFluidStack("pyrotheum", 10))));
}
}
}