aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkuba6000 <kuba.123123.6000@gmail.com>2021-08-28 18:04:33 +0200
committerkuba6000 <kuba.123123.6000@gmail.com>2021-08-28 18:04:33 +0200
commitd0a4648dfa4e3a7ba4deaf8a1d7e7cfba314e6bf (patch)
tree7288d6f8224123e37864f1d70387973550345e6c /src
parented263ebe21ea9a60a9c950a526734532fc4fc00c (diff)
downloadGT5-Unofficial-d0a4648dfa4e3a7ba4deaf8a1d7e7cfba314e6bf.tar.gz
GT5-Unofficial-d0a4648dfa4e3a7ba4deaf8a1d7e7cfba314e6bf.tar.bz2
GT5-Unofficial-d0a4648dfa4e3a7ba4deaf8a1d7e7cfba314e6bf.zip
New fuels
Now only in english Former-commit-id: f7305d7dee36564afd4b1e19af28ce220a45b469
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_THTR.java250
-rw-r--r--src/main/resources/assets/bartworks/lang/de_DE.lang6
-rw-r--r--src/main/resources/assets/bartworks/lang/en_US.lang10
-rw-r--r--src/main/resources/assets/bartworks/lang/fr_FR.lang7
-rw-r--r--src/main/resources/assets/bartworks/lang/zh_CN.lang7
-rw-r--r--src/main/resources/assets/bartworks/textures/items/BISOPellet.pngbin253 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/BISOPelletBall.pngbin305 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/BISOPelletCompound.pngbin269 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPellet.pngbin266 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPelletBall.pngbin346 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPellet.pngbin258 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPelletBall.pngbin291 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundPlutonium.pngbin0 -> 5702 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundThorium.pngbin0 -> 5691 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundUranium.pngbin0 -> 5716 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallPlutonium.pngbin0 -> 6022 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallThorium.pngbin0 -> 5971 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallUranium.pngbin0 -> 6020 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebblePlutonium.pngbin0 -> 5726 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleThorium.pngbin0 -> 5709 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleUranium.pngbin0 -> 5725 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixturePlutonium.pngbin0 -> 6031 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureThorium.pngbin0 -> 5964 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureUranium.pngbin0 -> 6030 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallPlutonium.pngbin0 -> 5973 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallThorium.pngbin0 -> 5937 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallUranium.pngbin0 -> 5988 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundPlutonium.pngbin0 -> 5932 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundThorium.pngbin0 -> 5885 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundUranium.pngbin0 -> 5971 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebblePlutonium.pngbin0 -> 5658 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleThorium.pngbin0 -> 5673 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleUranium.pngbin0 -> 5703 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/TRISOPellet.pngbin257 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/TRISOPelletBall.pngbin305 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/items/TRISOPelletCompound.pngbin244 -> 0 bytes
36 files changed, 168 insertions, 112 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_THTR.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_THTR.java
index e50f4d25c1..61a1e707e4 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_THTR.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_THTR.java
@@ -44,6 +44,7 @@ import gregtech.api.render.TextureFactory;
import gregtech.api.util.GT_OreDictUnificator;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
+import gregtech.api.util.GT_LanguageManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
@@ -52,6 +53,7 @@ import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;
import java.util.Arrays;
+import java.util.ArrayList;
public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
@@ -109,25 +111,23 @@ public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
}
}
}
- for (ItemStack itemStack : this.getStoredInputs()) {
- int type = -1;
- if(GT_Utility.areStacksEqual(itemStack, new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, 1)))
- type = 0; // BISO
- if(GT_Utility.areStacksEqual(itemStack, new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, 3)))
- type = 1; // TRISO
- if(type == -1)
- continue;
- if(this.fueltype == -1)
- this.fueltype = type;
- if(this.fueltype != type)
- continue;
- if(this.fuelsupply < 720000)
- {
+ if(this.fuelsupply < 720000){
+ for (ItemStack itemStack : this.getStoredInputs()) {
+ int type = -1;
+ if(itemStack == null) continue;
+ if(itemStack.getItem() != THTRMaterials.aTHTR_Materials) continue;
+ int damage = THTRMaterials.aTHTR_Materials.getDamage(itemStack);
+ if(!((damage + 1) % THTRMaterials.MATERIALS_PER_FUEL == THTRMaterials.USABLE_FUEL_INDEX + 1)) continue; // is fuel
+ type = damage / THTRMaterials.MATERIALS_PER_FUEL;
+ if(this.fueltype == -1)
+ this.fueltype = type;
+ if(this.fueltype != type)
+ continue;
int toget = Math.min(720000 - this.fuelsupply, itemStack.stackSize);
this.fuelsupply += toget;
itemStack.stackSize -= toget;
- this.updateSlots();
}
+ this.updateSlots();
}
}
}
@@ -155,25 +155,30 @@ public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
int burnedballs = toReduce/64;
if(burnedballs > 0)
toReduce -= burnedballs*64;
-
- int meta = this.fueltype == 1 ? 7 : 6;
+
+ int meta = (this.fueltype * THTRMaterials.MATERIALS_PER_FUEL) + THTRMaterials.BURNED_OUT_FUEL_INDEX;
this.mOutputItems = new ItemStack[] {
- new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, burnedballs, meta),
- new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, toReduce, meta+2)
+ new ItemStack(THTRMaterials.aTHTR_Materials, burnedballs, meta),
+ new ItemStack(THTRMaterials.aTHTR_Materials, toReduce, meta + 1)
};
this.updateSlots();
+ this.coolanttaking = (int)(4000D * ((this.fueltype * 0.5D) + 1) * ((double)this.mEfficiency / 10000D)) * 20; // 100 LHEs btw, why?
+
this.mEfficiency = (int)(eff*10000D);
this.mEUt=0;
this.mMaxProgresstime=72000;
return true;
}
+ private static int runningtick = 0;
+
@Override
public boolean onRunningTick(ItemStack aStack) {
-
+ runningtick++;
+
if (this.empty){
if(emptyticksnodiff > 20 && emptyticksnodiff % 20 != 0){
emptyticksnodiff++;
@@ -185,7 +190,7 @@ public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
}
if(this.fuelsupply > 0)
{
- ItemStack iStack = new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, this.fuelsupply, this.fueltype == 1 ? 3 : 1);
+ ItemStack iStack = new ItemStack(THTRMaterials.aTHTR_Materials, this.fuelsupply, (THTRMaterials.MATERIALS_PER_FUEL * this.fueltype) + THTRMaterials.USABLE_FUEL_INDEX);
boolean storedAll = false;
for (GT_MetaTileEntity_Hatch_OutputBus tHatch : this.mOutputBusses) {
if(!isValidMetaTileEntity(tHatch))
@@ -207,31 +212,32 @@ public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
return true;
}
-
- int takecoolant = (int)(4000D * (this.fueltype == 1 ? 2D : 1D) * ((double)this.mEfficiency / 10000D)); // 100 LHEs btw, why?
- coolanttaking = takecoolant;
- int drainedamount = 0;
-
- for(GT_MetaTileEntity_Hatch_Input tHatch : this.mInputHatches){
- if (isValidMetaTileEntity(tHatch)) {
- FluidStack tLiquid = tHatch.getFluid();
- if (tLiquid != null && tLiquid.isFluidEqual(FluidRegistry.getFluidStack("ic2coolant",1))){
- FluidStack drained = tHatch.drain(takecoolant, true);
- takecoolant -= drained.amount;
- drainedamount += drained.amount;
- if(takecoolant <= 0)
- break;
+ if(runningtick % 20 == 0)
+ {
+ int takecoolant = coolanttaking;
+ int drainedamount = 0;
+
+ for(GT_MetaTileEntity_Hatch_Input tHatch : this.mInputHatches){
+ if (isValidMetaTileEntity(tHatch)) {
+ FluidStack tLiquid = tHatch.getFluid();
+ if (tLiquid != null && tLiquid.isFluidEqual(FluidRegistry.getFluidStack("ic2coolant",1))){
+ FluidStack drained = tHatch.drain(takecoolant, true);
+ takecoolant -= drained.amount;
+ drainedamount += drained.amount;
+ if(takecoolant <= 0)
+ break;
+ }
}
}
- }
- if(drainedamount > 0)
- addOutput(FluidRegistry.getFluidStack("ic2coolant", drainedamount));
+ if(drainedamount > 0)
+ addOutput(FluidRegistry.getFluidStack("ic2coolant", drainedamount));
- this.updateSlots();
+ this.updateSlots();
- if(takecoolant > 0)
- this.stopMachine();
+ if(takecoolant > 0)
+ this.stopMachine();
+ }
return true;
}
@@ -311,10 +317,10 @@ public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
return new String[]{
"Mode:", this.empty ? "Emptying" : "Normal",
"Progress:", GT_Utility.formatNumbers(this.mProgresstime / 20) + "s / " + GT_Utility.formatNumbers(this.mMaxProgresstime / 20) + "s",
- "Fuel type:", (this.fueltype == -1 ? "NONE" : (this.fueltype == 1 ? "TRISO" : "BISO")),
+ "Fuel type:", (this.fueltype == -1 ? "NONE" : ("TRISO (" + THTRMaterials.sTHTR_Fuel[this.fueltype].sEnglish) + ")"),
"Fuel amount:", GT_Utility.formatNumbers(this.fuelsupply) + " pcs.",
"Helium-Level:", GT_Utility.formatNumbers(this.HeliumSupply) + "L / " + GT_Utility.formatNumbers(GT_TileEntity_THTR.HELIUM_NEEDED) + "L",
- "Coolant/t:", GT_Utility.formatNumbers(coolanttaking) + "L/t",
+ "Coolant/t:", GT_Utility.formatNumbers(coolanttaking) + "L/s",
"Problems:", String.valueOf(this.getIdealStatus() - this.getRepairStatus())
};
}
@@ -340,20 +346,102 @@ public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
GT_Utility.sendChatToPlayer(aPlayer, "THTR is now running in " + (this.empty ? "emptying mode." : "normal Operation"));
}
+
+
public static class THTRMaterials{
- static final SimpleSubItemClass aTHTR_Materials = new SimpleSubItemClass(
- "BISOPelletCompound",
- "BISOPellet",
- "TRISOPelletCompound",
- "TRISOPellet",
- "BISOPelletBall",
- "TRISOPelletBall",
- "BurnedOutBISOPelletBall", // 6
- "BurnedOutTRISOPelletBall", // 7
- "BurnedOutBISOPellet", // 8
- "BurnedOutTRISOPellet" // 9
- );
+ private static class Base_{
+ public String sName;
+ public String sEnglish;
+ public String sTooltip;
+ public Base_(String a, String b){
+ this.sName = a;
+ this.sEnglish = b;
+ this.sTooltip = "";
+ }
+ public Base_(String a, String b, String c){
+ this.sName = a;
+ this.sEnglish = b;
+ this.sTooltip = c;
+ }
+ }
+ static class Fuel_{
+ public String sName;
+ public String sEnglish;
+ public ItemStack mainItem;
+ public ItemStack secondaryItem;
+ public ItemStack[] recycledItems = { GT_Values.NI, GT_Values.NI, GT_Values.NI, GT_Values.NI, GT_Values.NI, GT_Values.NI };
+ public FluidStack recycledFluid;
+ public int[] recycleChances;
+ public Fuel_(String sName, String sEnglish, ItemStack mainItem, ItemStack secondaryItem, FluidStack recycledFluid, ItemStack[] recycledItems, int[] recycleChances){
+ this.sName = sName;
+ this.sEnglish = sEnglish;
+ this.mainItem = mainItem;
+ this.secondaryItem = secondaryItem;
+ this.recycledFluid = recycledFluid;
+ for(int i = 0; i < recycledItems.length; i++)
+ this.recycledItems[i] = recycledItems[i];
+ this.recycleChances = recycleChances;
+ }
+ }
+ private static class LangEntry_{
+ public String sName;
+ public String sEnglish;
+ public LangEntry_(String a, String b){
+ this.sName = a;
+ this.sEnglish = b;
+ }
+ }
+
+ static final Base_[] sTHTR_Bases = new Base_[]{
+ new Base_("HTGRFuelMixture", "HTGR fuel mixture"),
+ new Base_("BISOPebbleCompound", "BISO pebble compound"),
+ new Base_("TRISOPebbleCompound", "TRISO pebble compound"),
+ new Base_("TRISOBall", "TRISO ball"),
+ new Base_("TRISOPebble", "TRISO pebble"),
+ new Base_("BurnedOutTRISOBall", "Burned out TRISO Ball"),
+ new Base_("BurnedOutTRISOPebble", "Burned out TRISO Pebble"),
+ };
+ static final int MATERIALS_PER_FUEL = sTHTR_Bases.length;
+ static final int USABLE_FUEL_INDEX = 4;
+ static final int BURNED_OUT_FUEL_INDEX = 5;
+ static final Fuel_[] sTHTR_Fuel = new Fuel_[]{
+ new Fuel_("Thorium", "Thorium", WerkstoffLoader.Thorium232.get(OrePrefixes.dust, 64), Materials.Uranium235.getDust(4),
+ GT_Values.NF, new ItemStack[]{
+ Materials.Silicon.getDustSmall(1), Materials.Graphite.getDustSmall(1), Materials.Carbon.getDustSmall(1),
+ Materials.Lutetium.getDustSmall(1), WerkstoffLoader.Thorium232.get(OrePrefixes.dustSmall,1)},
+ new int[]{9000, 9000, 9000, 9000, 1000}),
+ new Fuel_("Uranium", "Uranium", Materials.Uranium.getDust(60), Materials.Uranium235.getDust(8),
+ FluidRegistry.getFluidStack("krypton", 7), new ItemStack[]{
+ Materials.Silicon.getDustSmall(1), Materials.Graphite.getDustSmall(1), Materials.Carbon.getDustSmall(1),
+ Materials.Lead.getDustSmall(1),
+ Materials.Uranium.getDustSmall(1)},
+ new int[]{9000, 9000, 9000, 6562, 937}),
+ new Fuel_("Plutonium", "Plutonium", Materials.Plutonium.getDust(64), Materials.Plutonium241.getDust(4),
+ FluidRegistry.getFluidStack("xenon", 8), new ItemStack[]{
+ Materials.Silicon.getDustSmall(1), Materials.Graphite.getDustSmall(1), Materials.Carbon.getDustSmall(1),
+ Materials.Lead.getDustSmall(1),
+ Materials.Plutonium.getDustSmall(1)},
+ new int[]{9000, 9000, 9000, 7000, 1000}),
+ };
+ static final SimpleSubItemClass aTHTR_Materials;
+ static final ArrayList<LangEntry_> aTHTR_Localizations = new ArrayList<LangEntry_>();
+ static{
+ String[] sTHTR_Materials = new String[sTHTR_Bases.length*sTHTR_Fuel.length];
+ int i = 0;
+ for(Fuel_ fuel : sTHTR_Fuel)
+ for(Base_ base : sTHTR_Bases)
+ {
+ sTHTR_Materials[i] = "HTGR" + base.sName + fuel.sName;
+ aTHTR_Localizations.add(new LangEntry_("item." + sTHTR_Materials[i] + ".name", base.sEnglish + " (" + fuel.sEnglish + ")"));
+ i++;
+ }
+ aTHTR_Materials = new SimpleSubItemClass(sTHTR_Materials);
+ }
+
+
public static void registeraTHR_Materials(){
+ for(LangEntry_ iName : aTHTR_Localizations)
+ GT_LanguageManager.addStringLocalization(iName.sName, iName.sEnglish);
GameRegistry.registerItem(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,"bw.THTRMaterials");
}
@@ -374,35 +462,29 @@ public class GT_TileEntity_THTR extends GT_MetaTileEntity_MultiBlockBase {
40,
BW_Util.getMachineVoltageFromTier(5)
);
- GT_Values.RA.addMixerRecipe(WerkstoffLoader.Thorium232.get(OrePrefixes.dust,64),Materials.Uranium235.getDust(4),GT_Utility.getIntegratedCircuit(1),null,null,null,new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials),400,30);
- GT_Values.RA.addFormingPressRecipe(new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials),Materials.Graphite.getDust(64),new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,4),40,30);
- ItemStack[] pellets = new ItemStack[4];
- Arrays.fill(pellets,new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,64,1));
- GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false,new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,4),GT_Utility.getIntegratedCircuit(17)}, pellets,null,null,null,null,16000,30,0);
- GT_Values.RA.addFormingPressRecipe(new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,4),Materials.Silicon.getDust(64),new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,2),40,30);
- GT_Values.RA.addFormingPressRecipe(new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,2),Materials.Graphite.getDust(64),new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,5),40,30);
- pellets = new ItemStack[4];
- Arrays.fill(pellets,new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,64,3));
- GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false,new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,5),GT_Utility.getIntegratedCircuit(17)}, pellets,null,null,null,null,32000,30,0);
- GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false,new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,6),GT_Utility.getIntegratedCircuit(17)}, new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,64,8)},null,null,null,null,48000,30,0);
- GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false,new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,7),GT_Utility.getIntegratedCircuit(17)}, new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,64,9)},null,null,null,null,48000,30,0);
- //old
- //GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false,new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,8)},new ItemStack[]{Materials.Lutetium.getDustSmall(2)},null,null,null,null,1200,30,0);
- //GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false,new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,9)},new ItemStack[]{Materials.Lutetium.getDustSmall(4)},null,null,null,null,1200,30,0);
- GT_Values.RA.addCentrifugeRecipe(
- new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,8),GT_Values.NI,GT_Values.NF,GT_Values.NF,
- Materials.Graphite.getDustSmall(1),
- Materials.Lutetium.getDustSmall(1), WerkstoffLoader.Thorium232.get(OrePrefixes.dustSmall,1),
- null, null, null,
- new int[]{9000, 3750, 6250},
- 1200, 30);
- GT_Values.RA.addCentrifugeRecipe(
- new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials,1,9),GT_Values.NI,GT_Values.NF,GT_Values.NF,
- Materials.Silicon.getDustSmall(1), Materials.Graphite.getDustSmall(2),
- Materials.Lutetium.getDustSmall(1), WerkstoffLoader.Thorium232.get(OrePrefixes.dustSmall,1),
- null, null,
- new int[]{9000, 9000, 9000, 1000},
- 1200, 30);
+ int i = 0;
+ for(Fuel_ fuel : sTHTR_Fuel){
+ GT_Values.RA.addMixerRecipe(fuel.mainItem, fuel.secondaryItem ,GT_Utility.getIntegratedCircuit(1),null,null,null,new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i),400,30);
+ GT_Values.RA.addFormingPressRecipe(new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i), Materials.Carbon.getDust(64),new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 1),40,30);
+ GT_Values.RA.addFormingPressRecipe(new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 1), Materials.Silicon.getDust(64),new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 2),40,30);
+ GT_Values.RA.addFormingPressRecipe(new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 2), Materials.Graphite.getDust(64),new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 3),40,30);
+ ItemStack[] pellets = new ItemStack[4];
+ Arrays.fill(pellets,new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 64, i + 4));
+ GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false, new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 3), GT_Utility.getIntegratedCircuit(17)}, pellets, null, null, null, null, 32000, 30, 0);
+ GT_Recipe.GT_Recipe_Map.sCentrifugeRecipes.addRecipe(false, new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 5), GT_Utility.getIntegratedCircuit(17)}, new ItemStack[]{new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 64, i + 6)}, null, null, null, null,48000,30,0);
+ GT_Values.RA.addCentrifugeRecipe(
+ new ItemStack(GT_TileEntity_THTR.THTRMaterials.aTHTR_Materials, 1, i + 6), GT_Values.NI, GT_Values.NF,
+ fuel.recycledFluid,
+ fuel.recycledItems[0],
+ fuel.recycledItems[1],
+ fuel.recycledItems[2],
+ fuel.recycledItems[3],
+ fuel.recycledItems[4],
+ fuel.recycledItems[5],
+ fuel.recycleChances,
+ 1200, 30);
+ i += sTHTR_Bases.length;
+ }
}
}
diff --git a/src/main/resources/assets/bartworks/lang/de_DE.lang b/src/main/resources/assets/bartworks/lang/de_DE.lang
index dfeb3cfd6e..baf62d614a 100644
--- a/src/main/resources/assets/bartworks/lang/de_DE.lang
+++ b/src/main/resources/assets/bartworks/lang/de_DE.lang
@@ -18,9 +18,6 @@ BW_Machinery_Casings.1.name=Transformer-Wicklungs Block
GT_LESU_CASING.0.name=LESU Hülle
filled.item.petriDish.name=Petri Schale mit einer Kultur
item.Agarose.name=Agarose
-item.BISOPellet.name=BISO Kügelchen
-item.BISOPelletBall.name=BISO Kügelchen Ball
-item.BISOPelletCompound.name=BISO Kügelchen Material
item.BW_CombinedRotor.name=Primitiver Multi-Material Rotor (nur Wind)
item.BW_LeatherRotor.name=Primitiver Leder Rotor (nur Wind)
item.BW_PaperRotor.name=Primitiver Papier Rotor (nur Wind)
@@ -39,9 +36,6 @@ item.GT_Teslastaff_Item.name=Teslastab
item.IncubationModule.name=Incubations Modul
item.PlasmaMembrane.name=Plasma Membran
item.PlasmidCell.name=Plasmid-Proben Flasche
-item.TRISOPellet.name=TRISO Kügelchen
-item.TRISOPelletBall.name=TRISO Kügelchen Ball
-item.TRISOPelletCompound.name=TRISO Kügelchen Material
item.completed_grindstone.name=Mahlstein
item.grindstone_bottom.name=Unteres Teil des Mahlsteins
item.grindstone_top.name=Oberes Teil des Mahlsteins
diff --git a/src/main/resources/assets/bartworks/lang/en_US.lang b/src/main/resources/assets/bartworks/lang/en_US.lang
index 98482e3482..38d274c5b8 100644
--- a/src/main/resources/assets/bartworks/lang/en_US.lang
+++ b/src/main/resources/assets/bartworks/lang/en_US.lang
@@ -145,16 +145,6 @@ tile.bw.windmill.name=Windmill
tile.manutrafo.name=Manual Trafo
tooltip.tile.htr.0.name=Controller Block for the Thorium High Temperature Reactor;Size(WxHxD): 11x12x11 (Hollow);Controller: Front Center, Lowest Layer;Corners and the 2 touching blocks are air (cylindric);Once built, Helium is inserted into the Fluid Input Hatch until it doesn't accept any more;1+ Output Hatch (Any Bottom casing);1+ Input Hatch (Any Top casing);1+ Input Bus (Any Top casing);1x Maintenance Hatch (Any casing);Radiation Proof Casings for the Rest;Needs a constant supply of coolant while running, will output after complete operation;Needs at least 100k Fuel pebbles to start operation (can hold up to 675k pebbles);Consumes up to 0.5% of total Fuel Pellets per Operation;TRISO pebbles provide 30% more Energy;Each pebble increases the amount of converted coolant;One Operation takes 27 Ingame Days
-item.TRISOPellet.name=TRISO pebble
-item.TRISOPelletBall.name=TRISO pebble ball
-item.BISOPelletBall.name=BISO pebble ball
-item.BISOPellet.name=BISO pebble
-item.TRISOPelletCompound.name=TRISO pebble compound
-item.BISOPelletCompound.name=BISO pebble compound
-item.BurnedOutBISOPelletBall.name=Burned Out BISO pebble ball
-item.BurnedOutBISOPellet.name=Burned Out BISO pebble
-item.BurnedOutTRISOPelletBall.name=Burned Out TRISO pebble ball
-item.BurnedOutTRISOPellet.name=Burned Out TRISO pebble
itemGroup.bartworksMetaMaterials=BartWorks' Meta Materials
diff --git a/src/main/resources/assets/bartworks/lang/fr_FR.lang b/src/main/resources/assets/bartworks/lang/fr_FR.lang
index 4fc3e1890f..1528e26c86 100644
--- a/src/main/resources/assets/bartworks/lang/fr_FR.lang
+++ b/src/main/resources/assets/bartworks/lang/fr_FR.lang
@@ -144,12 +144,7 @@ tile.radiohatch.name=Trappe Radioactive
tile.bw.windmill.name=Eolienne
tile.manutrafo.name=Transformateur Manuel
-item.TRISOPellet.name=Galet TRISO
-item.TRISOPelletBall.name=Boule De Galets TRISO
-item.BISOPelletBall.name=Boule De Galets BISO
-item.BISOPellet.name=Galet TRISO
-item.TRISOPelletCompound.name=Composé De Galet TRISO
-item.BISOPelletCompound.name=Composé De Galet BISO
+
itemGroup.bartworksMetaMaterials=Méta Matériaux De BartWorks
tooltip.tile.eic.0.name=Bloc Contrôleur pour le Compresseur à Implosion Electrique;Taille (LxHxP): 3x9x3;Utilise de l'Electricité à la place d'Explosifs;Contrôleur: couche 3, devant, centré;Couches 1 et 9: carter de machine en acier solide, pour chaque couche: 1 Trappe d'Energie au milieu;Couche 2,3,7,8: Milieu: Bloc de Ferrite en Nickel-Zinc, Extérieur: Bloc de bobinage de Transformateur;Couche 4,5,6: Blocs de Neutronium;1+ Bus d'Entrée, 1+ Bus de Sortie, 1 trappe de maintenance n'importe où dans les Blocs Carter en Acier Solide;Ne PAS obstruer ou miner les Parties mobile pendant le fonctionnement, ou explosion garantie!
diff --git a/src/main/resources/assets/bartworks/lang/zh_CN.lang b/src/main/resources/assets/bartworks/lang/zh_CN.lang
index 419c845f96..9b54684d3c 100644
--- a/src/main/resources/assets/bartworks/lang/zh_CN.lang
+++ b/src/main/resources/assets/bartworks/lang/zh_CN.lang
@@ -145,12 +145,7 @@ tile.bw.windmill.name=风车
tile.manutrafo.name=手动变压器
tooltip.tile.htr.0.name=高温钍反应堆的控制器方块;大小(宽x高x长):11x12x11 (中空);控制器:正面中心,最低一层;角落和两个相邻的方块是空气;:一旦搭建完成,需要在输入仓中输入氦气直到不再接受;1+输出仓(任意底部机械方块);1+输入仓(任意顶部机械方块);1+输入总线(任意顶部机械方块);1x维护仓(任意机械方块);其余的为辐射防护机械方块;在运行时需要持续供应冷却液,完成工作后输出;需要至少100k卵石燃料才能开始工作(最多可使用675k个卵石);每次操作消耗1个燃料颗粒;TRISO卵石将提供30%的额外能量;每个卵石都会增加转换冷却剂的需求数量;一次工作耗时27个游戏日
-item.TRISOPellet.name=TRISO卵石
-item.TRISOPelletBall.name=TRISO卵石球
-item.BISOPelletBall.name=BISO卵石球
-item.BISOPellet.name=BISO卵石
-item.TRISOPelletCompound.name=TRISO卵石复合材料
-item.BISOPelletCompound.name=BISO卵石复合材料
+
itemGroup.bartworksMetaMaterials=BartWorks-meta材料
tooltip.tile.eic.0.name=电气聚爆压缩机的控制器方块;大小(宽x高x长):3x9x3;使用电而不是爆炸物工作;控制器在第三层正面中心;第一到第九层为坚硬钢机械方块,每层中间为能量仓;第2,3,7,8层:中心为镍锌铁氧体方块,其余的为变压器线圈块;第4,5,6层为中子块;1+输入总线,1+输出总线,1个维护仓于坚硬钢机械方块;在操作过程中,请勿遮挡或挖掘移动方块,这会上演爆炸的艺术!!
diff --git a/src/main/resources/assets/bartworks/textures/items/BISOPellet.png b/src/main/resources/assets/bartworks/textures/items/BISOPellet.png
deleted file mode 100644
index 4fb39c473b..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/BISOPellet.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/BISOPelletBall.png b/src/main/resources/assets/bartworks/textures/items/BISOPelletBall.png
deleted file mode 100644
index ea113e3f22..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/BISOPelletBall.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/BISOPelletCompound.png b/src/main/resources/assets/bartworks/textures/items/BISOPelletCompound.png
deleted file mode 100644
index 029d895f31..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/BISOPelletCompound.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPellet.png b/src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPellet.png
deleted file mode 100644
index 573d4b309e..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPellet.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPelletBall.png b/src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPelletBall.png
deleted file mode 100644
index 72ba51bbe0..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/BurnedOutBISOPelletBall.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPellet.png b/src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPellet.png
deleted file mode 100644
index 73abda00dd..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPellet.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPelletBall.png b/src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPelletBall.png
deleted file mode 100644
index eb5e37eaa1..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/BurnedOutTRISOPelletBall.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundPlutonium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundPlutonium.png
new file mode 100644
index 0000000000..18ab91de32
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundPlutonium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundThorium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundThorium.png
new file mode 100644
index 0000000000..26f20f97f1
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundThorium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundUranium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundUranium.png
new file mode 100644
index 0000000000..53c59ec79c
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBISOPebbleCompoundUranium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallPlutonium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallPlutonium.png
new file mode 100644
index 0000000000..714b4806dd
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallPlutonium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallThorium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallThorium.png
new file mode 100644
index 0000000000..2be7586764
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallThorium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallUranium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallUranium.png
new file mode 100644
index 0000000000..6f95ff5256
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOBallUranium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebblePlutonium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebblePlutonium.png
new file mode 100644
index 0000000000..e29d9dc953
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebblePlutonium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleThorium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleThorium.png
new file mode 100644
index 0000000000..1e0c684eb1
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleThorium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleUranium.png b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleUranium.png
new file mode 100644
index 0000000000..1cbc98794d
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRBurnedOutTRISOPebbleUranium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixturePlutonium.png b/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixturePlutonium.png
new file mode 100644
index 0000000000..7858c997d4
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixturePlutonium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureThorium.png b/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureThorium.png
new file mode 100644
index 0000000000..19b94a07cb
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureThorium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureUranium.png b/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureUranium.png
new file mode 100644
index 0000000000..324df7101b
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRHTGRFuelMixtureUranium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallPlutonium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallPlutonium.png
new file mode 100644
index 0000000000..28432d2d9b
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallPlutonium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallThorium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallThorium.png
new file mode 100644
index 0000000000..ada36141c6
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallThorium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallUranium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallUranium.png
new file mode 100644
index 0000000000..7054c76741
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOBallUranium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundPlutonium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundPlutonium.png
new file mode 100644
index 0000000000..b3b36e3bdc
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundPlutonium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundThorium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundThorium.png
new file mode 100644
index 0000000000..ab142635c9
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundThorium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundUranium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundUranium.png
new file mode 100644
index 0000000000..e7ac40c10f
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleCompoundUranium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebblePlutonium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebblePlutonium.png
new file mode 100644
index 0000000000..ea22c17f5c
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebblePlutonium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleThorium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleThorium.png
new file mode 100644
index 0000000000..b2c8003b5c
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleThorium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleUranium.png b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleUranium.png
new file mode 100644
index 0000000000..0d026c2492
--- /dev/null
+++ b/src/main/resources/assets/bartworks/textures/items/HTGRTRISOPebbleUranium.png
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/TRISOPellet.png b/src/main/resources/assets/bartworks/textures/items/TRISOPellet.png
deleted file mode 100644
index 26109fc979..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/TRISOPellet.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/TRISOPelletBall.png b/src/main/resources/assets/bartworks/textures/items/TRISOPelletBall.png
deleted file mode 100644
index 0aea0500cf..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/TRISOPelletBall.png
+++ /dev/null
Binary files differ
diff --git a/src/main/resources/assets/bartworks/textures/items/TRISOPelletCompound.png b/src/main/resources/assets/bartworks/textures/items/TRISOPelletCompound.png
deleted file mode 100644
index 6b2835d100..0000000000
--- a/src/main/resources/assets/bartworks/textures/items/TRISOPelletCompound.png
+++ /dev/null
Binary files differ