This commit is contained in:
Dmitry 2024-02-04 17:33:35 +07:00
parent 1692d1a3f6
commit a923cad437
7 changed files with 82 additions and 23 deletions

View file

@ -0,0 +1,8 @@
// priority: 0
const registerAsticorCartsRecipes = (event) => {
event.remove({ id: 'astikorcarts:animal_cart' })
event.remove({ id: 'astikorcarts:supply_cart' })
event.remove({ id: 'astikorcarts:plow' })
event.remove({ id: 'astikorcarts:wheel' })
}

View file

@ -0,0 +1,16 @@
// priority: 0
const registerAsticorCartsItemTags = (event) => {
global.ASTICOR_CARTS_DISABLED_ITEMS.forEach(item => {
event.removeAllTagsFrom(item)
event.add('c:hidden_from_recipe_viewers', item)
})
}
const registerAsticorCartsBlockTags = (event) => {
global.ASTICOR_CARTS_DISABLED_ITEMS.forEach(item => {
event.removeAllTagsFrom(item)
})
}