From 3e76e2bfa3048a670d637aad4e9c17cfd13daabf Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 17 Jan 2024 13:11:05 +0700 Subject: [PATCH] thank eerussianguy for this cool recipes (NOT) --- kubejs/server_scripts/firmalife/recipes.js | 188 +++++++++++++++++- kubejs/startup_scripts/firmalife/constants.js | 9 + 2 files changed, 196 insertions(+), 1 deletion(-) diff --git a/kubejs/server_scripts/firmalife/recipes.js b/kubejs/server_scripts/firmalife/recipes.js index 993039097..2ddee0415 100644 --- a/kubejs/server_scripts/firmalife/recipes.js +++ b/kubejs/server_scripts/firmalife/recipes.js @@ -2,6 +2,174 @@ const registerFirmaLifeRecipes = (event) => { + //#region Рецепты теплиц + + //#region Медная + + // Стена + event.shaped('8x firmalife:copper_greenhouse_wall', [ + 'ABA', + 'ABA', + 'ABA' + ], { + A: '#forge:rods/copper', + B: 'minecraft:glass' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_wall') + + // Панель + event.shaped('8x firmalife:copper_greenhouse_panel_wall', [ + 'ABA', + 'ABA', + 'ABA' + ], { + A: '#forge:rods/copper', + B: 'firmalife:reinforced_glass' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_panel_wall') + + // Панельная Крыша + event.shaped('4x firmalife:copper_greenhouse_panel_roof', [ + 'A ', + 'BA ', + 'BBA' + ], { + A: 'firmalife:reinforced_glass', + B: '#forge:rods/copper' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_panel_roof') + + // Крыша + event.shaped('4x firmalife:copper_greenhouse_roof', [ + 'A ', + 'BA ', + 'BBA' + ], { + A: '#forge:rods/copper', + B: 'firmalife:reinforced_glass' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_roof') + + // Верхушка крыши + event.shaped('8x firmalife:copper_greenhouse_roof_top', [ + 'ABA', + 'BAB' + ], { + A: '#forge:rods/copper', + B: 'firmalife:reinforced_glass' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_roof_top') + + // Люк + event.shaped('8x firmalife:copper_greenhouse_trapdoor', [ + 'ABA', + 'BAB' + ], { + A: 'firmalife:reinforced_glass', + B: '#forge:rods/copper' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_trapdoor') + + // Дверь + event.shaped('2x firmalife:copper_greenhouse_door', [ + 'AB', + 'AB', + 'AB' + ], { + A: '#forge:rods/copper', + B: 'minecraft:glass' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_door') + + // Порт + event.shaped('8x firmalife:copper_greenhouse_port', [ + 'AA', + 'BC', + 'AA' + ], { + A: 'firmalife:reinforced_glass', + B: '#forge:rods/copper', + C: 'firmalife:copper_pipe' + }).id('firmalife:crafting/greenhouse/copper_greenhouse_port') + + //#endregion + + //#region Железная + + // Стена + event.shaped('8x firmalife:iron_greenhouse_wall', [ + 'ABA', + 'ABA', + 'ABA' + ], { + A: '#forge:rods/wrought_iron', + B: 'minecraft:glass' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_wall') + + // Панель + event.shaped('8x firmalife:iron_greenhouse_panel_wall', [ + 'ABA', + 'ABA', + 'ABA' + ], { + A: '#forge:rods/wrought_iron', + B: 'firmalife:reinforced_glass' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_panel_wall') + + // Панельная Крыша + event.shaped('4x firmalife:iron_greenhouse_panel_roof', [ + 'A ', + 'BA ', + 'BBA' + ], { + A: 'firmalife:reinforced_glass', + B: '#forge:rods/wrought_iron' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_panel_roof') + + // Крыша + event.shaped('4x firmalife:iron_greenhouse_roof', [ + 'A ', + 'BA ', + 'BBA' + ], { + A: '#forge:rods/wrought_iron', + B: 'firmalife:reinforced_glass' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_roof') + + // Верхушка крыши + event.shaped('8x firmalife:iron_greenhouse_roof_top', [ + 'ABA', + 'BAB' + ], { + A: '#forge:rods/wrought_iron', + B: 'firmalife:reinforced_glass' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_roof_top') + + // Люк + event.shaped('8x firmalife:iron_greenhouse_trapdoor', [ + 'ABA', + 'BAB' + ], { + A: 'firmalife:reinforced_glass', + B: '#forge:rods/wrought_iron' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_trapdoor') + + // Дверь + event.shaped('2x firmalife:iron_greenhouse_door', [ + 'AB', + 'AB', + 'AB' + ], { + A: '#forge:rods/wrought_iron', + B: 'minecraft:glass' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_door') + + // Порт + event.shaped('8x firmalife:iron_greenhouse_port', [ + 'AA', + 'BC', + 'AA' + ], { + A: 'firmalife:reinforced_glass', + B: '#forge:rods/wrought_iron', + C: 'firmalife:copper_pipe' + }).id('firmalife:crafting/greenhouse/iron_greenhouse_port') + + //#endregion + //#region Нержавеющая теплица event.remove({ id: 'firmalife:crafting/greenhouse/stainless_steel_greenhouse_wall' }) @@ -15,6 +183,10 @@ const registerFirmaLifeRecipes = (event) => { //#endregion + //#endregion + + //#region Удаление других рецептов + event.remove({ id: 'firmalife:crafting/compost_tumbler' }) event.remove({ id: 'firmalife:crafting/pumping_station' }) @@ -70,6 +242,8 @@ const registerFirmaLifeRecipes = (event) => { event.remove({ id: 'firmalife:anvil/stainless_steel_rod' }) event.remove({ id: 'firmalife:heating/metal/stainless_steel_rod' }) + //#endregion + // Декрафт Jag Lid event.recipes.tfc.heating('tfc:jar_lid', 230) .resultFluid(Fluid.of('gtceu:tin', 9)) @@ -135,4 +309,16 @@ const registerFirmaLifeRecipes = (event) => { }) //#endregion -} \ No newline at end of file +} + +/* + +event.shaped('', [ + '' + ], { + A: '', + B: '', + C: '' + }).id() + +*/ \ No newline at end of file diff --git a/kubejs/startup_scripts/firmalife/constants.js b/kubejs/startup_scripts/firmalife/constants.js index fccc12fd1..503461298 100644 --- a/kubejs/startup_scripts/firmalife/constants.js +++ b/kubejs/startup_scripts/firmalife/constants.js @@ -82,6 +82,15 @@ global.FIRMALIFE_HIDED_ITEMS = [ 'firmalife:exposed_copper_greenhouse_trapdoor', 'firmalife:exposed_copper_greenhouse_door', 'firmalife:exposed_copper_greenhouse_port', + + 'firmalife:weathered_treated_wood_greenhouse_wall', + 'firmalife:weathered_treated_wood_greenhouse_panel_wall', + 'firmalife:weathered_treated_wood_greenhouse_panel_roof', + 'firmalife:weathered_treated_wood_greenhouse_roof', + 'firmalife:weathered_treated_wood_greenhouse_roof_top', + 'firmalife:weathered_treated_wood_greenhouse_trapdoor', + 'firmalife:weathered_treated_wood_greenhouse_door', + 'firmalife:weathered_treated_wood_greenhouse_port' ];