diff --git a/kubejs/client_scripts/main_client_script.js b/kubejs/client_scripts/main_client_script.js index 7a89f90d9..7340b8717 100644 --- a/kubejs/client_scripts/main_client_script.js +++ b/kubejs/client_scripts/main_client_script.js @@ -26,5 +26,6 @@ REIEvents.removeCategories(event => { REIEvents.hide('fluid', event => { hideTFCFluids(event) + hideFirmaLifeFluids(event) }) diff --git a/kubejs/client_scripts/mods/firmalife.js b/kubejs/client_scripts/mods/firmalife.js new file mode 100644 index 000000000..8203a744a --- /dev/null +++ b/kubejs/client_scripts/mods/firmalife.js @@ -0,0 +1,21 @@ +// priority: 0 + +const hideFirmaLifeStuff = (event) => { + global.TFC_STONE_TYPES.forEach(stoneTypeName => { + global.TFC_ORE_TYPES.forEach(oreTypeName => { + global.FIRMALIFE_ORE_MATERIALS.forEach(oreMaterialName => { + event.hide(`firmalife:ore/${oreTypeName}_${oreMaterialName}/${stoneTypeName}`) + }) + }) + }) + + + global.FIRMALIFE_DISABLED_ITEMS.forEach(item => { + event.hide(item) + }) +} + +const hideFirmaLifeFluids = (event) => { + event.hide('firmalife:metal/chromium') + event.hide('firmalife:metal/stainless_steel') +} \ No newline at end of file