Revert "merge"
This commit is contained in:
parent
c211aed518
commit
2e5295614c
66 changed files with 898 additions and 1087 deletions
|
|
@ -42,7 +42,6 @@ const registerCreateRecipes = (event) => {
|
|||
})
|
||||
|
||||
event.remove({ type: 'minecraft:stonecutting', input: 'create:andesite_alloy' })
|
||||
event.remove({ type: 'minecraft:stonecutting', input: 'create:rose_quartz' })
|
||||
|
||||
// Train Station
|
||||
event.shapeless('2x create:track_station', [
|
||||
|
|
|
|||
|
|
@ -95,8 +95,16 @@ const registerFirmaLifeRecipes = (event) => {
|
|||
.duration(50)
|
||||
.EUt(2)
|
||||
|
||||
// Pineapple Fiber
|
||||
event.recipes.gtceu.assembler(`tfg:firmalife/pineapple_fiber`)
|
||||
.itemInputs('firmalife:food/pineapple')
|
||||
.circuit(1)
|
||||
.itemOutputs('firmalife:pineapple_fiber')
|
||||
.duration(50)
|
||||
.EUt(7)
|
||||
|
||||
// Pineapple Yarn
|
||||
event.recipes.gtceu.wiremill(`tfg:firmalife/pineapple_yarn`)
|
||||
event.recipes.gtceu.assembler(`tfg:firmalife/pineapple_yarn`)
|
||||
.itemInputs('firmalife:pineapple_fiber')
|
||||
.circuit(1)
|
||||
.itemOutputs('8x firmalife:pineapple_yarn')
|
||||
|
|
@ -446,6 +454,276 @@ const registerFirmaLifeRecipes = (event) => {
|
|||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты муки
|
||||
|
||||
global.FIRMALIFE_QUERN_FLOUR_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.recipes.gtceu.macerator(`tfg:${element.name}`)
|
||||
.itemInputs(element.input)
|
||||
.itemOutputs(element.output)
|
||||
.duration(200)
|
||||
.EUt(2)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты теста
|
||||
|
||||
global.FIRMALIFE_MIXER_FLATBREAD_DOUGH_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.recipes.gtceu.mixer(element.name)
|
||||
.itemInputs(element.input, '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:yeast_starter', 100))
|
||||
.itemOutputs(element.output)
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
.circuit(2)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты плоского хлеба
|
||||
|
||||
global.FIRMALIFE_FURNACE_FLATBREAD_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.smelting(element.output, element.input)
|
||||
.id(`tfg:smelting/${element.name}`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Смешивание в миске
|
||||
|
||||
// Тесто для пиццы
|
||||
event.recipes.gtceu.mixer('firmalife:food/pizza_dough_olive_oil')
|
||||
.itemInputs('firmalife:spice/basil_leaves', '#tfc:foods/dough', 'tfc:powder/salt')
|
||||
.inputFluids(Fluid.of('tfc:olive_oil', 1000))
|
||||
.itemOutputs('4x firmalife:food/pizza_dough')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/pizza_dough_soybean_oil')
|
||||
.itemInputs('firmalife:spice/basil_leaves', '#tfc:foods/dough', 'tfc:powder/salt')
|
||||
.inputFluids(Fluid.of('firmalife:soybean_oil', 1000))
|
||||
.itemOutputs('4x firmalife:food/pizza_dough')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
// Vanilla Ice Cream
|
||||
event.recipes.gtceu.mixer('firmalife:food/vanilla_ice_cream')
|
||||
.itemInputs('firmalife:ice_shavings', '#tfc:sweetener', 'firmalife:spice/vanilla')
|
||||
.inputFluids(Fluid.of('firmalife:cream', 1000))
|
||||
.itemOutputs('2x firmalife:food/vanilla_ice_cream')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
// Pumpkin Pie Dough
|
||||
event.recipes.gtceu.mixer('firmalife:food/pumpkin_pie_dough')
|
||||
.itemInputs('#tfc:sweetener', '#forge:eggs', '2x tfc:food/pumpkin_chunks', '#tfc:foods/flour')
|
||||
.inputFluids(Fluid.of('minecraft:water', 1000))
|
||||
.itemOutputs('firmalife:food/pumpkin_pie_dough')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
.circuit(2)
|
||||
|
||||
// Butter
|
||||
event.recipes.gtceu.mixer('firmalife:food/butter')
|
||||
.itemInputs('tfc:powder/salt')
|
||||
.inputFluids(Fluid.of('firmalife:cream', 1000))
|
||||
.itemOutputs('firmalife:food/butter')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
// Pie Dough
|
||||
event.recipes.gtceu.mixer('firmalife:food/pie_dough')
|
||||
.itemInputs('#tfc:sweetener', 'firmalife:food/butter', '#tfc:foods/flour')
|
||||
.inputFluids(Fluid.of('minecraft:water', 1000))
|
||||
.itemOutputs('firmalife:food/pie_dough')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
.circuit(2)
|
||||
|
||||
// Cookie Dough
|
||||
event.recipes.gtceu.mixer('firmalife:food/cookie_dough')
|
||||
.itemInputs('#tfc:sweetener', 'firmalife:food/butter', '#tfc:foods/flour', '#forge:eggs', 'firmalife:spice/vanilla')
|
||||
.itemOutputs('4x firmalife:food/cookie_dough')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
// Hardtack Dough
|
||||
event.recipes.gtceu.mixer('firmalife:food/hardtack_dough')
|
||||
.itemInputs('tfc:powder/salt', '#tfc:foods/flour')
|
||||
.inputFluids(Fluid.of('minecraft:water', 1000))
|
||||
.itemOutputs('4x firmalife:food/hardtack_dough')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
.circuit(2)
|
||||
|
||||
// Yeast starter
|
||||
event.recipes.gtceu.mixer('firmalife:yeast_starter')
|
||||
.inputFluids(Fluid.of('firmalife:yeast_starter', 100))
|
||||
.itemInputs('#tfc:foods/flour')
|
||||
.outputFluids(Fluid.of('firmalife:yeast_starter', 600))
|
||||
.duration(1200)
|
||||
.EUt(8)
|
||||
.circuit(1)
|
||||
|
||||
// Cocoa Powder
|
||||
event.recipes.gtceu.macerator('firmalife:food/cocoa_powder')
|
||||
.itemInputs('gtceu:cocoa_dust')
|
||||
.itemOutputs('4x firmalife:food/cocoa_powder')
|
||||
.duration(100)
|
||||
.EUt(2)
|
||||
|
||||
event.recipes.tfc.quern('4x firmalife:food/cocoa_powder', 'gtceu:cocoa_dust')
|
||||
.id(`tfg:quern/cocoa_powder`)
|
||||
|
||||
event.recipes.tfc.quern('gtceu:cocoa_dust', 'firmalife:food/roasted_cocoa_beans')
|
||||
.id('tfg:quern/cocoa_dust');
|
||||
|
||||
// Chocolate Ice Cream
|
||||
event.recipes.gtceu.mixer('firmalife:food/chocolate_ice_cream')
|
||||
.itemInputs('firmalife:food/vanilla_ice_cream')
|
||||
.inputFluids(Fluid.of('firmalife:chocolate', 1000))
|
||||
.itemOutputs('firmalife:food/chocolate_ice_cream')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
// White Chocolate Blend
|
||||
event.recipes.gtceu.mixer('firmalife:food/white_chocolate_blend/milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('minecraft:milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/white_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/white_chocolate_blend/yak_milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:yak_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/white_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/white_chocolate_blend/goat_milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:goat_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/white_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/white_chocolate_blend/coconut_milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:coconut_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/white_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.smelting('firmalife:food/white_chocolate', 'firmalife:food/white_chocolate_blend')
|
||||
|
||||
// Dark Chocolate Blend
|
||||
event.recipes.gtceu.mixer('firmalife:food/dark_chocolate_blend/milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_powder', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('minecraft:milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/dark_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/dark_chocolate_blend/yak_milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_powder', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:yak_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/dark_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/dark_chocolate_blend/goat_milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_powder', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:goat_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/dark_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/dark_chocolate_blend/coconut_milk')
|
||||
.itemInputs('2x firmalife:food/cocoa_powder', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:coconut_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/dark_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.smelting('firmalife:food/dark_chocolate', 'firmalife:food/dark_chocolate_blend')
|
||||
|
||||
// Milk Chocolate Blend
|
||||
event.recipes.gtceu.mixer('firmalife:food/milk_chocolate_blend/milk')
|
||||
.itemInputs('firmalife:food/cocoa_powder', 'firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('minecraft:milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/milk_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/milk_chocolate_blend/yak_milk')
|
||||
.itemInputs('firmalife:food/cocoa_powder', 'firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:yak_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/milk_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/milk_chocolate_blend/goat_milk')
|
||||
.itemInputs('firmalife:food/cocoa_powder', 'firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:goat_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/milk_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.mixer('firmalife:food/milk_chocolate_blend/coconut_milk')
|
||||
.itemInputs('firmalife:food/cocoa_powder', 'firmalife:food/cocoa_butter', '#tfc:sweetener')
|
||||
.inputFluids(Fluid.of('firmalife:coconut_milk', 1000))
|
||||
.itemOutputs('2x firmalife:food/milk_chocolate_blend')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
event.smelting('firmalife:food/milk_chocolate', 'firmalife:food/milk_chocolate_blend')
|
||||
|
||||
// Strawberry Ice Cream
|
||||
event.recipes.gtceu.mixer('firmalife:food/strawberry_ice_cream')
|
||||
.itemInputs('firmalife:food/vanilla_ice_cream', '2x tfc:food/strawberry')
|
||||
.itemOutputs('firmalife:food/strawberry_ice_cream')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
// Hardtack Dough
|
||||
event.recipes.gtceu.mixer('firmalife:food/chocolate_chip_cookie_dough')
|
||||
.itemInputs('4x firmalife:food/cookie_dough', '#firmalife:chocolate_blends')
|
||||
.itemOutputs('4x firmalife:food/chocolate_chip_cookie_dough')
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Обжарка некоторой еды
|
||||
|
||||
// Cooked Pizza
|
||||
event.smelting('firmalife:food/cooked_pizza', 'firmalife:food/raw_pizza')
|
||||
|
||||
// Taco Shell
|
||||
event.smelting('firmalife:food/taco_shell', 'firmalife:food/corn_tortilla')
|
||||
|
||||
// Sugar Cookie
|
||||
event.smelting('firmalife:food/sugar_cookie', 'firmalife:food/cookie_dough')
|
||||
|
||||
// Chocolate Chip Cookie
|
||||
event.smelting('firmalife:food/chocolate_chip_cookie', 'firmalife:food/chocolate_chip_cookie_dough')
|
||||
|
||||
// Hardtack
|
||||
event.smelting('firmalife:food/hardtack', 'firmalife:food/hardtack_dough')
|
||||
|
||||
// Cooked Pie
|
||||
event.smelting('firmalife:food/cooked_pie', 'firmalife:food/filled_pie')
|
||||
|
||||
// Roasted Cocoa Beans
|
||||
event.smelting('firmalife:food/roasted_cocoa_beans', 'firmalife:food/cocoa_beans')
|
||||
|
||||
// Pumpkin Pie
|
||||
event.smelting('minecraft:pumpkin_pie', 'firmalife:food/raw_pumpkin_pie')
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Sticky Resin by Vat
|
||||
|
||||
event.recipes.firmalife.vat()
|
||||
|
|
@ -481,6 +759,28 @@ const registerFirmaLifeRecipes = (event) => {
|
|||
|
||||
// #endregion
|
||||
|
||||
// #region Smashed food
|
||||
|
||||
event.recipes.gtceu.forge_hammer('firmalife:soybean_paste')
|
||||
.itemInputs('firmalife:food/dehydrated_soybeans')
|
||||
.itemOutputs('firmalife:food/soybean_paste')
|
||||
.duration(20)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.forge_hammer('firmalife:red_grapes')
|
||||
.itemInputs('firmalife:food/red_grapes')
|
||||
.itemOutputs('firmalife:food/smashed_red_grapes')
|
||||
.duration(20)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.forge_hammer('firmalife:white_grapes')
|
||||
.itemInputs('firmalife:food/white_grapes')
|
||||
.itemOutputs('firmalife:food/smashed_white_grapes')
|
||||
.duration(20)
|
||||
.EUt(7)
|
||||
|
||||
// #endregion
|
||||
|
||||
// #region Drying mat alternatives
|
||||
|
||||
event.shaped('firmalife:drying_mat', ['AAA'], { A: 'tfc:plant/leafy_kelp' }).id('tfg:shaped/drying_mat_leafy_kelp')
|
||||
|
|
@ -495,4 +795,13 @@ const registerFirmaLifeRecipes = (event) => {
|
|||
.circuit(5)
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
.duration(200)
|
||||
|
||||
event.smelting('firmalife:food/dehydrated_soybeans', 'tfc:food/soybean')
|
||||
|
||||
event.recipes.gtceu.fermenter('soybean_oil')
|
||||
.itemInputs('firmalife:food/soybean_paste')
|
||||
.inputFluids(Fluid.of('minecraft:water', 100))
|
||||
.outputFluids(Fluid.of('firmalife:soybean_oil', 250))
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
.duration(600)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ function removeGreateRecipes(event) {
|
|||
event.remove({ id: 'greate:shaped/titanium_mechanical_saw' })
|
||||
|
||||
event.remove({ id: 'greate:splashing/dough' })
|
||||
event.remove({ id: 'gtceu:electrolyzer/decomposition_electrolyzing_chromatic_compound' })
|
||||
|
||||
event.remove({ mod: 'greate', type: 'create:deploying' });
|
||||
event.remove({ mod: 'greate', type: 'create:sequenced_assembly' });
|
||||
|
|
|
|||
|
|
@ -744,6 +744,18 @@ function registerGTCEuMachineRecipes(event) {
|
|||
|
||||
// #endregion
|
||||
|
||||
// Контроллер теплицы
|
||||
event.shaped('gtceu:greenhouse', [
|
||||
'ABA',
|
||||
'CDC',
|
||||
'BCB'
|
||||
], {
|
||||
A: '#gtceu:circuits/mv',
|
||||
B: 'gtceu:copper_single_cable',
|
||||
C: 'tfc:compost',
|
||||
D: 'gtceu:solid_machine_casing'
|
||||
}).id('tfg:shaped/greenhouse')
|
||||
|
||||
// Drums
|
||||
const DRUMS_AND_CRATES = [
|
||||
'bismuth_bronze',
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ function registerGTCEUMetalRecipes(event) {
|
|||
|
||||
let matAmount = TagPrefix.block.getMaterialAmount(material) / GTValues.M;
|
||||
|
||||
if (!plateStack.isEmpty() && !ingotStack.hasTag('c:hidden_from_recipe_viewers')) {
|
||||
if (!plateStack.isEmpty()) {
|
||||
|
||||
event.custom({
|
||||
type: "createaddition:rolling",
|
||||
|
|
@ -149,6 +149,7 @@ function registerGTCEUMetalRecipes(event) {
|
|||
}).id(`tfg:rolling/${material.getName()}_plate`)
|
||||
|
||||
if (!blockStack.isEmpty() && GTMaterials.Stone != material) {
|
||||
|
||||
// 9х Слиток -> Блок
|
||||
event.recipes.createCompacting(blockStack, ingotStack.withCount(matAmount))
|
||||
.heated()
|
||||
|
|
@ -157,6 +158,7 @@ function registerGTCEUMetalRecipes(event) {
|
|||
}
|
||||
else {
|
||||
if (!blockStack.isEmpty()) {
|
||||
|
||||
// Блок из гемов -> 9 Пластин
|
||||
event.recipes.createCutting(plateStack.withCount(matAmount).withChance(0.65), blockStack)
|
||||
.id(`tfg:cutting/${material.getName()}_plate`)
|
||||
|
|
@ -190,7 +192,7 @@ function registerGTCEUMetalRecipes(event) {
|
|||
const foilItem = ChemicalHelper.get(TagPrefix.foil, material, 4)
|
||||
const plateItem = ChemicalHelper.get(TagPrefix.plate, material, 1)
|
||||
|
||||
if (plateItem != null && foilItem != null && !plateItem.hasTag('c:hidden_from_recipe_viewers')) {
|
||||
if (plateItem != null && foilItem != null) {
|
||||
event.custom({
|
||||
type: "createaddition:rolling",
|
||||
input: plateItem,
|
||||
|
|
|
|||
|
|
@ -1028,5 +1028,4 @@ const registerMinecraftRecipes = (event) => {
|
|||
}).id('tfg:shaped/stonecutter');
|
||||
|
||||
event.stonecutting('minecraft:smooth_quartz', 'minecraft:quartz_block')
|
||||
event.stonecutting('create:cut_deepslate', 'minecraft:polished_deepslate')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ const registerMinecraftItemTags = (event) => {
|
|||
|
||||
event.remove('forge:gems', 'minecraft:charcoal')
|
||||
event.remove('forge:gems', 'minecraft:coal')
|
||||
event.remove('forge:gems', 'minecraft:flint')
|
||||
|
||||
event.add('tfc:compost_greens_high', 'minecraft:red_mushroom_block')
|
||||
event.add('tfc:compost_greens_high', 'minecraft:brown_mushroom_block')
|
||||
|
|
|
|||
|
|
@ -69,7 +69,6 @@ const registerTFCHeats = (event) => {
|
|||
makeItemHeatByTagPrefix(TagPrefix.rodLong, material, tfcProperty, 1.429)
|
||||
|
||||
makeItemHeatByTagPrefix(TagPrefix.ingot, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.ingotDouble, material, tfcProperty, 2.875)
|
||||
|
||||
makeItemHeatByTagPrefix(TagPrefix.rawOre, material, tfcProperty, 1.429)
|
||||
makeItemHeatByTagPrefix(TFGTagPrefix.richRawOre, material, tfcProperty, 1.429)
|
||||
|
|
|
|||
|
|
@ -34,6 +34,44 @@ const registerTFCRecipes = (event) => {
|
|||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты зерен
|
||||
|
||||
global.TFC_QUERN_GRAIN_RECIPE_COMPONENTS.forEach(element => {
|
||||
|
||||
event.recipes.gtceu.macerator(`tfg:${element.name}`)
|
||||
.itemInputs(element.input)
|
||||
.itemOutputs(element.output)
|
||||
.chancedOutput('tfc:straw', 7000, 500)
|
||||
.duration(200)
|
||||
.EUt(2)
|
||||
|
||||
event.recipes.tfc.quern(element.output, element.input)
|
||||
.id(`tfg:quern/${element.name}`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты муки
|
||||
|
||||
global.TFC_QUERN_FLOUR_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.recipes.gtceu.macerator(`tfg:${element.name}`)
|
||||
.itemInputs(element.input)
|
||||
.itemOutputs(element.output)
|
||||
.duration(200)
|
||||
.EUt(2)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты обжарки мяса
|
||||
|
||||
global.TFC_FURNACE_MEAT_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.smelting(element.output, element.input)
|
||||
.id(`tfg:smelting/${element.name}`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты обжарки форм
|
||||
|
||||
global.TFC_FURNACE_MOLD_RECIPE_COMPONENTS.forEach(element => {
|
||||
|
|
@ -88,6 +126,15 @@ const registerTFCRecipes = (event) => {
|
|||
|
||||
//#endregion
|
||||
|
||||
//#region Рецепты хлеба
|
||||
|
||||
global.TFC_FURNACE_BREAD_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.smelting(element.output, element.input)
|
||||
.id(`tfg:smelting/${element.name}`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
event.shapeless('tfc:crucible', ['tfc:crucible']).id('tfg:empty_crucible')
|
||||
|
||||
event.shapeless('2x minecraft:stick', ['#minecraft:saplings', '#forge:tools/knives']).id('tfg:strip_saplings')
|
||||
|
|
|
|||
|
|
@ -117,6 +117,20 @@ function registerTFCMachineRecipes(event) {
|
|||
.duration(3200)
|
||||
.EUt(16)
|
||||
|
||||
//#region Рецепты плоского теста
|
||||
|
||||
global.TFC_MIXER_FLATBREAD_DOUGH_RECIPE_COMPONENTS.forEach(element => {
|
||||
event.recipes.gtceu.mixer(element.name)
|
||||
.itemInputs(element.input)
|
||||
.inputFluids(Fluid.of('minecraft:water', 100))
|
||||
.itemOutputs(element.output)
|
||||
.duration(300)
|
||||
.EUt(16)
|
||||
.circuit(3)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Молды в ассемблере
|
||||
|
||||
for (let i = 0; i < global.TFC_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS.length; i++) {
|
||||
|
|
@ -160,9 +174,158 @@ function registerTFCMachineRecipes(event) {
|
|||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
// Curdled milk
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_milk')
|
||||
.inputFluids(Fluid.of('minecraft:milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('tfc:curdled_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_yak_milk')
|
||||
.inputFluids(Fluid.of('firmalife:yak_milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('firmalife:curdled_yak_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_goat_milk')
|
||||
.inputFluids(Fluid.of('firmalife:goat_milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('firmalife:curdled_goat_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
//Curds
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/milk_curd')
|
||||
.inputFluids(Fluid.of('tfc:curdled_milk', 1000))
|
||||
.itemOutputs('firmalife:food/milk_curd')
|
||||
.duration(1200)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/yak_curd')
|
||||
.inputFluids(Fluid.of('firmalife:curdled_yak_milk', 1000))
|
||||
.itemOutputs('firmalife:food/yak_curd')
|
||||
.duration(1200)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/goat_curd')
|
||||
.inputFluids(Fluid.of('firmalife:curdled_goat_milk', 1000))
|
||||
.itemOutputs('firmalife:food/goat_curd')
|
||||
.duration(1200)
|
||||
.EUt(16)
|
||||
|
||||
// Cheese wheels
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/gouda_wheel')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 750))
|
||||
.itemInputs('3x firmalife:food/milk_curd')
|
||||
.itemOutputs('firmalife:gouda_wheel')
|
||||
.duration(12000)
|
||||
.EUt(24)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/shosha_wheel')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 750))
|
||||
.itemInputs('3x firmalife:food/yak_curd')
|
||||
.itemOutputs('firmalife:shosha_wheel')
|
||||
.duration(12000)
|
||||
.EUt(24)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/feta_wheel')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 750))
|
||||
.itemInputs('3x firmalife:food/goat_curd')
|
||||
.itemOutputs('firmalife:feta_wheel')
|
||||
.duration(12000)
|
||||
.EUt(24)
|
||||
|
||||
// Cutting
|
||||
event.recipes.gtceu.cutter('tfg:cutter/gouda')
|
||||
.itemInputs('firmalife:gouda_wheel')
|
||||
.itemOutputs('4x firmalife:food/gouda')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/shosha')
|
||||
.itemInputs('firmalife:shosha_wheel')
|
||||
.itemOutputs('4x firmalife:food/shosha')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/feta')
|
||||
.itemInputs('firmalife:feta_wheel')
|
||||
.itemOutputs('4x firmalife:food/feta')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/cheddar')
|
||||
.itemInputs('firmalife:cheddar_wheel')
|
||||
.itemOutputs('4x firmalife:food/cheddar')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/chevre')
|
||||
.itemInputs('firmalife:chevre_wheel')
|
||||
.itemOutputs('4x firmalife:food/chevre')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
event.recipes.gtceu.cutter('tfg:cutter/rajya_metok')
|
||||
.itemInputs('firmalife:rajya_metok_wheel')
|
||||
.itemOutputs('4x firmalife:food/rajya_metok')
|
||||
.duration(40)
|
||||
.EUt(7)
|
||||
|
||||
// Misc
|
||||
global.TFC_MILKS.forEach(milk => {
|
||||
event.recipes.gtceu.fermenter(`tfg:fermenter/cream_from_${milk.id.replace(':', '_')}`)
|
||||
.inputFluids(Fluid.of(milk.id, 1000))
|
||||
.outputFluids(Fluid.of('firmalife:cream'))
|
||||
.circuit(6)
|
||||
.duration(1200)
|
||||
.EUt(24)
|
||||
})
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:mixer/tomato_sauce')
|
||||
.itemInputs('firmalife:food/tomato_sauce_mix')
|
||||
.inputFluids(Fluid.of('minecraft:water', 200))
|
||||
.itemOutputs('firmalife:food/tomato_sauce')
|
||||
.duration(200)
|
||||
.EUt(24)
|
||||
|
||||
//#endregion
|
||||
|
||||
// Brine
|
||||
//#region Оливки
|
||||
|
||||
event.recipes.gtceu.macerator(`tfg:tfc/olive_paste`)
|
||||
.itemInputs('tfc:food/olive')
|
||||
.itemOutputs('2x tfc:olive_paste')
|
||||
.duration(60)
|
||||
.EUt(2)
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:tfc/olive_oil_water')
|
||||
.inputFluids(Fluid.of('water', 200))
|
||||
.itemInputs('1x tfc:olive_paste')
|
||||
.outputFluids(Fluid.of('tfc:olive_oil_water', 200))
|
||||
.duration(200)
|
||||
.EUt(28)
|
||||
|
||||
event.recipes.gtceu.distillery('tfg:tfc/olive_oil')
|
||||
.inputFluids(Fluid.of('tfc:olive_oil_water', 250))
|
||||
.outputFluids(Fluid.of('tfc:olive_oil', 50))
|
||||
.duration(600)
|
||||
.EUt(28)
|
||||
|
||||
//#endregion
|
||||
|
||||
// Vinegar and Brine
|
||||
|
||||
global.TFC_ALCOHOL.forEach(alcohol => {
|
||||
event.recipes.gtceu.fermenter(`tfg:tfc/vinegar/${alcohol.id.replace(':', '_')}`)
|
||||
.itemInputs('#tfc:foods/fruits')
|
||||
.inputFluids(Fluid.of(alcohol.id, 250))
|
||||
.outputFluids(Fluid.of('tfc:vinegar', 250))
|
||||
.duration(600)
|
||||
.EUt(28)
|
||||
})
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:tfc/brine')
|
||||
.inputFluids(Fluid.of('tfc:salt_water', 900))
|
||||
|
|
|
|||
|
|
@ -1114,15 +1114,6 @@ function registerTFCMaterialsRecipes(event) {
|
|||
let tongPartStack = Item.of(`tfchotornot:tong_part/${material.getName()}`)
|
||||
|
||||
if (!tongsStack.isEmpty() && !tongPartStack.isEmpty()) {
|
||||
event.shaped(tongsStack, [
|
||||
'AA',
|
||||
'BC'
|
||||
], {
|
||||
A: tongPartStack,
|
||||
B: '#forge:bolts',
|
||||
C: '#forge:tools/hammers'
|
||||
}).id(`tfchotornot:crafting/tongs/${material.getName()}`)
|
||||
|
||||
// Ручка щипцов
|
||||
event.recipes.tfc.heating(tongPartStack, tfcProperty.getMeltTemp())
|
||||
.resultFluid(Fluid.of(outputMaterial.getFluid(), 144))
|
||||
|
|
|
|||
|
|
@ -47,13 +47,13 @@ function registerTFCLunchBoxRecipes(event) {
|
|||
event.recipes.gtceu.canner('tfclunchbox:fill_capsule_with_ice')
|
||||
.itemInputs('tfclunchbox:universal_capsule')
|
||||
.inputFluids(Fluid.of('gtceu:ice', 45 * 144))
|
||||
.itemOutputs(Item.of('tfclunchbox:universal_capsule', '{Durability:1000}').withName(Text.translate('item.tfclunchbox.universal_capsule.filled')))
|
||||
.itemOutputs(Item.of('tfclunchbox:universal_capsule', '{Durability:500}').withName(Text.translate('item.tfclunchbox.universal_capsule.filled')))
|
||||
.duration(100)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
|
||||
event.recipes.gtceu.canner('tfclunchbox:fill_capsule_with_ice_solid')
|
||||
.itemInputs('tfclunchbox:universal_capsule', '5x minecraft:packed_ice')
|
||||
.itemOutputs(Item.of('tfclunchbox:universal_capsule', '{Durability:1000}').withName(Text.translate('item.tfclunchbox.universal_capsule.filled')))
|
||||
.itemOutputs(Item.of('tfclunchbox:universal_capsule', '{Durability:500}').withName(Text.translate('item.tfclunchbox.universal_capsule.filled')))
|
||||
.duration(100)
|
||||
.EUt(GTValues.VA[GTValues.LV])
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,620 +0,0 @@
|
|||
// priority: 0
|
||||
/**
|
||||
* @param {Internal.RecipesEventJS} event
|
||||
*/
|
||||
function registerTFGFoodRecipes(event) {
|
||||
|
||||
const $ISPRecipeLogic = Java.loadClass("su.terrafirmagreg.core.common.data.machines.ISPOutputRecipeLogic")
|
||||
const $SizedIngredient = Java.loadClass("com.gregtechceu.gtceu.api.recipe.ingredient.SizedIngredient")
|
||||
const Sized = (ing, amount) => $SizedIngredient.create(ing, amount)
|
||||
|
||||
/**
|
||||
* @typedef {Object} FoodRecipeData
|
||||
* @property {number?} circuit
|
||||
* @property {Internal.GTRecipeComponents$FluidIngredientJS_[]?} fluidInputs
|
||||
* @property {Internal.FluidStackJS[]?} fluidOutputs
|
||||
* @property {(string | [string, Internal.Ingredient])[]?} itemInputs
|
||||
* @property {string[]?} itemOutputs Ingredient outputs - first output is replaced with ISP output if defined
|
||||
* @property {Internal.ItemStackProviderJS?} itemOutputProvider ItemStackProvider which provides the recipe output.
|
||||
*
|
||||
* **NOTE:** TFC Ingredients do not support item counts higher than 1. Do `Sized(TFCIngredient('item:item'), count)` instead of `TFCIngredient('[count]x item:item')`
|
||||
*/
|
||||
|
||||
//#region Helper funcs
|
||||
|
||||
/**
|
||||
* @param {"food_oven"|"food_processor"} type
|
||||
* @param {string} id
|
||||
* @param {string} duration
|
||||
* @param {string} EUt
|
||||
* @param {FoodRecipeData} data
|
||||
*/
|
||||
function registerFoodRecipe(type, id, duration, EUt, data) {
|
||||
if (data.itemInputs === undefined) data.itemInputs = []
|
||||
if (data.itemOutputs === undefined) data.itemOutputs = []
|
||||
if (data.fluidInputs === undefined) data.fluidInputs = []
|
||||
if (data.fluidOutputs === undefined) data.fluidOutputs = []
|
||||
let gregInputs = [], inputs= []
|
||||
let outputFirstIndex = (data.itemOutputProvider === undefined) ? 0 : 1
|
||||
data.itemInputs.forEach(item => {
|
||||
if (typeof item === "string") {
|
||||
gregInputs.push(item)
|
||||
|
||||
const match = item.match(/^(\d+)\s*x\s*/i);
|
||||
let count = 1
|
||||
if (match) {
|
||||
count = parseInt(match[1]);
|
||||
item = item.slice(match[0].length);
|
||||
}
|
||||
inputs.push($SizedIngredient.create(item, count))
|
||||
} else {
|
||||
gregInputs.push(item[0])
|
||||
inputs.push(item[1])
|
||||
}
|
||||
})
|
||||
|
||||
$ISPRecipeLogic.RegisterRecipeData(type + "/" + id, inputs, (data.itemOutputProvider === undefined) ? null : data.itemOutputProvider.asCanonClass(), data.itemOutputs.slice(outputFirstIndex).map(i => Item.of(i)))
|
||||
|
||||
let r = event.recipes.gtceu[type](id)
|
||||
.duration(duration)
|
||||
.EUt(EUt)
|
||||
|
||||
if (data.circuit) r.circuit(data.circuit)
|
||||
if (data.itemOutputs.length > 0) r.itemOutputs(data.itemOutputs)
|
||||
if (data.itemInputs.length > 0) r.itemInputs(data.itemInputs)
|
||||
if (data.fluidInputs.length > 0) r.inputFluids(data.fluidInputs);
|
||||
if (data.fluidOutputs.length > 0) r.outputFluids(data.fluidOutputs);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} id
|
||||
* @param {number} duration
|
||||
* @param {EUt} EUt
|
||||
* @param {FoodRecipeData} data
|
||||
*/
|
||||
const processorRecipe = (id, duration, EUt, data) => registerFoodRecipe("food_processor", id, duration, EUt, data)
|
||||
|
||||
/**
|
||||
* @param {string} id
|
||||
* @param {string} input
|
||||
* @param {string} out
|
||||
* @param {Internal.FluidIngredient?} fluid
|
||||
* @param {boolean?} isFirmaDynamic
|
||||
*/
|
||||
function cookingRecipe(id, input, out, fluid, isFirmaDynamic) {
|
||||
registerFoodRecipe("food_oven", id, 300, 32, {
|
||||
itemInputs: [input],
|
||||
itemOutputs: [out],
|
||||
fluidInputs: (fluid === undefined) ? [] : [fluid],
|
||||
itemInputs: [input],
|
||||
itemOutputProvider: (isFirmaDynamic) ? TFC.isp.of(out).firmaLifeCopyDynamicFood() : TFC.isp.of(out).copyFood().addTrait("firmalife:oven_baked")
|
||||
})
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region ================= Meat cooking =================
|
||||
|
||||
global.TFC_MEAT_RECIPE_COMPONENTS.forEach(item => {
|
||||
cookingRecipe(item.name, item.input, item.output)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
//#region ================= TFC Grains =================
|
||||
|
||||
global.TFC_GRAINS.forEach(grain => {
|
||||
|
||||
// Raw crop to grain
|
||||
processorRecipe(`${grain}_grain`, 100, 8, {
|
||||
itemInputs: [`tfc:food/${grain}`],
|
||||
itemOutputs: [`tfc:food/${grain}_grain`],
|
||||
itemOutputProvider: TFC.isp.of(`tfc:food/${grain}_grain`).copyOldestFood()
|
||||
})
|
||||
|
||||
// Grain to flour
|
||||
processorRecipe(`${grain}_flour`, 100, 8, {
|
||||
itemInputs: [`tfc:food/${grain}_grain`],
|
||||
itemOutputs: [`2x tfc:food/${grain}_flour`],
|
||||
itemOutputProvider: TFC.isp.of(`2x tfc:food/${grain}_flour`).copyOldestFood()
|
||||
})
|
||||
|
||||
// Flatbread dough
|
||||
processorRecipe(`${grain}_flatbread_dough`, 300, 8, {
|
||||
itemInputs: [`tfc:food/${grain}_flour`],
|
||||
itemOutputs: [`2x tfc:food/${grain}_dough`],
|
||||
fluidInputs: [Fluid.of('minecraft:water', 100)],
|
||||
itemOutputProvider: TFC.isp.of(`2x tfc:food/${grain}_dough`).copyFood()
|
||||
})
|
||||
|
||||
// Firmalife dough
|
||||
processorRecipe(`${grain}_dough`, 300, 16, {
|
||||
itemInputs: [`tfc:food/${grain}_flour`, `#tfc:sweetener`],
|
||||
itemOutputs: [`4x firmalife:food/${grain}_dough`],
|
||||
fluidInputs: [Fluid.of('firmalife:yeast_starter', 200)],
|
||||
itemOutputProvider: TFC.isp.of(`4x firmalife:food/${grain}_dough`).copyFood()
|
||||
})
|
||||
|
||||
// Bread baking
|
||||
cookingRecipe(`${grain}_flatbread`, `tfc:food/${grain}_dough`, `firmalife:food/${grain}_flatbread`)
|
||||
cookingRecipe(`${grain}_bread`, `firmalife:food/${grain}_dough`, `tfc:food/${grain}_bread`)
|
||||
|
||||
processorRecipe(`${grain}_bread_slice`, 10, 8, {
|
||||
circuit: 1,
|
||||
itemInputs: [`tfc:food/${grain}_bread`],
|
||||
itemOutputs: [`2x firmalife:food/${grain}_slice`],
|
||||
itemOutputProvider: TFC.isp.of(`2x firmalife:food/${grain}_slice`).copyOldestFood()
|
||||
})
|
||||
|
||||
//Sandwich making
|
||||
|
||||
let breadTypes = [["bread", `tfc:food/${grain}_bread`], ["flatbread", `firmalife:food/${grain}_flatbread`], ["slice", `firmalife:food/${grain}_slice`]]
|
||||
breadTypes.forEach((type) => {
|
||||
processorRecipe(`${grain}_${type[0]}_sandwich`, 100, 16, {
|
||||
circuit: 3,
|
||||
itemInputs: [`2x ${type[1]}`, "3x #tfc:foods/usable_in_sandwich"],
|
||||
itemOutputs: [`2x tfc:food/${grain}_bread_sandwich`],
|
||||
itemOutputProvider: TFC.isp.of(`2x tfc:food/${grain}_bread_sandwich`).meal(
|
||||
(food => food.hunger(4).water(0.5).saturation(1).decayModifier(4.5)), [
|
||||
(portion) => portion.ingredient(Ingredient.of('#tfc:sandwich_bread')).nutrientModifier(0.5).saturationModifier(0.5).waterModifier(0.5),
|
||||
(portion) => portion.nutrientModifier(0.8).saturationModifier(0.8).waterModifier(0.8),
|
||||
])
|
||||
})
|
||||
|
||||
//Note: Jam needs to be first in the recipe code or else it will consider it as the usable_in_jam_sandwhich ingredients.
|
||||
processorRecipe(`${grain}_${type[0]}_jam_sandwich`, 100, 16, {
|
||||
circuit: 4,
|
||||
itemInputs: [`2x ${type[1]}`, '#tfc:foods/preserves', '2x #tfc:foods/usable_in_jam_sandwich'],
|
||||
itemOutputs: [`2x tfc:food/${grain}_bread_jam_sandwich`, 'tfc:empty_jar'],
|
||||
itemOutputProvider: TFC.isp.of(`2x tfc:food/${grain}_bread_jam_sandwich`).meal(
|
||||
(food => food.hunger(4).water(0.5).saturation(1).decayModifier(4.5)), [
|
||||
(portion) => portion.ingredient(Ingredient.of('#tfc:sandwich_bread')).nutrientModifier(0.5).saturationModifier(0.5).waterModifier(0.5),
|
||||
(portion) => portion.nutrientModifier(0.8).saturationModifier(0.8).waterModifier(0.8),
|
||||
]),
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region ================= Firmalife =================
|
||||
|
||||
global.FIRMALIFE_COOKING_RECIPE_COMPONENTS.forEach(item => {
|
||||
cookingRecipe(item.name, item.input, item.output, undefined, true)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
//#region ================= Dairy =================
|
||||
|
||||
global.TFC_CURDS_AND_CHEESES.forEach(item => {
|
||||
|
||||
processorRecipe(`${item.curd}_curd`, 1200, 16, {
|
||||
itemOutputs: [item.curd],
|
||||
fluidInputs: [Fluid.of(item.input_fluid, 1000)],
|
||||
itemOutputProvider: TFC.isp.of(item.curd).resetFood()
|
||||
})
|
||||
|
||||
processorRecipe(`${item.cheese1}_cheese_wheel_1`, 8000, 16, {
|
||||
itemInputs: [`3x ${item.curd}`],
|
||||
itemOutputs: [`firmalife:${item.cheese1}_wheel`],
|
||||
fluidInputs: [Fluid.of('tfc:salt_water', 750)],
|
||||
itemOutputProvider: TFC.isp.of(`firmalife:${item.cheese1}_wheel`).copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe(`${item.cheese2}_cheese_wheel_2`, 1000, 16, {
|
||||
circuit: 2,
|
||||
itemInputs: [`3x ${item.curd}`, `6x tfc:powder/salt`],
|
||||
itemOutputs: [`firmalife:${item.cheese2}_wheel`],
|
||||
itemOutputProvider: TFC.isp.of(`firmalife:${item.cheese2}_wheel`).copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe(`${item.cheese1}_cheese_cutting_1`, 100, 8, {
|
||||
itemInputs: [`firmalife:${item.cheese1}_wheel`],
|
||||
itemOutputs: [`4x firmalife:food/${item.cheese1}`],
|
||||
itemOutputProvider: TFC.isp.of(`4x firmalife:food/${item.cheese1}`).copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe(`${item.cheese2}_cheese_cutting_2`, 100, 8, {
|
||||
itemInputs: [`firmalife:${item.cheese2}_wheel`],
|
||||
itemOutputs: [`4x firmalife:food/${item.cheese2}`],
|
||||
itemOutputProvider: TFC.isp.of(`4x firmalife:food/${item.cheese2}`).copyOldestFood()
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
global.TFC_MILKS.forEach(milk => {
|
||||
const milkID = milk.id.split(':')[1];
|
||||
|
||||
processorRecipe(`white_chocolate_blend_from_${milkID}`, 300, 16, {
|
||||
circuit: 3,
|
||||
itemInputs: ['2x firmalife:food/cocoa_butter', '#tfc:sweetener'],
|
||||
itemOutputs: ['2x firmalife:food/white_chocolate_blend'],
|
||||
fluidInputs: [Fluid.of(milk.id, 1000)],
|
||||
itemOutputProvider: TFC.isp.of('2x firmalife:food/white_chocolate_blend').resetFood(),
|
||||
})
|
||||
|
||||
processorRecipe(`dark_chocolate_blend_from_${milkID}`, 300, 16, {
|
||||
circuit: 2,
|
||||
itemInputs: ['2x firmalife:food/cocoa_powder', '#tfc:sweetener'],
|
||||
itemOutputs: ['2x firmalife:food/dark_chocolate_blend'],
|
||||
fluidInputs: [Fluid.of(milk.id, 1000)],
|
||||
itemOutputProvider: TFC.isp.of('2x firmalife:food/dark_chocolate_blend').resetFood(),
|
||||
})
|
||||
|
||||
processorRecipe(`milk_chocolate_blend_from_${milkID}`, 300, 16, {
|
||||
circuit: 1,
|
||||
itemInputs: ['firmalife:food/cocoa_powder', 'firmalife:food/cocoa_butter', '#tfc:sweetener'],
|
||||
itemOutputs: ['2x firmalife:food/milk_chocolate_blend'],
|
||||
fluidInputs: [Fluid.of(milk.id, 1000)],
|
||||
itemOutputProvider: TFC.isp.of('2x firmalife:food/milk_chocolate_blend').resetFood(),
|
||||
})
|
||||
|
||||
processorRecipe(`egg_noodles_from_${milkID}`, 50, 8, {
|
||||
circuit: 6,
|
||||
itemInputs: ["#tfc:foods/flour", 'tfc:powder/salt', '#forge:eggs'],
|
||||
itemOutputs: ['firmalife:food/raw_egg_noodles'],
|
||||
fluidInputs: [Fluid.of(milk.id, 1000)],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/raw_egg_noodles").copyOldestFood(),
|
||||
})
|
||||
|
||||
processorRecipe(`rice_noodles_from_${milkID}`, 50, 8, {
|
||||
itemInputs: ["tfc:food/rice_flour", 'tfc:food/maize_flour', 'tfc:powder/salt'],
|
||||
fluidInputs: [Fluid.of(milk.id, 1000)],
|
||||
itemOutputs: ['2x firmalife:food/raw_rice_noodles'],
|
||||
itemOutputProvider: TFC.isp.of('2x firmalife:food/raw_rice_noodles').copyOldestFood()
|
||||
})
|
||||
|
||||
// No ISP needed here
|
||||
event.recipes.gtceu.fermenter(`tfg:fermenter/cream_from_${milkID}`)
|
||||
.inputFluids(Fluid.of(milk.id, 1000))
|
||||
.outputFluids(Fluid.of('firmalife:cream'))
|
||||
.circuit(6)
|
||||
.duration(1200)
|
||||
.EUt(24)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region ================= Food preservation =================
|
||||
|
||||
const smoking_meats = Ingredient.of('#tfc:foods/raw_meats').itemIds;
|
||||
const brining_veg = Ingredient.of('#firmalife:foods/pizza_ingredients').itemIds;
|
||||
|
||||
const brining_ingredients = smoking_meats.concat(brining_veg);
|
||||
|
||||
brining_ingredients.forEach(item => {
|
||||
processorRecipe(`${item}/brining`, 200, 16, {
|
||||
circuit: 5,
|
||||
itemInputs: [item],
|
||||
itemOutputs: [item],
|
||||
fluidInputs: [Fluid.of("tfc:brine", 100)],
|
||||
itemOutputProvider: TFC.isp.of(item).copyOldestFood().addTrait('tfc:brined')
|
||||
})
|
||||
})
|
||||
|
||||
smoking_meats.forEach(item => {
|
||||
processorRecipe(`${item}/smoking`, 200, 16, {
|
||||
circuit: 6,
|
||||
itemInputs: [[item, TFC.ingredient.lacksTrait(item, "firmalife:smoked")]],
|
||||
itemOutputs: [item],
|
||||
fluidInputs: [Fluid.of('gtceu:wood_gas', 50)],
|
||||
itemOutputProvider: TFC.isp.of(item).copyOldestFood().addTrait("firmalife:smoked")
|
||||
})
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region ================= Misc =================
|
||||
|
||||
global.TFC_JAMS.forEach(name => {
|
||||
processorRecipe(`${name}_jam`, 200, 8, {
|
||||
circuit: 15,
|
||||
itemInputs: [`4x tfc:food/${name}`, "#tfg:sugars", "#tfc:empty_jar_with_lid"],
|
||||
itemOutputs: [`4x tfc:jar/${name}`],
|
||||
fluidInputs: [Fluid.of("minecraft:water", 100)],
|
||||
itemOutputProvider: TFC.isp.of(`4x tfc:jar/${name}`).copyFood()
|
||||
})
|
||||
|
||||
processorRecipe(`${name}_jam_no_seal`, 200, 8, {
|
||||
circuit: 16,
|
||||
itemInputs: [`4x tfc:food/${name}`, "#tfg:sugars", "tfc:empty_jar"],
|
||||
itemOutputs: [`4x tfc:jar/${name}_unsealed`],
|
||||
fluidInputs: [Fluid.of("minecraft:water", 100)],
|
||||
itemOutputProvider: TFC.isp.of(`4x tfc:jar/${name}_unsealed`).copyFood()
|
||||
})
|
||||
})
|
||||
|
||||
cookingRecipe("pasta", "firmalife:food/raw_egg_noodles", "firmalife:food/cooked_pasta", Fluid.of("minecraft:water", 100))
|
||||
cookingRecipe("corn_tortilla", "firmalife:food/masa", "firmalife:food/corn_tortilla")
|
||||
cookingRecipe("boiled_egg", "#firmalife:foods/raw_eggs", "tfc:food/boiled_egg", Fluid.of("minecraft:water", 200))
|
||||
cookingRecipe("cooked_rice", "tfc:food/rice_grain", "tfc:food/cooked_rice", Fluid.of("minecraft:water", 200))
|
||||
|
||||
processorRecipe("pasta_tomato_sauce", 60, 8, {
|
||||
itemInputs: ["firmalife:food/cooked_pasta", "firmalife:food/tomato_sauce"],
|
||||
itemOutputs: ["firmalife:food/pasta_with_tomato_sauce"],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/pasta_with_tomato_sauce').copyFood()
|
||||
})
|
||||
|
||||
processorRecipe('firmalife_masa', 300, 2, {
|
||||
itemInputs: ["firmalife:food/masa_flour"],
|
||||
itemOutputs: ["2x firmalife:food/masa"],
|
||||
fluidInputs: [Fluid.of('minecraft:water', 100)],
|
||||
itemOutputProvider: TFC.isp.of("2x firmalife:food/masa").copyFood()
|
||||
})
|
||||
|
||||
processorRecipe("tortilla_chips", 40, 16, {
|
||||
itemInputs: ["firmalife:food/taco_shell", "tfc:powder/salt"],
|
||||
itemOutputs: ["firmalife:food/tortilla_chips"],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/tortilla_chips").copyFood()
|
||||
})
|
||||
|
||||
processorRecipe("tomato_sauce_mix", 600, 8, {
|
||||
itemInputs: ['tfc:food/tomato', 'tfc:powder/salt', 'tfc:food/garlic'],
|
||||
itemOutputs: ['5x firmalife:food/tomato_sauce_mix'],
|
||||
itemOutputProvider: TFC.isp.of('5x firmalife:food/tomato_sauce_mix').copyOldestFood(),
|
||||
})
|
||||
|
||||
processorRecipe("tomato_sauce_from_mix", 200, 8, {
|
||||
itemInputs: ['firmalife:food/tomato_sauce_mix'],
|
||||
itemOutputs: ['firmalife:food/tomato_sauce'],
|
||||
fluidInputs: [Fluid.of('minecraft:water', 200)],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/tomato_sauce').copyOldestFood(),
|
||||
})
|
||||
|
||||
processorRecipe("olive_paste", 60, 8, {
|
||||
itemInputs: ['tfc:food/olive'],
|
||||
itemOutputs: ['2x tfc:olive_paste'],
|
||||
itemOutputProvider: TFC.isp.of('2x tfc:olive_paste'),
|
||||
})
|
||||
|
||||
processorRecipe("soybean_paste", 60, 8, {
|
||||
itemInputs: ['firmalife:food/dehydrated_soybeans'],
|
||||
itemOutputs: ['firmalife:food/soybean_paste'],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/soybean_paste').copyOldestFood(),
|
||||
})
|
||||
|
||||
// Vinegar
|
||||
global.TFC_ALCOHOL.forEach(alcohol => {
|
||||
let name = `vinegar_${alcohol.id.replace(':', '_')}`;
|
||||
|
||||
processorRecipe(name, 600, 32, {
|
||||
circuit: 5,
|
||||
itemInputs: ['#tfc:foods/fruits'],
|
||||
fluidInputs: [Fluid.of(alcohol.id, 250)],
|
||||
fluidOutputs: [Fluid.of('tfc:vinegar', 250)],
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
processorRecipe("pizza_no_extra", 600, 16, {
|
||||
itemInputs: ["firmalife:food/pizza_dough", "firmalife:food/tomato_sauce", "firmalife:food/shredded_cheese"],
|
||||
itemOutputs: ["firmalife:food/raw_pizza"],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/raw_pizza").meal(
|
||||
(food) => food.hunger(4).saturation(1).grain(1).dairy(0.25).decayModifier(4.5),
|
||||
[(portion) => portion.nutrientModifier(0.8).waterModifier(0.8).saturationModifier(0.8)]
|
||||
)
|
||||
})
|
||||
|
||||
processorRecipe("pizza_1_extra", 600, 16, {
|
||||
circuit: 1,
|
||||
itemInputs: ["firmalife:food/pizza_dough", "firmalife:food/tomato_sauce", "firmalife:food/shredded_cheese", "#firmalife:foods/pizza_ingredients"],
|
||||
itemOutputs: ["firmalife:food/raw_pizza"],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/raw_pizza").meal(
|
||||
(food) => food.hunger(4).saturation(1).grain(1).dairy(0.25).decayModifier(4.5),
|
||||
[(portion) => portion.nutrientModifier(0.8).waterModifier(0.8).saturationModifier(0.8)]
|
||||
)
|
||||
})
|
||||
|
||||
processorRecipe("pizza_2_extra", 600, 16, {
|
||||
circuit: 2,
|
||||
itemInputs: ["firmalife:food/pizza_dough", "firmalife:food/tomato_sauce", "firmalife:food/shredded_cheese", "2x #firmalife:foods/pizza_ingredients"],
|
||||
itemOutputs: ["firmalife:food/raw_pizza"],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/raw_pizza").meal(
|
||||
(food) => food.hunger(4).saturation(1).grain(1).dairy(0.25).decayModifier(4.5),
|
||||
[(portion) => portion.nutrientModifier(0.8).waterModifier(0.8).saturationModifier(0.8)]
|
||||
)
|
||||
})
|
||||
|
||||
processorRecipe("pizza_dough_olive_oil", 300, 16, {
|
||||
itemInputs: ['firmalife:spice/basil_leaves', '#tfc:foods/dough', 'tfc:powder/salt'],
|
||||
itemOutputs: ['4x firmalife:food/pizza_dough'],
|
||||
fluidInputs: [Fluid.of('tfc:olive_oil', 1000)],
|
||||
itemOutputProvider: TFC.isp.of("4x firmalife:food/pizza_dough").copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("pizza_dough_soybean_oil", 300, 16, {
|
||||
itemInputs: ['firmalife:spice/basil_leaves', '#tfc:foods/dough', 'tfc:powder/salt'],
|
||||
itemOutputs: ['4x firmalife:food/pizza_dough'],
|
||||
fluidInputs: [Fluid.of('firmalife:soybean_oil', 1000)],
|
||||
itemOutputProvider: TFC.isp.of("4x firmalife:food/pizza_dough").copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("vanilla_ice_cream", 300, 16, {
|
||||
itemInputs: ['firmalife:ice_shavings', '#tfc:sweetener', 'firmalife:spice/vanilla'],
|
||||
itemOutputs: ['2x firmalife:food/vanilla_ice_cream'],
|
||||
fluidInputs: [Fluid.of('firmalife:cream', 1000)],
|
||||
itemOutputProvider: TFC.isp.of("2x firmalife:food/vanilla_ice_cream").resetFood()
|
||||
})
|
||||
|
||||
processorRecipe("chocolate_ice_cream", 300, 16, {
|
||||
itemInputs: ['firmalife:food/vanilla_ice_cream'],
|
||||
itemOutputs: ['firmalife:food/chocolate_ice_cream'],
|
||||
fluidInputs: [Fluid.of('firmalife:chocolate', 1000)],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/chocolate_ice_cream").resetFood()
|
||||
})
|
||||
|
||||
processorRecipe("strawberry_ice_cream", 300, 16, {
|
||||
itemInputs: ['firmalife:food/vanilla_ice_cream', '2x tfc:food/strawberry'],
|
||||
itemOutputs: ['firmalife:food/strawberry_ice_cream'],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/strawberry_ice_cream").resetFood()
|
||||
})
|
||||
|
||||
processorRecipe("cookie_dough_ice_cream", 300, 16, {
|
||||
itemInputs: [`firmalife:food/vanilla_ice_cream`, `firmalife:food/chocolate_chip_cookie_dough`],
|
||||
itemOutputs: [`firmalife:food/cookie_dough_ice_cream`],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/cookie_dough_ice_cream").resetFood()
|
||||
})
|
||||
|
||||
processorRecipe("butter", 300, 16, {
|
||||
itemInputs: ["tfc:powder/salt"],
|
||||
itemOutputs: ["firmalife:food/butter"],
|
||||
fluidInputs: [Fluid.of('firmalife:cream', 1000)],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/butter').resetFood()
|
||||
})
|
||||
|
||||
processorRecipe("pie_dough", 300, 16, {
|
||||
circuit: 2,
|
||||
itemInputs: ['#tfc:sweetener', 'firmalife:food/butter', '#tfc:foods/flour'],
|
||||
itemOutputs: ['firmalife:food/pie_dough'],
|
||||
fluidInputs: [Fluid.of('minecraft:water', 1000)],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/pie_dough').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("pumpkin_pie_dough", 300, 16, {
|
||||
circuit: 2,
|
||||
itemInputs: ['#tfc:sweetener', '#forge:eggs', '2x tfc:food/pumpkin_chunks', '#tfc:foods/flour'],
|
||||
itemOutputs: ['firmalife:food/pumpkin_pie_dough'],
|
||||
fluidInputs: [Fluid.of('minecraft:water', 1000)],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/pumpkin_pie_dough').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("raw_pumpkin_pie", 20, 8, {
|
||||
itemInputs: ["firmalife:food/pumpkin_pie_dough", "firmalife:pie_pan"],
|
||||
itemOutputs: ["firmalife:raw_pumpkin_pie"],
|
||||
itemOutputProvider: TFC.isp.of("firmalife:food/raw_pumpkin_pie").copyFood()
|
||||
})
|
||||
|
||||
processorRecipe("cookie_dough", 300, 16, {
|
||||
itemInputs: ['#tfc:sweetener', '#forge:eggs', 'firmalife:food/butter', '#tfc:foods/flour', "firmalife:spice/vanilla"],
|
||||
itemOutputs: ['4x firmalife:food/cookie_dough'],
|
||||
itemOutputProvider: TFC.isp.of('4x firmalife:food/cookie_dough').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("chocolate_chip_cookie_dough", 300, 16, {
|
||||
itemInputs: ['4x firmalife:food/cookie_dough', '#firmalife:chocolate_blends'],
|
||||
itemOutputs: ['4x firmalife:food/chocolate_chip_cookie_dough'],
|
||||
itemOutputProvider: TFC.isp.of('4x firmalife:food/chocolate_chip_cookie_dough').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("hardtack_dough", 300, 16, {
|
||||
itemInputs: ['tfc:powder/salt', '#tfc:foods/flour'],
|
||||
itemOutputs: ['4x firmalife:food/hardtack_dough'],
|
||||
fluidInputs: [Fluid.of('minecraft:water', 1000)],
|
||||
itemOutputProvider: TFC.isp.of('4x firmalife:food/hardtack_dough').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("yeast_starter", 1200, 8, {
|
||||
circuit: 1,
|
||||
fluidInputs: [Fluid.of('firmalife:yeast_starter', 100)],
|
||||
fluidOutputs: [Fluid.of('firmalife:yeast_starter', 600)],
|
||||
itemInputs: ['#tfc:foods/flour'],
|
||||
})
|
||||
|
||||
processorRecipe("yeast_starter_from_water", 7200, 8, {
|
||||
circuit: 10,
|
||||
fluidInputs: [Fluid.of('minecraft:water', 100)],
|
||||
fluidOutputs: [Fluid.of('firmalife:yeast_starter', 600)],
|
||||
itemInputs: ['#tfc:foods/fruits'],
|
||||
})
|
||||
|
||||
processorRecipe("cocoa_dust", 100, 4, {
|
||||
itemInputs: ["firmalife:food/roasted_cocoa_beans"],
|
||||
itemOutputs: ["gtceu:cocoa_dust"],
|
||||
itemOutputProvider: TFC.isp.of("gtceu:cocoa_dust")
|
||||
})
|
||||
|
||||
processorRecipe("red_grapes", 50, 8, {
|
||||
itemInputs: ["firmalife:food/red_grapes"],
|
||||
itemOutputs: ["firmalife:food/smashed_red_grapes"],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/smashed_red_grapes').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("white_grapes", 50, 8, {
|
||||
itemInputs: ["firmalife:food/white_grapes"],
|
||||
itemOutputs: ["firmalife:food/smashed_white_grapes"],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/smashed_white_grapes').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("cured_maize", 300, 8, {
|
||||
itemInputs: ["tfc:food/maize_grain"],
|
||||
itemOutputs: ["firmalife:food/cured_maize"],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/cured_maize').copyOldestFood()
|
||||
})
|
||||
|
||||
processorRecipe("soy_mixture", 300, 8, {
|
||||
itemInputs: ["tfc:food/soybean", 'tfc:powder/salt'],
|
||||
itemOutputs: ["firmalife:food/soy_mixture"],
|
||||
fluidInputs: [Fluid.of('minecraft:water', 50)],
|
||||
itemOutputProvider: TFC.isp.of('firmalife:food/soy_mixture').copyOldestFood(),
|
||||
|
||||
})
|
||||
|
||||
// These don't need the ISP handling, they're just here to keep all the food recipes together
|
||||
|
||||
event.recipes.gtceu.mixer('tfg:tfc/olive_oil_water')
|
||||
.inputFluids(Fluid.of('water', 200))
|
||||
.itemInputs('1x tfc:olive_paste')
|
||||
.outputFluids(Fluid.of('tfc:olive_oil_water', 200))
|
||||
.duration(200)
|
||||
.EUt(28)
|
||||
|
||||
event.recipes.gtceu.distillery('tfg:tfc/olive_oil')
|
||||
.inputFluids(Fluid.of('tfc:olive_oil_water', 250))
|
||||
.outputFluids(Fluid.of('tfc:olive_oil', 50))
|
||||
.duration(600)
|
||||
.EUt(28)
|
||||
|
||||
event.recipes.gtceu.fermenter('soybean_oil')
|
||||
.itemInputs('firmalife:food/soybean_paste')
|
||||
.inputFluids(Fluid.of('minecraft:water', 100))
|
||||
.outputFluids(Fluid.of('firmalife:soybean_oil', 250))
|
||||
.EUt(GTValues.VA[GTValues.ULV])
|
||||
.duration(600)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_milk')
|
||||
.inputFluids(Fluid.of('minecraft:milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('tfc:curdled_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_yak_milk')
|
||||
.inputFluids(Fluid.of('firmalife:yak_milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('firmalife:curdled_yak_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
event.recipes.gtceu.fermenter('tfg:fermenter/curdled_goat_milk')
|
||||
.inputFluids(Fluid.of('firmalife:goat_milk', 2000))
|
||||
.itemInputs('firmalife:rennet')
|
||||
.outputFluids(Fluid.of('firmalife:curdled_goat_milk', 2000))
|
||||
.duration(2400)
|
||||
.EUt(16)
|
||||
|
||||
// GT cocoa dust compat
|
||||
event.recipes.gtceu.macerator('firmalife:food/cocoa_powder')
|
||||
.itemInputs('gtceu:cocoa_dust')
|
||||
.itemOutputs('4x firmalife:food/cocoa_powder')
|
||||
.duration(100)
|
||||
.EUt(2)
|
||||
|
||||
event.recipes.tfc.quern('4x firmalife:food/cocoa_powder', 'gtceu:cocoa_dust')
|
||||
.id(`tfg:quern/cocoa_powder`)
|
||||
|
||||
event.recipes.tfc.quern('gtceu:cocoa_dust', 'firmalife:food/roasted_cocoa_beans')
|
||||
.id('tfg:quern/cocoa_dust');
|
||||
|
||||
//#endregion
|
||||
|
||||
event.replaceInput({id: 'gtceu:shaped/lv_food_processor'}, 'gtceu:lv_electric_piston', 'gtceu:steel_whisk')
|
||||
event.replaceInput({id: 'gtceu:shaped/mv_food_processor'}, 'gtceu:mv_electric_piston', 'gtceu:aluminium_whisk')
|
||||
event.replaceInput({id: 'gtceu:shaped/hv_food_processor'}, 'gtceu:hv_electric_piston', 'gtceu:stainless_steel_whisk')
|
||||
event.replaceInput({id: 'gtceu:shaped/ev_food_processor'}, 'gtceu:ev_electric_piston', 'gtceu:titanium_whisk')
|
||||
|
||||
event.replaceInput({id: 'gtceu:shaped/lv_food_oven'}, 'gtceu:lv_electric_piston', '#tfg:metal_bars')
|
||||
event.replaceInput({id: 'gtceu:shaped/mv_food_oven'}, 'gtceu:mv_electric_piston', '#tfg:metal_bars')
|
||||
event.replaceInput({id: 'gtceu:shaped/hv_food_oven'}, 'gtceu:hv_electric_piston', '#tfg:metal_bars')
|
||||
event.replaceInput({id: 'gtceu:shaped/ev_food_oven'}, 'gtceu:ev_electric_piston', '#tfg:metal_bars')
|
||||
}
|
||||
|
|
@ -14,5 +14,4 @@ const registerTFGRecipes = (event) => {
|
|||
registerTFGSupportRecipes(event)
|
||||
registerTFGFishingNetsRecipes(event)
|
||||
registerTFGConvertingRecipes(event)
|
||||
registerTFGFoodRecipes(event)
|
||||
}
|
||||
|
|
@ -287,4 +287,4 @@ function registerTFGRockRecipes(event) {
|
|||
.EUt(GTValues.VA[GTValues.LV])
|
||||
})
|
||||
//#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -293,10 +293,6 @@ function registerVintageImprovementsRecipes(event) {
|
|||
|
||||
forEachMaterial(material => {
|
||||
|
||||
const ingotItem = ChemicalHelper.get(TagPrefix.ingot, material, 1);
|
||||
if (ingotItem == null || ingotItem.hasTag('c:hidden_from_recipe_viewers'))
|
||||
return;
|
||||
|
||||
// #region Coiling
|
||||
|
||||
if (material.hasFlag(MaterialFlags.GENERATE_ROD) && material.hasFlag(MaterialFlags.GENERATE_SPRING_SMALL)) {
|
||||
|
|
@ -631,13 +627,6 @@ function registerVintageImprovementsRecipes(event) {
|
|||
processingTime: 100 * global.VINTAGE_IMPROVEMENTS_DURATION_MULTIPLIER
|
||||
}).id(`tfg:vi/coiling/phantom_thread`)
|
||||
|
||||
event.custom({
|
||||
type: 'vintageimprovements:coiling',
|
||||
ingredients: [{ item: 'firmalife:pineapple_fiber' }],
|
||||
results: [{ item: 'firmalife:pineapple_yarn', count: 8 }],
|
||||
processingTime: 100 * global.VINTAGE_IMPROVEMENTS_DURATION_MULTIPLIER
|
||||
}).id(`tfg:vi/coiling/pineapple_yarn`)
|
||||
|
||||
event.custom({
|
||||
type: 'vintageimprovements:coiling',
|
||||
ingredients: [ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Polycaprolactam, 1)],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue