Skip to content

Commit 0abf0c3

Browse files
SpicyNoodle5Redeix
andauthored
Add assembler and smelting recipes for firmalife ovens (#2220)
* Add assembler and smelting recipes for firmalife ovens * Add oven heating recipes * Update ids and changelog --------- Signed-off-by: Redeix <[email protected]> Co-authored-by: Redeix <[email protected]>
1 parent 1a3ae0f commit 0abf0c3

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

kubejs/server_scripts/firmalife/recipes.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,4 +1015,21 @@ const registerFirmaLifeRecipes = (event) => {
10151015
},
10161016
"duration": 16000
10171017
}).id('tfg:barrel/shosha_wheel')
1018+
1019+
// #region Oven heating recipes
1020+
1021+
event.recipes.tfc.heating(`firmalife:oven_top`, 1399)
1022+
.resultItem(`firmalife:cured_oven_top`)
1023+
.id(`tfg:heating/oven_top`)
1024+
event.recipes.tfc.heating(`firmalife:oven_chimney`, 1399)
1025+
.resultItem(`firmalife:cured_oven_chimney`)
1026+
.id(`tfg:heating/oven_chimney`)
1027+
event.recipes.tfc.heating(`firmalife:oven_bottom`, 1399)
1028+
.resultItem(`firmalife:cured_oven_bottom`)
1029+
.id(`tfg:heating/oven_bottom`)
1030+
event.recipes.tfc.heating(`firmalife:oven_hopper`, 1399)
1031+
.resultItem(`firmalife:cured_oven_hopper`)
1032+
.id(`tfg:heating/oven_hopper`)
1033+
1034+
// #endregion
10181035
}

kubejs/server_scripts/tfc/recipes.machines.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@ function registerTFCMachineRecipes(event) {
131131
.EUt(2)
132132
}
133133

134+
for (let i = 0; i < global.TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS.length; i++) {
135+
let element = global.TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS[i];
136+
137+
event.recipes.gtceu.assembler(`tfg:tfc/${element.name}`)
138+
.itemInputs(element.input)
139+
.circuit(i)
140+
.itemOutputs(element.output)
141+
.duration(450)
142+
.EUt(2)
143+
}
144+
134145
event.recipes.gtceu.extruder('tfg:unfired_clay_brick')
135146
.itemInputs('minecraft:clay_ball')
136147
.notConsumable('gtceu:ingot_extruder_mold')

kubejs/startup_scripts/tfc/constants.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,11 @@ global.TFC_FURNACE_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
800800
{ input: "tfc:ceramic/unfired_vessel", output: "tfc:ceramic/vessel", name: "vessel" },
801801
{ input: "tfc:ceramic/unfired_large_vessel", output: "tfc:ceramic/large_vessel", name: "large_vessel" },
802802
{ input: "tfcchannelcasting:unfired_channel", output: "tfcchannelcasting:channel", name: "channel" },
803+
{ input: "tfcchannelcasting:unfired_mold_table", output: "tfcchannelcasting:mold_table", name: "mold_table" },
804+
{ input: "firmalife:oven_top", output: "firmalife:cured_oven_top", name: "oven_top" },
805+
{ input: "firmalife:oven_chimney", output: "firmalife:cured_oven_chimney", name: "oven_chimney" },
806+
{ input: "firmalife:oven_bottom", output: "firmalife:cured_oven_bottom", name: "oven_bottom" },
807+
{ input: "firmalife:oven_hopper", output: "firmalife:cured_oven_hopper", name: "oven_hopper" },
803808
{ input: "tfcchannelcasting:unfired_mold_table", output: "tfcchannelcasting:mold_table", name: "mold_table" }
804809
]);
805810

@@ -830,6 +835,12 @@ global.TFC_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
830835
{ input: "5x minecraft:clay_ball", output: "tfc:ceramic/unfired_large_vessel", name: "large_vessel" },
831836
{ input: "5x minecraft:clay_ball", output: "tfcchannelcasting:unfired_heart_mold", name: "heart_mold" },
832837
{ input: "5x minecraft:clay_ball", output: "10x rnr:unfired_roof_tile", name: "roof_tile" },
838+
{ input: "5x minecraft:clay_ball", output: "firmalife:oven_top", name: "oven_top" },
839+
{ input: "5x minecraft:clay_ball", output: "firmalife:oven_chimney", name: "oven_chimney" },
840+
{ input: "5x minecraft:clay_ball", output: "firmalife:oven_bottom", name: "oven_bottom" },
841+
]);
842+
843+
global.TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([
833844
{ input: "5x tfc:fire_clay", output: "tfc:ceramic/unfired_fire_ingot_mold", name: "fire_ingot_mold" },
834845
{ input: "5x tfc:fire_clay", output: "tfc:ceramic/unfired_crucible", name: "crucible" },
835846
{ input: "5x tfc:fire_clay", output: "tfcchannelcasting:unfired_channel", name: "channel" },

0 commit comments

Comments
 (0)