From f2b13cc65f151e1cc736860fd491597eaca5205f Mon Sep 17 00:00:00 2001 From: radiomike Date: Sun, 30 Oct 2022 11:42:06 +0000 Subject: [PATCH 1/2] FTBic wire and cable unification --- kubejs/server_scripts/mod_specific/ftbic/cable.js | 11 +++++++++++ kubejs/server_scripts/tags.js | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 kubejs/server_scripts/mod_specific/ftbic/cable.js diff --git a/kubejs/server_scripts/mod_specific/ftbic/cable.js b/kubejs/server_scripts/mod_specific/ftbic/cable.js new file mode 100644 index 00000000..9e08a191 --- /dev/null +++ b/kubejs/server_scripts/mod_specific/ftbic/cable.js @@ -0,0 +1,11 @@ +onEvent('recipes', event => { + event.remove({id: 'ftbic:shapeless/lv_cable'}) + event.remove({id: 'ftbic:shapeless/mv_cable'}) + event.remove({id: 'ftbic:shapeless/hv_cable'}) + event.remove({id: 'ftbic:shapeless/ev_cable'}) + + event.shapeless('ftbic:lv_cable', ['#forge:wires/copper', 'ftbic:rubber']).id(`ftbic:lv_cable`) + event.shapeless('ftbic:mv_cable', ['#forge:wires/aluminum', 'ftbic:rubber']).id(`ftbic:mv_cable`) + event.shapeless('ftbic:hv_cable', ['#forge:wires/gold', 'ftbic:rubber']).id(`ftbic:hv_cable`) + event.shapeless('ftbic:ev_cable', ['#forge:wires/enderium', 'ftbic:rubber']).id(`ftbic:ev_cable`) +}) diff --git a/kubejs/server_scripts/tags.js b/kubejs/server_scripts/tags.js index 5f0ec4f8..145cfc17 100644 --- a/kubejs/server_scripts/tags.js +++ b/kubejs/server_scripts/tags.js @@ -35,6 +35,11 @@ onEvent('tags.items', e => { e.add('forge:raw_ores/cobalt', 'tconstruct:raw_cobalt'); e.add('forge:dusts/cobalt', 'kubejs:cobalt_dust'); e.add('forge:dusts/netherite', 'alltheores:netherite_dust'); + e.add('forge:wires/aluminum', 'ftbic:aluminum_wire'); + e.add('forge:wires/copper', 'ftbic:copper_wire'); + e.add('immersiveengineering:circuits/solder', 'ftbic:copper_wire'); + e.add('forge:wires/enderium', 'ftbic:enderium_wire'); + e.add('forge:wires/gold', 'ftbic:gold_wire'); e.add('forge:raw_ores/iridium', 'ftbic:iridium_chunk'); e.remove('forge:silicon', 'ftbic:silicon') From feb0da9ae06d91126f936dadfaf0c8f8a6b803ba Mon Sep 17 00:00:00 2001 From: radiomike Date: Sun, 13 Nov 2022 17:14:35 +0000 Subject: [PATCH 2/2] Add ftb and potionsmaster dusts to ender_pearl tag Add missing cheeses to cheese tag --- kubejs/server_scripts/tags.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kubejs/server_scripts/tags.js b/kubejs/server_scripts/tags.js index 145cfc17..b3f22312 100644 --- a/kubejs/server_scripts/tags.js +++ b/kubejs/server_scripts/tags.js @@ -40,6 +40,7 @@ onEvent('tags.items', e => { e.add('immersiveengineering:circuits/solder', 'ftbic:copper_wire'); e.add('forge:wires/enderium', 'ftbic:enderium_wire'); e.add('forge:wires/gold', 'ftbic:gold_wire'); + e.add('forge:dusts/ender_pearl', [ 'ftbic:ender_dust','potionsmaster:ender_powder']); e.add('forge:raw_ores/iridium', 'ftbic:iridium_chunk'); e.remove('forge:silicon', 'ftbic:silicon') @@ -52,6 +53,8 @@ onEvent('tags.items', e => { 'elementalcraft:receptacle_improved', 'elementalcraft:receptacle_improved_empty' ]) + e.add('forge:cheese',['croptopia:cheese','thermal:cheese_wedge']); + // fix raw block crafting for other mods e.add('forge:raw_ores/zinc', 'create:raw_zinc') mekanismMetals.forEach(metal => e.add(`forge:raw_ores/${metal}`, `mekanism:raw_${metal}`))