neuralgia/kubejs/server_scripts/tfg/recipes.molds.js
Pyritie e6c971f197
Release: 0.9.6 (#1020)
* - Fixed hide duping recipes.
- Added quest book and field guide instances for fishing nets.
- Fixed rebar support recipe crash.
- Fixed red steel flask dupe.
- Fixed red alloy recipe inconsistency.

* - Fixed blue steel backpack block lang

* - Added max vessel fluid warning to small vessels.

* - Moved red steel flask recipe

* Update pakku.json

* fixed vessel tooltips so they display on the uncolored vessel too

* fixed inconsistent small spring recipe with the coiling machine

* fixed chiseling non-tfc blocks into slabs was only returning 1 slab instead of both

* Field guide updates (#973)

* added detected-setblock-be-gone to pakku server

* added "requiresNaturalLog" config to afc tree tapping recipes so you can't tap your house

* fixed missing tooltips on AFC wooden supports

* added recipes for greenhouse ports, added recipes for stainless steel greenhouse (if you want to be fancy)

* quest fixes, lang strings

* added assembler recipes for most create things, made steam engines, blaze burners, and alternators cheaper, made firmaciv sails use any fabric

* langs

* removed gt compressed clay, fixed assembler recipe for clay bricks

* removed the leather armor recycling because it's basically infinite armor

* fixed iron door inconsistency

* hopper in assembler now has a circuit condition

* fixes #931

* Buff Large Boiler Fuel Efficiency (#977)

* bufflargeboilers

* formatting

* oh so THAT's why the recycling recipes weren't working...

* made the steam multiblock inputs/outputs significantly cheaper

* changed default flywheel setting back to instanced

* added assembler recipes for greate things

* updated changelog

* added recipes for the other millstones

* - Fixed fishing nets event function

* Update queststfc_tips.snbt

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>

* Update en_us.json

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>

* - Added item to summon armor stands with arms

* - Added recipes to empty vessels and molds

* - Added recipes for extracting/ forming magma blocks.

* - Added recipes for extracting/ forming magma blocks.

* - Nerfed steel support recipe output.

* Fixes and features (#987)

* - Fixed hide duping recipes.
- Added quest book and field guide instances for fishing nets.
- Fixed rebar support recipe crash.
- Fixed red steel flask dupe.
- Fixed red alloy recipe inconsistency.

* - Fixed blue steel backpack block lang

* - Added max vessel fluid warning to small vessels.

* - Moved red steel flask recipe

* - Fixed fishing nets event function

* Update queststfc_tips.snbt

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>

* Update en_us.json

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>

* - Added item to summon armor stands with arms

* - Added recipes to empty vessels and molds

* - Added recipes for extracting/ forming magma blocks.

* - Added recipes for extracting/ forming magma blocks.

* - Nerfed steel support recipe output.

---------

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>

* Add wrought iron alternatives for early game cast iron recipes (#985)

* Add wrought iron alternatives for early game cast iron recipes

* Change doulbe iron ingots tag to use #forge item tags

* salt water fast fix (#992)

no more circuits

Signed-off-by: SverhRazum-Nah <leon.trol@mail.ru>

* - Revert mold changes from #987

* Branch merge (#995)

* Some recipe changes (#1003)

* misc recipes

* add saw to jar lid recipe

* revert table salt name changing that didn't work

* fixed the basin having the wrong tag to be used with the charcoal forge

* removed obsidian framed pressure plate - idk what it even does, but it's causing crashes
fixes #1006

* Fix for Create Deco bricks conflict with Minecraft bricks in the assembler (#1005)

Signed-off-by: TomPlop <tomdidome@gmail.com>

* removing the gregtech material error suppression because it's just causing more confusion

* updated changelog

* Update CHANGELOG.md

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* Update ENHANCEMENT.yml

* ISSUE_TEMPLATE

* tweaked Y levels of the overworld <-> beneath teleporting

* ISSUE_TEMPLATE

* github

* langs, quest tweaks, updated field guide for sprinklers

* put tin jar lid recycling in the right category

* hid the new space tfg blocks

* updated pakku

* I FORGOT TO ADD PUNISHMENT FOR DEATH

* aa

* Update mods

* CHANGELOG

---------

Signed-off-by: Redeix <59435925+Redeix@users.noreply.github.com>
Signed-off-by: SverhRazum-Nah <leon.trol@mail.ru>
Signed-off-by: TomPlop <tomdidome@gmail.com>
Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
Co-authored-by: Xikaro <os.valerievich@ya.ru>
Co-authored-by: Risuga <oosyrag@gmail.com>
Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
Co-authored-by: Zack <93035068+ZackH01@users.noreply.github.com>
Co-authored-by: SverhRazum-Nah <leon.trol@mail.ru>
Co-authored-by: TomPlop <tomdidome@gmail.com>
2025-05-16 18:49:23 +05:00

294 lines
No EOL
5.7 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])
})
//TODO: Fix this code to respect full molds
// //craft mold to scrub nbt
// const molds = Ingredient.of('#tfc:fired_molds').itemIds;
// molds.forEach(mold => {
// event.shapeless(Item.of(mold), [mold])
// .id(`tfg:shapeless/mold_cleaning/${mold.replace(":", "/")}`);
// });
// //craft vessel to scrub nbt
// const vessels = Ingredient.of('#tfc:fired_vessels').itemIds;
// vessels.forEach(vessel => {
// event.shapeless(Item.of(vessel), [vessel])
// .id(`tfg:shapeless/vessel_cleaning/${vessel.replace(":", "/")}`);
// });
}