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

Commit

Permalink
Reduce minimum casing requirement for various machines (#785)
Browse files Browse the repository at this point in the history
* Reduce minimum casing requirement for various machines
  • Loading branch information
Pelotrio authored Nov 29, 2023
1 parent 23c80dd commit 8bb7495
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected GT_Multiblock_Tooltip_Builder createTooltip() {
.addInfo("Disable animations with a screwdriver").addInfo("Only uses 90% of the EU/t normally required")
.addInfo("Processes six items per voltage tier").addPollutionAmount(getPollutionPerSecond(null))
.addSeparator().beginStructureBlock(3, 3, 3, true).addController("Front Center")
.addCasingInfoMin("Centrifuge Casings", 10, false).addInputBus("Any Casing", 1)
.addCasingInfoMin("Centrifuge Casings", 6, false).addInputBus("Any Casing", 1)
.addOutputBus("Any Casing", 1).addInputHatch("Any Casing", 1).addOutputHatch("Any Casing", 1)
.addEnergyHatch("Any Casing", 1).addMaintenanceHatch("Any Casing", 1).addMufflerHatch("Any Casing", 1)
.toolTipFinisher(CORE.GT_Tooltip_Builder.get());
Expand Down Expand Up @@ -118,7 +118,7 @@ public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBu
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 10 && checkHatch();
return checkPiece(mName, 1, 1, 0) && mCasing >= 6 && checkHatch();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected GT_Multiblock_Tooltip_Builder createTooltip() {
.addInfo("If no target is provided for common buses, the result of the first chisel is used")
.addInfo("Speed: +200% | EU Usage: 75% | Parallel: Tier x 16")
.addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 3, 3, true)
.addController("Front center").addCasingInfoMin("Sturdy Printer Casing", 10, false)
.addController("Front center").addCasingInfoMin("Sturdy Printer Casing", 6, false)
.addInputBus("Any casing", 1).addOutputBus("Any casing", 1).addEnergyHatch("Any casing", 1)
.addMaintenanceHatch("Any casing", 1).addMufflerHatch("Any casing", 1)
.toolTipFinisher(CORE.GT_Tooltip_Builder.get());
Expand Down Expand Up @@ -127,7 +127,7 @@ public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBu
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 10 && checkHatch();
return checkPiece(mName, 1, 1, 0) && mCasing >= 6 && checkHatch();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected GT_Multiblock_Tooltip_Builder createTooltip() {
.addInfo("200% faster than using single block machines of the same voltage")
.addInfo("Only uses 75% of the EU/t normally required").addInfo("Processes four items per voltage tier")
.addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 3, 5, true)
.addController("Front Center").addCasingInfoMin("Cutting Factory Frames", 26, false)
.addController("Front Center").addCasingInfoMin("Cutting Factory Frames", 14, false)
.addInputBus("Any Casing", 1).addOutputBus("Any Casing", 1).addInputHatch("Any Casing", 1)
.addEnergyHatch("Any Casing", 1).addMaintenanceHatch("Any Casing", 1).addMufflerHatch("Any Casing", 1)
.toolTipFinisher(CORE.GT_Tooltip_Builder.get());
Expand Down Expand Up @@ -111,7 +111,7 @@ public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBu
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 26 && checkHatch();
return checkPiece(mName, 1, 1, 0) && mCasing >= 14 && checkHatch();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected GT_Multiblock_Tooltip_Builder createTooltip() {
.addInfo("180% faster than using single block machines of the same voltage")
.addInfo("Only uses 90% of the EU/t normally required").addInfo("Processes two items per voltage tier")
.addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 3, 3, true)
.addController("Front Center").addCasingInfoMin("Electrolyzer Casings", 10, false)
.addController("Front Center").addCasingInfoMin("Electrolyzer Casings", 6, false)
.addInputBus("Any Casing", 1).addOutputBus("Any Casing", 1).addInputHatch("Any Casing", 1)
.addOutputHatch("Any Casing", 1).addEnergyHatch("Any Casing", 1).addMaintenanceHatch("Any Casing", 1)
.addMufflerHatch("Any Casing", 1).toolTipFinisher(CORE.GT_Tooltip_Builder.get());
Expand Down Expand Up @@ -105,7 +105,7 @@ public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBu
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 10 && checkHatch();
return checkPiece(mName, 1, 1, 0) && mCasing >= 6 && checkHatch();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected GT_Multiblock_Tooltip_Builder createTooltip() {
}

tt.addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 3, 3, true)
.addController("Front Center").addCasingInfoMin("Forge Casing", 10, false).addInputBus("Any Casing", 1)
.addController("Front Center").addCasingInfoMin("Forge Casing", 6, false).addInputBus("Any Casing", 1)
.addOutputBus("Any Casing", 1).addInputHatch("Any Casing", 1).addOutputHatch("Any Casing", 1)
.addEnergyHatch("Any Casing", 1).addMaintenanceHatch("Any Casing", 1).addMufflerHatch("Any Casing", 1)
.addOtherStructurePart("Anvil", "In the center of 3x3x3 structure", 2)
Expand Down Expand Up @@ -167,7 +167,7 @@ public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBu
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 10 && checkHatch();
return checkPiece(mName, 1, 1, 0) && mCasing >= 6 && checkHatch();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected GT_Multiblock_Tooltip_Builder createTooltip() {
.addInfo("Processes four items per voltage tier").addInfo("Circuit for recipe goes in the Input Bus")
.addInfo("Each Input Bus can have a different Circuit/Shape!")
.addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 3, 3, true)
.addController("Front Center").addCasingInfoMin("Material Press Machine Casings", 10, false)
.addController("Front Center").addCasingInfoMin("Material Press Machine Casings", 6, false)
.addInputBus("Any Casing", 1).addOutputBus("Any Casing", 1).addEnergyHatch("Any Casing", 1)
.addMaintenanceHatch("Any Casing", 1).addMufflerHatch("Any Casing", 1)
.toolTipFinisher(CORE.GT_Tooltip_Builder.get());
Expand Down Expand Up @@ -108,7 +108,7 @@ public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBu
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 10 && checkHatch();
return checkPiece(mName, 1, 1, 0) && mCasing >= 6 && checkHatch();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected GT_Multiblock_Tooltip_Builder createTooltip() {
.addInfo("200% faster than using single block machines of the same voltage")
.addInfo("Only uses 75% of the EU/t normally required").addInfo("Processes four items per voltage tier")
.addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 3, 5, true)
.addController("Front Center").addCasingInfoMin("Wire Factory Casings", 20, false)
.addController("Front Center").addCasingInfoMin("Wire Factory Casings", 14, false)
.addInputBus("Any Casing", 1).addOutputBus("Any Casing", 1).addEnergyHatch("Any Casing", 1)
.addMaintenanceHatch("Any Casing", 1).addMufflerHatch("Any Casing", 1)
.toolTipFinisher(CORE.GT_Tooltip_Builder.get());
Expand Down Expand Up @@ -111,7 +111,7 @@ public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBu
@Override
public boolean checkMachine(IGregTechTileEntity aBaseMetaTileEntity, ItemStack aStack) {
mCasing = 0;
return checkPiece(mName, 1, 1, 0) && mCasing >= 20 && checkHatch();
return checkPiece(mName, 1, 1, 0) && mCasing >= 14 && checkHatch();
}

@Override
Expand Down

0 comments on commit 8bb7495

Please sign in to comment.