Включено скрытие предметов из фирмалайф
This commit is contained in:
@@ -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')
|
||||
}
|
||||
Reference in New Issue
Block a user