feat: Added bison and seal loottable and bison raw and cooked meats (#3396)
* feat: Added bison and seal loottable and bison raw and cooked meats * fix: lang in tools and bison meat in rich stock and as burguer meat
This commit is contained in:
@@ -1265,6 +1265,8 @@
|
||||
"item.tfg.food.oatmeal": "Oatmeal",
|
||||
"item.tfg.food.raw_instant_mac": "Uncooked Instant Mac & Cheese",
|
||||
"item.tfg.food.cooked_instant_mac": "Instant Mac & Cheese",
|
||||
"item.tfg.food.raw_bison_meat": "Raw Bison Meat",
|
||||
"item.tfg.food.cooked_bison_meat": "Cooked Bison Meat",
|
||||
"item.tfg.spice.bay_leaf": "Bay Leaf",
|
||||
"item.tfg.spice.cardamom_pods": "Cardamom Pods",
|
||||
"item.tfg.spice.cilantro_leaves": "Cilantro Leaves",
|
||||
|
||||
BIN
kubejs/assets/tfg/textures/item/food/cooked_bison_meat.png
Normal file
BIN
kubejs/assets/tfg/textures/item/food/cooked_bison_meat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 518 B |
BIN
kubejs/assets/tfg/textures/item/food/raw_bison_meat.png
Normal file
BIN
kubejs/assets/tfg/textures/item/food/raw_bison_meat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 448 B |
@@ -109,6 +109,20 @@ function registerTFGFoodData(event) {
|
||||
food.decayModifier(2.25);
|
||||
});
|
||||
|
||||
// Bison Meat
|
||||
event.foodItem("tfg:food/raw_bison_meat", (food) => {
|
||||
food.hunger(2);
|
||||
food.protein(1.5);
|
||||
food.decayModifier(3);
|
||||
});
|
||||
|
||||
event.foodItem("tfg:food/cooked_bison_meat", (food) => {
|
||||
food.hunger(4);
|
||||
food.saturation(2);
|
||||
food.protein(3);
|
||||
food.decayModifier(2.25);
|
||||
});
|
||||
|
||||
// Springling Collar
|
||||
event.foodItem("tfg:food/raw_springling_collar", (food) => {
|
||||
food.hunger(2);
|
||||
|
||||
@@ -1300,6 +1300,9 @@ function registerTFGFoodRecipes(event) {
|
||||
|
||||
event.recipes.tfc.heating('tfg:food/raw_wraptor', 200)
|
||||
.resultItem(TFC.isp.of('tfg:food/cooked_wraptor').copyFood())
|
||||
|
||||
event.recipes.tfc.heating('tfg:food/raw_bison_meat', 200)
|
||||
.resultItem(TFC.isp.of('tfg:food/cooked_bison_meat').copyFood())
|
||||
|
||||
event.recipes.tfc.heating('tfg:food/raw_springling_collar', 200)
|
||||
.resultItem(TFC.isp.of('tfg:food/cooked_springling_collar').copyFood())
|
||||
|
||||
@@ -128,6 +128,8 @@ function registerTFGFoodItemTags(event) {
|
||||
'tfg:food/cooked_walker_steak',
|
||||
'tfg:food/raw_crusher_meat',
|
||||
'tfg:food/cooked_crusher_meat',
|
||||
'tfg:food/raw_bison_meat',
|
||||
'tfg:food/cooked_bison_meat',
|
||||
'wan_ancient_beasts:raw_ancient_meat',
|
||||
'wan_ancient_beasts:cooked_ancient_meat'
|
||||
];
|
||||
@@ -185,6 +187,7 @@ function registerTFGFoodItemTags(event) {
|
||||
'tfc:food/venison',
|
||||
'tfg:food/raw_sniffer_beef',
|
||||
'tfg:food/raw_crusher_meat',
|
||||
'tfg:food/raw_bison_meat',
|
||||
'wan_ancient_beasts:raw_ancient_meat'
|
||||
];
|
||||
burgerMeats.forEach(item => {
|
||||
|
||||
@@ -169,4 +169,26 @@ function registerTFGLoots(event) {
|
||||
event.addEntityLootModifier('tfg:wraptor')
|
||||
.matchMainHand('#forge:tools/butchery_knives')
|
||||
.addWeightedLoot([2, 3], ['tfg:food/raw_wraptor'])
|
||||
|
||||
// Leopard seal normal loot table
|
||||
event.addEntityLootModifier('tfg:leopard_seal')
|
||||
.addWeightedLoot([3, 6], ['tfc:blubber'])
|
||||
.addWeightedLoot([1, 4], ['minecraft:bone'])
|
||||
.addWeightedLoot([1], ['tfc:medium_raw_hide'])
|
||||
|
||||
// Leopard seal extra with butchery knife
|
||||
event.addEntityLootModifier('tfg:leopard_seal')
|
||||
.matchMainHand('#forge:tools/butchery_knives')
|
||||
.addWeightedLoot([2, 3], ['tfc:blubber'])
|
||||
|
||||
// Bison normal loot table
|
||||
event.addEntityLootModifier('tfg:bison')
|
||||
.addWeightedLoot([12, 20], ['tfg:food/raw_bison_meat'])
|
||||
.addWeightedLoot([7, 10], ['minecraft:bone'])
|
||||
.addWeightedLoot([1], ['tfc:large_raw_hide'])
|
||||
|
||||
// Bison drop extra with butchery knife
|
||||
event.addEntityLootModifier('tfg:bison')
|
||||
.matchMainHand('#forge:tools/butchery_knives')
|
||||
.addWeightedLoot([4, 6], ['tfg:food/raw_bison_meat'])
|
||||
};
|
||||
|
||||
@@ -739,6 +739,7 @@ global.TFC_MEAT_RECIPE_COMPONENTS = /** @type {const} */ ([
|
||||
{ input: "tfg:food/raw_glacian_mutton", output: "tfg:food/cooked_glacian_mutton", name: "cooked_glacian_mutton" },
|
||||
{ input: "tfg:food/raw_sniffer_beef", output: "tfg:food/cooked_sniffer_beef", name: "cooked_sniffer_beef" },
|
||||
{ input: "tfg:food/raw_wraptor", output: "tfg:food/cooked_wraptor", name: "cooked_wraptor" },
|
||||
{ input: "tfg:food/raw_bison_meat", output: "tfg:food/cooked_bison_meat", name: "cooked_bison_meat" },
|
||||
{ input: "wan_ancient_beasts:toxlacanth", output: "wan_ancient_beasts:cooked_toxlacanth", name: "cooked_toxlacanth" },
|
||||
{ input: "tfg:food/raw_springling_collar", output: "tfg:food/cooked_springling_collar", name: "cooked_springling_collar" },
|
||||
{ input: "tfg:food/raw_walker_steak", output: "tfg:food/cooked_walker_steak", name: "cooked_walker_steak" },
|
||||
|
||||
@@ -170,6 +170,20 @@ function registerTFGFoodItems(event) {
|
||||
.tag('tfc:foods/meats')
|
||||
.tag('tfc:foods/cooked_meats')
|
||||
|
||||
//Bison
|
||||
event.create('tfg:food/raw_bison_meat')
|
||||
.food(food => food.hunger(2).saturation(1)
|
||||
.effect('minecraft:hunger', 100, 0, 1))
|
||||
.tag('tfc:foods')
|
||||
.tag('tfc:foods/meats')
|
||||
.tag('tfc:foods/raw_meats')
|
||||
|
||||
event.create('tfg:food/cooked_bison_meat')
|
||||
.food(food => food.hunger(5).saturation(4))
|
||||
.tag('tfc:foods')
|
||||
.tag('tfc:foods/meats')
|
||||
.tag('tfc:foods/cooked_meats')
|
||||
|
||||
//Springling
|
||||
event.create('tfg:food/raw_springling_collar')
|
||||
.translationKey('item.tfg.food.raw_springling_chops')
|
||||
|
||||
Reference in New Issue
Block a user