aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbdiel Kavash <19243993+AbdielKavash@users.noreply.github.com>2023-12-20 08:47:21 -0600
committerGitHub <noreply@github.com>2023-12-20 15:47:21 +0100
commit0cc2676ab644e4f6600c31dfd047d8d7375f3b51 (patch)
tree1ad997cb76c3cc458bdebab18e14ee0f29e3d9a0 /src
parent06a18c4ebb60357a14b07ebff39880fb7ecd6ff7 (diff)
downloadGT5-Unofficial-0cc2676ab644e4f6600c31dfd047d8d7375f3b51.tar.gz
GT5-Unofficial-0cc2676ab644e4f6600c31dfd047d8d7375f3b51.tar.bz2
GT5-Unofficial-0cc2676ab644e4f6600c31dfd047d8d7375f3b51.zip
Allow Mega Oil Cracker to use an input bus. (#382)
Former-commit-id: 1f9366a499ee20814019e946b96468e620e02837
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaOilCracker.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaOilCracker.java b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaOilCracker.java
index 70a3326729..650e386202 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaOilCracker.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaOilCracker.java
@@ -114,8 +114,9 @@ public class GT_TileEntity_MegaOilCracker extends GT_TileEntity_MegaMultiBlockBa
.newAny(CASING_INDEX, 3))
.addElement(
'm',
- buildHatchAdder(GT_TileEntity_MegaOilCracker.class).atLeast(Energy.or(ExoticEnergy), Maintenance)
- .casingIndex(CASING_INDEX).dot(1).buildAndChain(GregTech_API.sBlockCasings4, 1))
+ buildHatchAdder(GT_TileEntity_MegaOilCracker.class)
+ .atLeast(Energy.or(ExoticEnergy), Maintenance, InputBus).casingIndex(CASING_INDEX).dot(1)
+ .buildAndChain(GregTech_API.sBlockCasings4, 1))
.addElement(
'M',
InputHatch.withAdder(GT_TileEntity_MegaOilCracker::addMiddleInputToMachineList)
@@ -155,12 +156,13 @@ public class GT_TileEntity_MegaOilCracker extends GT_TileEntity_MegaMultiBlockBa
.addInfo("Hydro - Consumes 20% less Hydrogen and outputs 25% more cracked fluid")
.addInfo("Steam - Outputs 50% more cracked fluid")
.addInfo("(Values compared to cracking in the Chemical Reactor)")
- .addInfo("Place the appropriate circuit in the controller").addSeparator()
+ .addInfo("Place the appropriate circuit in the controller or an input bus").addSeparator()
.beginStructureBlock(13, 7, 9, true).addController("Front bottom")
.addStructureInfo("The glass tier limits the Energy Input tier")
.addInfo("Gets 10% EU/t reduction per coil tier, up to a maximum of 50%")
.addEnergyHatch("Hint block", 1).addMaintenanceHatch("Hint block", 1).addInputHatch("Hint block", 2, 3)
.addOutputHatch("Hint block", 2, 3).addInputHatch("Steam/Hydrogen ONLY, Hint block", 4)
+ .addInputBus("Optional, for programmed circuit automation. Hint block", 1)
.toolTipFinisher(MULTIBLOCK_ADDED_BY_BARTWORKS);
return tt;
}