diff options
author | Martin Robertz <dream-master@gmx.net> | 2022-11-01 13:26:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 13:26:42 +0100 |
commit | c082ea13dd80699fb34fbd557f8d509f9d279011 (patch) | |
tree | 988b0ee58f4abca25f99615c18a488f19db6d142 /src/main/java/gtPlusPlus/xmod/gregtech/registration | |
parent | 0e774cfbb9d3f0c3c75a1ef85e7f9e2cee8c83c9 (diff) | |
download | GT5-Unofficial-c082ea13dd80699fb34fbd557f8d509f9d279011.tar.gz GT5-Unofficial-c082ea13dd80699fb34fbd557f8d509f9d279011.tar.bz2 GT5-Unofficial-c082ea13dd80699fb34fbd557f8d509f9d279011.zip |
add sc steam turbine (#414)
* add sc steam turbine
* sa and fix crash
Co-authored-by: GlodBlock <1356392126@qq.com>
Co-authored-by: Yang Xizhi <60341015+GlodBlock@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/registration')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLargeTurbinesAndHeatExchanger.java | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLargeTurbinesAndHeatExchanger.java b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLargeTurbinesAndHeatExchanger.java index bad00131ee..05993e06a6 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLargeTurbinesAndHeatExchanger.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechLargeTurbinesAndHeatExchanger.java @@ -1,13 +1,11 @@ package gtPlusPlus.xmod.gregtech.registration.gregtech; import gtPlusPlus.api.objects.Logger; +import gtPlusPlus.core.lib.LoadedMods; import gtPlusPlus.xmod.gregtech.api.enums.GregtechItemList; import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Turbine; import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.processing.advanced.GregtechMetaTileEntity_Adv_HeatExchanger; -import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.turbines.GT_MTE_LargeTurbine_Gas; -import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.turbines.GT_MTE_LargeTurbine_Plasma; -import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.turbines.GT_MTE_LargeTurbine_SHSteam; -import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.turbines.GT_MTE_LargeTurbine_Steam; +import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.turbines.*; public class GregtechLargeTurbinesAndHeatExchanger { @@ -31,6 +29,11 @@ public class GregtechLargeTurbinesAndHeatExchanger { GregtechItemList.Large_Plasma_Turbine.set( new GT_MTE_LargeTurbine_Plasma(31074, "multimachine.largerplasmaturbine", "XL Turbo Plasma Turbine") .getStackForm(1L)); + if (LoadedMods.GoodGenerator) { + GregtechItemList.Large_SCSteam_Turbine.set( + new GT_MTE_LargeTurbine_SCSteam(31076, "multimachine.largerscturbine", "XL Turbo SC Steam Turbine") + .getStackForm(1L)); + } GregtechItemList.Hatch_Turbine_Rotor.set( new GT_MetaTileEntity_Hatch_Turbine(30010, "hatch.turbine", "Rotor Assembly", 8).getStackForm(1L)); GregtechItemList.XL_HeatExchanger.set(new GregtechMetaTileEntity_Adv_HeatExchanger( |