fix ice soup generating free bowls
This commit is contained in:
parent
f5748ac382
commit
3d0cc597a6
3 changed files with 17 additions and 14 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Changes
|
### Changes
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
- Ice soup now requires a bowl to craft, so it doesn't generate free bowls @Pyritie
|
||||||
### Translation updates
|
### Translation updates
|
||||||
|
|
||||||
## [0.10.14] - 14-09-2025
|
## [0.10.14] - 14-09-2025
|
||||||
|
|
|
||||||
|
|
@ -968,7 +968,7 @@ function registerTFGFoodRecipes(event) {
|
||||||
event.recipes.tfc.quern('gtceu:cocoa_dust', 'firmalife:food/roasted_cocoa_beans')
|
event.recipes.tfc.quern('gtceu:cocoa_dust', 'firmalife:food/roasted_cocoa_beans')
|
||||||
.id('tfg:quern/cocoa_dust');
|
.id('tfg:quern/cocoa_dust');
|
||||||
|
|
||||||
event.recipes.tfc.pot(['firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings'],
|
event.recipes.tfc.pot(['#tfc:bowls', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings'],
|
||||||
Fluid.of('minecraft:water', 1000), 20, 10)
|
Fluid.of('minecraft:water', 1000), 20, 10)
|
||||||
.itemOutput('tfg:food/ice_soup')
|
.itemOutput('tfg:food/ice_soup')
|
||||||
.id('tfg:pot/ice_soup')
|
.id('tfg:pot/ice_soup')
|
||||||
|
|
|
||||||
|
|
@ -239,9 +239,11 @@ function registerTFGFoodItems(event) {
|
||||||
event.create('tfg:food/ice_soup')
|
event.create('tfg:food/ice_soup')
|
||||||
.translationKey('item.tfg.food.ice_soup')
|
.translationKey('item.tfg.food.ice_soup')
|
||||||
.texture('tfg:item/food/ice_soup')
|
.texture('tfg:item/food/ice_soup')
|
||||||
.food(food => food.effect('tfg:cooling', 100, 0, 1)
|
.food(food => {
|
||||||
.eaten(ctx => {
|
food.effect('tfg:cooling', 100, 0, 1)
|
||||||
|
food.eaten(ctx => {
|
||||||
ctx.player.give('tfc:ceramic/bowl')
|
ctx.player.give('tfc:ceramic/bowl')
|
||||||
}))
|
})
|
||||||
|
})
|
||||||
// intentionally not tagged as food
|
// intentionally not tagged as food
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue