Skip to content

Commit

Permalink
Merge pull request #822 from SymmetricDevs/mt-tunnelbore_recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
planetme authored Apr 8, 2024
2 parents c2f95c6 + 3d77961 commit ff4a848
Show file tree
Hide file tree
Showing 9 changed files with 112 additions and 0 deletions.
84 changes: 84 additions & 0 deletions groovy/postInit/mod/ImmersiveRailroading.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,61 @@ mods.gregtech.bender.recipeBuilder()
.EUt(30)
.buildAndRegister()

mods.gregtech.assembler.recipeBuilder()
.fluidInputs(fluid('concrete') * 144)
.inputs(ore('stickSteel') * 8)
.inputs(ore('plateSteel') * 2)
.outputs(item('susy:meta_item', 5) * 2)
.duration(200)
.EUt(30)
.buildAndRegister()

mods.gregtech.assembler.recipeBuilder()
.fluidInputs(fluid('concrete') * 144)
.inputs(ore('stickAluminium') * 8)
.inputs(ore('plateAluminium') * 2)
.outputs(item('susy:meta_item', 5) * 4)
.duration(200)
.EUt(120)
.buildAndRegister()

mods.gregtech.assembler.recipeBuilder()
.fluidInputs(fluid('concrete') * 144)
.inputs(ore('stickStainlessSteel') * 8)
.inputs(ore('plateStainlessSteel') * 2)
.outputs(item('susy:meta_item', 5) * 8)
.duration(200)
.EUt(480)
.buildAndRegister()

mods.gregtech.assembler.recipeBuilder()
.inputs(metaitem('component.grinder.diamond') * 4)
.inputs(ore('gearSteel') * 4)
.inputs(ore('plateDoubleSteel') * 16)
.outputs(metaitem('tunnelbore.drillhead'))
.duration(200)
.EUt(120)
.buildAndRegister()

mods.gregtech.forge_hammer.recipeBuilder()
.inputs(ore('stickLongSteel') * 16)
.outputs(metaitem('tunnelbore.axle'))
.duration(200)
.EUt(120)
.buildAndRegister()

mods.gregtech.assembler.recipeBuilder()
.inputs(metaitem('electric.motor.mv') * 8)
.inputs(ore('wireFineCopper') * 64)
.inputs(ore('gearAluminium') * 4)
.inputs(ore('gearSmallAluminium') * 4)
.inputs(ore('plateSteel') * 8)
.fluidInputs(fluid('lubricant') * 8000)
.outputs(metaitem('tunnelbore.engine'))
.duration(200)
.EUt(120)
.buildAndRegister()

Globals.solders.each { key, val ->

TagCompound tag = new TagCompound();
Expand Down Expand Up @@ -219,4 +274,33 @@ Globals.solders.each { key, val ->
.EUt(30)
.duration(400)
.buildAndRegister();

TagCompound tag5 = new TagCompound();

tag5.setString("defID", "rolling_stock/tunnel_bore/black_mesa_tunnel_bore.json");
tag5.setFloat("gauge", (float) Gauges.STANDARD);

cam72cam.mod.item.ItemStack is5 = new cam72cam.mod.item.ItemStack(IRItems.ITEM_ROLLING_STOCK, 1);
is5.setTagCompound(tag5);

SuSyRecipeMaps.RAILROAD_ENGINEERING_STATION_RECIPES.recipeBuilder()
.circuitMeta(5)
.inputs(ore('gearSmallSteel') * 12)
.inputs(metaitem('minecart_wheels.steel') * 4)
.inputs(metaitem('electric.motor.lv') * 4)
.inputs(metaitem('electric.piston.lv') * 4)
.inputs(metaitem('battery_buffer.lv.4'))
.inputs(metaitem('conveyor.module.lv') * 8)
.inputs(metaitem('crate.steel'))
.inputs(ore('plateSteel') * 16)
.inputs(ore('stickLongSteel') * 8)
.inputs(metaitem('tunnelbore.axle'))
.inputs(metaitem('tunnelbore.drillhead'))
.inputs(metaitem('tunnelbore.engine'))
.fluidInputs(fluid(key) * (val * 10))
.outputs(is5.internal)
.EUt(30)
.duration(400)
.buildAndRegister();

}
6 changes: 6 additions & 0 deletions groovy/preInit/RegisterMetaItems.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -333,5 +333,11 @@ eventManager.listen {
customMetaItems.addItem(9001, "crop.cotton");
customMetaItems.addItem(9002, "stem.cotton");

// Train Stuff 10000-10100

customMetaItems.addItem(10000, "tunnelbore.axle")
customMetaItems.addItem(10001, "tunnelbore.engine")
customMetaItems.addItem(10002, "tunnelbore.drillhead")

log.infoMC("Finished adding metaitems")
}
6 changes: 6 additions & 0 deletions resources/gregtech/models/item/metaitems/tunnelbore.axle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gregtech:items/metaitems/tunnelbore.axle"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gregtech:items/metaitems/tunnelbore.drillhead"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "item/generated",
"textures": {
"layer0": "gregtech:items/metaitems/tunnelbore.engine"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions resources/langfiles/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -2351,6 +2351,10 @@ metaitem.stencil.pcb.name=PCB Stencil
metaitem.stencil.ulpic.name=ULPIC Stencil
metaitem.stencil.lpic.name=LPIC Stencil

metaitem.tunnelbore.axle.name=Drilling Axle
metaitem.tunnelbore.engine.name=Heavy Duty Drilling Engine
metaitem.tunnelbore.drillhead.name=Tunnel Bore Drill Head

# Multiblocked

tile.multiblocked.item_input.name=Small Input Bus
Expand Down

0 comments on commit ff4a848

Please sign in to comment.