From 8be4cac60bd35cc346be5df36b1a9ee9385e7936 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 28 Nov 2023 18:04:06 +0200 Subject: [PATCH 01/21] ae2 crafts --- kubejs/client_scripts/main_client_script.js | 1 + kubejs/client_scripts/mods/ae2.js | 7 + kubejs/server_scripts/ae2/recipes.js | 1058 ++++++++++++++++++- kubejs/server_scripts/ae2wtlib/recipes.js | 66 ++ kubejs/server_scripts/main_server_script.js | 1 + kubejs/startup_scripts/ae2/constants.js | 22 + 6 files changed, 1154 insertions(+), 1 deletion(-) create mode 100644 kubejs/client_scripts/mods/ae2.js create mode 100644 kubejs/server_scripts/ae2wtlib/recipes.js create mode 100644 kubejs/startup_scripts/ae2/constants.js diff --git a/kubejs/client_scripts/main_client_script.js b/kubejs/client_scripts/main_client_script.js index 25821f604..52afd5737 100644 --- a/kubejs/client_scripts/main_client_script.js +++ b/kubejs/client_scripts/main_client_script.js @@ -5,6 +5,7 @@ REIEvents.hide('item', event => { hideTFCStuff(event) hideGTCEUStuff(event) hideCreateStuff(event) + hideAE2Stuff(event) hideExtendedCraftingStuff(event) hideSophisticatedBackpacksStuff(event) hideMoreRedStuff(event) diff --git a/kubejs/client_scripts/mods/ae2.js b/kubejs/client_scripts/mods/ae2.js new file mode 100644 index 000000000..14ff01c2d --- /dev/null +++ b/kubejs/client_scripts/mods/ae2.js @@ -0,0 +1,7 @@ +// priority: 0 + +const hideAE2Stuff = (event) => { + global.AE2_DISABLED_ITEMS.forEach(item => { + event.hide(item) + }) +} \ No newline at end of file diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 4bb7b4e23..00a32d965 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -4,4 +4,1060 @@ const registerAE2Recipes = (event) => { // Удаление рецептов мода // event.remove({ mod: 'ae2' }); -} \ No newline at end of file + + // crafting Table + // network tool + event.shaped('ae2:network_tool', [ + 'AB ', + 'CD ', + ' ' + ], { + A: '#forge:tools/wrenches', + B: '#forge:circuits/lv', + C: 'ae2:calculation_processor', + D: '#ae2:illuminated_panel', + }); + + // wireless access point + event.shaped('ae2:wireless_access_point', [ + ' A ', + ' B ', + ' C ' + ], { + A: 'ae2:wireless_receiver', + B: 'ae2:calculation_processor', + C: '#ae2:glass_cable', + }); + + // wireless receiver + event.shaped('ae2:wireless_receiver', [ + 'ABA', + 'CDC', + 'AEA' + ], { + A: '#ae2:glass_cable', + B: 'ae2:fluix_pearl', + C: 'gtceu:ev_sensor', + D: '#forge:rods/titanium', + E: '#forge:circuits/ev' + }); + + // Illuminated Panel + event.shaped('ae2:semi_dark_monitor', [ + ' AD', + 'BCD', + ' AD' + ], { + A: '#forge:plates/glowstone', + B: '#forge:plates/aluminium', + C: '#forge:plates/red_alloy', + D: 'ae2:quartz_glass' + }); + + // Toggle Bus + event.shaped('ae2:toggle_bus', [ + ' A ', + 'BCB', + ' A ' + ], { + A: '#forge:plates/red_alloy', + B: '#ae2:glass_cable', + C: 'minecraft:lever' + }); + + // Capacity Card + event.shaped('ae2:capacity_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:basic_card', + B: 'ae2:cell_component_1k', + C: '#forge:gems/certus_quartz' + }); + + // Crafting Card + event.shaped('ae2:crafting_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:basic_card', + B: 'ae2:cell_component_1k', + C: 'minecraft:crafting_table' + }); + + // Redstone Card + event.shaped('ae2:redstone_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:basic_card', + B: 'minecraft:redstone_torch', + C: 'ae2:calculation_processor' + }); + + // Fuzzy Card + event.shaped('ae2:fuzzy_card', [ + 'AB ', + 'CD ', + ' ' + ], { + A: 'ae2:advanced_card', + B: 'ae2:engineering_processor', + C: 'ae2:logic_processor', + D: 'ae2:calculation_processor' + }); + + // Inverter Card + event.shaped('ae2:inverter_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:advanced_card', + B: 'ae2:inverted_toggle_bus', + C: 'ae2:calculation_processor' + }); + + // Acceleration Card(speed card) + event.shaped('ae2:speed_card', [ + 'AB ', + 'CD ', + ' ' + ], { + A: 'ae2:advanced_card', + B: 'ae2:engineering_processor', + C: 'ae2:logic_processor', + D: '#forge:gems/fluix' + }); + + // Quartz Fixture + event.shapeless(('ae2:quartz_fixture'), + [ + 'ae2:charged_certus_quartz_crystal', + '#forge:rods/aluminium' + ]) + + // Light Detecting Fixture + event.shapeless(('ae2:light_detector'), + [ + 'ae2:certus_quartz_crystal', + '#forge:rods/iron' + ]) + + // Annihilation Core + event.shaped('ae2:annihilation_core', [ + 'ABA', + 'BDB', + 'ABA' + ], { + A: '#forge:rods/aluminium', + B: 'ae2:engineering_processor', + D: '#forge:gems/certus_quartz', + }); + + // Formation Core + event.shaped('ae2:formation_core', [ + 'ABA', + 'BDB', + 'ABA' + ], { + A: '#forge:rods/aluminium', + B: 'ae2:engineering_processor', + D: '#forge:gems/nether_quartz', + }); + + // Wireless Terminal + event.shaped('ae2:wireless_terminal', [ + 'ABA', + 'CDC', + 'FEF' + ], { + A: 'ae2:wireless_receiver', + B: 'ae2:crafting_terminal', + C: 'ae2:engineering_processor', + D: '#forge:circuits/hv', + E: 'ae2:dense_energy_cell', + F: '#forge:plates/nether_quartz' + }); + + // Basic Card + event.shaped('2x ae2:basic_card', [ + 'AB ', + 'CDB', + 'EB ' + ], { + A: '#forge:wires/fine/red_alloy', + B: '#forge:plates/aluminium', + C: 'ae2:calculation_processor', + D: '#forge:circuits/mv', + E: '#forge:wires/fine/gold' + }); + + // Advanced Card + event.shaped('2x ae2:advanced_card', [ + 'AB ', + 'CDB', + 'EB ' + ], { + A: '#forge:wires/fine/red_alloy', + B: '#forge:plates/stainless_steel', + C: 'ae2:calculation_processor', + D: '#forge:circuits/hv', + E: '#forge:wires/fine/silver' + }); + + // Wireless Booster + event.shaped('ae2:wireless_booster', [ + 'ABC', + 'DDD', + ], { + A: '#forge:dusts/fluix', + B: '#forge:gems/certus_quartz', + C: '#forge:plates/ender_pearl', + D: '#forge:plates/titanium', + }); + + // Memory Card + event.shaped('ae2:memory_card', [ + 'ABB', + 'CDC', + ], { + A: 'ae2:calculation_processor', + B: '#forge:plates/iron', + C: '#forge:plates/gold', + D: '#forge:plates/red_alloy', + }); + + //item cell housing + event.shaped('ae2:item_cell_housing', [ + 'ABA', + 'CDC', + 'BBB' + ], { + A: 'ae2:quartz_glass', + B: '#forge:plates/steel', + C: '#forge:wires/fine/red_alloy', + D: '#forge:circuits/lv', + }); + + //fluid cell housing + event.shaped('ae2:fluid_cell_housing', [ + 'ABA', + 'CDC', + 'BBB' + ], { + A: 'ae2:quartz_glass', + B: '#forge:plates/stainless_steel', + C: '#forge:wires/fine/red_alloy', + D: '#forge:circuits/lv', + }); + + //level emitter + event.shaped('ae2:level_emitter', [ + 'DA ', + 'BCB', + ' A ' + ], { + A: '#forge:plates/steel', + B: '#ae2:glass_cable', + C: 'minecraft:redstone_torch', + D: 'ae2:calculation_processor', + }); + + //energy level emitter + event.shaped('ae2:energy_level_emitter', [ + 'DAE', + 'BCB', + ' A ' + ], { + A: '#forge:plates/steel', + B: '#ae2:glass_cable', + C: 'minecraft:redstone_torch', + D: 'ae2:calculation_processor', + E: 'ae2:charged_certus_quartz_crystal' + }); + + // Очистка шаблона + //event.shapeless('ae2:blank_pattern', ['ae2:crafting_pattern']); + + // P2P Tunnel + event.shaped('2x ae2:me_p2p_tunnel', [ + 'ABA', + 'BCB', + 'DDD' + ], { + A: 'ae2:engineering_processor', + B: '#forge:plates/aluminium', + C: '#ae2:illuminated_panel', + D: '#forge:gems/fluix', + }); + + // ME Chest + event.shaped('ae2:chest', [ + 'AEA', + 'CDC', + 'ABA' + ], { + A: '#forge:plates/stainless_steel', + B: '#forge:circuits/mv', + C: '#ae2:glass_cable', + D: 'gtceu:aluminium_crate', + E: 'ae2:terminal' + }); + + // ME Drive + event.shaped('ae2:drive', [ + 'ABA', + 'CDC', + 'EBE' + ], { + A: '#forge:plates/steel', + B: 'ae2:engineering_processor', + C: '#ae2:glass_cable', + D: '#forge:circuits/lv', + E: '#forge:plates/titanium' + }); + + // certus quartz cutting knife + event.shaped('ae2:certus_quartz_cutting_knife', [ + ' A', + 'BA ', + 'CC ' + ], { + A: '#tfc:can_be_lit_on_torch', + B: '#forge:rods/iron', + C: '#forge:gems/certus_quartz' + }); + + // nether quartz cutting knife' + event.shaped('ae2:nether_quartz_cutting_knife', [ + ' A', + 'BA ', + 'CC ' + ], { + A: '#tfc:can_be_lit_on_torch', + B: '#forge:rods/iron', + C: '#forge:gems/nether_quartz' + }); + + // Spatial Pylon + event.shaped('ae2:spatial_pylon', [ + 'ABA', + 'CDC', + 'ABA' + ], { + A: '#forge:plates/glass', + B: '#ae2:glass_cable', + C: '#forge:dusts/fluix', + D: '#forge:gems/fluix', + }); + + // IO Port + event.shaped('ae2:io_port', [ + 'AAA', + 'BCB', + 'DED' + ], { + A: '#forge:plates/glass', + B: 'ae2:drive', + C: '#ae2:glass_cable', + D: '#forge:plates/titanium', + E: 'ae2:engineering_processor' + }); + + // Spatial IO Port + event.shaped('ae2:spatial_io_port', [ + 'AAA', + 'BCB', + 'DED' + ], { + A: '#forge:plates/glass', + B: '#ae2:glass_cable', + C: 'ae2:io_port', + D: '#forge:plates/titanium', + E: 'ae2:engineering_processor' + }); + + // Interface + event.shapeless('ae2:interface', ['ae2:cable_interface']); + event.shapeless('ae2:cable_interface', ['ae2:interface']); + + // Cell Workbench + event.shaped('ae2:cell_workbench', [ + 'ABC', + 'DED', + 'DDD' + ], { + A: 'gtceu:item_filter', + B: 'gtceu:computer_monitor_cover', + C: 'gtceu:fluid_filter', + D: '#forge:plates/aluminium', + E: 'ae2:calculation_processor', + }); + + // Matter Condenser + event.shaped('ae2:condenser', [ + 'ABA', + 'BCB', + 'ABA' + ], { + A: '#forge:plates/stainless_steel', + B: 'gtceu:hv_electric_piston', + C: '#forge:circuits/hv', + }); + + // Energy Acceptor + event.shaped('ae2:energy_acceptor', [ + 'ABA', + 'BCB', + 'ABA' + ], { + A: '#forge:plates/steel', + B: '#forge:plates/stainless_steel', + C: 'gtceu:lv_voltage_coil', + }); + + // ME Annihilation Plane + event.shaped('ae2:annihilation_plane', [ + 'AAA', + 'CBC', + ' ' + ], { + A: '#forge:dusts/fluix', + B: 'ae2:annihilation_core', + C: '#forge:plates/aluminium' + }); + + // ME Formation Plane + event.shaped('ae2:formation_plane', [ + 'AAA', + 'CBC', + ' ' + ], { + A: '#forge:dusts/fluix', + B: 'ae2:formation_core', + C: '#forge:plates/aluminium' + }); + + // ME Terminal + event.shaped('ae2:terminal', [ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: '#ae2:illuminated_panel', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: '#forge:circuits/hv', + F: '#forge:plates/steel', + G: '#forge:screws/steel' + }); + + // ME Crafting Terminal + event.shaped('ae2:crafting_terminal', [ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: 'ae2:terminal', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: '#tfc:workbenches', + F: '#forge:plates/steel', + G: 'ae2:engineering_processor' + }); + + // pattern access terminal + event.shaped('ae2:pattern_access_terminal', [ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: 'ae2:terminal', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: '#ae2:pattern_provider', + F: '#forge:plates/steel', + G: 'ae2:engineering_processor' + }); + + // ME Pattern Terminal + event.shaped('ae2:pattern_encoding_terminal',[ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: 'ae2:terminal', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: 'ae2:blank_pattern', + F: '#forge:plates/steel', + G: 'ae2:engineering_processor' + }); + + //assembler + //glass cable + event.recipes.gtceu.assembler('fluix_glass_cable') + .itemInputs( + '2x #forge:rods/aluminium', + '3x ae2:quartz_fiber', + '#forge:dusts/fluix') + .itemOutputs('ae2:fluix_glass_cable') + .circuit(1) + .duration(20) + .EUt(480) + + //covered cable + event.recipes.gtceu.assembler('fluix_covered_cable_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:rubber', 432)) + .itemOutputs('ae2:fluix_covered_cable') + .circuit(1) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_cable_silicone_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 216)) + .itemOutputs('ae2:fluix_covered_cable') + .circuit(1) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_cable_styrene_butadiene_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 108)) + .itemOutputs('ae2:fluix_covered_cable') + .circuit(1) + .duration(20) + .EUt(480) + + //smart cable + event.recipes.gtceu.assembler('fluix_smart_cable_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:rubber', 432)) + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_cable_silicone_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 216)) + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_cable_styrene_butadiene_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 108)) + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_cable') + .itemInputs( + 'ae2:fluix_covered_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + //covered dense cable + event.recipes.gtceu.assembler('fluix_covered_dense_cable_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:rubber', 1728)) + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_dense_cable_silicone_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 864)) + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_dense_cable_styrene_butadiene_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 432)) + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_dense_cable') + .itemInputs( + '4x ae2:fluix_covered_cable') + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + //smart dence cable + event.recipes.gtceu.assembler('fluix_smart_dence_cable_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:rubber', 1728)) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_silicone_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 864)) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_styrene_butadiene_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 432)) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_covered_cable') + .itemInputs( + '4x ae2:fluix_covered_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_smart_cable') + .itemInputs( + '4x ae2:fluix_smart_cable',) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable') + .itemInputs( + 'ae2:fluix_covered_dense_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + // Blank Pattern + event.recipes.gtceu.assembler('ae2:blank_pattern_pe') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polyethylene', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('ae2:blank_pattern') + .duration(200) + .EUt(120) + event.recipes.gtceu.assembler('ae2:blank_pattern_pvc') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polyvinyl_chloride', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('4x ae2:blank_pattern') + .duration(200) + .EUt(120) + event.recipes.gtceu.assembler('ae2:blank_pattern_ptfe') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polytetrafluoroethylene', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('16x ae2:blank_pattern') + .duration(200) + .EUt(480) + event.recipes.gtceu.assembler('ae2:blank_pattern_pbi') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polybenzimidazole', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('64x ae2:blank_pattern') + .duration(200) + .EUt(480) + + // Annihilation Core + event.recipes.gtceu.assembler('ae2:annihilation_core') + .itemInputs( + '2x #forge:rods/aluminium', + '2x ae2:engineering_processor', + '#forge:gems/certus_quartz') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('4x ae2:annihilation_core') + .circuit(5) + .duration(20) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + // Formation Core + event.recipes.gtceu.assembler('ae2:formation_core') + .itemInputs( + '2x #forge:rods/aluminium', + '2x ae2:engineering_processor', + '#forge:gems/nether_quartz') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('4x ae2:formation_core') + .circuit(5) + .duration(20) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + // Wireless Crafting Terminal + event.recipes.gtceu.assembler('ae2:wireless_crafting_terminal') + .itemInputs( + '2x ae2:dense_energy_cell', + '2x gtceu:luv_sensor', + 'gtceu:luv_emitter', + '2x #forge:rods/osmiridium', + 'ae2:wireless_terminal', + 'ae2:crafting_terminal') + .itemOutputs('ae2:wireless_crafting_terminal') + .duration(30) + .EUt(250) + + //storage components + // 1k storage components + event.recipes.gtceu.assembler('ae2:cell_component_1k') + .itemInputs( + '4x #forge:batteries/ulv', + '4x #forge:plates/wrought_iron', + '4x #forge:dusts/certus_quartz', + 'ae2:logic_processor',) + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_1k') + .duration(200) + .EUt(480) + + // 4k storage components + event.recipes.gtceu.assembler('ae2:cell_component_4k') + .itemInputs( + '4x #forge:circuits/ev', + '4x #forge:plates/titanium', + '4x #forge:dusts/certus_quartz', + 'ae2:logic_processor') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_4k') + .duration(200) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_4k_1k') + .itemInputs( + 'ae2:logic_processor', + '2x #forge:circuits/ev', + '4x ae2:cell_component_1k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_4k') + .duration(400) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + + // 16k storage components + event.recipes.gtceu.assembler('ae2:cell_component_16k') + .itemInputs( + '4x #forge:circuits/iv', + '4x #forge:plates/tungsten_steel', + '8x #forge:dusts/certus_quartz', + 'ae2:engineering_processor',) + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_16k') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_16k_4k') + .itemInputs( + 'ae2:logic_processor', + '2x #forge:circuits/iv', + '4x ae2:cell_component_4k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_16k') + .duration(400) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + // 64k storage components + event.recipes.gtceu.assembler('ae2:cell_component_64k') + .itemInputs( + '4x #forge:circuits/luv', + '4x #forge:plates/rhodium_plated_palladium', + '8x #forge:dusts/certus_quartz', + 'ae2:engineering_processor') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_64k') + .duration(200) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_64k_16k') + .itemInputs( + 'ae2:engineering_processor', + '2x #forge:circuits/luv', + '4x ae2:cell_component_16k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_64k') + .duration(400) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + + // 256k storage components + event.recipes.gtceu.assembler('ae2:cell_component_256k') + .itemInputs( + '4x #forge:circuits/zpm', + '4x #forge:plates/naquadah_alloy', + '16x #forge:dusts/certus_quartz', + 'ae2:engineering_processor',) + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_256k') + .duration(200) + .EUt(122880) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_256k_64k') + .itemInputs( + 'ae2:engineering_processor', + '2x #forge:circuits/zpm', + '4x ae2:cell_component_64k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_256k') + .duration(400) + .EUt(122880) + .cleanroom(CleanroomType.CLEANROOM) + + //Spatial Component + // 2³ Spatial Component + event.recipes.gtceu.assembler('ae2:spatial_cell_component_2') + .itemInputs( + '4x #forge:circuits/ev', + '4x #forge:plates/titanium', + '32x #forge:dusts/certus_quartz', + 'ae2:calculation_processor',) + .inputFluids(Fluid.of('gtceu:hsla_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_2') + .duration(200) + .EUt(1920) + + // 16³ Spatial Component + event.recipes.gtceu.assembler('ae2:spatial_cell_component_16') + .itemInputs( + '4x #forge:circuits/iv', + '4x #forge:plates/tungsten_steel', + '32x #forge:dusts/certus_quartz', + 'ae2:calculation_processor',) + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_16') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:spatial_cell_component_16_2') + .itemInputs( + 'ae2:calculation_processor', + '2x #forge:circuits/iv', + '4x ae2:spatial_cell_component_2') + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_16') + .duration(400) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + // 128³ Spatial Component + event.recipes.gtceu.assembler('ae2:spatial_cell_component_128') + .itemInputs( + '4x #forge:circuits/luv', + '4x #forge:plates/rhodium_plated_palladium', + '32x #forge:dusts/certus_quartz', + 'ae2:calculation_processor') + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_128') + .duration(200) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:spatial_cell_component_128_16') + .itemInputs( + 'ae2:calculation_processor', + '2x #forge:circuits/luv', + '4x ae2:spatial_cell_component_16') + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_128') + .duration(400) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + + // storage_monitor + event.recipes.gtceu.assembler('ae2:storage_monitor') + .itemInputs( + '#ae2:illuminated_panel', + 'ae2:level_emitter') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:storage_monitor') + .duration(200) + .EUt(480) + + // conversion_monitor + event.recipes.gtceu.assembler('ae2:conversion_monitor') + .itemInputs( + '2x ae2:formation_core', + '2x ae2:annihilation_core', + 'ae2:storage_monitor',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:conversion_monitor') + .duration(200) + .EUt(480) + + //level emitter + event.recipes.gtceu.assembler('ae2:level_emitter') + .itemInputs( + 'minecraft:redstone_torch', + '#ae2:glass_cable', + '#forge:plates/steel', + 'ae2:calculation_processor') + .itemOutputs('ae2:level_emitter') + .circuit(1) + .duration(20) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + //storage_bus + event.recipes.gtceu.assembler('ae2:storage_bus') + .itemInputs( + '#ae2:interface', + '2x gtceu:mv_electric_piston', + '#ae2:glass_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:storage_bus') + .circuit(1) + .duration(200) + .EUt(480) + + //import_bus + event.recipes.gtceu.assembler('ae2:import_bus') + .itemInputs( + '#forge:plates/iron', + 'ae2:annihilation_core', + '2x gtceu:mv_robot_arm', + '#ae2:glass_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:import_bus') + .circuit(2) + .duration(200) + .EUt(480) + + //export_bus + event.recipes.gtceu.assembler('ae2:export_bus') + .itemInputs( + '#forge:plates/iron', + 'ae2:formation_core', + '2x gtceu:mv_robot_arm', + '#ae2:glass_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:export_bus') + .circuit(3) + .duration(200) + .EUt(480) + + // CPU Crafting Unit + event.recipes.gtceu.assembler('ae2:crafting_unit') + .itemInputs( + 'ae2:logic_processor', + 'ae2:engineering_processor', + 'ae2:calculation_processor', + '#forge:circuits/hv', + '2x #forge:plates/steel') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:crafting_unit') + .circuit(1) + .duration(20) + .EUt(680) + + // Molecular Assembler + //HV + event.recipes.gtceu.assembler('ae2:molecular_assembler_HV') + .itemInputs( + '2x ae2:quartz_glass', + '2x #forge:circuits/hv', + 'ae2:annihilation_core', + 'ae2:formation_core', + '2x gtceu:hv_conveyor_module', + '2x gtceu:hv_robot_arm', + '4x #forge:plates/stainless_steel') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:molecular_assembler') + .duration(200) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + // EV + event.recipes.gtceu.assembler('ae2:molecular_assembler_EV') + .itemInputs( + '2x ae2:quartz_glass', + '2x #forge:circuits/ev', + 'ae2:annihilation_core', + 'ae2:formation_core', + '2x gtceu:ev_conveyor_module', + '2x gtceu:ev_robot_arm', + '4x #forge:plates/titanium') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('2x ae2:molecular_assembler') + .duration(200) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + // IV + event.recipes.gtceu.assembler('ae2:molecular_assembler_IV') + .itemInputs( + '2x ae2:quartz_glass', + '2x #forge:circuits/iv', + 'ae2:annihilation_core', + 'ae2:formation_core', + '2x gtceu:iv_conveyor_module', + '2x gtceu:iv_robot_arm', + '4x #forge:plates/tungsten_steel') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('8x ae2:molecular_assembler') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + + + +} + diff --git a/kubejs/server_scripts/ae2wtlib/recipes.js b/kubejs/server_scripts/ae2wtlib/recipes.js new file mode 100644 index 000000000..043cbab1b --- /dev/null +++ b/kubejs/server_scripts/ae2wtlib/recipes.js @@ -0,0 +1,66 @@ +// priority: 0 + +const registerAE2WTLibRecipes = (event) => { + + // Удаление рецептов мода + event.remove({ id: 'ae2wtlib:pattern_access/wireless_pattern_access_terminal' }); + event.remove({ id: 'ae2wtlib:pattern_encoding/wireless_pattern_encoding_terminal' }); + event.remove({ id: 'ae2wtlib:pattern_encoding/upgrade_wireless_pattern_encoding_terminal' }); + + event.remove({ id: 'ae2wtlib:magnet_card' }); + event.remove({ id: 'ae2wtlib:quantum_bridge_card' }); + + //assembler + // Wireless Pattern Terminal + event.recipes.gtceu.assembler('ae2wtlib:wireless_pattern_encoding_terminal') + .itemInputs( + '2x ae2:dense_energy_cell', + 'ae2:wireless_terminal', + 'ae2:pattern_encoding_terminal', + '2x gtceu:luv_sensor', + 'gtceu:luv_emitter', + '2x #forge:rods/osmiridium', + ) + .itemOutputs('ae2wtlib:wireless_pattern_encoding_terminal') + .duration(30) + .EUt(250) + + // pattern access terminal + event.recipes.gtceu.assembler('ae2wtlib:wireless_pattern_access_terminal') + .itemInputs( + '2x ae2:dense_energy_cell', + 'ae2:wireless_terminal', + 'ae2:pattern_access_terminal', + '2x gtceu:luv_sensor', + 'gtceu:luv_emitter', + '2x #forge:rods/osmiridium' + ) + .itemOutputs('ae2wtlib:wireless_pattern_access_terminal') + .duration(30) + .EUt(250) + + // Magnet Card + event.recipes.gtceu.assembler('ae2wtlib:magnet_card') + .itemInputs( + '#forge:ingots/magnetic_neodymium', + '4x #forge:rods/magnetic_neodymium', + 'ae2:advanced_card', + 'ae2:annihilation_plane', + '#forge:plates/redstone', + '#forge:plates/lapis', + ) + .itemOutputs('ae2wtlib:magnet_card') + .duration(30) + .EUt(250) + + // quantum bridge card + event.recipes.gtceu.assembler('ae2wtlib:quantum_bridge_card') + .itemInputs( + '4x gtceu:iv_sensor', + '4x ae2:wireless_booster', + '2x gtceu:luv_sensor', + 'gtceu:wireless_digital_interface_cover',) + .itemOutputs('ae2wtlib:quantum_bridge_card') + .duration(30) + .EUt(250) +} \ No newline at end of file diff --git a/kubejs/server_scripts/main_server_script.js b/kubejs/server_scripts/main_server_script.js index 56e50bb7d..0a69f0ef7 100644 --- a/kubejs/server_scripts/main_server_script.js +++ b/kubejs/server_scripts/main_server_script.js @@ -41,6 +41,7 @@ ServerEvents.recipes(event => { registerGTCEURecipes(event) registerCreateRecipes(event) registerAE2Recipes(event) + registerAE2WTLibRecipes(event) registerComputerCraftRecipes(event) registerAdAstraRecipes(event) registerTreeTapRecipes(event) diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js new file mode 100644 index 000000000..c22ab59b9 --- /dev/null +++ b/kubejs/startup_scripts/ae2/constants.js @@ -0,0 +1,22 @@ +// priority: 199 + +const AE2_DISABLED_ITEMS = [ + 'ae2:certus_quartz_sword', + 'ae2:nether_quartz_sword', + 'ae2:fluix_sword', + 'ae2:certus_quartz_wrench', + 'ae2:nether_quartz_wrench', + 'ae2:fluix_upgrade_smithing_template', + 'ae2:certus_quartz_axe', + 'ae2:nether_quartz_axe', + 'ae2:fluix_axe', + 'ae2:certus_quartz_hoe', + 'ae2:nether_quartz_hoe', + 'ae2:fluix_hoe', + 'ae2:certus_quartz_shovel', + 'ae2:nether_quartz_shovel', + 'ae2:fluix_shovel', + 'ae2:certus_quartz_pickaxe', + 'ae2:nether_quartz_pickaxe', + 'ae2:fluix_pickaxe', +]; From ccf7862f3250b8879f114cf3c2119f442a7e1cdf Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 28 Nov 2023 18:18:45 +0200 Subject: [PATCH 02/21] masive --- kubejs/startup_scripts/ae2/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js index c22ab59b9..df7ba975c 100644 --- a/kubejs/startup_scripts/ae2/constants.js +++ b/kubejs/startup_scripts/ae2/constants.js @@ -1,6 +1,6 @@ // priority: 199 -const AE2_DISABLED_ITEMS = [ +global.AE2_DISABLED_ITEMS = [ 'ae2:certus_quartz_sword', 'ae2:nether_quartz_sword', 'ae2:fluix_sword', From b5ef5cd08ab0203b20a324b8bb330cd64c3d129b Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Wed, 29 Nov 2023 21:20:59 +0200 Subject: [PATCH 03/21] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D0=B8=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=81=D0=B5=D1=80=D0=B8=D1=8F=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit димдимыч сталкивается проблемой цикла --- kubejs/server_scripts/ae2/recipes.js | 282 ++++++++++++++++-- kubejs/startup_scripts/ae2/constants.js | 147 +++++++++ kubejs/startup_scripts/gtceu/constants.js | 22 +- kubejs/startup_scripts/minecraft/constants.js | 18 ++ kubejs/startup_scripts/tfc/constants.js | 20 ++ 5 files changed, 459 insertions(+), 30 deletions(-) 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 b4780085d..cde7d2cb6 100644 --- a/kubejs/startup_scripts/minecraft/constants.js +++ b/kubejs/startup_scripts/minecraft/constants.js @@ -159,6 +159,24 @@ global.VANILLA_STONE_TYPES = [ "tuff" ]; +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' +] /* [ diff --git a/kubejs/startup_scripts/tfc/constants.js b/kubejs/startup_scripts/tfc/constants.js index 80fc7c3b2..d46059257 100644 --- a/kubejs/startup_scripts/tfc/constants.js +++ b/kubejs/startup_scripts/tfc/constants.js @@ -2045,4 +2045,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 From 9d626183a7afaa3e48eff9ec81ef68754c67e71b Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Thu, 30 Nov 2023 00:23:48 +0500 Subject: [PATCH 04/21] Update recipes.js --- kubejs/server_scripts/ae2/recipes.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 68b1f0c64..0e918dcd2 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1273,15 +1273,15 @@ const registerAE2Recipes = (event) => { '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) - } -*/ + + for(i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(rrayAE2.glassCables[i]) + .itemInputs(ore('ae2.cable.glass')) + .inputFluids(arrayVanila.colorLiquid[i] * 18) + .itemOutputs(arrayAE2.glassCables[i]) + .duration(20) + .EUt(7) + } + } From 3e9ea0728c1f88fe9c8abb7fa5dcba9b4b2a20cb Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Thu, 30 Nov 2023 00:29:21 +0200 Subject: [PATCH 05/21] =?UTF-8?q?=D0=BA=D1=80=D0=B0=D1=84=D1=82=D1=8B=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20chemical=5Fbath=20=D0=B8=20circuit=5Fassem?= =?UTF-8?q?bler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kubejs/server_scripts/ae2/recipes.js | 222 +++++++++++++++++- kubejs/startup_scripts/ae2/constants.js | 190 ++++++++------- kubejs/startup_scripts/gtceu/constants.js | 3 +- kubejs/startup_scripts/minecraft/constants.js | 2 +- kubejs/startup_scripts/tfc/constants.js | 3 +- 5 files changed, 308 insertions(+), 112 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 0e918dcd2..151c237b3 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1263,25 +1263,227 @@ const registerAE2Recipes = (event) => { .EUt(122880) .cleanroom(CleanroomType.CLEANROOM) + + //circuit_assembler + //logic_processor + event.recipes.gtceu.circuit_assembler('ae2:logic_processor') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_logic_processor', + '#forge:circuits/lv', + '2x #gtceu:resistors', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:logic_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.circuit_assembler('ae2:logic_processor_adv') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_logic_processor', + '#forge:circuits/lv', + 'gtceu:advanced_smd_resistor', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:logic_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + //calculation_processor + event.recipes.gtceu.circuit_assembler('ae2:calculation_processor') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_calculation_processor', + '#forge:circuits/lv', + '2x #gtceu:resistors', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:calculation_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.circuit_assembler('ae2:calculation_processor_adv') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_calculation_processor', + '#forge:circuits/lv', + 'gtceu:advanced_smd_resistor', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:calculation_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + //engineering_processor + event.recipes.gtceu.circuit_assembler('ae2:engineering_processor') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_engineering_processor', + '#forge:circuits/lv', + '2x #gtceu:resistors', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:engineering_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.circuit_assembler('ae2:engineering_processor_adv') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_engineering_processor', + '#forge:circuits/lv', + 'gtceu:advanced_smd_resistor', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:engineering_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + //chemical_bath - //cable + //glass cable event.recipes.gtceu.chemical_bath('ae2:fluix_glass_cable') .itemInputs( '#ae2:glass_cable') - .inputFluids(Fluid.of('gtceu:chlorine', 144)) + .inputFluids(Fluid.of('gtceu:chlorine', 100)) .itemOutputs( 'ae2:fluix_glass_cable') .duration(8) .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_GLASS_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_glass_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_GLASS_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_GLASS_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_glass_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_GLASS_CABLE[i]) + .duration(20) + .EUt(7) + }; - for(i = 0; i < 16; i++) { - event.recipes.gtceu.chemical_bath(rrayAE2.glassCables[i]) - .itemInputs(ore('ae2.cable.glass')) - .inputFluids(arrayVanila.colorLiquid[i] * 18) - .itemOutputs(arrayAE2.glassCables[i]) - .duration(20) - .EUt(7) - } + //covered cable + event.recipes.gtceu.chemical_bath('ae2:fluix_covered_cable') + .itemInputs( + '#ae2:covered_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_covered_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_covered_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_COVERED_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_covered_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_COVERED_CABLE[i]) + .duration(20) + .EUt(7) + }; + + // Dense Covered Cable + event.recipes.gtceu.chemical_bath('ae2:fluix_covered_dense_cable') + .itemInputs( + '#ae2:covered_dense_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_covered_dense_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_DENSE_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_covered_dense_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_COVERED_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_DENSE_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_covered_dense_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_COVERED_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; + + // Smart Cable + event.recipes.gtceu.chemical_bath('ae2:fluix_smart_cable') + .itemInputs( + '#ae2:smart_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_smart_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_smart_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_SMART_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_smart_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_SMART_CABLE[i]) + .duration(20) + .EUt(7) + }; + + // Dense Smart Cable + event.recipes.gtceu.chemical_bath('ae2:fluix_smart_dense_cable') + .itemInputs( + '#ae2:smart_dense_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_smart_dense_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_DENSE_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_smart_dense_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_SMART_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_DENSE_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_smart_dense_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_SMART_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; } diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js index 323daaf7f..f0d25dc30 100644 --- a/kubejs/startup_scripts/ae2/constants.js +++ b/kubejs/startup_scripts/ae2/constants.js @@ -20,112 +20,108 @@ 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) +global.AE2_GLASS_CABLE = [ + 'ae2:white_glass_cable', + 'ae2:orange_glass_cable', + 'ae2:magenta_glass_cable', + 'ae2:light_blue_glass_cable', + 'ae2:yellow_glass_cable', + 'ae2:lime_glass_cable', + 'ae2:pink_glass_cable', + 'ae2:gray_glass_cable', + 'ae2:light_gray_glass_cable', + 'ae2:cyan_glass_cable', + 'ae2:purple_glass_cable', + 'ae2:blue_glass_cable', + 'ae2:brown_glass_cable', + 'ae2:green_glass_cable', + 'ae2:red_glass_cable', + 'ae2:black_glass_cable', ] // 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) +global.AE2_COVERED_CABLE = [ + 'ae2:white_covered_cable', + 'ae2:orange_covered_cable', + 'ae2:magenta_covered_cable', + 'ae2:light_blue_covered_cable', + 'ae2:yellow_covered_cable', + 'ae2:lime_covered_cable', + 'ae2:pink_covered_cable', + 'ae2:gray_covered_cable', + 'ae2:light_gray_covered_cable', + 'ae2:cyan_covered_cable', + 'ae2:purple_covered_cable', + 'ae2:blue_covered_cable', + 'ae2:brown_covered_cable', + 'ae2:green_covered_cable', + 'ae2:red_covered_cable', + 'ae2:black_covered_cable', ] // 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) +global.AE2_COVERED_DENSE_CABLE = [ + 'ae2:white_covered_dense_cable', + 'ae2:orange_covered_dense_cable', + 'ae2:magenta_covered_dense_cable', + 'ae2:light_blue_covered_dense_cable', + 'ae2:yellow_covered_dense_cable', + 'ae2:lime_covered_dense_cable', + 'ae2:pink_covered_dense_cable', + 'ae2:gray_covered_dense_cable', + 'ae2:light_gray_covered_dense_cable', + 'ae2:cyan_covered_dense_cable', + 'ae2:purple_covered_dense_cable', + 'ae2:blue_covered_dense_cable', + 'ae2:brown_covered_dense_cable', + 'ae2:green_covered_dense_cable', + 'ae2:red_covered_dense_cable', + 'ae2:black_covered_dense_cable', ] +// Smart Cable +global.AE2_SMART_CABLE = [ + 'ae2:white_smart_cable', + 'ae2:orange_smart_cable', + 'ae2:magenta_smart_cable', + 'ae2:light_blue_smart_cable', + 'ae2:yellow_smart_cable', + 'ae2:lime_smart_cable', + 'ae2:pink_smart_cable', + 'ae2:gray_smart_cable', + 'ae2:light_gray_smart_cable', + 'ae2:cyan_smart_cable', + 'ae2:purple_smart_cable', + 'ae2:blue_smart_cable', + 'ae2:brown_smart_cable', + 'ae2:green_smart_cable', + 'ae2:red_smart_cable', + 'ae2:black_smart_cable', +] + +// Dense Smart Cable +global.AE2_SMART_DENSE_CABLE = [ + 'ae2:white_smart_dense_cable', + 'ae2:orange_smart_dense_cable', + 'ae2:magenta_smart_dense_cable', + 'ae2:light_blue_smart_dense_cable', + 'ae2:yellow_smart_dense_cable', + 'ae2:lime_smart_dense_cable', + 'ae2:pink_smart_dense_cable', + 'ae2:gray_smart_dense_cable', + 'ae2:light_gray_smart_dense_cable', + 'ae2:cyan_smart_dense_cable', + 'ae2:purple_smart_dense_cable', + 'ae2:blue_smart_dense_cable', + 'ae2:brown_smart_dense_cable', + 'ae2:green_smart_dense_cable', + 'ae2:red_smart_dense_cable', + 'ae2:black_smart_dense_cable', +] + +/* // Paint ball global.AE2_paintBalls = [ item('appliedenergistics2:paint_ball'), diff --git a/kubejs/startup_scripts/gtceu/constants.js b/kubejs/startup_scripts/gtceu/constants.js index cd09d4ad7..f51823ac9 100644 --- a/kubejs/startup_scripts/gtceu/constants.js +++ b/kubejs/startup_scripts/gtceu/constants.js @@ -31,5 +31,4 @@ global.GTCEU_LIQUID_DYE = [ 'gtceu:green_dye', 'gtceu:red_dye', 'gtceu:black_dye', - 'gtceu:white_dye' -] \ No newline at end of file +]; \ No newline at end of file diff --git a/kubejs/startup_scripts/minecraft/constants.js b/kubejs/startup_scripts/minecraft/constants.js index cde7d2cb6..db668de7b 100644 --- a/kubejs/startup_scripts/minecraft/constants.js +++ b/kubejs/startup_scripts/minecraft/constants.js @@ -176,7 +176,7 @@ global.MINECRAFT_FORGE_DYE = [ '#forge:dyes/green', '#forge:dyes/red', '#forge:dyes/black' -] +]; /* [ diff --git a/kubejs/startup_scripts/tfc/constants.js b/kubejs/startup_scripts/tfc/constants.js index d46059257..737ff983d 100644 --- a/kubejs/startup_scripts/tfc/constants.js +++ b/kubejs/startup_scripts/tfc/constants.js @@ -2047,7 +2047,7 @@ global.TFC_ORE_MATERIALS = [ "tetrahedrite" ]; -global.AE2_LIQUID_DYE = [ +global.TFC_LIQUID_DYE = [ 'tfc:white_dye', 'tfc:orange_dye', 'tfc:magenta_dye', @@ -2064,5 +2064,4 @@ global.AE2_LIQUID_DYE = [ 'tfc:green_dye', 'tfc:red_dye', 'tfc:black_dye', - 'tfc:white_dye' ]; \ No newline at end of file From acffaa01e5eb8084f30b2699af78f1e341faedba Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Thu, 30 Nov 2023 00:45:58 +0200 Subject: [PATCH 06/21] recipes for forming press ae2 --- kubejs/server_scripts/ae2/recipes.js | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 151c237b3..098ddd76b 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1343,6 +1343,46 @@ const registerAE2Recipes = (event) => { .EUt(480) .cleanroom(CleanroomType.CLEANROOM) + + //forming_press + // printed calculation processor + event.recipes.gtceu.forming_press('ae2:printed_calculation_processor') + .itemInputs( + '#forge:plates/certus_quartz', + 'ae2:calculation_processor_press',) + .itemOutputs('ae2:printed_calculation_processor') + .duration(20) + .EUt(480) + + // printed engineering processor + event.recipes.gtceu.forming_press('ae2:printed_engineering_processor') + .itemInputs( + '#forge:plates/diamond', + 'ae2:engineering_processor_press',) + .itemOutputs('ae2:printed_engineering_processor') + .duration(20) + .EUt(480) + + // printed logic processor + event.recipes.gtceu.forming_press('ae2:printed_logic_processor') + .itemInputs( + '#forge:plates/gold', + 'ae2:logic_processor_press',) + .itemOutputs('ae2:printed_logic_processor') + .duration(20) + .EUt(480) + + // printed silicon + event.recipes.gtceu.forming_press('ae2:printed_silicon') + .itemInputs( + '#forge:plates/silicon', + 'ae2:silicon_press',) + .itemOutputs('ae2:printed_silicon') + .duration(20) + .EUt(480) + + + //chemical_bath //glass cable From fec09c692c42a6957efb639489e4ce94e7943ee3 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Thu, 30 Nov 2023 01:09:33 +0200 Subject: [PATCH 07/21] =?UTF-8?q?(=D0=9D=D0=95=20=D0=97=D0=90=D0=91=D0=AB?= =?UTF-8?q?=D0=A2=D0=AC(=D0=A1=D0=9C=20=D0=9E=D0=9F=D0=98=D0=A1=D0=90?= =?UTF-8?q?=D0=9D=D0=98=D0=95))=20recipes=20engraver=20for=20laser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit НЕ ЗАБЫТЬ СДЕЛАТЬ FLUIX LENS ДЛЯ КРАФТА НИЖЕ (В 1 12 в крафте используется fluix lens) так же надеюсь ты не забыл сделать жидкости для истин кварц и fluix, для крафта fluix pearl, fluix glass cable, fluix plate решить проблему с 'ae2:printed_logic_processor' --- kubejs/server_scripts/ae2/recipes.js | 84 +++++++++++++++++++++++++--- 1 file changed, 77 insertions(+), 7 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 098ddd76b..1e82e8bf2 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1356,16 +1356,16 @@ const registerAE2Recipes = (event) => { // printed engineering processor event.recipes.gtceu.forming_press('ae2:printed_engineering_processor') - .itemInputs( - '#forge:plates/diamond', - 'ae2:engineering_processor_press',) - .itemOutputs('ae2:printed_engineering_processor') - .duration(20) - .EUt(480) + .itemInputs( + '#forge:plates/diamond', + 'ae2:engineering_processor_press',) + .itemOutputs('ae2:printed_engineering_processor') + .duration(20) + .EUt(480) // printed logic processor event.recipes.gtceu.forming_press('ae2:printed_logic_processor') - .itemInputs( + .itemInputs( '#forge:plates/gold', 'ae2:logic_processor_press',) .itemOutputs('ae2:printed_logic_processor') @@ -1525,5 +1525,75 @@ const registerAE2Recipes = (event) => { .EUt(7) }; + // laser_engraver + // Inscriber Silicon Press + event.recipes.gtceu.laser_engraver('ae2:silicon_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/white') + .itemOutputs('ae2:silicon_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:silicon_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/white') + .itemOutputs('ae2:silicon_press') + .duration(8000) + .EUt(116) + + // Inscriber logic Press + event.recipes.gtceu.laser_engraver('ae2:logic_processor_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/green') + .itemOutputs('ae2:logic_processor_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:logic_processor_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/green') + .itemOutputs('ae2:logic_processor_press') + .duration(8000) + .EUt(116) +// +// +// НЕ ЗАБЫТЬ СДЕЛАТЬ FLUIX LENS ДЛЯ КРАФТА НИЖЕ (В 1 12 в крафте используется fluix lens) +// так же надеюсь ты не забыл сделать жидкости для истин кварц и fluix, для крафта fluix pearl, fluix glass cable, fluix plate +// +// + // Inscriber engineering Press + event.recipes.gtceu.laser_engraver('ae2:engineering_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/light_blue') + .itemOutputs('ae2:engineering_processor_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:engineering_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/light_blue') + .itemOutputs('ae2:engineering_processor_press') + .duration(8000) + .EUt(116) + + // Inscriber calculation Press + event.recipes.gtceu.laser_engraver('ae2:calculation_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/blue') + .itemOutputs('ae2:calculation_processor_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:calculation_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/blue') + .itemOutputs('ae2:calculation_processor_press') + .duration(8000) + .EUt(116) + } From f591de57b7341734a79e6250673d8cb19233a518 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 28 Nov 2023 18:04:06 +0200 Subject: [PATCH 08/21] ae2 crafts --- kubejs/client_scripts/main_client_script.js | 1 + kubejs/client_scripts/mods/ae2.js | 7 + kubejs/server_scripts/ae2/recipes.js | 1058 ++++++++++++++++++- kubejs/server_scripts/ae2wtlib/recipes.js | 66 ++ kubejs/server_scripts/main_server_script.js | 1 + kubejs/startup_scripts/ae2/constants.js | 22 + 6 files changed, 1154 insertions(+), 1 deletion(-) create mode 100644 kubejs/client_scripts/mods/ae2.js create mode 100644 kubejs/server_scripts/ae2wtlib/recipes.js create mode 100644 kubejs/startup_scripts/ae2/constants.js diff --git a/kubejs/client_scripts/main_client_script.js b/kubejs/client_scripts/main_client_script.js index 6910238f0..ba502357a 100644 --- a/kubejs/client_scripts/main_client_script.js +++ b/kubejs/client_scripts/main_client_script.js @@ -5,6 +5,7 @@ REIEvents.hide('item', event => { hideTFCStuff(event) hideGTCEUStuff(event) hideCreateStuff(event) + hideAE2Stuff(event) hideExtendedCraftingStuff(event) hideAdAstraStuff(event) hideSophisticatedBackpacksStuff(event) diff --git a/kubejs/client_scripts/mods/ae2.js b/kubejs/client_scripts/mods/ae2.js new file mode 100644 index 000000000..14ff01c2d --- /dev/null +++ b/kubejs/client_scripts/mods/ae2.js @@ -0,0 +1,7 @@ +// priority: 0 + +const hideAE2Stuff = (event) => { + global.AE2_DISABLED_ITEMS.forEach(item => { + event.hide(item) + }) +} \ No newline at end of file diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 4bb7b4e23..00a32d965 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -4,4 +4,1060 @@ const registerAE2Recipes = (event) => { // Удаление рецептов мода // event.remove({ mod: 'ae2' }); -} \ No newline at end of file + + // crafting Table + // network tool + event.shaped('ae2:network_tool', [ + 'AB ', + 'CD ', + ' ' + ], { + A: '#forge:tools/wrenches', + B: '#forge:circuits/lv', + C: 'ae2:calculation_processor', + D: '#ae2:illuminated_panel', + }); + + // wireless access point + event.shaped('ae2:wireless_access_point', [ + ' A ', + ' B ', + ' C ' + ], { + A: 'ae2:wireless_receiver', + B: 'ae2:calculation_processor', + C: '#ae2:glass_cable', + }); + + // wireless receiver + event.shaped('ae2:wireless_receiver', [ + 'ABA', + 'CDC', + 'AEA' + ], { + A: '#ae2:glass_cable', + B: 'ae2:fluix_pearl', + C: 'gtceu:ev_sensor', + D: '#forge:rods/titanium', + E: '#forge:circuits/ev' + }); + + // Illuminated Panel + event.shaped('ae2:semi_dark_monitor', [ + ' AD', + 'BCD', + ' AD' + ], { + A: '#forge:plates/glowstone', + B: '#forge:plates/aluminium', + C: '#forge:plates/red_alloy', + D: 'ae2:quartz_glass' + }); + + // Toggle Bus + event.shaped('ae2:toggle_bus', [ + ' A ', + 'BCB', + ' A ' + ], { + A: '#forge:plates/red_alloy', + B: '#ae2:glass_cable', + C: 'minecraft:lever' + }); + + // Capacity Card + event.shaped('ae2:capacity_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:basic_card', + B: 'ae2:cell_component_1k', + C: '#forge:gems/certus_quartz' + }); + + // Crafting Card + event.shaped('ae2:crafting_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:basic_card', + B: 'ae2:cell_component_1k', + C: 'minecraft:crafting_table' + }); + + // Redstone Card + event.shaped('ae2:redstone_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:basic_card', + B: 'minecraft:redstone_torch', + C: 'ae2:calculation_processor' + }); + + // Fuzzy Card + event.shaped('ae2:fuzzy_card', [ + 'AB ', + 'CD ', + ' ' + ], { + A: 'ae2:advanced_card', + B: 'ae2:engineering_processor', + C: 'ae2:logic_processor', + D: 'ae2:calculation_processor' + }); + + // Inverter Card + event.shaped('ae2:inverter_card', [ + 'AB ', + 'BC ', + ' ' + ], { + A: 'ae2:advanced_card', + B: 'ae2:inverted_toggle_bus', + C: 'ae2:calculation_processor' + }); + + // Acceleration Card(speed card) + event.shaped('ae2:speed_card', [ + 'AB ', + 'CD ', + ' ' + ], { + A: 'ae2:advanced_card', + B: 'ae2:engineering_processor', + C: 'ae2:logic_processor', + D: '#forge:gems/fluix' + }); + + // Quartz Fixture + event.shapeless(('ae2:quartz_fixture'), + [ + 'ae2:charged_certus_quartz_crystal', + '#forge:rods/aluminium' + ]) + + // Light Detecting Fixture + event.shapeless(('ae2:light_detector'), + [ + 'ae2:certus_quartz_crystal', + '#forge:rods/iron' + ]) + + // Annihilation Core + event.shaped('ae2:annihilation_core', [ + 'ABA', + 'BDB', + 'ABA' + ], { + A: '#forge:rods/aluminium', + B: 'ae2:engineering_processor', + D: '#forge:gems/certus_quartz', + }); + + // Formation Core + event.shaped('ae2:formation_core', [ + 'ABA', + 'BDB', + 'ABA' + ], { + A: '#forge:rods/aluminium', + B: 'ae2:engineering_processor', + D: '#forge:gems/nether_quartz', + }); + + // Wireless Terminal + event.shaped('ae2:wireless_terminal', [ + 'ABA', + 'CDC', + 'FEF' + ], { + A: 'ae2:wireless_receiver', + B: 'ae2:crafting_terminal', + C: 'ae2:engineering_processor', + D: '#forge:circuits/hv', + E: 'ae2:dense_energy_cell', + F: '#forge:plates/nether_quartz' + }); + + // Basic Card + event.shaped('2x ae2:basic_card', [ + 'AB ', + 'CDB', + 'EB ' + ], { + A: '#forge:wires/fine/red_alloy', + B: '#forge:plates/aluminium', + C: 'ae2:calculation_processor', + D: '#forge:circuits/mv', + E: '#forge:wires/fine/gold' + }); + + // Advanced Card + event.shaped('2x ae2:advanced_card', [ + 'AB ', + 'CDB', + 'EB ' + ], { + A: '#forge:wires/fine/red_alloy', + B: '#forge:plates/stainless_steel', + C: 'ae2:calculation_processor', + D: '#forge:circuits/hv', + E: '#forge:wires/fine/silver' + }); + + // Wireless Booster + event.shaped('ae2:wireless_booster', [ + 'ABC', + 'DDD', + ], { + A: '#forge:dusts/fluix', + B: '#forge:gems/certus_quartz', + C: '#forge:plates/ender_pearl', + D: '#forge:plates/titanium', + }); + + // Memory Card + event.shaped('ae2:memory_card', [ + 'ABB', + 'CDC', + ], { + A: 'ae2:calculation_processor', + B: '#forge:plates/iron', + C: '#forge:plates/gold', + D: '#forge:plates/red_alloy', + }); + + //item cell housing + event.shaped('ae2:item_cell_housing', [ + 'ABA', + 'CDC', + 'BBB' + ], { + A: 'ae2:quartz_glass', + B: '#forge:plates/steel', + C: '#forge:wires/fine/red_alloy', + D: '#forge:circuits/lv', + }); + + //fluid cell housing + event.shaped('ae2:fluid_cell_housing', [ + 'ABA', + 'CDC', + 'BBB' + ], { + A: 'ae2:quartz_glass', + B: '#forge:plates/stainless_steel', + C: '#forge:wires/fine/red_alloy', + D: '#forge:circuits/lv', + }); + + //level emitter + event.shaped('ae2:level_emitter', [ + 'DA ', + 'BCB', + ' A ' + ], { + A: '#forge:plates/steel', + B: '#ae2:glass_cable', + C: 'minecraft:redstone_torch', + D: 'ae2:calculation_processor', + }); + + //energy level emitter + event.shaped('ae2:energy_level_emitter', [ + 'DAE', + 'BCB', + ' A ' + ], { + A: '#forge:plates/steel', + B: '#ae2:glass_cable', + C: 'minecraft:redstone_torch', + D: 'ae2:calculation_processor', + E: 'ae2:charged_certus_quartz_crystal' + }); + + // Очистка шаблона + //event.shapeless('ae2:blank_pattern', ['ae2:crafting_pattern']); + + // P2P Tunnel + event.shaped('2x ae2:me_p2p_tunnel', [ + 'ABA', + 'BCB', + 'DDD' + ], { + A: 'ae2:engineering_processor', + B: '#forge:plates/aluminium', + C: '#ae2:illuminated_panel', + D: '#forge:gems/fluix', + }); + + // ME Chest + event.shaped('ae2:chest', [ + 'AEA', + 'CDC', + 'ABA' + ], { + A: '#forge:plates/stainless_steel', + B: '#forge:circuits/mv', + C: '#ae2:glass_cable', + D: 'gtceu:aluminium_crate', + E: 'ae2:terminal' + }); + + // ME Drive + event.shaped('ae2:drive', [ + 'ABA', + 'CDC', + 'EBE' + ], { + A: '#forge:plates/steel', + B: 'ae2:engineering_processor', + C: '#ae2:glass_cable', + D: '#forge:circuits/lv', + E: '#forge:plates/titanium' + }); + + // certus quartz cutting knife + event.shaped('ae2:certus_quartz_cutting_knife', [ + ' A', + 'BA ', + 'CC ' + ], { + A: '#tfc:can_be_lit_on_torch', + B: '#forge:rods/iron', + C: '#forge:gems/certus_quartz' + }); + + // nether quartz cutting knife' + event.shaped('ae2:nether_quartz_cutting_knife', [ + ' A', + 'BA ', + 'CC ' + ], { + A: '#tfc:can_be_lit_on_torch', + B: '#forge:rods/iron', + C: '#forge:gems/nether_quartz' + }); + + // Spatial Pylon + event.shaped('ae2:spatial_pylon', [ + 'ABA', + 'CDC', + 'ABA' + ], { + A: '#forge:plates/glass', + B: '#ae2:glass_cable', + C: '#forge:dusts/fluix', + D: '#forge:gems/fluix', + }); + + // IO Port + event.shaped('ae2:io_port', [ + 'AAA', + 'BCB', + 'DED' + ], { + A: '#forge:plates/glass', + B: 'ae2:drive', + C: '#ae2:glass_cable', + D: '#forge:plates/titanium', + E: 'ae2:engineering_processor' + }); + + // Spatial IO Port + event.shaped('ae2:spatial_io_port', [ + 'AAA', + 'BCB', + 'DED' + ], { + A: '#forge:plates/glass', + B: '#ae2:glass_cable', + C: 'ae2:io_port', + D: '#forge:plates/titanium', + E: 'ae2:engineering_processor' + }); + + // Interface + event.shapeless('ae2:interface', ['ae2:cable_interface']); + event.shapeless('ae2:cable_interface', ['ae2:interface']); + + // Cell Workbench + event.shaped('ae2:cell_workbench', [ + 'ABC', + 'DED', + 'DDD' + ], { + A: 'gtceu:item_filter', + B: 'gtceu:computer_monitor_cover', + C: 'gtceu:fluid_filter', + D: '#forge:plates/aluminium', + E: 'ae2:calculation_processor', + }); + + // Matter Condenser + event.shaped('ae2:condenser', [ + 'ABA', + 'BCB', + 'ABA' + ], { + A: '#forge:plates/stainless_steel', + B: 'gtceu:hv_electric_piston', + C: '#forge:circuits/hv', + }); + + // Energy Acceptor + event.shaped('ae2:energy_acceptor', [ + 'ABA', + 'BCB', + 'ABA' + ], { + A: '#forge:plates/steel', + B: '#forge:plates/stainless_steel', + C: 'gtceu:lv_voltage_coil', + }); + + // ME Annihilation Plane + event.shaped('ae2:annihilation_plane', [ + 'AAA', + 'CBC', + ' ' + ], { + A: '#forge:dusts/fluix', + B: 'ae2:annihilation_core', + C: '#forge:plates/aluminium' + }); + + // ME Formation Plane + event.shaped('ae2:formation_plane', [ + 'AAA', + 'CBC', + ' ' + ], { + A: '#forge:dusts/fluix', + B: 'ae2:formation_core', + C: '#forge:plates/aluminium' + }); + + // ME Terminal + event.shaped('ae2:terminal', [ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: '#ae2:illuminated_panel', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: '#forge:circuits/hv', + F: '#forge:plates/steel', + G: '#forge:screws/steel' + }); + + // ME Crafting Terminal + event.shaped('ae2:crafting_terminal', [ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: 'ae2:terminal', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: '#tfc:workbenches', + F: '#forge:plates/steel', + G: 'ae2:engineering_processor' + }); + + // pattern access terminal + event.shaped('ae2:pattern_access_terminal', [ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: 'ae2:terminal', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: '#ae2:pattern_provider', + F: '#forge:plates/steel', + G: 'ae2:engineering_processor' + }); + + // ME Pattern Terminal + event.shaped('ae2:pattern_encoding_terminal',[ + 'ABC', + 'DED', + 'FGF' + ], { + A: '#forge:tools/screwdrivers', + B: 'ae2:terminal', + C: '#forge:tools/mallets', + D: '#forge:rods/steel', + E: 'ae2:blank_pattern', + F: '#forge:plates/steel', + G: 'ae2:engineering_processor' + }); + + //assembler + //glass cable + event.recipes.gtceu.assembler('fluix_glass_cable') + .itemInputs( + '2x #forge:rods/aluminium', + '3x ae2:quartz_fiber', + '#forge:dusts/fluix') + .itemOutputs('ae2:fluix_glass_cable') + .circuit(1) + .duration(20) + .EUt(480) + + //covered cable + event.recipes.gtceu.assembler('fluix_covered_cable_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:rubber', 432)) + .itemOutputs('ae2:fluix_covered_cable') + .circuit(1) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_cable_silicone_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 216)) + .itemOutputs('ae2:fluix_covered_cable') + .circuit(1) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_cable_styrene_butadiene_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 108)) + .itemOutputs('ae2:fluix_covered_cable') + .circuit(1) + .duration(20) + .EUt(480) + + //smart cable + event.recipes.gtceu.assembler('fluix_smart_cable_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:rubber', 432)) + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_cable_silicone_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 216)) + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_cable_styrene_butadiene_rubber') + .itemInputs( + '3x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 108)) + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_cable') + .itemInputs( + 'ae2:fluix_covered_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .itemOutputs('ae2:fluix_smart_cable') + .circuit(2) + .duration(20) + .EUt(480) + + //covered dense cable + event.recipes.gtceu.assembler('fluix_covered_dense_cable_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:rubber', 1728)) + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_dense_cable_silicone_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 864)) + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_dense_cable_styrene_butadiene_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 432)) + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_covered_dense_cable') + .itemInputs( + '4x ae2:fluix_covered_cable') + .itemOutputs('ae2:fluix_covered_dense_cable') + .circuit(3) + .duration(20) + .EUt(480) + + //smart dence cable + event.recipes.gtceu.assembler('fluix_smart_dence_cable_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:rubber', 1728)) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_silicone_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:silicone_rubber', 864)) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_styrene_butadiene_rubber') + .itemInputs( + '12x ae2:fluix_glass_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .inputFluids(Fluid.of('gtceu:styrene_butadiene_rubber', 432)) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_covered_cable') + .itemInputs( + '4x ae2:fluix_covered_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable_smart_cable') + .itemInputs( + '4x ae2:fluix_smart_cable',) + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + event.recipes.gtceu.assembler('fluix_smart_dence_cable') + .itemInputs( + 'ae2:fluix_covered_dense_cable', + '#forge:dusts/glowstone', + '#forge:dusts/redstone') + .itemOutputs('ae2:fluix_smart_dense_cable') + .circuit(4) + .duration(20) + .EUt(480) + + // Blank Pattern + event.recipes.gtceu.assembler('ae2:blank_pattern_pe') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polyethylene', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('ae2:blank_pattern') + .duration(200) + .EUt(120) + event.recipes.gtceu.assembler('ae2:blank_pattern_pvc') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polyvinyl_chloride', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('4x ae2:blank_pattern') + .duration(200) + .EUt(120) + event.recipes.gtceu.assembler('ae2:blank_pattern_ptfe') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polytetrafluoroethylene', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('16x ae2:blank_pattern') + .duration(200) + .EUt(480) + event.recipes.gtceu.assembler('ae2:blank_pattern_pbi') + .itemInputs( + '3x #forge:plates/steel', + '2x #forge:sheets/polybenzimidazole', + '4x #forge:wires/fine/red_alloy', + '#forge:circuits/mv') + .itemOutputs('64x ae2:blank_pattern') + .duration(200) + .EUt(480) + + // Annihilation Core + event.recipes.gtceu.assembler('ae2:annihilation_core') + .itemInputs( + '2x #forge:rods/aluminium', + '2x ae2:engineering_processor', + '#forge:gems/certus_quartz') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('4x ae2:annihilation_core') + .circuit(5) + .duration(20) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + // Formation Core + event.recipes.gtceu.assembler('ae2:formation_core') + .itemInputs( + '2x #forge:rods/aluminium', + '2x ae2:engineering_processor', + '#forge:gems/nether_quartz') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('4x ae2:formation_core') + .circuit(5) + .duration(20) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + // Wireless Crafting Terminal + event.recipes.gtceu.assembler('ae2:wireless_crafting_terminal') + .itemInputs( + '2x ae2:dense_energy_cell', + '2x gtceu:luv_sensor', + 'gtceu:luv_emitter', + '2x #forge:rods/osmiridium', + 'ae2:wireless_terminal', + 'ae2:crafting_terminal') + .itemOutputs('ae2:wireless_crafting_terminal') + .duration(30) + .EUt(250) + + //storage components + // 1k storage components + event.recipes.gtceu.assembler('ae2:cell_component_1k') + .itemInputs( + '4x #forge:batteries/ulv', + '4x #forge:plates/wrought_iron', + '4x #forge:dusts/certus_quartz', + 'ae2:logic_processor',) + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_1k') + .duration(200) + .EUt(480) + + // 4k storage components + event.recipes.gtceu.assembler('ae2:cell_component_4k') + .itemInputs( + '4x #forge:circuits/ev', + '4x #forge:plates/titanium', + '4x #forge:dusts/certus_quartz', + 'ae2:logic_processor') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_4k') + .duration(200) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_4k_1k') + .itemInputs( + 'ae2:logic_processor', + '2x #forge:circuits/ev', + '4x ae2:cell_component_1k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_4k') + .duration(400) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + + // 16k storage components + event.recipes.gtceu.assembler('ae2:cell_component_16k') + .itemInputs( + '4x #forge:circuits/iv', + '4x #forge:plates/tungsten_steel', + '8x #forge:dusts/certus_quartz', + 'ae2:engineering_processor',) + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_16k') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_16k_4k') + .itemInputs( + 'ae2:logic_processor', + '2x #forge:circuits/iv', + '4x ae2:cell_component_4k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_16k') + .duration(400) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + // 64k storage components + event.recipes.gtceu.assembler('ae2:cell_component_64k') + .itemInputs( + '4x #forge:circuits/luv', + '4x #forge:plates/rhodium_plated_palladium', + '8x #forge:dusts/certus_quartz', + 'ae2:engineering_processor') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_64k') + .duration(200) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_64k_16k') + .itemInputs( + 'ae2:engineering_processor', + '2x #forge:circuits/luv', + '4x ae2:cell_component_16k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_64k') + .duration(400) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + + // 256k storage components + event.recipes.gtceu.assembler('ae2:cell_component_256k') + .itemInputs( + '4x #forge:circuits/zpm', + '4x #forge:plates/naquadah_alloy', + '16x #forge:dusts/certus_quartz', + 'ae2:engineering_processor',) + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_256k') + .duration(200) + .EUt(122880) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:cell_component_256k_64k') + .itemInputs( + 'ae2:engineering_processor', + '2x #forge:circuits/zpm', + '4x ae2:cell_component_64k') + .inputFluids(Fluid.of('gtceu:steel', 144)) + .itemOutputs('ae2:cell_component_256k') + .duration(400) + .EUt(122880) + .cleanroom(CleanroomType.CLEANROOM) + + //Spatial Component + // 2³ Spatial Component + event.recipes.gtceu.assembler('ae2:spatial_cell_component_2') + .itemInputs( + '4x #forge:circuits/ev', + '4x #forge:plates/titanium', + '32x #forge:dusts/certus_quartz', + 'ae2:calculation_processor',) + .inputFluids(Fluid.of('gtceu:hsla_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_2') + .duration(200) + .EUt(1920) + + // 16³ Spatial Component + event.recipes.gtceu.assembler('ae2:spatial_cell_component_16') + .itemInputs( + '4x #forge:circuits/iv', + '4x #forge:plates/tungsten_steel', + '32x #forge:dusts/certus_quartz', + 'ae2:calculation_processor',) + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_16') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:spatial_cell_component_16_2') + .itemInputs( + 'ae2:calculation_processor', + '2x #forge:circuits/iv', + '4x ae2:spatial_cell_component_2') + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_16') + .duration(400) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + // 128³ Spatial Component + event.recipes.gtceu.assembler('ae2:spatial_cell_component_128') + .itemInputs( + '4x #forge:circuits/luv', + '4x #forge:plates/rhodium_plated_palladium', + '32x #forge:dusts/certus_quartz', + 'ae2:calculation_processor') + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_128') + .duration(200) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.assembler('ae2:spatial_cell_component_128_16') + .itemInputs( + 'ae2:calculation_processor', + '2x #forge:circuits/luv', + '4x ae2:spatial_cell_component_16') + .inputFluids(Fluid.of('gtceu:tungsten_steel', 144)) + .itemOutputs('ae2:spatial_cell_component_128') + .duration(400) + .EUt(30720) + .cleanroom(CleanroomType.CLEANROOM) + + // storage_monitor + event.recipes.gtceu.assembler('ae2:storage_monitor') + .itemInputs( + '#ae2:illuminated_panel', + 'ae2:level_emitter') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:storage_monitor') + .duration(200) + .EUt(480) + + // conversion_monitor + event.recipes.gtceu.assembler('ae2:conversion_monitor') + .itemInputs( + '2x ae2:formation_core', + '2x ae2:annihilation_core', + 'ae2:storage_monitor',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:conversion_monitor') + .duration(200) + .EUt(480) + + //level emitter + event.recipes.gtceu.assembler('ae2:level_emitter') + .itemInputs( + 'minecraft:redstone_torch', + '#ae2:glass_cable', + '#forge:plates/steel', + 'ae2:calculation_processor') + .itemOutputs('ae2:level_emitter') + .circuit(1) + .duration(20) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + //storage_bus + event.recipes.gtceu.assembler('ae2:storage_bus') + .itemInputs( + '#ae2:interface', + '2x gtceu:mv_electric_piston', + '#ae2:glass_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:storage_bus') + .circuit(1) + .duration(200) + .EUt(480) + + //import_bus + event.recipes.gtceu.assembler('ae2:import_bus') + .itemInputs( + '#forge:plates/iron', + 'ae2:annihilation_core', + '2x gtceu:mv_robot_arm', + '#ae2:glass_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:import_bus') + .circuit(2) + .duration(200) + .EUt(480) + + //export_bus + event.recipes.gtceu.assembler('ae2:export_bus') + .itemInputs( + '#forge:plates/iron', + 'ae2:formation_core', + '2x gtceu:mv_robot_arm', + '#ae2:glass_cable') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:export_bus') + .circuit(3) + .duration(200) + .EUt(480) + + // CPU Crafting Unit + event.recipes.gtceu.assembler('ae2:crafting_unit') + .itemInputs( + 'ae2:logic_processor', + 'ae2:engineering_processor', + 'ae2:calculation_processor', + '#forge:circuits/hv', + '2x #forge:plates/steel') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:crafting_unit') + .circuit(1) + .duration(20) + .EUt(680) + + // Molecular Assembler + //HV + event.recipes.gtceu.assembler('ae2:molecular_assembler_HV') + .itemInputs( + '2x ae2:quartz_glass', + '2x #forge:circuits/hv', + 'ae2:annihilation_core', + 'ae2:formation_core', + '2x gtceu:hv_conveyor_module', + '2x gtceu:hv_robot_arm', + '4x #forge:plates/stainless_steel') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:molecular_assembler') + .duration(200) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + // EV + event.recipes.gtceu.assembler('ae2:molecular_assembler_EV') + .itemInputs( + '2x ae2:quartz_glass', + '2x #forge:circuits/ev', + 'ae2:annihilation_core', + 'ae2:formation_core', + '2x gtceu:ev_conveyor_module', + '2x gtceu:ev_robot_arm', + '4x #forge:plates/titanium') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('2x ae2:molecular_assembler') + .duration(200) + .EUt(1920) + .cleanroom(CleanroomType.CLEANROOM) + // IV + event.recipes.gtceu.assembler('ae2:molecular_assembler_IV') + .itemInputs( + '2x ae2:quartz_glass', + '2x #forge:circuits/iv', + 'ae2:annihilation_core', + 'ae2:formation_core', + '2x gtceu:iv_conveyor_module', + '2x gtceu:iv_robot_arm', + '4x #forge:plates/tungsten_steel') + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('8x ae2:molecular_assembler') + .duration(200) + .EUt(7680) + .cleanroom(CleanroomType.CLEANROOM) + + + + +} + diff --git a/kubejs/server_scripts/ae2wtlib/recipes.js b/kubejs/server_scripts/ae2wtlib/recipes.js new file mode 100644 index 000000000..043cbab1b --- /dev/null +++ b/kubejs/server_scripts/ae2wtlib/recipes.js @@ -0,0 +1,66 @@ +// priority: 0 + +const registerAE2WTLibRecipes = (event) => { + + // Удаление рецептов мода + event.remove({ id: 'ae2wtlib:pattern_access/wireless_pattern_access_terminal' }); + event.remove({ id: 'ae2wtlib:pattern_encoding/wireless_pattern_encoding_terminal' }); + event.remove({ id: 'ae2wtlib:pattern_encoding/upgrade_wireless_pattern_encoding_terminal' }); + + event.remove({ id: 'ae2wtlib:magnet_card' }); + event.remove({ id: 'ae2wtlib:quantum_bridge_card' }); + + //assembler + // Wireless Pattern Terminal + event.recipes.gtceu.assembler('ae2wtlib:wireless_pattern_encoding_terminal') + .itemInputs( + '2x ae2:dense_energy_cell', + 'ae2:wireless_terminal', + 'ae2:pattern_encoding_terminal', + '2x gtceu:luv_sensor', + 'gtceu:luv_emitter', + '2x #forge:rods/osmiridium', + ) + .itemOutputs('ae2wtlib:wireless_pattern_encoding_terminal') + .duration(30) + .EUt(250) + + // pattern access terminal + event.recipes.gtceu.assembler('ae2wtlib:wireless_pattern_access_terminal') + .itemInputs( + '2x ae2:dense_energy_cell', + 'ae2:wireless_terminal', + 'ae2:pattern_access_terminal', + '2x gtceu:luv_sensor', + 'gtceu:luv_emitter', + '2x #forge:rods/osmiridium' + ) + .itemOutputs('ae2wtlib:wireless_pattern_access_terminal') + .duration(30) + .EUt(250) + + // Magnet Card + event.recipes.gtceu.assembler('ae2wtlib:magnet_card') + .itemInputs( + '#forge:ingots/magnetic_neodymium', + '4x #forge:rods/magnetic_neodymium', + 'ae2:advanced_card', + 'ae2:annihilation_plane', + '#forge:plates/redstone', + '#forge:plates/lapis', + ) + .itemOutputs('ae2wtlib:magnet_card') + .duration(30) + .EUt(250) + + // quantum bridge card + event.recipes.gtceu.assembler('ae2wtlib:quantum_bridge_card') + .itemInputs( + '4x gtceu:iv_sensor', + '4x ae2:wireless_booster', + '2x gtceu:luv_sensor', + 'gtceu:wireless_digital_interface_cover',) + .itemOutputs('ae2wtlib:quantum_bridge_card') + .duration(30) + .EUt(250) +} \ No newline at end of file diff --git a/kubejs/server_scripts/main_server_script.js b/kubejs/server_scripts/main_server_script.js index 56e50bb7d..0a69f0ef7 100644 --- a/kubejs/server_scripts/main_server_script.js +++ b/kubejs/server_scripts/main_server_script.js @@ -41,6 +41,7 @@ ServerEvents.recipes(event => { registerGTCEURecipes(event) registerCreateRecipes(event) registerAE2Recipes(event) + registerAE2WTLibRecipes(event) registerComputerCraftRecipes(event) registerAdAstraRecipes(event) registerTreeTapRecipes(event) diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js new file mode 100644 index 000000000..c22ab59b9 --- /dev/null +++ b/kubejs/startup_scripts/ae2/constants.js @@ -0,0 +1,22 @@ +// priority: 199 + +const AE2_DISABLED_ITEMS = [ + 'ae2:certus_quartz_sword', + 'ae2:nether_quartz_sword', + 'ae2:fluix_sword', + 'ae2:certus_quartz_wrench', + 'ae2:nether_quartz_wrench', + 'ae2:fluix_upgrade_smithing_template', + 'ae2:certus_quartz_axe', + 'ae2:nether_quartz_axe', + 'ae2:fluix_axe', + 'ae2:certus_quartz_hoe', + 'ae2:nether_quartz_hoe', + 'ae2:fluix_hoe', + 'ae2:certus_quartz_shovel', + 'ae2:nether_quartz_shovel', + 'ae2:fluix_shovel', + 'ae2:certus_quartz_pickaxe', + 'ae2:nether_quartz_pickaxe', + 'ae2:fluix_pickaxe', +]; From 064b7f62444c5d0029a979692a7a791f097b24dd Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 28 Nov 2023 18:18:45 +0200 Subject: [PATCH 09/21] masive --- kubejs/startup_scripts/ae2/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js index c22ab59b9..df7ba975c 100644 --- a/kubejs/startup_scripts/ae2/constants.js +++ b/kubejs/startup_scripts/ae2/constants.js @@ -1,6 +1,6 @@ // priority: 199 -const AE2_DISABLED_ITEMS = [ +global.AE2_DISABLED_ITEMS = [ 'ae2:certus_quartz_sword', 'ae2:nether_quartz_sword', 'ae2:fluix_sword', From 35a0dc9e103492e4d4a9b8c82e4ce3990d206ba5 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Wed, 29 Nov 2023 21:20:59 +0200 Subject: [PATCH 10/21] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=D0=B8=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=81=D0=B5=D1=80=D0=B8=D1=8F=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit димдимыч сталкивается проблемой цикла --- kubejs/server_scripts/ae2/recipes.js | 282 ++++++++++++++++-- kubejs/startup_scripts/ae2/constants.js | 147 +++++++++ kubejs/startup_scripts/gtceu/constants.js | 22 +- kubejs/startup_scripts/minecraft/constants.js | 28 +- kubejs/startup_scripts/tfc/constants.js | 20 ++ 5 files changed, 468 insertions(+), 31 deletions(-) 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..00a9cc8a4 100644 --- a/kubejs/startup_scripts/minecraft/constants.js +++ b/kubejs/startup_scripts/minecraft/constants.js @@ -314,4 +314,30 @@ 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' +] +/* +[ + + 'minecraft:sand', + 'minecraft:chest', + 'minecraft:trapped_chest', +];*/ 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 From ad1a71f97e4b203d07f4b50a65e86a5b66c9ec0e Mon Sep 17 00:00:00 2001 From: Xikaro <0regon.end@gmail.com> Date: Thu, 30 Nov 2023 00:23:48 +0500 Subject: [PATCH 11/21] Update recipes.js --- kubejs/server_scripts/ae2/recipes.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 68b1f0c64..0e918dcd2 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1273,15 +1273,15 @@ const registerAE2Recipes = (event) => { '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) - } -*/ + + for(i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(rrayAE2.glassCables[i]) + .itemInputs(ore('ae2.cable.glass')) + .inputFluids(arrayVanila.colorLiquid[i] * 18) + .itemOutputs(arrayAE2.glassCables[i]) + .duration(20) + .EUt(7) + } + } From 063f6ecdbf9175b3b4c241da530b6dcd43c1edd0 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Thu, 30 Nov 2023 00:29:21 +0200 Subject: [PATCH 12/21] =?UTF-8?q?=D0=BA=D1=80=D0=B0=D1=84=D1=82=D1=8B=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20chemical=5Fbath=20=D0=B8=20circuit=5Fassem?= =?UTF-8?q?bler?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kubejs/server_scripts/ae2/recipes.js | 222 +++++++++++++++++- kubejs/startup_scripts/ae2/constants.js | 190 ++++++++------- kubejs/startup_scripts/gtceu/constants.js | 3 +- kubejs/startup_scripts/minecraft/constants.js | 2 +- kubejs/startup_scripts/tfc/constants.js | 3 +- 5 files changed, 308 insertions(+), 112 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 0e918dcd2..151c237b3 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1263,25 +1263,227 @@ const registerAE2Recipes = (event) => { .EUt(122880) .cleanroom(CleanroomType.CLEANROOM) + + //circuit_assembler + //logic_processor + event.recipes.gtceu.circuit_assembler('ae2:logic_processor') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_logic_processor', + '#forge:circuits/lv', + '2x #gtceu:resistors', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:logic_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.circuit_assembler('ae2:logic_processor_adv') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_logic_processor', + '#forge:circuits/lv', + 'gtceu:advanced_smd_resistor', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:logic_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + //calculation_processor + event.recipes.gtceu.circuit_assembler('ae2:calculation_processor') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_calculation_processor', + '#forge:circuits/lv', + '2x #gtceu:resistors', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:calculation_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.circuit_assembler('ae2:calculation_processor_adv') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_calculation_processor', + '#forge:circuits/lv', + 'gtceu:advanced_smd_resistor', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:calculation_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + //engineering_processor + event.recipes.gtceu.circuit_assembler('ae2:engineering_processor') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_engineering_processor', + '#forge:circuits/lv', + '2x #gtceu:resistors', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:engineering_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.circuit_assembler('ae2:engineering_processor_adv') + .itemInputs( + 'ae2:printed_silicon', + 'ae2:printed_engineering_processor', + '#forge:circuits/lv', + 'gtceu:advanced_smd_resistor', + '2x #forge:wires/fine/tin',) + .inputFluids(Fluid.of('gtceu:redstone', 144)) + .itemOutputs('2x ae2:engineering_processor') + .duration(20) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + //chemical_bath - //cable + //glass cable event.recipes.gtceu.chemical_bath('ae2:fluix_glass_cable') .itemInputs( '#ae2:glass_cable') - .inputFluids(Fluid.of('gtceu:chlorine', 144)) + .inputFluids(Fluid.of('gtceu:chlorine', 100)) .itemOutputs( 'ae2:fluix_glass_cable') .duration(8) .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_GLASS_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_glass_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_GLASS_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_GLASS_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_glass_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_GLASS_CABLE[i]) + .duration(20) + .EUt(7) + }; - for(i = 0; i < 16; i++) { - event.recipes.gtceu.chemical_bath(rrayAE2.glassCables[i]) - .itemInputs(ore('ae2.cable.glass')) - .inputFluids(arrayVanila.colorLiquid[i] * 18) - .itemOutputs(arrayAE2.glassCables[i]) - .duration(20) - .EUt(7) - } + //covered cable + event.recipes.gtceu.chemical_bath('ae2:fluix_covered_cable') + .itemInputs( + '#ae2:covered_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_covered_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_covered_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_COVERED_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_covered_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_COVERED_CABLE[i]) + .duration(20) + .EUt(7) + }; + + // Dense Covered Cable + event.recipes.gtceu.chemical_bath('ae2:fluix_covered_dense_cable') + .itemInputs( + '#ae2:covered_dense_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_covered_dense_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_DENSE_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_covered_dense_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_COVERED_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_COVERED_DENSE_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_covered_dense_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_COVERED_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; + + // Smart Cable + event.recipes.gtceu.chemical_bath('ae2:fluix_smart_cable') + .itemInputs( + '#ae2:smart_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_smart_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_smart_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_SMART_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_smart_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_SMART_CABLE[i]) + .duration(20) + .EUt(7) + }; + + // Dense Smart Cable + event.recipes.gtceu.chemical_bath('ae2:fluix_smart_dense_cable') + .itemInputs( + '#ae2:smart_dense_cable') + .inputFluids(Fluid.of('gtceu:chlorine', 100)) + .itemOutputs( + 'ae2:fluix_smart_dense_cable') + .duration(8) + .EUt(480) + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_DENSE_CABLE[i]+'gtceudye') + .itemInputs('ae2:fluix_smart_dense_cable') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 72)) + .itemOutputs(global.AE2_SMART_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_SMART_DENSE_CABLE[i]+'tfcdye') + .itemInputs('ae2:fluix_smart_dense_cable') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 250)) + .itemOutputs(global.AE2_SMART_DENSE_CABLE[i]) + .duration(20) + .EUt(7) + }; } diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js index 323daaf7f..f0d25dc30 100644 --- a/kubejs/startup_scripts/ae2/constants.js +++ b/kubejs/startup_scripts/ae2/constants.js @@ -20,112 +20,108 @@ 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) +global.AE2_GLASS_CABLE = [ + 'ae2:white_glass_cable', + 'ae2:orange_glass_cable', + 'ae2:magenta_glass_cable', + 'ae2:light_blue_glass_cable', + 'ae2:yellow_glass_cable', + 'ae2:lime_glass_cable', + 'ae2:pink_glass_cable', + 'ae2:gray_glass_cable', + 'ae2:light_gray_glass_cable', + 'ae2:cyan_glass_cable', + 'ae2:purple_glass_cable', + 'ae2:blue_glass_cable', + 'ae2:brown_glass_cable', + 'ae2:green_glass_cable', + 'ae2:red_glass_cable', + 'ae2:black_glass_cable', ] // 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) +global.AE2_COVERED_CABLE = [ + 'ae2:white_covered_cable', + 'ae2:orange_covered_cable', + 'ae2:magenta_covered_cable', + 'ae2:light_blue_covered_cable', + 'ae2:yellow_covered_cable', + 'ae2:lime_covered_cable', + 'ae2:pink_covered_cable', + 'ae2:gray_covered_cable', + 'ae2:light_gray_covered_cable', + 'ae2:cyan_covered_cable', + 'ae2:purple_covered_cable', + 'ae2:blue_covered_cable', + 'ae2:brown_covered_cable', + 'ae2:green_covered_cable', + 'ae2:red_covered_cable', + 'ae2:black_covered_cable', ] // 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) +global.AE2_COVERED_DENSE_CABLE = [ + 'ae2:white_covered_dense_cable', + 'ae2:orange_covered_dense_cable', + 'ae2:magenta_covered_dense_cable', + 'ae2:light_blue_covered_dense_cable', + 'ae2:yellow_covered_dense_cable', + 'ae2:lime_covered_dense_cable', + 'ae2:pink_covered_dense_cable', + 'ae2:gray_covered_dense_cable', + 'ae2:light_gray_covered_dense_cable', + 'ae2:cyan_covered_dense_cable', + 'ae2:purple_covered_dense_cable', + 'ae2:blue_covered_dense_cable', + 'ae2:brown_covered_dense_cable', + 'ae2:green_covered_dense_cable', + 'ae2:red_covered_dense_cable', + 'ae2:black_covered_dense_cable', ] +// Smart Cable +global.AE2_SMART_CABLE = [ + 'ae2:white_smart_cable', + 'ae2:orange_smart_cable', + 'ae2:magenta_smart_cable', + 'ae2:light_blue_smart_cable', + 'ae2:yellow_smart_cable', + 'ae2:lime_smart_cable', + 'ae2:pink_smart_cable', + 'ae2:gray_smart_cable', + 'ae2:light_gray_smart_cable', + 'ae2:cyan_smart_cable', + 'ae2:purple_smart_cable', + 'ae2:blue_smart_cable', + 'ae2:brown_smart_cable', + 'ae2:green_smart_cable', + 'ae2:red_smart_cable', + 'ae2:black_smart_cable', +] + +// Dense Smart Cable +global.AE2_SMART_DENSE_CABLE = [ + 'ae2:white_smart_dense_cable', + 'ae2:orange_smart_dense_cable', + 'ae2:magenta_smart_dense_cable', + 'ae2:light_blue_smart_dense_cable', + 'ae2:yellow_smart_dense_cable', + 'ae2:lime_smart_dense_cable', + 'ae2:pink_smart_dense_cable', + 'ae2:gray_smart_dense_cable', + 'ae2:light_gray_smart_dense_cable', + 'ae2:cyan_smart_dense_cable', + 'ae2:purple_smart_dense_cable', + 'ae2:blue_smart_dense_cable', + 'ae2:brown_smart_dense_cable', + 'ae2:green_smart_dense_cable', + 'ae2:red_smart_dense_cable', + 'ae2:black_smart_dense_cable', +] + +/* // Paint ball global.AE2_paintBalls = [ item('appliedenergistics2:paint_ball'), diff --git a/kubejs/startup_scripts/gtceu/constants.js b/kubejs/startup_scripts/gtceu/constants.js index cd09d4ad7..f51823ac9 100644 --- a/kubejs/startup_scripts/gtceu/constants.js +++ b/kubejs/startup_scripts/gtceu/constants.js @@ -31,5 +31,4 @@ global.GTCEU_LIQUID_DYE = [ 'gtceu:green_dye', 'gtceu:red_dye', 'gtceu:black_dye', - 'gtceu:white_dye' -] \ No newline at end of file +]; \ No newline at end of file diff --git a/kubejs/startup_scripts/minecraft/constants.js b/kubejs/startup_scripts/minecraft/constants.js index 00a9cc8a4..9932c7af3 100644 --- a/kubejs/startup_scripts/minecraft/constants.js +++ b/kubejs/startup_scripts/minecraft/constants.js @@ -333,7 +333,7 @@ global.MINECRAFT_FORGE_DYE = [ '#forge:dyes/green', '#forge:dyes/red', '#forge:dyes/black' -] +]; /* [ diff --git a/kubejs/startup_scripts/tfc/constants.js b/kubejs/startup_scripts/tfc/constants.js index 9f506bd42..02f017384 100644 --- a/kubejs/startup_scripts/tfc/constants.js +++ b/kubejs/startup_scripts/tfc/constants.js @@ -2100,7 +2100,7 @@ global.TFC_ORE_MATERIALS = [ "tetrahedrite" ]; -global.AE2_LIQUID_DYE = [ +global.TFC_LIQUID_DYE = [ 'tfc:white_dye', 'tfc:orange_dye', 'tfc:magenta_dye', @@ -2117,5 +2117,4 @@ global.AE2_LIQUID_DYE = [ 'tfc:green_dye', 'tfc:red_dye', 'tfc:black_dye', - 'tfc:white_dye' ]; \ No newline at end of file From 4b839954422d8b70a20c79ee0983848167cf9fb6 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Thu, 30 Nov 2023 00:45:58 +0200 Subject: [PATCH 13/21] recipes for forming press ae2 --- kubejs/server_scripts/ae2/recipes.js | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 151c237b3..098ddd76b 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1343,6 +1343,46 @@ const registerAE2Recipes = (event) => { .EUt(480) .cleanroom(CleanroomType.CLEANROOM) + + //forming_press + // printed calculation processor + event.recipes.gtceu.forming_press('ae2:printed_calculation_processor') + .itemInputs( + '#forge:plates/certus_quartz', + 'ae2:calculation_processor_press',) + .itemOutputs('ae2:printed_calculation_processor') + .duration(20) + .EUt(480) + + // printed engineering processor + event.recipes.gtceu.forming_press('ae2:printed_engineering_processor') + .itemInputs( + '#forge:plates/diamond', + 'ae2:engineering_processor_press',) + .itemOutputs('ae2:printed_engineering_processor') + .duration(20) + .EUt(480) + + // printed logic processor + event.recipes.gtceu.forming_press('ae2:printed_logic_processor') + .itemInputs( + '#forge:plates/gold', + 'ae2:logic_processor_press',) + .itemOutputs('ae2:printed_logic_processor') + .duration(20) + .EUt(480) + + // printed silicon + event.recipes.gtceu.forming_press('ae2:printed_silicon') + .itemInputs( + '#forge:plates/silicon', + 'ae2:silicon_press',) + .itemOutputs('ae2:printed_silicon') + .duration(20) + .EUt(480) + + + //chemical_bath //glass cable From 321f799dab89a2cdaccfc1f302999e3945e14b9a Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Thu, 30 Nov 2023 01:09:33 +0200 Subject: [PATCH 14/21] =?UTF-8?q?(=D0=9D=D0=95=20=D0=97=D0=90=D0=91=D0=AB?= =?UTF-8?q?=D0=A2=D0=AC(=D0=A1=D0=9C=20=D0=9E=D0=9F=D0=98=D0=A1=D0=90?= =?UTF-8?q?=D0=9D=D0=98=D0=95))=20recipes=20engraver=20for=20laser?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit НЕ ЗАБЫТЬ СДЕЛАТЬ FLUIX LENS ДЛЯ КРАФТА НИЖЕ (В 1 12 в крафте используется fluix lens) так же надеюсь ты не забыл сделать жидкости для истин кварц и fluix, для крафта fluix pearl, fluix glass cable, fluix plate решить проблему с 'ae2:printed_logic_processor' --- kubejs/server_scripts/ae2/recipes.js | 84 +++++++++++++++++++++++++--- 1 file changed, 77 insertions(+), 7 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 098ddd76b..1e82e8bf2 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -1356,16 +1356,16 @@ const registerAE2Recipes = (event) => { // printed engineering processor event.recipes.gtceu.forming_press('ae2:printed_engineering_processor') - .itemInputs( - '#forge:plates/diamond', - 'ae2:engineering_processor_press',) - .itemOutputs('ae2:printed_engineering_processor') - .duration(20) - .EUt(480) + .itemInputs( + '#forge:plates/diamond', + 'ae2:engineering_processor_press',) + .itemOutputs('ae2:printed_engineering_processor') + .duration(20) + .EUt(480) // printed logic processor event.recipes.gtceu.forming_press('ae2:printed_logic_processor') - .itemInputs( + .itemInputs( '#forge:plates/gold', 'ae2:logic_processor_press',) .itemOutputs('ae2:printed_logic_processor') @@ -1525,5 +1525,75 @@ const registerAE2Recipes = (event) => { .EUt(7) }; + // laser_engraver + // Inscriber Silicon Press + event.recipes.gtceu.laser_engraver('ae2:silicon_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/white') + .itemOutputs('ae2:silicon_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:silicon_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/white') + .itemOutputs('ae2:silicon_press') + .duration(8000) + .EUt(116) + + // Inscriber logic Press + event.recipes.gtceu.laser_engraver('ae2:logic_processor_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/green') + .itemOutputs('ae2:logic_processor_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:logic_processor_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/green') + .itemOutputs('ae2:logic_processor_press') + .duration(8000) + .EUt(116) +// +// +// НЕ ЗАБЫТЬ СДЕЛАТЬ FLUIX LENS ДЛЯ КРАФТА НИЖЕ (В 1 12 в крафте используется fluix lens) +// так же надеюсь ты не забыл сделать жидкости для истин кварц и fluix, для крафта fluix pearl, fluix glass cable, fluix plate +// +// + // Inscriber engineering Press + event.recipes.gtceu.laser_engraver('ae2:engineering_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/light_blue') + .itemOutputs('ae2:engineering_processor_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:engineering_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/light_blue') + .itemOutputs('ae2:engineering_processor_press') + .duration(8000) + .EUt(116) + + // Inscriber calculation Press + event.recipes.gtceu.laser_engraver('ae2:calculation_press_iron') + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/blue') + .itemOutputs('ae2:calculation_processor_press') + .duration(12000) + .EUt(116) + event.recipes.gtceu.laser_engraver('ae2:calculation_press_wrought_iron') + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/blue') + .itemOutputs('ae2:calculation_processor_press') + .duration(8000) + .EUt(116) + } From d73235323ab6dce9cfdf673480a381c5fa7d0aed Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Thu, 30 Nov 2023 21:52:51 +0200 Subject: [PATCH 15/21] Update recipes.js --- kubejs/server_scripts/ae2/recipes.js | 96 +++++++++++++++++++--------- 1 file changed, 66 insertions(+), 30 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 1e82e8bf2..80024d985 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -3,7 +3,7 @@ const registerAE2Recipes = (event) => { // Удаление рецептов мода - // event.remove({ mod: 'ae2' }); + event.remove({ mod: 'ae2' }); // crafting Table // network tool @@ -1381,9 +1381,6 @@ const registerAE2Recipes = (event) => { .duration(20) .EUt(480) - - - //chemical_bath //glass cable event.recipes.gtceu.chemical_bath('ae2:fluix_glass_cable') @@ -1561,39 +1558,78 @@ const registerAE2Recipes = (event) => { // // НЕ ЗАБЫТЬ СДЕЛАТЬ FLUIX LENS ДЛЯ КРАФТА НИЖЕ (В 1 12 в крафте используется fluix lens) // так же надеюсь ты не забыл сделать жидкости для истин кварц и fluix, для крафта fluix pearl, fluix glass cable, fluix plate -// -// +// сделать роды для quartz fiber +// mixer.autoclave. // Inscriber engineering Press event.recipes.gtceu.laser_engraver('ae2:engineering_press_iron') - .itemInputs( - '#forge:plates/iron') - .notConsumable('#forge:lenses/light_blue') - .itemOutputs('ae2:engineering_processor_press') - .duration(12000) - .EUt(116) + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/light_blue') + .itemOutputs('ae2:engineering_processor_press') + .duration(12000) + .EUt(116) event.recipes.gtceu.laser_engraver('ae2:engineering_press_wrought_iron') - .itemInputs( - '#forge:plates/wrought_iron') - .notConsumable('#forge:lenses/light_blue') - .itemOutputs('ae2:engineering_processor_press') - .duration(8000) - .EUt(116) + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/light_blue') + .itemOutputs('ae2:engineering_processor_press') + .duration(8000) + .EUt(116) // Inscriber calculation Press event.recipes.gtceu.laser_engraver('ae2:calculation_press_iron') - .itemInputs( - '#forge:plates/iron') - .notConsumable('#forge:lenses/blue') - .itemOutputs('ae2:calculation_processor_press') - .duration(12000) - .EUt(116) + .itemInputs( + '#forge:plates/iron') + .notConsumable('#forge:lenses/blue') + .itemOutputs('ae2:calculation_processor_press') + .duration(12000) + .EUt(116) event.recipes.gtceu.laser_engraver('ae2:calculation_press_wrought_iron') - .itemInputs( - '#forge:plates/wrought_iron') - .notConsumable('#forge:lenses/blue') - .itemOutputs('ae2:calculation_processor_press') - .duration(8000) - .EUt(116) + .itemInputs( + '#forge:plates/wrought_iron') + .notConsumable('#forge:lenses/blue') + .itemOutputs('ae2:calculation_processor_press') + .duration(8000) + .EUt(116) + + //wiremill + // Quartz Fiber + event.recipes.gtceu.wiremill('ae2:quartz_fiber') + .itemInputs( + '#forge:plates/certus_quartz') + .itemOutputs('ae2:quartz_fiber') + .duration(20) + .EUt(480) + + + //alloy smelter + // Quartz Glass + event.recipes.gtceu.alloy_smelter('ae2:quartz_glass') + .itemInputs( + '5x #forge:dusts/certus_quartz', + '4x #forge:glass') + .itemOutputs('4x ae2:quartz_glass') + .duration(20) + .EUt(480) + + // Vibrant Quartz Glass + event.recipes.gtceu.alloy_smelter('ae2:quartz_vibrant_glass') + .itemInputs( + 'ae2:quartz_glass', + '8x #forge:dusts/glowstone') + .itemOutputs('ae2:quartz_vibrant_glass') + .duration(20) + .EUt(480) + //electrolyzer + // Charged Certus Quartz + event.recipes.gtceu.electrolyzer('ae2:charged_certus_quartz_crystal') + .itemInputs( + '#forge:gems/certus_quartz') + .itemOutputs('ae2:charged_certus_quartz_crystal') + .duration(20) + .EUt(160) + + } From af08e91b06d8129fbb1748d2be20978332157433 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 5 Dec 2023 17:28:00 +0200 Subject: [PATCH 16/21] =?UTF-8?q?=D0=BD=D0=B5=D0=BA=D0=BE=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D1=8B=D0=B5=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit убрал кварц и всё что связано с метеоритами из ае2, привязал все крафты к кварцу из грега --- kubejs/server_scripts/ae2/recipes.js | 350 +++++++++++++++++++++++- kubejs/startup_scripts/ae2/constants.js | 49 ++++ 2 files changed, 394 insertions(+), 5 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 80024d985..0be8e32b5 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -3,9 +3,14 @@ const registerAE2Recipes = (event) => { // Удаление рецептов мода - event.remove({ mod: 'ae2' }); + //event.remove({ mod: 'ae2' }); // crafting Table + // ae2:cable_anchor + event.shapeless(('ae2:cable_anchor'), [ + '#forge:ingots', + '#ae2:knife' + ]) // network tool event.shaped('ae2:network_tool', [ 'AB', @@ -412,13 +417,19 @@ const registerAE2Recipes = (event) => { B: '#forge:plates/stainless_steel', C: 'gtceu:lv_voltage_coil', }); + event.shapeless('ae2:energy_acceptor', ['ae2:cable_energy_acceptor']); + event.shapeless('ae2:cable_energy_acceptor', ['ae2:energy_acceptor']); + //cable pattern provider + event.shapeless('ae2:pattern_provider', ['ae2:cable_pattern_provider']); + event.shapeless('ae2:cable_pattern_provider', ['ae2:pattern_provider']); + // ME Annihilation Plane event.shaped('ae2:annihilation_plane', [ 'AAA', 'CBC' ], { - A: '#forge:dusts/fluix', + A: '#forge:gems/fluix', B: 'ae2:annihilation_core', C: '#forge:plates/aluminium' }); @@ -428,7 +439,7 @@ const registerAE2Recipes = (event) => { 'AAA', 'CBC' ], { - A: '#forge:dusts/fluix', + A: '#forge:gems/fluix', B: 'ae2:formation_core', C: '#forge:plates/aluminium' }); @@ -1139,6 +1150,58 @@ const registerAE2Recipes = (event) => { .duration(200) .EUt(7480) .cleanroom(CleanroomType.CLEANROOM) + + // pattern_provider + // MV + event.recipes.gtceu.assembler('ae2:pattern_provider_mv') + .itemInputs( + 'gtceu:mv_conveyor_module', + '2x #tfc:workbenches', + '4x #forge:plates/steel', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('ae2:pattern_provider') + .duration(200) + .EUt(120) + // HV + event.recipes.gtceu.assembler('ae2:pattern_provider_hv') + .itemInputs( + 'gtceu:hv_conveyor_module', + '2x #tfc:workbenches', + '4x #forge:plates/aluminium', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('2x ae2:pattern_provider') + .duration(200) + .EUt(480) + // EV + event.recipes.gtceu.assembler('ae2:pattern_provider_ev') + .itemInputs( + 'gtceu:ev_conveyor_module', + '2x #tfc:workbenches', + '4x #forge:plates/stainless_steel', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('4x ae2:pattern_provider') + .duration(200) + .EUt(1980) + .cleanroom(CleanroomType.CLEANROOM) + // IV + event.recipes.gtceu.assembler('ae2:pattern_provider_iv') + .itemInputs( + 'gtceu:iv_conveyor_module', + '2x #tfc:workbenches', + '4x #forge:plates/titanium', + 'ae2:annihilation_core', + 'ae2:formation_core',) + .inputFluids(Fluid.of('gtceu:polyethylene', 144)) + .itemOutputs('8x ae2:pattern_provider') + .duration(200) + .EUt(7480) + .cleanroom(CleanroomType.CLEANROOM) //portable cell //item portable cell @@ -1625,11 +1688,288 @@ const registerAE2Recipes = (event) => { // Charged Certus Quartz event.recipes.gtceu.electrolyzer('ae2:charged_certus_quartz_crystal') .itemInputs( - '#forge:gems/certus_quartz') + 'gtceu:certus_quartz_gem') .itemOutputs('ae2:charged_certus_quartz_crystal') .duration(20) .EUt(160) - + + //compressor + //quartz block + event.recipes.gtceu.compressor('ae2:quartz_block') + .itemInputs( + '9x gtceu:certus_quartz_gem') + .itemOutputs( + 'ae2:quartz_block') + .duration(300) + .EUt(2) + //fluix block + event.recipes.gtceu.compressor('ae2:fluix_block') + .itemInputs( + '9x #forge:gems/fluix') + .itemOutputs( + 'ae2:fluix_block') + .duration(300) + .EUt(2) + + + //packer + //cells + event.recipes.gtceu.packer('ae2:view_cell') + .itemInputs( + 'ae2:item_cell_housing', + '#forge:gems/certus_quartz') + .itemOutputs( + 'ae2:view_cell') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:item_storage_cell_1k') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_1k') + .itemOutputs( + 'ae2:item_storage_cell_1k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:item_storage_cell_4k') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_4k') + .itemOutputs( + 'ae2:item_storage_cell_4k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:item_storage_cell_16k') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_16k') + .itemOutputs( + 'ae2:item_storage_cell_16k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:item_storage_cell_64k') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_64k') + .itemOutputs( + 'ae2:item_storage_cell_64k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:item_storage_cell_256k') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_256k') + .itemOutputs( + 'ae2:item_storage_cell_256k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + + event.recipes.gtceu.packer('ae2:fluid_storage_cell_1k') + .itemInputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_1k') + .itemOutputs( + 'ae2:fluid_storage_cell_1k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_4k') + .itemInputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_4k') + .itemOutputs( + 'ae2:fluid_storage_cell_4k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_16k') + .itemInputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_16k') + .itemOutputs( + 'ae2:fluid_storage_cell_16k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_64k') + .itemInputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_64k') + .itemOutputs( + 'ae2:fluid_storage_cell_64k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_256k') + .itemInputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_256k') + .itemOutputs( + 'ae2:fluid_storage_cell_256k') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + + event.recipes.gtceu.packer('ae2:spatial_storage_cell_2') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:spatial_cell_component_2') + .itemOutputs( + 'ae2:spatial_storage_cell_2') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:spatial_storage_cell_16') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:spatial_cell_component_16') + .itemOutputs( + 'ae2:spatial_storage_cell_16') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:spatial_storage_cell_128') + .itemInputs( + 'ae2:item_cell_housing', + 'ae2:spatial_cell_component_128') + .itemOutputs( + 'ae2:spatial_storage_cell_128') + .duration(10) + .EUt(7) + .cleanroom(CleanroomType.CLEANROOM) + + event.recipes.gtceu.packer('ae2:view_cell_back') + .itemInputs( + 'ae2:view_cell' + ) + .itemOutputs( + 'ae2:item_cell_housing', + '#forge:gems/certus_quartz') + .duration(10) + .EUt(7) + + event.recipes.gtceu.packer('ae2:item_storage_cell_1k_back') + .itemInputs( + 'ae2:item_storage_cell_1k') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_1k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:item_storage_cell_4k_back') + .itemInputs( + 'ae2:item_storage_cell_4k') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_4k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:item_storage_cell_16k_back') + .itemInputs( + 'ae2:item_storage_cell_16k') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_16k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:item_storage_cell_64k_back') + .itemInputs( + 'ae2:item_storage_cell_64k') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_64k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:item_storage_cell_256k_back') + .itemInputs( + 'ae2:item_storage_cell_256k') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:cell_component_256k') + .duration(10) + .EUt(7) + + event.recipes.gtceu.packer('ae2:fluid_storage_cell_1k_back') + .itemInputs( + 'ae2:fluid_storage_cell_1k') + .itemOutputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_1k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_4k_back') + .itemInputs( + 'ae2:fluid_storage_cell_4k') + .itemOutputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_4k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_16k_back') + .itemInputs( + 'ae2:fluid_storage_cell_16k') + .itemOutputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_16k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_64k_back') + .itemInputs( + 'ae2:fluid_storage_cell_64k') + .itemOutputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_64k') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:fluid_storage_cell_256k_back') + .itemInputs( + 'ae2:fluid_storage_cell_256k') + .itemOutputs( + 'ae2:fluid_cell_housing', + 'ae2:cell_component_256k') + .duration(10) + .EUt(7) + + event.recipes.gtceu.packer('ae2:spatial_storage_cell_2_back') + .itemInputs( + 'ae2:spatial_storage_cell_2') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:spatial_cell_component_2') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:spatial_storage_cell_16_back') + .itemInputs( + 'ae2:spatial_storage_cell_16') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:spatial_cell_component_16') + .duration(10) + .EUt(7) + event.recipes.gtceu.packer('ae2:spatial_storage_cell_128_back') + .itemInputs( + 'ae2:spatial_storage_cell_128') + .itemOutputs( + 'ae2:item_cell_housing', + 'ae2:spatial_cell_component_128') + .duration(10) + .EUt(7) + + //macerator + event.recipes.gtceu.macerator('ae2:fluix_dust') + .itemInputs( + '#forge:gems/fluix') + .itemOutputs( + 'ae2:fluix_dust') + .duration(10) + .EUt(7) + + } diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js index f0d25dc30..17a8e4dfd 100644 --- a/kubejs/startup_scripts/ae2/constants.js +++ b/kubejs/startup_scripts/ae2/constants.js @@ -1,6 +1,7 @@ // priority: 199 global.AE2_DISABLED_ITEMS = [ + //инструменты 'ae2:certus_quartz_sword', 'ae2:nether_quartz_sword', 'ae2:fluix_sword', @@ -19,6 +20,54 @@ global.AE2_DISABLED_ITEMS = [ 'ae2:certus_quartz_pickaxe', 'ae2:nether_quartz_pickaxe', 'ae2:fluix_pickaxe', + 'ae2:entropy_manipulator', + 'ae2:charged_staff', + //budding + '#forge:buds', + 'ae2:flawless_budding_quartz', + 'ae2:flawed_budding_quartz', + 'ae2:chipped_budding_quartz', + 'ae2:damaged_budding_quartz', + 'ae2:quartz_cluster', + //sky stone + 'ae2:sky_stone_block', + 'ae2:smooth_sky_stone_block', + 'ae2:sky_stone_brick', + 'ae2:sky_stone_small_brick', + 'ae2:sky_stone_chest', + 'ae2:smooth_sky_stone_chest', + 'ae2:sky_stone_tank', + 'ae2:mysterious_cube', + 'ae2:not_so_mysterious_cube', + 'ae2:sky_stone_stairs', + 'ae2:smooth_sky_stone_stairs', + 'ae2:sky_stone_brick_stairs', + 'ae2:sky_stone_small_brick_stairs', + 'ae2:sky_stone_slab', + 'ae2:smooth_sky_stone_slab', + 'ae2:sky_stone_brick_slab', + 'ae2:sky_stone_small_brick_slab', + 'ae2:sky_stone_wall', + 'ae2:smooth_sky_stone_wall', + 'ae2:sky_stone_brick_wall', + 'ae2:sky_stone_small_brick_wall', + //certus quartz crystal + 'ae2:certus_quartz_crystal', + //compass + 'ae2:meteorite_compass', + //blocks + 'ae2:vibration_chamber', + 'ae2:crank', + 'ae2:charger', + 'ae2:spatial_anchor', + 'ae2:inscriber', + //dust + 'ae2:silicon', + 'ae2:certus_quartz_dust', + 'ae2:sky_dust', + 'ae2:ender_dust', + 'ae2:certus_quartz_dust', + ]; // Glass Cable From 07af2561072581541421a0a8d6753993f119d20d Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 5 Dec 2023 17:29:03 +0200 Subject: [PATCH 17/21] =?UTF-8?q?=D0=B2=D1=8B=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B8=D0=BB=20=D0=BA=D1=80=D0=B0=D1=84=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kubejs/server_scripts/ae2/recipes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 0be8e32b5..11b4e8059 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -3,7 +3,7 @@ const registerAE2Recipes = (event) => { // Удаление рецептов мода - //event.remove({ mod: 'ae2' }); + event.remove({ mod: 'ae2' }); // crafting Table // ae2:cable_anchor From eaaacc2c1879b1c031464a9aa76c181060858407 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 5 Dec 2023 21:32:07 +0200 Subject: [PATCH 18/21] =?UTF-8?q?=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kubejs/server_scripts/ae2/recipes.js | 301 ++++++++++++++++++------ kubejs/startup_scripts/ae2/constants.js | 75 +++--- 2 files changed, 273 insertions(+), 103 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 11b4e8059..cd8abe841 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -3,14 +3,9 @@ const registerAE2Recipes = (event) => { // Удаление рецептов мода - event.remove({ mod: 'ae2' }); + //event.remove({ mod: 'ae2' }); // crafting Table - // ae2:cable_anchor - event.shapeless(('ae2:cable_anchor'), [ - '#forge:ingots', - '#ae2:knife' - ]) // network tool event.shaped('ae2:network_tool', [ 'AB', @@ -130,6 +125,13 @@ const registerAE2Recipes = (event) => { C: 'ae2:logic_processor', D: '#forge:gems/fluix' }); + //'ae2:void_card' + event.shapeless('ae2:void_card', ['ae2:basic_card','ae2:calculation_processor']); + //'ae2:equal_distribution_card' + event.shapeless('ae2:equal_distribution_card', ['ae2:advanced_card','ae2:calculation_processor']); + //'ae2:energy_card' + event.shapeless('ae2:energy_card', ['ae2:advanced_card','2x ae2:dense_energy_cell'] + ); // Quartz Fixture event.shapeless(('ae2:quartz_fixture'), @@ -277,10 +279,6 @@ const registerAE2Recipes = (event) => { D: 'ae2:calculation_processor', E: 'ae2:charged_certus_quartz_crystal' }); - - // Очистка шаблона - //event.shapeless('ae2:blank_pattern', ['ae2:crafting_pattern']); - // P2P Tunnel event.shaped('2x ae2:me_p2p_tunnel', [ 'ABA', @@ -319,28 +317,6 @@ const registerAE2Recipes = (event) => { E: '#forge:plates/titanium' }); - // certus quartz cutting knife - event.shaped('ae2:certus_quartz_cutting_knife', [ - ' A', - 'BA ', - 'CC ' - ], { - A: '#tfc:can_be_lit_on_torch', - B: '#forge:rods/iron', - C: '#forge:gems/certus_quartz' - }); - - // nether quartz cutting knife' - event.shaped('ae2:nether_quartz_cutting_knife', [ - ' A', - 'BA ', - 'CC ' - ], { - A: '#tfc:can_be_lit_on_torch', - B: '#forge:rods/iron', - C: '#forge:gems/nether_quartz' - }); - // Spatial Pylon event.shaped('ae2:spatial_pylon', [ 'ABA', @@ -422,7 +398,9 @@ const registerAE2Recipes = (event) => { //cable pattern provider event.shapeless('ae2:pattern_provider', ['ae2:cable_pattern_provider']); event.shapeless('ae2:cable_pattern_provider', ['ae2:pattern_provider']); - + //toggle_bus + event.shapeless('ae2:toggle_bus', ['ae2:inverted_toggle_bus']); + event.shapeless('ae2:inverted_toggle_bus', ['ae2:toggle_bus']); // ME Annihilation Plane event.shaped('ae2:annihilation_plane', [ @@ -503,6 +481,19 @@ const registerAE2Recipes = (event) => { F: '#forge:plates/steel', G: 'ae2:engineering_processor' }); + + //matter cannon + event.shaped('ae2:matter_cannon',[ + 'AAB', + 'CD ', + 'A ' + ], { + A: '#forge:plates/steel', + B: 'ae2:formation_core', + C: 'ae2:cell_component_4k', + D: 'ae2:dense_energy_cell' + }); + //assembler //glass cable @@ -1584,6 +1575,45 @@ const registerAE2Recipes = (event) => { .duration(20) .EUt(7) }; + //paint ball + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_PAINTBALL[i]+'gtceudye') + .itemInputs('8x ae2:matter_ball') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 36)) + .itemOutputs(global.AE2_PAINTBALL[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_PAINTBALL[i]+'tfcdye') + .itemInputs('8x ae2:matter_ball') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 125)) + .itemOutputs(global.AE2_PAINTBALL[i]) + .duration(20) + .EUt(7) + }; + + //lumen paint ball + //greg dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_LUMEN_PAINTBALL[i]+'gtceudye') + .itemInputs('8x ae2:matter_ball') + .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 36)) + .itemOutputs(global.AE2_LUMEN_PAINTBALL[i]) + .duration(20) + .EUt(7) + }; + //tfc dye + for (var i = 0; i < 16; i++) { + event.recipes.gtceu.chemical_bath(global.AE2_LUMEN_PAINTBALL[i]+'tfcdye') + .itemInputs('8x ae2:matter_ball') + .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 125)) + .itemOutputs(global.AE2_LUMEN_PAINTBALL[i]) + .duration(20) + .EUt(7) + }; // laser_engraver // Inscriber Silicon Press @@ -1619,8 +1649,10 @@ const registerAE2Recipes = (event) => { .EUt(116) // // -// НЕ ЗАБЫТЬ СДЕЛАТЬ FLUIX LENS ДЛЯ КРАФТА НИЖЕ (В 1 12 в крафте используется fluix lens) -// так же надеюсь ты не забыл сделать жидкости для истин кварц и fluix, для крафта fluix pearl, fluix glass cable, fluix plate +// НЕ ЗАБЫТЬ СДЕЛАТЬ FLUIX LENS ДЛЯ КРАФТА НИЖЕ +// (В 1 12 в крафте используется fluix lens) +// так же надеюсь ты не забыл сделать жидкости +//для истин кварц и fluix, для крафта fluix pearl, fluix glass cable, fluix plate // сделать роды для quartz fiber // mixer.autoclave. // Inscriber engineering Press @@ -1721,7 +1753,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:view_cell') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:item_storage_cell_1k') .itemInputs( @@ -1730,7 +1762,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:item_storage_cell_1k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:item_storage_cell_4k') .itemInputs( @@ -1739,7 +1771,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:item_storage_cell_4k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:item_storage_cell_16k') .itemInputs( @@ -1748,7 +1780,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:item_storage_cell_16k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:item_storage_cell_64k') .itemInputs( @@ -1757,7 +1789,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:item_storage_cell_64k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:item_storage_cell_256k') .itemInputs( @@ -1766,7 +1798,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:item_storage_cell_256k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:fluid_storage_cell_1k') @@ -1776,7 +1808,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:fluid_storage_cell_1k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:fluid_storage_cell_4k') .itemInputs( @@ -1785,7 +1817,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:fluid_storage_cell_4k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:fluid_storage_cell_16k') .itemInputs( @@ -1794,7 +1826,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:fluid_storage_cell_16k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:fluid_storage_cell_64k') .itemInputs( @@ -1803,7 +1835,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:fluid_storage_cell_64k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:fluid_storage_cell_256k') .itemInputs( @@ -1812,7 +1844,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:fluid_storage_cell_256k') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:spatial_storage_cell_2') @@ -1822,7 +1854,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:spatial_storage_cell_2') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:spatial_storage_cell_16') .itemInputs( @@ -1831,7 +1863,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:spatial_storage_cell_16') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:spatial_storage_cell_128') .itemInputs( @@ -1840,7 +1872,7 @@ const registerAE2Recipes = (event) => { .itemOutputs( 'ae2:spatial_storage_cell_128') .duration(10) - .EUt(7) + .EUt(12) .cleanroom(CleanroomType.CLEANROOM) event.recipes.gtceu.packer('ae2:view_cell_back') @@ -1851,7 +1883,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', '#forge:gems/certus_quartz') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:item_storage_cell_1k_back') .itemInputs( @@ -1860,7 +1892,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:cell_component_1k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:item_storage_cell_4k_back') .itemInputs( 'ae2:item_storage_cell_4k') @@ -1868,7 +1900,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:cell_component_4k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:item_storage_cell_16k_back') .itemInputs( 'ae2:item_storage_cell_16k') @@ -1876,7 +1908,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:cell_component_16k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:item_storage_cell_64k_back') .itemInputs( 'ae2:item_storage_cell_64k') @@ -1884,7 +1916,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:cell_component_64k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:item_storage_cell_256k_back') .itemInputs( 'ae2:item_storage_cell_256k') @@ -1892,7 +1924,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:cell_component_256k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:fluid_storage_cell_1k_back') .itemInputs( @@ -1901,7 +1933,7 @@ const registerAE2Recipes = (event) => { 'ae2:fluid_cell_housing', 'ae2:cell_component_1k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:fluid_storage_cell_4k_back') .itemInputs( 'ae2:fluid_storage_cell_4k') @@ -1909,7 +1941,7 @@ const registerAE2Recipes = (event) => { 'ae2:fluid_cell_housing', 'ae2:cell_component_4k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:fluid_storage_cell_16k_back') .itemInputs( 'ae2:fluid_storage_cell_16k') @@ -1917,7 +1949,7 @@ const registerAE2Recipes = (event) => { 'ae2:fluid_cell_housing', 'ae2:cell_component_16k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:fluid_storage_cell_64k_back') .itemInputs( 'ae2:fluid_storage_cell_64k') @@ -1925,7 +1957,7 @@ const registerAE2Recipes = (event) => { 'ae2:fluid_cell_housing', 'ae2:cell_component_64k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:fluid_storage_cell_256k_back') .itemInputs( 'ae2:fluid_storage_cell_256k') @@ -1933,7 +1965,7 @@ const registerAE2Recipes = (event) => { 'ae2:fluid_cell_housing', 'ae2:cell_component_256k') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:spatial_storage_cell_2_back') .itemInputs( @@ -1942,7 +1974,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:spatial_cell_component_2') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:spatial_storage_cell_16_back') .itemInputs( 'ae2:spatial_storage_cell_16') @@ -1950,7 +1982,7 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:spatial_cell_component_16') .duration(10) - .EUt(7) + .EUt(12) event.recipes.gtceu.packer('ae2:spatial_storage_cell_128_back') .itemInputs( 'ae2:spatial_storage_cell_128') @@ -1958,17 +1990,154 @@ const registerAE2Recipes = (event) => { 'ae2:item_cell_housing', 'ae2:spatial_cell_component_128') .duration(10) - .EUt(7) - + .EUt(12) + + //crafting storage + event.recipes.gtceu.packer('ae2:crafting_accelerator') + .itemInputs( + 'ae2:crafting_unit', + 'ae2:engineering_processor') + .itemOutputs( + 'ae2:crafting_accelerator') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:1k_crafting_storage') + .itemInputs( + 'ae2:crafting_unit', + 'ae2:cell_component_1k') + .itemOutputs( + 'ae2:1k_crafting_storage') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:4k_crafting_storage') + .itemInputs( + 'ae2:crafting_unit', + 'ae2:cell_component_4k') + .itemOutputs( + 'ae2:4k_crafting_storage') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:16k_crafting_storage') + .itemInputs( + 'ae2:crafting_unit', + 'ae2:cell_component_16k') + .itemOutputs( + 'ae2:16k_crafting_storage') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:64k_crafting_storage') + .itemInputs( + 'ae2:crafting_unit', + 'ae2:cell_component_64k') + .itemOutputs( + 'ae2:64k_crafting_storage') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:256k_crafting_storage') + .itemInputs( + 'ae2:crafting_unit', + 'ae2:cell_component_256k') + .itemOutputs( + 'ae2:256k_crafting_storage') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:crafting_monitor') + .itemInputs( + 'ae2:crafting_unit', + 'ae2:storage_monitor') + .itemOutputs( + 'ae2:crafting_monitor') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:crafting_accelerator_back') + .itemInputs( + 'ae2:crafting_accelerator') + .itemOutputs( + 'ae2:crafting_unit', + 'ae2:engineering_processor') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:1k_crafting_storage_back') + .itemInputs( + 'ae2:1k_crafting_storage') + .itemOutputs( + 'ae2:crafting_unit', + 'ae2:cell_component_1k') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:4k_crafting_storage_back') + .itemInputs( + 'ae2:4k_crafting_storage') + .itemOutputs( + 'ae2:crafting_unit', + 'ae2:cell_component_4k') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:16k_crafting_storage_back') + .itemInputs( + 'ae2:16k_crafting_storage') + .itemOutputs( + 'ae2:crafting_unit', + 'ae2:cell_component_16k') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:64k_crafting_storage_back') + .itemInputs( + 'ae2:64k_crafting_storage') + .itemOutputs( + 'ae2:crafting_unit', + 'ae2:cell_component_64k') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:256k_crafting_storage_back') + .itemInputs( + 'ae2:256k_crafting_storage') + .itemOutputs( + 'ae2:crafting_unit', + 'ae2:cell_component_256k') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) + event.recipes.gtceu.packer('ae2:crafting_monitor_back') + .itemInputs( + 'ae2:crafting_monitor') + .itemOutputs( + 'ae2:crafting_unit', + 'ae2:storage_monitor') + .duration(10) + .EUt(12) + .cleanroom(CleanroomType.CLEANROOM) //macerator event.recipes.gtceu.macerator('ae2:fluix_dust') .itemInputs( '#forge:gems/fluix') .itemOutputs( 'ae2:fluix_dust') - .duration(10) - .EUt(7) + .duration(56) + .EUt(2) + //extruder + event.recipes.gtceu.extruder('ae2:cable_anchor') + .itemInputs( + '#forge:plates/steel') + .notConsumable( + 'gtceu:bolt_extruder_mold') + .itemOutputs( + '8x ae2:cable_anchor') + .duration(15) + .EUt(120) } diff --git a/kubejs/startup_scripts/ae2/constants.js b/kubejs/startup_scripts/ae2/constants.js index 17a8e4dfd..bf6738818 100644 --- a/kubejs/startup_scripts/ae2/constants.js +++ b/kubejs/startup_scripts/ae2/constants.js @@ -22,6 +22,8 @@ global.AE2_DISABLED_ITEMS = [ 'ae2:fluix_pickaxe', 'ae2:entropy_manipulator', 'ae2:charged_staff', + '#ae2:knife', + 'ae2:name_press', //budding '#forge:buds', 'ae2:flawless_budding_quartz', @@ -61,6 +63,7 @@ global.AE2_DISABLED_ITEMS = [ 'ae2:charger', 'ae2:spatial_anchor', 'ae2:inscriber', + 'ae2:growth_accelerator', //dust 'ae2:silicon', 'ae2:certus_quartz_dust', @@ -170,45 +173,43 @@ global.AE2_SMART_DENSE_CABLE = [ 'ae2:black_smart_dense_cable', ] -/* + // 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) +global.AE2_PAINTBALL = [ + 'ae2:white_paint_ball', + 'ae2:orange_paint_ball', + 'ae2:magenta_paint_ball', + 'ae2:light_blue_paint_ball', + 'ae2:yellow_paint_ball', + 'ae2:lime_paint_ball', + 'ae2:pink_paint_ball', + 'ae2:gray_paint_ball', + 'ae2:light_gray_paint_ball', + 'ae2:cyan_paint_ball', + 'ae2:purple_paint_ball', + 'ae2:blue_paint_ball', + 'ae2:brown_paint_ball', + 'ae2:green_paint_ball', + 'ae2:red_paint_ball', + 'ae2:black_paint_ball', ] - // 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) +global.AE2_LUMEN_PAINTBALL = [ + 'ae2:white_lumen_paint_ball', + 'ae2:orange_lumen_paint_ball', + 'ae2:magenta_lumen_paint_ball', + 'ae2:light_blue_lumen_paint_ball', + 'ae2:yellow_lumen_paint_ball', + 'ae2:lime_lumen_paint_ball', + 'ae2:pink_lumen_paint_ball', + 'ae2:gray_lumen_paint_ball', + 'ae2:light_gray_lumen_paint_ball', + 'ae2:cyan_lumen_paint_ball', + 'ae2:purple_lumen_paint_ball', + 'ae2:blue_lumen_paint_ball', + 'ae2:brown_lumen_paint_ball', + 'ae2:green_lumen_paint_ball', + 'ae2:red_lumen_paint_ball', + 'ae2:black_lumen_paint_ball', ] -*/ From 528326602684c4c9d3e8737c26d33c3080c1dc69 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 5 Dec 2023 22:12:38 +0200 Subject: [PATCH 19/21] Update recipes.js --- kubejs/server_scripts/ae2/recipes.js | 46 ++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index cd8abe841..5fa96abf9 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -493,6 +493,17 @@ const registerAE2Recipes = (event) => { C: 'ae2:cell_component_4k', D: 'ae2:dense_energy_cell' }); + //color applicator + event.shaped('ae2:color_applicator',[ + 'AB', + 'BC ', + ' D' + ], { + A: 'ae2:formation_core', + B: '#forge:plates/steel', + C: 'ae2:cell_component_4k', + D: 'ae2:dense_energy_cell' + }); //assembler @@ -2129,6 +2140,7 @@ const registerAE2Recipes = (event) => { .EUt(2) //extruder + //cable anchor event.recipes.gtceu.extruder('ae2:cable_anchor') .itemInputs( '#forge:plates/steel') @@ -2138,7 +2150,37 @@ const registerAE2Recipes = (event) => { '8x ae2:cable_anchor') .duration(15) .EUt(120) - - + + //assembly line + //quantum ring + event.recipes.gtceu.assembly_line('ae2:quantum_ring') + .itemInputs( + '4x #forge:batteries/hv', + '12x #forge:circuits/iv', + '16x gtceu:iv_emitter', + '8x ae2:engineering_processor', + '14x gtceu:iv_sensor', + '2x ae2:dense_energy_cell', + 'ae2:logic_processor',) + .inputFluids(Fluid.of('gtceu:titanium', 1440)) + .itemOutputs( + 'ae2:quantum_ring') + .duration(900) + .EUt(8300) + .cleanroom(CleanroomType.CLEANROOM) + //quantom link chamber + event.recipes.gtceu.assembly_line('ae2:quantum_link') + .itemInputs( + '8x ae2:fluix_pearl', + '6x ae2:quartz_vibrant_glass', + '8x ae2:engineering_processor', + '14x gtceu:iv_sensor', + '2x ae2:dense_energy_cell') + .inputFluids(Fluid.of('gtceu:titanium', 1088)) + .itemOutputs( + 'ae2:quantum_link') + .duration(700) + .EUt(8300) + .cleanroom(CleanroomType.CLEANROOM) } From 35e0f0cc5ad1b323c283fc0942aa3ad17e0017c8 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Tue, 5 Dec 2023 23:27:41 +0200 Subject: [PATCH 20/21] decoration blocksz+craft fixs --- kubejs/server_scripts/ae2/recipes.js | 241 ++++++++++++++++++++++++--- 1 file changed, 218 insertions(+), 23 deletions(-) diff --git a/kubejs/server_scripts/ae2/recipes.js b/kubejs/server_scripts/ae2/recipes.js index 5fa96abf9..4fc301455 100644 --- a/kubejs/server_scripts/ae2/recipes.js +++ b/kubejs/server_scripts/ae2/recipes.js @@ -3,7 +3,7 @@ const registerAE2Recipes = (event) => { // Удаление рецептов мода - //event.remove({ mod: 'ae2' }); + event.remove({ mod: 'ae2' }); // crafting Table // network tool @@ -143,7 +143,7 @@ const registerAE2Recipes = (event) => { // Light Detecting Fixture event.shapeless(('ae2:light_detector'), [ - 'ae2:certus_quartz_crystal', + 'gtceu:certus_quartz_gem', '#forge:rods/iron' ]) @@ -495,16 +495,221 @@ const registerAE2Recipes = (event) => { }); //color applicator event.shaped('ae2:color_applicator',[ - 'AB', - 'BC ', - ' D' + 'ABA', + 'CDC', + ' E ' ], { - A: 'ae2:formation_core', - B: '#forge:plates/steel', + A: '#forge:wires/single/aluminium', + B: 'ae2:formation_core', C: 'ae2:cell_component_4k', - D: 'ae2:dense_energy_cell' + D: 'ae2:dense_energy_cell', + E: '#forge:rods/steel', }); + //decoration blocks(stonecutter+crafting+smelting) + //blocks + event.shaped('4x ae2:cut_quartz_block',[ + 'AA', + 'AA', + ], { + A: 'ae2:quartz_block' + }); + event.stonecutting('ae2:cut_quartz_block', 'ae2:quartz_block'); + event.smelting('ae2:smooth_quartz_block', 'ae2:cut_quartz_block'); + + event.shaped('4x ae2:quartz_bricks',[ + 'AA', + 'AA', + ], { + A: 'ae2:cut_quartz_block' + }); + event.stonecutting('ae2:quartz_bricks', 'ae2:cut_quartz_block'); + + event.shaped('2x ae2:quartz_pillar',[ + 'A', + 'A', + ], { + A: 'ae2:cut_quartz_block' + }); + event.stonecutting('ae2:quartz_pillar', 'ae2:cut_quartz_block'); + + event.shaped('ae2:chiseled_quartz_block',[ + 'A', + 'A', + ], { + A: 'ae2:cut_quartz_slab' + }); + event.stonecutting('ae2:chiseled_quartz_block', 'ae2:cut_quartz_block'); + + //stairs + event.shaped('4x ae2:quartz_stairs',[ + 'A ', + 'AA ', + 'AAA' + ], { + A: 'ae2:quartz_block' + }); + event.stonecutting('ae2:quartz_stairs', 'ae2:quartz_block'); + + event.shaped('4x ae2:cut_quartz_stairs',[ + 'A ', + 'AA ', + 'AAA' + ], { + A: 'ae2:cut_quartz_block' + }); + event.stonecutting('ae2:cut_quartz_stairs', 'ae2:cut_quartz_block'); + + event.shaped('4x ae2:smooth_quartz_stairs',[ + 'A ', + 'AA ', + 'AAA' + ], { + A: 'ae2:smooth_quartz_block' + }); + event.stonecutting('ae2:smooth_quartz_stairs', 'ae2:smooth_quartz_block'); + + event.shaped('4x ae2:quartz_brick_stairs',[ + 'A ', + 'AA ', + 'AAA' + ], { + A: 'ae2:quartz_bricks' + }); + event.stonecutting('ae2:quartz_brick_stairs', 'ae2:quartz_bricks'); + + event.shaped('4x ae2:chiseled_quartz_stairs',[ + 'A ', + 'AA ', + 'AAA' + ], { + A: 'ae2:quartz_pillar' + }); + event.stonecutting('ae2:chiseled_quartz_stairs', 'ae2:quartz_pillar'); + + event.shaped('4x ae2:quartz_pillar_stairs',[ + 'A ', + 'AA ', + 'AAA' + ], { + A: 'ae2:chiseled_quartz_block' + }); + event.stonecutting('ae2:quartz_pillar_stairs', 'ae2:chiseled_quartz_block'); + + event.shaped('4x ae2:fluix_stairs',[ + 'A ', + 'AA ', + 'AAA' + ], { + A: 'ae2:fluix_block' + }); + event.stonecutting('ae2:fluix_stairs', 'ae2:fluix_block'); + + //walls + event.shaped('6x ae2:quartz_wall',[ + 'AAA', + 'AAA', + ], { + A: 'ae2:quartz_block' + }); + event.stonecutting('ae2:quartz_wall', 'ae2:quartz_block'); + + event.shaped('6x ae2:cut_quartz_wall',[ + 'AAA', + 'AAA', + ], { + A: 'ae2:cut_quartz_block' + }); + event.stonecutting('ae2:cut_quartz_wall', 'ae2:cut_quartz_block'); + + event.shaped('6x ae2:smooth_quartz_wall',[ + 'AAA', + 'AAA', + ], { + A: 'ae2:smooth_quartz_block' + }); + event.stonecutting('ae2:smooth_quartz_wall', 'ae2:smooth_quartz_block'); + + event.shaped('6x ae2:quartz_brick_wall',[ + 'AAA', + 'AAA', + ], { + A: 'ae2:quartz_bricks' + }); + event.stonecutting('ae2:quartz_brick_wall', 'ae2:quartz_bricks'); + + event.shaped('6x ae2:chiseled_quartz_wall',[ + 'AAA', + 'AAA', + ], { + A: 'ae2:quartz_pillar' + }); + event.stonecutting('ae2:chiseled_quartz_wall', 'ae2:quartz_pillar'); + + event.shaped('6x ae2:quartz_pillar_wall',[ + 'AAA', + 'AAA', + ], { + A: 'ae2:chiseled_quartz_block' + }); + event.stonecutting('ae2:quartz_pillar_wall', 'ae2:chiseled_quartz_block'); + + event.shaped('6x ae2:fluix_wall',[ + 'AAA', + 'AAA', + ], { + A: 'ae2:fluix_block' + }); + event.stonecutting('ae2:fluix_wall', 'ae2:fluix_block'); + //slabs + event.shaped('6x ae2:quartz_slab',[ + 'AAA', + ], { + A: 'ae2:quartz_block' + }); + event.stonecutting('2x ae2:quartz_slab', 'ae2:quartz_block'); + + event.shaped('6x ae2:cut_quartz_slab',[ + 'AAA', + ], { + A: 'ae2:cut_quartz_block' + }); + event.stonecutting('2x ae2:cut_quartz_slab', 'ae2:cut_quartz_block'); + + event.shaped('6x ae2:smooth_quartz_slab',[ + 'AAA', + ], { + A: 'ae2:smooth_quartz_block' + }); + event.stonecutting('2x ae2:smooth_quartz_slab', 'ae2:smooth_quartz_block'); + + event.shaped('6x ae2:quartz_brick_slab',[ + 'AAA', + ], { + A: 'ae2:quartz_bricks' + }); + event.stonecutting('2x ae2:quartz_brick_slab', 'ae2:quartz_bricks'); + + event.shaped('6x ae2:chiseled_quartz_slab',[ + 'AAA', + ], { + A: 'ae2:quartz_pillar' + }); + event.stonecutting('2x ae2:chiseled_quartz_slab', 'ae2:quartz_pillar'); + + event.shaped('6x ae2:quartz_pillar_slab',[ + 'AAA', + ], { + A: 'ae2:chiseled_quartz_block' + }); + event.stonecutting('2x ae2:quartz_pillar_slab', 'ae2:chiseled_quartz_block'); + + event.shaped('6x ae2:fluix_slab',[ + 'AAA', + ], { + A: 'ae2:fluix_block' + }); + event.stonecutting('2x ae2:fluix_slab', 'ae2:fluix_block'); //assembler //glass cable @@ -1590,7 +1795,7 @@ const registerAE2Recipes = (event) => { //greg dye for (var i = 0; i < 16; i++) { event.recipes.gtceu.chemical_bath(global.AE2_PAINTBALL[i]+'gtceudye') - .itemInputs('8x ae2:matter_ball') + .itemInputs('ae2:matter_ball') .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 36)) .itemOutputs(global.AE2_PAINTBALL[i]) .duration(20) @@ -1599,7 +1804,7 @@ const registerAE2Recipes = (event) => { //tfc dye for (var i = 0; i < 16; i++) { event.recipes.gtceu.chemical_bath(global.AE2_PAINTBALL[i]+'tfcdye') - .itemInputs('8x ae2:matter_ball') + .itemInputs('ae2:matter_ball') .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 125)) .itemOutputs(global.AE2_PAINTBALL[i]) .duration(20) @@ -1607,20 +1812,10 @@ const registerAE2Recipes = (event) => { }; //lumen paint ball - //greg dye for (var i = 0; i < 16; i++) { event.recipes.gtceu.chemical_bath(global.AE2_LUMEN_PAINTBALL[i]+'gtceudye') - .itemInputs('8x ae2:matter_ball') - .inputFluids(Fluid.of(global.GTCEU_LIQUID_DYE[i], 36)) - .itemOutputs(global.AE2_LUMEN_PAINTBALL[i]) - .duration(20) - .EUt(7) - }; - //tfc dye - for (var i = 0; i < 16; i++) { - event.recipes.gtceu.chemical_bath(global.AE2_LUMEN_PAINTBALL[i]+'tfcdye') - .itemInputs('8x ae2:matter_ball') - .inputFluids(Fluid.of(global.TFC_LIQUID_DYE[i], 125)) + .itemInputs(global.AE2_PAINTBALL[i]) + .inputFluids(Fluid.of('gtceu:glowstone', 125)) .itemOutputs(global.AE2_LUMEN_PAINTBALL[i]) .duration(20) .EUt(7) @@ -1740,7 +1935,7 @@ const registerAE2Recipes = (event) => { //quartz block event.recipes.gtceu.compressor('ae2:quartz_block') .itemInputs( - '9x gtceu:certus_quartz_gem') + '4x gtceu:certus_quartz_gem') .itemOutputs( 'ae2:quartz_block') .duration(300) From 1b0d51fa657b48915ebbb593777e9f8ac2338860 Mon Sep 17 00:00:00 2001 From: FriendlyCube Date: Wed, 6 Dec 2023 15:31:55 +0200 Subject: [PATCH 21/21] =?UTF-8?q?=D1=87=D1=83=D1=82=D0=BE=D1=87=D0=BA?= =?UTF-8?q?=D1=83=20=D0=B3*=D0=B2=D0=BD=D0=BE=D0=BA=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit главное признать свои ошибки --- .../textures/item/certus_quartz_rod.png | Bin 0 -> 195 bytes .../textures/item/nether_quartz_rod.png | Bin 0 -> 195 bytes kubejs/server_scripts/ae2/recipes.js | 46 ++++++++++++++++-- kubejs/server_scripts/ae2/tags.js | 10 ++++ kubejs/server_scripts/main_server_script.js | 1 + kubejs/startup_scripts/ae2/fluid.js | 9 ++++ kubejs/startup_scripts/ae2/items.js | 12 +++++ kubejs/startup_scripts/main_startup_script.js | 8 +++ 8 files changed, 82 insertions(+), 4 deletions(-) create mode 100644 kubejs/assets/kubejs/textures/item/certus_quartz_rod.png create mode 100644 kubejs/assets/kubejs/textures/item/nether_quartz_rod.png create mode 100644 kubejs/server_scripts/ae2/tags.js create mode 100644 kubejs/startup_scripts/ae2/fluid.js create mode 100644 kubejs/startup_scripts/ae2/items.js diff --git a/kubejs/assets/kubejs/textures/item/certus_quartz_rod.png b/kubejs/assets/kubejs/textures/item/certus_quartz_rod.png new file mode 100644 index 0000000000000000000000000000000000000000..2871bec935e44a6004216a9aaff875a50d0ac128 GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z)(R0gxzon{Qv&$>u9oKI_F6WAoVp7F?yp34kLxyP~?G|iGF x9Qx9xw3w8?`}JRe@rjF*kDIcV;zMH&2A9|fL1j(t5C#SY22WQ%mvv4FO#r;&M5h1% literal 0 HcmV?d00001 diff --git a/kubejs/assets/kubejs/textures/item/nether_quartz_rod.png b/kubejs/assets/kubejs/textures/item/nether_quartz_rod.png new file mode 100644 index 0000000000000000000000000000000000000000..9feeaf7d38fd9af69a33c4168436aa1c2c1b7e09 GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s77>k44ofy`glX=O&z)a zLuOcTP|}S}>HIg+B5nw#GMLToG-H^4) { .circuit(1) .duration(20) .EUt(480) + event.recipes.gtceu.assembler('fluix_glass_cable_fluixfluid') + .itemInputs( + '2x #forge:rods/aluminium', + '3x ae2:quartz_fiber',) + .inputFluids(Fluid.of('kubejs:fluix', 144)) + .itemOutputs('ae2:fluix_glass_cable') + .circuit(1) + .duration(20) + .EUt(480) //covered cable event.recipes.gtceu.assembler('fluix_covered_cable_rubber') @@ -1896,12 +1905,18 @@ const registerAE2Recipes = (event) => { //wiremill // Quartz Fiber - event.recipes.gtceu.wiremill('ae2:quartz_fiber') + event.recipes.gtceu.wiremill('ae2:quartz_fiber_certus') .itemInputs( - '#forge:plates/certus_quartz') + '#forge:rods/certus_quartz') .itemOutputs('ae2:quartz_fiber') - .duration(20) - .EUt(480) + .duration(200) + .EUt(7) + event.recipes.gtceu.wiremill('ae2:quartz_fiber_nether') + .itemInputs( + '#forge:rods/nether_quartz') + .itemOutputs('ae2:quartz_fiber') + .duration(200) + .EUt(7) //alloy smelter @@ -2377,5 +2392,28 @@ const registerAE2Recipes = (event) => { .duration(700) .EUt(8300) .cleanroom(CleanroomType.CLEANROOM) + + //chemical reactor + event.recipes.gtceu.chemical_reactor('ae2:fluix_pearl') + .itemInputs( + '4x #forge:gems/fluix') + .inputFluids(Fluid.of('kubejs:fluix', 576)) + .itemOutputs( + 'ae2:fluix_pearl') + .duration(200) + .EUt(480) + .cleanroom(CleanroomType.CLEANROOM) + + //lathe + //certus quartz rod + event.recipes.gtceu.lathe('kubejs:certus_quartz_to_rod') + .itemInputs( + 'gtceu:certus_quartz_gem') + .itemOutputs( + '2x kubejs:rods/certus_quartz') + .duration(40) + .EUt(16) + + } diff --git a/kubejs/server_scripts/ae2/tags.js b/kubejs/server_scripts/ae2/tags.js new file mode 100644 index 000000000..af000bbe8 --- /dev/null +++ b/kubejs/server_scripts/ae2/tags.js @@ -0,0 +1,10 @@ +// priority: 0 + +const registerAE2Tags = (event) => { + //certus_quartz + event.add('forge:rods/certus_quartz', 'kubejs:rods/certus_quartz'); + event.add('forge:rods', 'kubejs:rods/certus_quartz'); + //nether_quartz + event.add('forge:rods/nether_quartz', 'kubejs:rods/nether_quartz'); + event.add('forge:rods', 'kubejs:rods/nether_quartz'); +} diff --git a/kubejs/server_scripts/main_server_script.js b/kubejs/server_scripts/main_server_script.js index 0a69f0ef7..b01c900bc 100644 --- a/kubejs/server_scripts/main_server_script.js +++ b/kubejs/server_scripts/main_server_script.js @@ -7,6 +7,7 @@ ServerEvents.tags('item', event => { registerMinecraftItemTags(event) registerTFCItemTags(event) registerCreateTags(event) + registerAE2Tags(event) }) /** diff --git a/kubejs/startup_scripts/ae2/fluid.js b/kubejs/startup_scripts/ae2/fluid.js new file mode 100644 index 000000000..3b1c66791 --- /dev/null +++ b/kubejs/startup_scripts/ae2/fluid.js @@ -0,0 +1,9 @@ +// priority: 0 + +const registerAE2Liquids = (event) => { + event.create('fluix') + .displayName('Liquid Fluix') + .thickTexture(0x57448d) + .bucketColor(0x46396d) + .noBlock() +}; \ No newline at end of file diff --git a/kubejs/startup_scripts/ae2/items.js b/kubejs/startup_scripts/ae2/items.js new file mode 100644 index 000000000..f38399036 --- /dev/null +++ b/kubejs/startup_scripts/ae2/items.js @@ -0,0 +1,12 @@ +// priority: 0 + +const registerAE2Items = (event) => { + event.create('rods/certus_quartz') + .displayName('Certus Quartz Rod') + .maxStackSize(32) + .texture("kubejs:item/certus_quartz_rod"); + event.create('rods/nether_quartz') + .displayName('Nether Quartz Rod') + .maxStackSize(32) + .texture("kubejs:item/nether_quartz_rod") +}; \ No newline at end of file diff --git a/kubejs/startup_scripts/main_startup_script.js b/kubejs/startup_scripts/main_startup_script.js index 29072eab9..0b002f8b9 100644 --- a/kubejs/startup_scripts/main_startup_script.js +++ b/kubejs/startup_scripts/main_startup_script.js @@ -5,6 +5,7 @@ */ StartupEvents.registry('item', (event) => { registerCreateItems(event); + registerAE2Items(event); }) /** @@ -12,4 +13,11 @@ StartupEvents.registry('item', (event) => { */ StartupEvents.registry('block', (event) => { +}) + +/** + * Событие регистрации жидкостей. + */ +StartupEvents.registry('fluid', (event) => { + registerAE2Liquids(event); }) \ No newline at end of file