diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 00a32d965..68b1f0c64 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -8,9 +8,8 @@ const registerAE2Recipes = (event) => { // crafting Table // network tool event.shaped('ae2:network_tool', [ - 'AB ', - 'CD ', - ' ' + 'AB', + 'CD', ], { A: '#forge:tools/wrenches', B: '#forge:circuits/lv', @@ -20,9 +19,9 @@ const registerAE2Recipes = (event) => { // wireless access point event.shaped('ae2:wireless_access_point', [ - ' A ', - ' B ', - ' C ' + 'A', + 'B', + 'C' ], { A: 'ae2:wireless_receiver', B: 'ae2:calculation_processor', @@ -67,9 +66,8 @@ const registerAE2Recipes = (event) => { // Capacity Card event.shaped('ae2:capacity_card', [ - 'AB ', - 'BC ', - ' ' + 'AB', + 'BC', ], { A: 'ae2:basic_card', B: 'ae2:cell_component_1k', @@ -78,9 +76,8 @@ const registerAE2Recipes = (event) => { // Crafting Card event.shaped('ae2:crafting_card', [ - 'AB ', - 'BC ', - ' ' + 'AB', + 'BC', ], { A: 'ae2:basic_card', B: 'ae2:cell_component_1k', @@ -89,9 +86,8 @@ const registerAE2Recipes = (event) => { // Redstone Card event.shaped('ae2:redstone_card', [ - 'AB ', - 'BC ', - ' ' + 'AB', + 'BC' ], { A: 'ae2:basic_card', B: 'minecraft:redstone_torch', @@ -100,9 +96,8 @@ const registerAE2Recipes = (event) => { // Fuzzy Card event.shaped('ae2:fuzzy_card', [ - 'AB ', - 'CD ', - ' ' + 'AB', + 'CD', ], { A: 'ae2:advanced_card', B: 'ae2:engineering_processor', @@ -112,9 +107,8 @@ const registerAE2Recipes = (event) => { // Inverter Card event.shaped('ae2:inverter_card', [ - 'AB ', - 'BC ', - ' ' + 'AB', + 'BC', ], { A: 'ae2:advanced_card', B: 'ae2:inverted_toggle_bus', @@ -123,9 +117,8 @@ const registerAE2Recipes = (event) => { // Acceleration Card(speed card) event.shaped('ae2:speed_card', [ - 'AB ', - 'CD ', - ' ' + 'AB', + 'CD', ], { A: 'ae2:advanced_card', B: 'ae2:engineering_processor', @@ -423,8 +416,7 @@ const registerAE2Recipes = (event) => { // ME Annihilation Plane event.shaped('ae2:annihilation_plane', [ 'AAA', - 'CBC', - ' ' + 'CBC' ], { A: '#forge:dusts/fluix', B: 'ae2:annihilation_core', @@ -434,8 +426,7 @@ const registerAE2Recipes = (event) => { // ME Formation Plane event.shaped('ae2:formation_plane', [ 'AAA', - 'CBC', - ' ' + 'CBC' ], { A: '#forge:dusts/fluix', B: 'ae2:formation_core', @@ -1056,8 +1047,241 @@ const registerAE2Recipes = (event) => { .EUt(7680) .cleanroom(CleanroomType.CLEANROOM) + // ME Контроллер + event.recipes.gtceu.assembler('ae2:controller') + .itemInputs( + '2x ae2:engineering_processor', + '2x #forge:circuits/hv', + '2x #forge:plates/titanium', + 'ae2:fluix_block') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:controller') + .duration(200) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + // Energy Cell + event.recipes.gtceu.assembler('ae2:energy_cell') + .itemInputs( + '#forge:plates/certus_quartz', + '#forge:batteries/hv', + '2x #forge:circuits/hv', + '#ae2:covered_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:energy_cell') + .circuit(1) + .duration(200) + .EUt(500) + + // Dense Energy Cell + event.recipes.gtceu.assembler('ae2:dense_energy_cell') + .itemInputs( + '8x ae2:energy_cell', + 'gtceu:ev_battery_buffer_16x', + '3x ae2:formation_core', + '#forge:circuits/ev', + '#ae2:covered_dense_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:dense_energy_cell') + .circuit(1) + .duration(20) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + // interface + // MV + event.recipes.gtceu.assembler('ae2:interface_mv') + .itemInputs( + 'gtceu:mv_conveyor_module', + '8x #forge:plates/glass', + '4x #forge:plates/steel', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:interface') + .duration(200) + .EUt(120) + // HV + event.recipes.gtceu.assembler('ae2:interface_hv') + .itemInputs( + 'gtceu:hv_conveyor_module', + '8x #forge:plates/glass', + '4x #forge:plates/aluminium', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('2x ae2:interface') + .duration(200) + .EUt(480) + // EV + event.recipes.gtceu.assembler('ae2:interface_ev') + .itemInputs( + 'gtceu:ev_conveyor_module', + '8x #forge:plates/glass', + '4x #forge:plates/stainless_steel', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('4x ae2:interface') + .duration(200) + .EUt(1980) + .cleanroom(CleanroomType.CLEANROOM) + // IV + event.recipes.gtceu.assembler('ae2:interface_iv') + .itemInputs( + 'gtceu:iv_conveyor_module', + '8x #forge:plates/glass', + '4x #forge:plates/titanium', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('8x ae2:interface') + .duration(200) + .EUt(7480) + .cleanroom(CleanroomType.CLEANROOM) + + //portable cell + //item portable cell + // 1k + event.recipes.gtceu.assembler('ae2:portable_item_cell_1k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_1k', + 'ae2:energy_cell', + 'ae2:item_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_item_cell_1k') + .duration(200) + .EUt(480) + // 4k + event.recipes.gtceu.assembler('ae2:portable_item_cell_4k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_4k', + 'ae2:energy_cell', + 'ae2:item_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_item_cell_4k') + .duration(200) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + // 16k + event.recipes.gtceu.assembler('ae2:portable_item_cell_16k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_16k', + 'ae2:energy_cell', + 'ae2:item_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_item_cell_16k') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + // 64k + event.recipes.gtceu.assembler('ae2:portable_item_cell_64k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_64k', + 'ae2:energy_cell', + 'ae2:item_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_item_cell_64k') + .duration(200) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + // 256k + event.recipes.gtceu.assembler('ae2:portable_item_cell_256k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_256k', + 'ae2:energy_cell', + 'ae2:item_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_item_cell_256k') + .duration(200) + .EUt(122880) + .cleanroom(CleanroomType.CLEANROOM) + //fluid portable cell + // 1k + event.recipes.gtceu.assembler('ae2:portable_fluid_cell_1k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_1k', + 'ae2:energy_cell', + 'ae2:fluid_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_fluid_cell_1k') + .duration(200) + .EUt(480) + // 4k + event.recipes.gtceu.assembler('ae2:portable_fluid_cell_4k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_4k', + 'ae2:energy_cell', + 'ae2:fluid_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_fluid_cell_4k') + .duration(200) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + // 16k + event.recipes.gtceu.assembler('ae2:portable_fluid_cell_16k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_16k', + 'ae2:energy_cell', + 'ae2:fluid_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_fluid_cell_16k') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + // 64k + event.recipes.gtceu.assembler('ae2:portable_fluid_cell_64k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_64k', + 'ae2:energy_cell', + 'ae2:fluid_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_fluid_cell_64k') + .duration(200) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + // 256k + event.recipes.gtceu.assembler('ae2:portable_fluid_cell_256k') + .itemInputs( + 'ae2:chest', + 'ae2:cell_component_256k', + 'ae2:energy_cell', + 'ae2:fluid_cell_housing') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:portable_fluid_cell_256k') + .duration(200) + .EUt(122880) + .cleanroom(CleanroomType.CLEANROOM) - + //chemical_bath + //cable + event.recipes.gtceu.chemical_bath('ae2:fluix_glass_cable') + .itemInputs( + '#ae2:glass_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 144)) + .itemOutputs( + 'ae2:fluix_glass_cable') + .duration(8) + .EUt(480) +/* + for (int i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(rrayAE2.glassCables[i]) + .inputs(ore('ae2.cable.glass')) + .fluidInputs(arrayVanila.colorLiquid[i] * 18) + .outputs(arrayAE2.glassCables[i]) + .duration(20) + .EUt(7) + } +*/ } diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js index df7ba975c..323daaf7f 100644 --- a/kubejs/startup_scripts/ae2/constants.js +++ b/kubejs/startup_scripts/ae2/constants.js @@ -20,3 +20,150 @@ global.AE2_DISABLED_ITEMS = [ 'ae2:nether_quartz_pickaxe', 'ae2:fluix_pickaxe', ]; +/* +// Glass Cable +global.AE2_glassCables = [ + item('appliedenergistics2:part'), + item('appliedenergistics2:part', 1), + item('appliedenergistics2:part', 2), + item('appliedenergistics2:part', 3), + item('appliedenergistics2:part', 4), + item('appliedenergistics2:part', 5), + item('appliedenergistics2:part', 6), + item('appliedenergistics2:part', 7), + item('appliedenergistics2:part', 8), + item('appliedenergistics2:part', 9), + item('appliedenergistics2:part', 10), + item('appliedenergistics2:part', 11), + item('appliedenergistics2:part', 12), + item('appliedenergistics2:part', 13), + item('appliedenergistics2:part', 14), + item('appliedenergistics2:part', 15), + item('appliedenergistics2:part', 16) +] + +// Covered Cable +global.AE2_coveredCables = [ + item('appliedenergistics2:part', 20), + item('appliedenergistics2:part', 21), + item('appliedenergistics2:part', 22), + item('appliedenergistics2:part', 23), + item('appliedenergistics2:part', 24), + item('appliedenergistics2:part', 25), + item('appliedenergistics2:part', 26), + item('appliedenergistics2:part', 27), + item('appliedenergistics2:part', 28), + item('appliedenergistics2:part', 29), + item('appliedenergistics2:part', 30), + item('appliedenergistics2:part', 31), + item('appliedenergistics2:part', 32), + item('appliedenergistics2:part', 33), + item('appliedenergistics2:part', 34), + item('appliedenergistics2:part', 35), + item('appliedenergistics2:part', 36) +] + +// Smart Cable +global.AE2_smartCables = [ + item('appliedenergistics2:part', 40), + item('appliedenergistics2:part', 41), + item('appliedenergistics2:part', 42), + item('appliedenergistics2:part', 43), + item('appliedenergistics2:part', 44), + item('appliedenergistics2:part', 45), + item('appliedenergistics2:part', 46), + item('appliedenergistics2:part', 47), + item('appliedenergistics2:part', 48), + item('appliedenergistics2:part', 49), + item('appliedenergistics2:part', 50), + item('appliedenergistics2:part', 51), + item('appliedenergistics2:part', 52), + item('appliedenergistics2:part', 53), + item('appliedenergistics2:part', 54), + item('appliedenergistics2:part', 55), + item('appliedenergistics2:part', 56) +] + +// Dense Smart Cable +global.AE2_denseSmartCables = [ + item('appliedenergistics2:part', 60), + item('appliedenergistics2:part', 61), + item('appliedenergistics2:part', 62), + item('appliedenergistics2:part', 63), + item('appliedenergistics2:part', 64), + item('appliedenergistics2:part', 65), + item('appliedenergistics2:part', 66), + item('appliedenergistics2:part', 67), + item('appliedenergistics2:part', 68), + item('appliedenergistics2:part', 69), + item('appliedenergistics2:part', 70), + item('appliedenergistics2:part', 71), + item('appliedenergistics2:part', 72), + item('appliedenergistics2:part', 73), + item('appliedenergistics2:part', 74), + item('appliedenergistics2:part', 75), + item('appliedenergistics2:part', 76) +] + +// Dense Covered Cable +global.AE2_denseCoveredCables = [ + item('appliedenergistics2:part', 500), + item('appliedenergistics2:part', 501), + item('appliedenergistics2:part', 502), + item('appliedenergistics2:part', 503), + item('appliedenergistics2:part', 504), + item('appliedenergistics2:part', 505), + item('appliedenergistics2:part', 506), + item('appliedenergistics2:part', 507), + item('appliedenergistics2:part', 508), + item('appliedenergistics2:part', 509), + item('appliedenergistics2:part', 510), + item('appliedenergistics2:part', 511), + item('appliedenergistics2:part', 512), + item('appliedenergistics2:part', 513), + item('appliedenergistics2:part', 514), + item('appliedenergistics2:part', 515), + item('appliedenergistics2:part', 516) +] + +// Paint ball +global.AE2_paintBalls = [ + item('appliedenergistics2:paint_ball'), + item('appliedenergistics2:paint_ball', 1), + item('appliedenergistics2:paint_ball', 2), + item('appliedenergistics2:paint_ball', 3), + item('appliedenergistics2:paint_ball', 4), + item('appliedenergistics2:paint_ball', 5), + item('appliedenergistics2:paint_ball', 6), + item('appliedenergistics2:paint_ball', 7), + item('appliedenergistics2:paint_ball', 8), + item('appliedenergistics2:paint_ball', 9), + item('appliedenergistics2:paint_ball', 10), + item('appliedenergistics2:paint_ball', 11), + item('appliedenergistics2:paint_ball', 12), + item('appliedenergistics2:paint_ball', 13), + item('appliedenergistics2:paint_ball', 14), + item('appliedenergistics2:paint_ball', 15) +] + +// Lumen paint ball +global.AE2_paintBallsLumen = [ + item('appliedenergistics2:paint_ball', 20), + item('appliedenergistics2:paint_ball', 21), + item('appliedenergistics2:paint_ball', 22), + item('appliedenergistics2:paint_ball', 23), + item('appliedenergistics2:paint_ball', 24), + item('appliedenergistics2:paint_ball', 25), + item('appliedenergistics2:paint_ball', 26), + item('appliedenergistics2:paint_ball', 27), + item('appliedenergistics2:paint_ball', 28), + item('appliedenergistics2:paint_ball', 29), + item('appliedenergistics2:paint_ball', 30), + item('appliedenergistics2:paint_ball', 31), + item('appliedenergistics2:paint_ball', 32), + item('appliedenergistics2:paint_ball', 33), + item('appliedenergistics2:paint_ball', 34), + item('appliedenergistics2:paint_ball', 35) +] + +*/ diff --git a/kubejs/startup_scripts/gtceu/constants.js b/kubejs/startup_scripts/gtceu/constants.js index a2095ea74..cd09d4ad7 100644 --- a/kubejs/startup_scripts/gtceu/constants.js +++ b/kubejs/startup_scripts/gtceu/constants.js @@ -12,4 +12,24 @@ global.GTCEU_DISABLED_ITEMS = [ 'gtceu:wheat_tiny_dust', 'gtceu:wood_drill_head', 'gtceu:wood_chainsaw_head' -]; \ No newline at end of file +]; + +global.GTCEU_LIQUID_DYE = [ + 'gtceu:white_dye', + 'gtceu:orange_dye', + 'gtceu:magenta_dye', + 'gtceu:light_blue_dye', + 'gtceu:yellow_dye', + 'gtceu:lime_dye', + 'gtceu:pink_dye', + 'gtceu:gray_dye', + 'gtceu:light_gray_dye', + 'gtceu:cyan_dye', + 'gtceu:purple_dye', + 'gtceu:blue_dye', + 'gtceu:brown_dye', + 'gtceu:green_dye', + 'gtceu:red_dye', + 'gtceu:black_dye', + 'gtceu:white_dye' +] \ No newline at end of file diff --git a/kubejs/startup_scripts/minecraft/constants.js b/kubejs/startup_scripts/minecraft/constants.js index 86e3024c9..3534cb45d 100644 --- a/kubejs/startup_scripts/minecraft/constants.js +++ b/kubejs/startup_scripts/minecraft/constants.js @@ -314,4 +314,23 @@ global.VANILLA_STONE_TYPES = [ "diorite", "granite", "tuff" -]; \ No newline at end of file +]; + +global.MINECRAFT_FORGE_DYE = [ + '#forge:dyes/white', + '#forge:dyes/orange', + '#forge:dyes/magenta', + '#forge:dyes/light_blue', + '#forge:dyes/yellow', + '#forge:dyes/lime', + '#forge:dyes/pink', + '#forge:dyes/gray', + '#forge:dyes/light_gray', + '#forge:dyes/cyan', + '#forge:dyes/purple', + '#forge:dyes/blue', + '#forge:dyes/brown', + '#forge:dyes/green', + '#forge:dyes/red', + '#forge:dyes/black' +] \ No newline at end of file diff --git a/kubejs/startup_scripts/tfc/constants.js b/kubejs/startup_scripts/tfc/constants.js index b6c0b9bf6..9f506bd42 100644 --- a/kubejs/startup_scripts/tfc/constants.js +++ b/kubejs/startup_scripts/tfc/constants.js @@ -2098,4 +2098,24 @@ global.TFC_ORE_MATERIALS = [ "native_silver", "sphalerite", "tetrahedrite" +]; + +global.AE2_LIQUID_DYE = [ + 'tfc:white_dye', + 'tfc:orange_dye', + 'tfc:magenta_dye', + 'tfc:light_blue_dye', + 'tfc:yellow_dye', + 'tfc:lime_dye', + 'tfc:pink_dye', + 'tfc:gray_dye', + 'tfc:light_gray_dye', + 'tfc:cyan_dye', + 'tfc:purple_dye', + 'tfc:blue_dye', + 'tfc:brown_dye', + 'tfc:green_dye', + 'tfc:red_dye', + 'tfc:black_dye', + 'tfc:white_dye' ]; \ No newline at end of file