add way to craft large gears in an anvil
This commit is contained in:
parent
781c4775cb
commit
db3428c20b
2 changed files with 22 additions and 0 deletions
|
|
@ -3,7 +3,10 @@
|
|||
## Unreleased
|
||||
### Changes
|
||||
- The crucible now holds 4608mB (32 ingots) instead of 4032mB (28 ingots) (#2634) @Pyritie
|
||||
- Large gears can now be crafted in an anvil / mechanical press @Pyritie
|
||||
### Bug fixes
|
||||
- Fixed not being able to craft Paracetamol or Rad-Away @Pyritie
|
||||
- Water wheels now spin the correct direction in rivers (#2450) @zehmaria
|
||||
### Translation updates
|
||||
- Chinese (simplified) @jmecn
|
||||
|
||||
|
|
|
|||
|
|
@ -654,6 +654,25 @@ function registerTFCMaterialsRecipes(event) {
|
|||
}
|
||||
}
|
||||
|
||||
// Large Gears
|
||||
let largeGearItem = ChemicalHelper.get(TagPrefix.gear, material, 1)
|
||||
if (!largeGearItem.isEmpty()) {
|
||||
event.recipes.tfc.heating(largeGearItem, tfcProperty.getMeltTemp())
|
||||
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144 * 4))
|
||||
.id(`tfc:heating/large_${material.getName()}_gear`)
|
||||
|
||||
let doublePlateItem = ChemicalHelper.get(TagPrefix.plateDouble, material, 1)
|
||||
if (!doublePlateItem.isEmpty()) {
|
||||
event.recipes.tfc.welding(largeGearItem, doublePlateItem, doublePlateItem, tfcProperty.getTier())
|
||||
.id(`tfc:welding/${material.getName()}_large_gear`)
|
||||
|
||||
event.recipes.greate.compacting(largeGearItem, [doublePlateItem, doublePlateItem, 'tfc:powder/flux'])
|
||||
.heated()
|
||||
.recipeTier(tfcProperty.getTier() < 4 ? 0 : 1)
|
||||
.id(`greate:compacting/${material.getName()}_large gear`)
|
||||
}
|
||||
}
|
||||
|
||||
// Tools (From Ingot)
|
||||
if (material.hasFlag(TFGMaterialFlags.HAS_TFC_TOOL) || material.hasFlag(TFGMaterialFlags.HAS_GT_TOOL)) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue