Включено скрытие предметов из фирмалайф

This commit is contained in:
Dmitry 2023-12-15 17:20:12 +07:00
parent 0994092dcd
commit 5d0118b2e3
2 changed files with 22 additions and 0 deletions

View file

@ -26,5 +26,6 @@ REIEvents.removeCategories(event => {
REIEvents.hide('fluid', event => {
hideTFCFluids(event)
hideFirmaLifeFluids(event)
})

View file

@ -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')
}