Включено скрытие предметов из фирмалайф
This commit is contained in:
parent
0994092dcd
commit
5d0118b2e3
2 changed files with 22 additions and 0 deletions
|
|
@ -26,5 +26,6 @@ REIEvents.removeCategories(event => {
|
|||
|
||||
REIEvents.hide('fluid', event => {
|
||||
hideTFCFluids(event)
|
||||
hideFirmaLifeFluids(event)
|
||||
})
|
||||
|
||||
|
|
|
|||
21
kubejs/client_scripts/mods/firmalife.js
Normal file
21
kubejs/client_scripts/mods/firmalife.js
Normal 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')
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue