Add space foods to tfc:foods

This commit is contained in:
Mqrius 2026-01-18 23:34:31 +01:00
parent 47d44a6b5c
commit d1f1ff212b

View file

@ -21,6 +21,7 @@ function registerTFGFoodItems(event) {
ctx.player.give('tfg:used_foil_pack')
}))
.texture('tfg:item/food/meal_bag')
.tag('tfc:foods')
.tag('tfg:space_food')
// Birt
@ -60,6 +61,7 @@ function registerTFGFoodItems(event) {
event.create(`tfg:food/freeze_dried/${fruit.name}`)
.translationKey(`item.tfg.food.freeze_dried/${fruit.name}`)
.texture(`tfg:item/food/freeze_dried_${fruit.name}`)
.tag('tfc:foods')
.tag('tfg:space_food')
.food(food => food.hunger(4).saturation(1)
.eaten(ctx => {
@ -75,6 +77,7 @@ function registerTFGFoodItems(event) {
ctx.player.give('tfg:used_foil_pack')
}))
.texture('tfg:item/food/calorie_paste')
.tag('tfc:foods')
.tag('tfg:space_food')
// Sunflower seeds