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')
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(4).saturation(2))
|
.food(food => food.hunger(4).saturation(2))
|
||||||
.tag('tfc:foods/grains')
|
.tag('tfc:foods/grains')
|
||||||
.tag('tfc:foods/usable_in_salad')
|
.tag('tfc:foods/usable_in_salad')
|
||||||
|
|
||||||
//Moon Rabbit
|
//Moon Rabbit
|
||||||
event.create('tfg:food/raw_moon_rabbit')
|
event.create('tfg:food/raw_moon_rabbit')
|
||||||
.translationKey('item.tfg.food.raw_moon_rabbit')
|
.translationKey('item.tfg.food.raw_moon_rabbit')
|
||||||
|
|
@ -122,7 +122,7 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(8).saturation(9))
|
.food(food => food.hunger(8).saturation(9))
|
||||||
.tag('tfc:foods/meats')
|
.tag('tfc:foods/meats')
|
||||||
.tag('tfc:foods/cooked_meats')
|
.tag('tfc:foods/cooked_meats')
|
||||||
|
|
||||||
//Wraptor
|
//Wraptor
|
||||||
event.create('tfg:food/raw_wraptor')
|
event.create('tfg:food/raw_wraptor')
|
||||||
.translationKey('item.tfg.food.raw_wraptor')
|
.translationKey('item.tfg.food.raw_wraptor')
|
||||||
|
|
@ -154,7 +154,7 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(4).saturation(4))
|
.food(food => food.hunger(4).saturation(4))
|
||||||
.tag('tfc:foods/meats')
|
.tag('tfc:foods/meats')
|
||||||
.tag('tfc:foods/cooked_meats')
|
.tag('tfc:foods/cooked_meats')
|
||||||
|
|
||||||
//Walker
|
//Walker
|
||||||
event.create('tfg:food/raw_walker_steak')
|
event.create('tfg:food/raw_walker_steak')
|
||||||
.translationKey('item.tfg.food.raw_walker_steak')
|
.translationKey('item.tfg.food.raw_walker_steak')
|
||||||
|
|
@ -170,7 +170,7 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(8).saturation(10))
|
.food(food => food.hunger(8).saturation(10))
|
||||||
.tag('tfc:foods/meats')
|
.tag('tfc:foods/meats')
|
||||||
.tag('tfc:foods/cooked_meats')
|
.tag('tfc:foods/cooked_meats')
|
||||||
|
|
||||||
//Glider
|
//Glider
|
||||||
event.create('tfg:food/raw_glider_wings')
|
event.create('tfg:food/raw_glider_wings')
|
||||||
.translationKey('item.tfg.food.raw_glider_wings')
|
.translationKey('item.tfg.food.raw_glider_wings')
|
||||||
|
|
@ -186,7 +186,7 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(2).saturation(3))
|
.food(food => food.hunger(2).saturation(3))
|
||||||
.tag('tfc:foods/meats')
|
.tag('tfc:foods/meats')
|
||||||
.tag('tfc:foods/cooked_meats')
|
.tag('tfc:foods/cooked_meats')
|
||||||
|
|
||||||
//Soarer
|
//Soarer
|
||||||
event.create('tfg:food/raw_whole_soarer')
|
event.create('tfg:food/raw_whole_soarer')
|
||||||
.translationKey('item.tfg.food.raw_whole_soarer')
|
.translationKey('item.tfg.food.raw_whole_soarer')
|
||||||
|
|
@ -202,7 +202,7 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(6).saturation(6))
|
.food(food => food.hunger(6).saturation(6))
|
||||||
.tag('tfc:foods/meats')
|
.tag('tfc:foods/meats')
|
||||||
.tag('tfc:foods/cooked_meats')
|
.tag('tfc:foods/cooked_meats')
|
||||||
|
|
||||||
//Crusher
|
//Crusher
|
||||||
event.create('tfg:food/raw_crusher_meat')
|
event.create('tfg:food/raw_crusher_meat')
|
||||||
.translationKey('item.tfg.food.raw_crusher_meat')
|
.translationKey('item.tfg.food.raw_crusher_meat')
|
||||||
|
|
@ -218,7 +218,7 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(5).saturation(6))
|
.food(food => food.hunger(5).saturation(6))
|
||||||
.tag('tfc:foods/meats')
|
.tag('tfc:foods/meats')
|
||||||
.tag('tfc:foods/cooked_meats')
|
.tag('tfc:foods/cooked_meats')
|
||||||
|
|
||||||
//Goober
|
//Goober
|
||||||
event.create('tfg:food/raw_goober_meat')
|
event.create('tfg:food/raw_goober_meat')
|
||||||
.translationKey('item.tfg.food.raw_goober_meat')
|
.translationKey('item.tfg.food.raw_goober_meat')
|
||||||
|
|
@ -234,14 +234,16 @@ function registerTFGFoodItems(event) {
|
||||||
.food(food => food.hunger(3).saturation(6))
|
.food(food => food.hunger(3).saturation(6))
|
||||||
.tag('tfc:foods/meats')
|
.tag('tfc:foods/meats')
|
||||||
.tag('tfc:foods/cooked_meats')
|
.tag('tfc:foods/cooked_meats')
|
||||||
|
|
||||||
|
|
||||||
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)
|
||||||
ctx.player.give('tfc:ceramic/bowl')
|
food.eaten(ctx => {
|
||||||
}))
|
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