merge
This commit is contained in:
commit
263a9dfab7
29 changed files with 1140 additions and 414 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
function registerTFCDirtRecipes(event) {
|
||||
|
||||
//#region Земля
|
||||
|
||||
// Loam + Silt -> Silty Loam (Миксер)
|
||||
event.recipes.gtceu.mixer('silty_loam_dirt')
|
||||
.itemInputs('tfc:dirt/loam', 'tfc:dirt/silt')
|
||||
|
|
@ -26,18 +24,11 @@ function registerTFCDirtRecipes(event) {
|
|||
.itemOutputs(`tfc:rooted_dirt/${mud}`)
|
||||
.duration(200)
|
||||
.EUt(16)
|
||||
})
|
||||
|
||||
global.TFC_MUD_TYPES.forEach(mud => {
|
||||
|
||||
event.smelting(`tfc:dirt/${mud}`, `tfc:mud/${mud}`)
|
||||
.id(`tfg:smelting/${mud}_mud_to_grass`)
|
||||
})
|
||||
|
||||
|
||||
//#endregion
|
||||
|
||||
//#region Грязь
|
||||
|
||||
global.TFC_MUD_TYPES.forEach(mud => {
|
||||
// Dirt -> Mud
|
||||
event.recipes.gtceu.mixer(`${mud}_grass_to_mud`)
|
||||
.itemInputs(`tfc:dirt/${mud}`)
|
||||
|
|
@ -46,12 +37,8 @@ function registerTFCDirtRecipes(event) {
|
|||
.itemOutputs(`tfc:mud/${mud}`)
|
||||
.duration(200)
|
||||
.EUt(16)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
//AE Transform Mud
|
||||
global.TFC_MUD_TYPES.forEach(mud => {
|
||||
//AE Transform Mud
|
||||
event.custom({
|
||||
type: "ae2:transform",
|
||||
circumstance: {
|
||||
|
|
@ -62,12 +49,8 @@ function registerTFCDirtRecipes(event) {
|
|||
{item: `tfc:dirt/${mud}`}],
|
||||
result: {item: `tfc:mud/${mud}`}
|
||||
}).id(`tfg:ae_transform/${mud}_to_mud`)
|
||||
})
|
||||
|
||||
|
||||
//#region Грязь кирпичи
|
||||
|
||||
global.TFC_MUD_TYPES.forEach(mud => {
|
||||
// Mud bricks
|
||||
|
||||
// Влажный кирпич -> Кирпич
|
||||
event.smelting(`tfc:mud_brick/${mud}`, `tfc:drying_bricks/${mud}`)
|
||||
|
|
@ -104,9 +87,9 @@ function registerTFCDirtRecipes(event) {
|
|||
A: `tfc:mud_brick/${mud}`
|
||||
}).id(`tfc:crafting/soil/${mud}_mud_bricks_slab`)
|
||||
|
||||
event.shaped(`2x tfc:mud_bricks/${mud}_wall`, [
|
||||
'AAA',
|
||||
'AAA'
|
||||
event.shaped(`tfc:mud_bricks/${mud}_wall`, [
|
||||
'A',
|
||||
'A'
|
||||
], {
|
||||
A: `tfc:mud_brick/${mud}`
|
||||
}).id(`tfc:crafting/soil/${mud}_mud_bricks_wall`)
|
||||
|
|
@ -128,9 +111,16 @@ function registerTFCDirtRecipes(event) {
|
|||
|
||||
event.stonecutting(`tfc:mud_bricks/${mud}_wall`, `tfc:mud_bricks/${mud}`)
|
||||
.id(`tfc:stonecutting/soil/${mud}_mud_bricks_wall`)
|
||||
|
||||
// Grass blocks
|
||||
|
||||
event.shapeless(`tfc:grass/${mud}`, [`tfc:dirt/${mud}`, 'minecraft:bone_meal', '#forge:seeds'])
|
||||
.id(`tfg:shapeless/${mud}_grass_bonemeal`)
|
||||
|
||||
event.shapeless(`tfc:grass/${mud}`, [`tfc:dirt/${mud}`, 'gtceu:fertilizer', '#forge:seeds'])
|
||||
.id(`tfg:shapeless/${mud}_grass_fertilizer`)
|
||||
})
|
||||
|
||||
//#endregion
|
||||
|
||||
// #region Wattle and daub
|
||||
// TODO: Workaround for not being able to stain wattle and daub with normal dyes
|
||||
|
|
|
|||
|
|
@ -94,26 +94,26 @@ const registerTFCRecipes = (event) => {
|
|||
|
||||
// Дерево
|
||||
global.TFC_WOOD_TYPES.forEach(wood => {
|
||||
generateGreenHouseRecipe(event, `8x tfc:wood/sapling/${wood}`, 16000, `64x tfc:wood/log/${wood}`, `tfg:greenhouse/${wood}`)
|
||||
generateGreenHouseRecipe(event, `8x tfc:wood/sapling/${wood}`, 16000, `64x tfc:wood/log/${wood}`, `tfg:greenhouse/${wood}`, true)
|
||||
})
|
||||
|
||||
global.AFC_SAPLINGS.forEach(x => {
|
||||
generateGreenHouseRecipe(event, `8x afc:wood/sapling/${x.sapling}`, 16000, `64x ${x.log}`, `tfg:greenhouse/${x.sapling}`)
|
||||
generateGreenHouseRecipe(event, `8x afc:wood/sapling/${x.sapling}`, 16000, `64x ${x.log}`, `tfg:greenhouse/${x.sapling}`, true)
|
||||
})
|
||||
|
||||
// Семена фруктов
|
||||
global.TFC_GREENHOUSE_FRUIT_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, true)
|
||||
})
|
||||
|
||||
// Семена овощей
|
||||
global.TFC_GREENHOUSE_VEGETABLE_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, false)
|
||||
})
|
||||
|
||||
// Семена ягод
|
||||
global.TFC_GREENHOUSE_BERRY_RECIPE_COMPONENTS.forEach(element => {
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name)
|
||||
generateGreenHouseRecipe(event, element.input, element.fluid_amount, element.output, element.name, false)
|
||||
})
|
||||
|
||||
// Растения
|
||||
|
|
@ -121,7 +121,7 @@ const registerTFCRecipes = (event) => {
|
|||
const itemId = element.id;
|
||||
const recipeId = `greenhouse_${itemId.replace(':', '_')}`;
|
||||
|
||||
generateGreenHouseRecipe(event, itemId, 8000, `8x ${itemId}`, recipeId);
|
||||
generateGreenHouseRecipe(event, itemId, 8000, `8x ${itemId}`, recipeId, false);
|
||||
});
|
||||
|
||||
//#endregion
|
||||
|
|
|
|||
|
|
@ -1076,7 +1076,8 @@ function registerTFCMaterialsRecipes(event) {
|
|||
let plateItem = ChemicalHelper.get(TagPrefix.plate, material, 1);
|
||||
|
||||
// Люк
|
||||
event.recipes.tfc.anvil(`tfc:metal/trapdoor/${material.getName()}`, plateItem, ['bend_last', 'draw_second_last', 'draw_third_last'])
|
||||
event.recipes.tfc.anvil(`tfc:metal/trapdoor/${material.getName()}`, plateItem,
|
||||
['bend_last', 'draw_second_last', 'draw_third_last'])
|
||||
.tier(tfcProperty.getTier())
|
||||
.id(`tfc:anvil/${material.getName()}_trapdoor`)
|
||||
|
||||
|
|
@ -1086,12 +1087,14 @@ function registerTFCMaterialsRecipes(event) {
|
|||
.id(`tfc:heating/metal/${material.getName()}_bars`)
|
||||
|
||||
// 8x Решетка
|
||||
event.recipes.tfc.anvil(`8x tfc:metal/bars/${material.getName()}`, plateItem, ['upset_last', 'punch_second_last', 'punch_third_last'])
|
||||
event.recipes.tfc.anvil(`4x tfc:metal/bars/${material.getName()}`, ingotItem,
|
||||
['upset_last', 'punch_second_last', 'punch_third_last'])
|
||||
.tier(tfcProperty.getTier())
|
||||
.id(`tfc:anvil/${material.getName()}_bars`)
|
||||
|
||||
// 16x Решетка
|
||||
event.recipes.tfc.anvil(`16x tfc:metal/bars/${material.getName()}`, ChemicalHelper.get(TagPrefix.plateDouble, material, 1), ['upset_last', 'punch_second_last', 'punch_third_last'])
|
||||
event.recipes.tfc.anvil(`8x tfc:metal/bars/${material.getName()}`, ChemicalHelper.get(TFGTagPrefix.ingotDouble, material, 1),
|
||||
['upset_last', 'punch_second_last', 'punch_third_last'])
|
||||
.tier(tfcProperty.getTier())
|
||||
.id(`tfc:anvil/${material.getName()}_bars_double`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue