neuralgia/kubejs/server_scripts/tfg/recipes.molds.js
Pyritie ec2e3cd3c4
Alpha Release: 0.9.0 (#849)
Signed-off-by: Pyritie <pyritie@gmail.com>
Signed-off-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Xikaro <os.valerievich@ya.ru>
Co-authored-by: Nebby <78170922+Nebby1999@users.noreply.github.com>
Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
Co-authored-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: aidie8 <aidenvanzuilen@gmail.com>
Co-authored-by: Xikaro <55663835+Xikaro@users.noreply.github.com>
Co-authored-by: Zleub <debray.arnaud@gmail.com>
2025-04-15 23:27:17 +05:00

276 lines
No EOL
5.2 KiB
JavaScript

// priority: 0
function registerTFGMoldRecipes(event) {
event.shaped('tfg:mining_hammer_head_extruder_mold', [
'Sfh',
' ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:sword_head_extruder_mold', [
'Shf',
' ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:pickaxe_head_extruder_mold', [
'S ',
'hf ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:axe_head_extruder_mold', [
'S ',
' fh',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:hoe_head_extruder_mold', [
'S ',
' hf',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:scythe_head_extruder_mold', [
'S ',
' ',
'fh '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:file_head_extruder_mold', [
'S ',
' ',
'hf '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:hammer_head_extruder_mold', [
'Sf ',
' h ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:saw_head_extruder_mold', [
'Sh ',
' f ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:knife_head_extruder_mold', [
'S f',
' ',
' h'
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:butchery_knife_head_extruder_mold', [
'S h',
' ',
' f'
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:shovel_head_extruder_mold', [
'S ',
'f ',
'h '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:spade_head_extruder_mold', [
'S ',
'f ',
' h'
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
event.shaped('tfg:propick_head_extruder_mold', [
'Sxf',
' ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
x: '#forge:tools/wire_cutters'
})
event.shaped('tfg:javelin_head_extruder_mold', [
'S x',
'f ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
x: '#forge:tools/wire_cutters'
})
event.shaped('tfg:chisel_head_extruder_mold', [
'S ',
'xf ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
x: '#forge:tools/wire_cutters'
})
event.shaped('tfg:mace_head_extruder_mold', [
'S ',
' xf',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
x: '#forge:tools/wire_cutters'
})
event.shaped('tfg:lamp_casting_mold', [
'Sh ',
' ',
' m'
], {
S: 'gtceu:empty_mold',
h: '#forge:tools/hammers',
m: '#forge:tools/mallets'
})
event.shaped('tfg:trapdoor_casting_mold', [
'S h',
' ',
' m'
], {
S: 'gtceu:empty_mold',
h: '#forge:tools/hammers',
m: '#forge:tools/mallets'
})
event.shaped('tfg:chain_casting_mold', [
'S ',
'h ',
' m'
], {
S: 'gtceu:empty_mold',
h: '#forge:tools/hammers',
m: '#forge:tools/mallets'
})
event.shaped('tfg:bell_casting_mold', [
'S ',
' h ',
' m'
], {
S: 'gtceu:empty_mold',
h: '#forge:tools/hammers',
m: '#forge:tools/mallets'
})
event.shaped('tfg:mattock_head_extruder_mold', [
' h',
'fS ',
' '
], {
S: 'gtceu:empty_mold',
f: '#forge:tools/files',
h: '#forge:tools/hammers'
})
let steelIngots = ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Steel, 4);
let steelDusts = ChemicalHelper.get(TagPrefix.dust, GTMaterials.Steel, 4);
global.TFG_EXTRUDER_MOLDS.forEach(mold => {
event.recipes.gtceu.arc_furnace(`arc_${mold}`.replace("tfg:", ""))
.itemInputs(mold)
.itemOutputs(steelIngots)
.duration(224)
.EUt(GTValues.VA[GTValues.LV])
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
event.recipes.gtceu.macerator(`macerate_${mold}`.replace("tfg:", ""))
.itemInputs(mold)
.itemOutputs(steelDusts)
.duration(224)
.EUt(GTValues.VA[GTValues.ULV])
.category(GTRecipeCategories.MACERATOR_RECYCLING)
event.recipes.gtceu.forming_press(`copy_shape_${mold}`.replace("tfg:", ""))
.itemInputs('gtceu:empty_mold')
.notConsumable(mold)
.itemOutputs(mold)
.duration(120)
.EUt(GTValues.VA[GTValues.LV])
})
global.TFG_CASTING_MOLDS.forEach(mold => {
event.recipes.gtceu.arc_furnace(`arc_${mold}`.replace("tfg:", ""))
.itemInputs(mold)
.itemOutputs(steelIngots)
.duration(224)
.EUt(GTValues.VA[GTValues.LV])
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
event.recipes.gtceu.macerator(`macerate_${mold}`.replace("tfg:", ""))
.itemInputs(mold)
.itemOutputs(steelDusts)
.duration(224)
.EUt(GTValues.VA[GTValues.ULV])
.category(GTRecipeCategories.MACERATOR_RECYCLING)
event.recipes.gtceu.forming_press(`copy_shape_${mold}`.replace("tfg:", ""))
.itemInputs('gtceu:empty_mold')
.notConsumable(mold)
.itemOutputs(mold)
.duration(120)
.EUt(GTValues.VA[GTValues.LV])
})
}