fixed bacon deleting all the food traits on crafting
This commit is contained in:
parent
be0e8c0510
commit
21f9074a00
3 changed files with 24 additions and 11 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
- Fixed incorrect fluid tooltips for the silica glass bottle and iron flask (#2608) @JeanRdSz @Pyritie
|
- Fixed incorrect fluid tooltips for the silica glass bottle and iron flask (#2608) @JeanRdSz @Pyritie
|
||||||
- Removed some dough mixing bowl recipes that tried to output more than 5 ingredients because that's the mixing bowl's maximum (#2612) @Pyritie
|
- Removed some dough mixing bowl recipes that tried to output more than 5 ingredients because that's the mixing bowl's maximum (#2612) @Pyritie
|
||||||
- Fixed missing heat definition for soybeans (#2603) @Pyritie
|
- Fixed missing heat definition for soybeans (#2603) @Pyritie
|
||||||
|
- Fixed crafting bacon removing all the other food traits @Pyritie
|
||||||
### Translation updates
|
### Translation updates
|
||||||
- Chinese (simplified) @jmecn
|
- Chinese (simplified) @jmecn
|
||||||
- Russian @Petr211071
|
- Russian @Petr211071
|
||||||
|
|
|
||||||
|
|
@ -1000,24 +1000,31 @@ const registerFirmaLifeRecipes = (event) => {
|
||||||
|
|
||||||
// #endregion
|
// #endregion
|
||||||
|
|
||||||
// #region How do I make yeast starter???
|
// Adds a tooltip to the bacon craft to tell people it needs to be smoked first,
|
||||||
|
// and adds traits that normally disappear on the craft
|
||||||
event.recipes.kubejs.shapeless(Item.of('4x firmalife:food/bacon').withName(Text.translate('tfg.emi.bacon_requirement')), [
|
|
||||||
'tfc:food/pork',
|
event.recipes.tfc.advanced_shapeless_crafting(
|
||||||
'#forge:tools/knives',
|
TFC.isp.of(Item.of('4x firmalife:food/bacon')
|
||||||
'tfc:powder/salt'
|
.withName(Text.translate('tfg.emi.bacon_requirement')))
|
||||||
])
|
.addTrait("firmalife:smoked")
|
||||||
|
.addTrait("tfc:brined")
|
||||||
|
.addTrait("tfc:salted"),
|
||||||
|
[
|
||||||
|
TFC.ingredient.notRotten(TFC.ingredient.hasTrait('tfc:food/pork', "firmalife:smoked")),
|
||||||
|
'#forge:tools/knives',
|
||||||
|
'tfc:powder/salt'
|
||||||
|
])
|
||||||
.modifyResult((craftingGrid, result) => {
|
.modifyResult((craftingGrid, result) => {
|
||||||
result.resetHoverName();
|
result.resetHoverName();
|
||||||
return result;
|
return result;
|
||||||
})
|
})
|
||||||
.id('firmalife:crafting/bacon')
|
.id('firmalife:crafting/bacon')
|
||||||
|
|
||||||
|
// Replacement for yeast starter recipe that uses a different, more descriptive tag
|
||||||
|
|
||||||
event.recipes.tfc.barrel_sealed(72000)
|
event.recipes.tfc.barrel_sealed(72000)
|
||||||
.inputFluid(Fluid.of('minecraft:water', 100))
|
.inputFluid(Fluid.of('minecraft:water', 100))
|
||||||
.inputItem(TFC.ingredient.hasTrait(Ingredient.of('#tfg:dried_fruit'), "firmalife:dried"))
|
.inputItem(TFC.ingredient.hasTrait(Ingredient.of('#tfg:dried_fruit'), "firmalife:dried"))
|
||||||
.outputFluid(Fluid.of('firmalife:yeast_starter', 100))
|
.outputFluid(Fluid.of('firmalife:yeast_starter', 100))
|
||||||
.id('firmalife:barrel/yeast_starter')
|
.id('firmalife:barrel/yeast_starter')
|
||||||
|
|
||||||
// #endregion
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -841,7 +841,7 @@ function registerTFGFoodRecipes(event) {
|
||||||
global.processorRecipe(event, "yeast_starter_from_water", 7200, 8, {
|
global.processorRecipe(event, "yeast_starter_from_water", 7200, 8, {
|
||||||
circuit: 10,
|
circuit: 10,
|
||||||
itemInputs: ['#tfc:foods/fruits'],
|
itemInputs: ['#tfc:foods/fruits'],
|
||||||
fluidInputs: ['#tfg:clean_water 100'],
|
fluidInputs: ['#tfg:clean_water 100', 'gtceu:nitrogen 100'],
|
||||||
fluidOutputs: [Fluid.of('firmalife:yeast_starter', 100)]
|
fluidOutputs: [Fluid.of('firmalife:yeast_starter', 100)]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -926,7 +926,12 @@ function registerTFGFoodRecipes(event) {
|
||||||
circuit: 1,
|
circuit: 1,
|
||||||
itemInputs: ['tfc:food/pork', 'tfc:powder/salt'],
|
itemInputs: ['tfc:food/pork', 'tfc:powder/salt'],
|
||||||
itemOutputs: ['4x firmalife:food/bacon'],
|
itemOutputs: ['4x firmalife:food/bacon'],
|
||||||
itemOutputProvider: TFC.isp.of('4x firmalife:food/bacon').copyFood()
|
fluidInputs: ['gtceu:wood_gas 5', 'tfc:brine 100'],
|
||||||
|
itemOutputProvider: TFC.isp.of('4x firmalife:food/bacon')
|
||||||
|
.addTrait("firmalife:smoked")
|
||||||
|
.addTrait("tfc:brined")
|
||||||
|
.addTrait("tfc:salted")
|
||||||
|
.copyFood()
|
||||||
})
|
})
|
||||||
|
|
||||||
global.processorRecipe(event, "pickled_egg", 1000, 8, {
|
global.processorRecipe(event, "pickled_egg", 1000, 8, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue