Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Fix chisel busses (#817)
Browse files Browse the repository at this point in the history
fix chisel busses
  • Loading branch information
chochem authored Dec 29, 2023
1 parent d1ef64a commit a752823
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions src/main/java/gtPlusPlus/core/recipe/RECIPES_Machines.java
Original file line number Diff line number Diff line change
Expand Up @@ -3029,14 +3029,14 @@ private static void chiselBuses() {
GregtechItemList.GT_MetaTileEntity_ChiselBus_MV.get(1),
GregtechItemList.GT_MetaTileEntity_ChiselBus_HV.get(1), };

for (int i = 1; i < mChiselBuses.length; i++) {
for (int tier = 1; tier < mChiselBuses.length + 1; tier++) {
CORE.RA.addSixSlotAssemblingRecipe(
new ItemStack[] { CI.getNumberedCircuit(17), mSuperBusesInput[i], CI.getSensor(i, 1),
CI.getRobotArm(i, 2), CI.getBolt(i, 16), ItemUtils.getSimpleStack(Blocks.chest) },
CI.getAlternativeTieredFluid(i, 144 * 2),
mChiselBuses[i - 1],
new ItemStack[] { CI.getNumberedCircuit(17), mSuperBusesInput[tier - 1], CI.getSensor(tier, 1),
CI.getRobotArm(tier, 2), CI.getBolt(tier, 16), ItemUtils.getSimpleStack(Blocks.chest) },
CI.getAlternativeTieredFluid(tier, 144 * 2),
mChiselBuses[tier - 1],
20 * 30 * 2,
(int) GT_Values.VP[i + 1]);
(int) GT_Values.VP[tier + 1]);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void run() {
run2();
}
run3();
run5(); // Chisel buses
run4(); // Chisel buses
}

private static void run1() {
Expand Down Expand Up @@ -241,15 +241,15 @@ private static GT_MetaTileEntity_ChiselBus makeChiselBus(int id, String unlocali
return new GT_MetaTileEntity_ChiselBus(id, unlocalizedName, localizedName, tier);
}

private static void run5() {
private static void run4() {
int aID = 31778;

GregtechItemList.GT_MetaTileEntity_ChiselBus_LV
.set((makeChiselBus(aID++, "hatch.chisel.tier.01", "Chisel Bus II", 1)).getStackForm(1L));
.set((makeChiselBus(aID++, "hatch.chisel.tier.01", "Chisel Bus I", 1)).getStackForm(1L));
GregtechItemList.GT_MetaTileEntity_ChiselBus_MV
.set((makeChiselBus(aID++, "hatch.chisel.tier.02", "Chisel Bus III", 2)).getStackForm(1L));
.set((makeChiselBus(aID++, "hatch.chisel.tier.02", "Chisel Bus II", 2)).getStackForm(1L));
GregtechItemList.GT_MetaTileEntity_ChiselBus_HV
.set((makeChiselBus(aID++, "hatch.chisel.tier.03", "Chisel Bus IV", 3)).getStackForm(1L));
.set((makeChiselBus(aID++, "hatch.chisel.tier.03", "Chisel Bus III", 3)).getStackForm(1L));

}
}

0 comments on commit a752823

Please sign in to comment.