Rezepte angepasst, Nahrungspunkte hinzugefügt

This commit is contained in:
N-Nachtigal 2025-05-13 22:33:52 +02:00
parent 9dbc0b2ba1
commit df69eb154c
8 changed files with 33 additions and 33 deletions

View file

@ -189,7 +189,7 @@ minetest.register_on_mods_loaded(function()
end
end)
local convert_mobs_redo = minetest.settings:get_bool("convert_redo_items", false)
local convert_mobs_redo = minetest.settings:get_bool("convert_redo_items", true)
if convert_mobs_redo then
minetest.register_alias_force("mobs:leather", "animalia:leather")

View file

@ -8,7 +8,7 @@ chunk_spawn_queue_int (Chunk Spawning Queue Execution Interval) float 16
spawn_mobs (Spawn Mobs) bool true
# If true, items from mobs_redo and mobs_animal will be converted to Animalia items
convert_redo_items(Convert Mobs Redo Items) bool false
convert_redo_items(Convert Mobs Redo Items) bool true
# If true, Guano will accumulate under resting bats
guano_accumulation (Guano Accumulation) bool true

View file

@ -877,7 +877,7 @@ minetest.register_node("farming:soy_milk", {
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
groups = {
vessel = 1, food_milk_glass = 1, food_soy_milk = 1, dig_immediate = 3, handy = 1,
attached_node = 1, drink = 1, compostability = 65, food_milk = 1
attached_node = 1, drink = 1, compostability = 65
},
is_ground_content = false,
sounds = farming.node_sound_glass_defaults()

View file

@ -675,7 +675,7 @@ minetest.register_node("naturalbiomes:blackberry", {
},
groups = {
fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1, food_blackberry = 1
leafdecay = 1, leafdecay_drop = 1, food_blackberry = 1, food_blackberries = 1, eatable = 2
},
drop = "naturalbiomes:blackberry",
on_use = minetest.item_eat(2),
@ -807,7 +807,7 @@ minetest.register_node("naturalbiomes:wildrose", {
},
groups = {
fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1
leafdecay = 1, leafdecay_drop = 1, eatable = 2
},
drop = "naturalbiomes:wildrose",
on_use = minetest.item_eat(2),
@ -938,7 +938,7 @@ minetest.register_node("naturalbiomes:hazelnut", {
},
groups = {
fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1
leafdecay = 1, leafdecay_drop = 1, eatable = 2
},
drop = "naturalbiomes:hazelnut",
on_use = minetest.item_eat(2),
@ -975,7 +975,7 @@ minetest.register_craftitem("naturalbiomes:hazelnut_cracked", {
description = S("Cracked Hazelnut"),
inventory_image = "naturalbiomes_bushland_hazelnut_cracked.png",
on_use = minetest.item_eat(5),
groups = {food = 1, flammable = 2},
groups = {food = 1, flammable = 2, eatable = 5},
})
xpanes.register_pane("hazelnut_pane", {

View file

@ -807,7 +807,7 @@ minetest.register_node("naturalbiomes:olives", {
},
groups = {
fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3, eatable = 6
},
drop = "naturalbiomes:olives",
on_use = minetest.item_eat(6),

View file

@ -550,7 +550,7 @@ minetest.register_node("naturalbiomes:banana_bunch", {
},
groups = {
fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3, eatable = 6
},
drop = "naturalbiomes:banana_bunch",
on_use = minetest.item_eat(6),
@ -590,7 +590,7 @@ minetest.register_node("naturalbiomes:banana", {
},
groups = {
food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1
leafdecay = 1, leafdecay_drop = 1, eatable = 2
},
drop = "naturalbiomes:banana",
on_use = minetest.item_eat(2),
@ -617,7 +617,7 @@ minetest.register_node("naturalbiomes:coconut_slice", {
},
groups = {
food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1
leafdecay = 1, leafdecay_drop = 1, eatable = 2
},
drop = "naturalbiomes:naturalbiomes:coconut_slice",
on_use = minetest.item_eat(2),
@ -645,7 +645,7 @@ minetest.register_node("naturalbiomes:coconut", {
},
groups = {
fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3
leafdecay = 1, leafdecay_drop = 1, winleafdecay_drop = 1, winleafdecay = 3, eatable = 6
},
drop = "naturalbiomes:coconut",
on_use = minetest.item_eat(6),

View file

@ -30,7 +30,7 @@ if minetest.global_exists("farming") and farming.mod == "redo" then
description = "Peanuts",
on_use = minetest.item_eat(1),
inventory_image = "sandwiches_peanut.png", -- not peanutS due to compatibility with the default farming mod
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1},
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1, eatable = 1},
})
minetest.register_alias("sandwiches:seed_peanuts", "sandwiches:seed_peanut")
@ -138,7 +138,7 @@ else -- farming-redo not present -----------------------------------------------
--description = "Peanuts",
on_use = minetest.item_eat(1),
inventory_image = "sandwiches_peanut.png",
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1},
groups = {food = 1, food_peanut = 1, food_peanuts = 1, flammable = 1, eatable = 1},
})
end
@ -219,7 +219,7 @@ minetest.register_decoration({
minetest.register_craftitem("sandwiches:peanut_butter", {
description = "Peanut Butter",
on_use = minetest.item_eat(2),
groups = {food = 2, food_peanut_butter = 1, flammable = 1, food_butter = 1},
groups = {food = 2, food_peanut_butter = 1, flammable = 1, food_butter = 1, eatable = 2},
inventory_image = "sandwiches_peanut_butter.png"
})

View file

@ -44,7 +44,7 @@ end
minetest.register_craftitem("sandwiches:bread_slice", {
description = "Bread slice",
on_use = minetest.item_eat(1),
groups = {food = 1, food_bread_slice = 1, flammable = 1},
groups = {food = 1, food_bread_slice = 1, flammable = 1, eatable = 1},
inventory_image = "sandwiches_bread_slice.png"
})
@ -58,7 +58,7 @@ minetest.register_craft({
minetest.register_craftitem("sandwiches:bread_crumbs", {
description = "Bread crumbs",
on_use = minetest.item_eat(1),
groups = {food = 1, food_bread_crumbs = 1, flammable = 1},
groups = {food = 1, food_bread_crumbs = 1, flammable = 1, eatable = 1},
inventory_image = "bread_crumbs.png"
})
minetest.register_craft({
@ -127,7 +127,7 @@ if minetest.get_modpath("bushes_classic") or sandwiches.ingredient_support.berry
minetest.register_craftitem("sandwiches:sweet_bread_pudding", {
description = "Sweet bread pudding",
on_use = minetest.item_eat(10),
groups = {food = 10, food_sweet_bread = 1, flammable = 1},
groups = {food = 10, food_sweet_bread = 1, flammable = 1, eatable = 10},
inventory_image = "sweet_bread_pudding.png"
})
minetest.register_craft({
@ -147,10 +147,10 @@ if minetest.get_modpath("bushes_classic") or sandwiches.ingredient_support.berry
-- JAM AND JELLY --
local jj = {
["blue"] = { {food_jam = 1, food_blueberry_jam = 1, flammable = 1},},
["rasp"] = { {food_jam = 1, food_raspberry_jam = 1, flammable = 1},},
["straw"] = { {food_jam = 1, food_strawberry_jam = 1, flammable = 1},},
["black"] = { {food_jam = 1, food_blackberry_jam = 1, flammable = 1},},
["blue"] = { {food_jam = 1, food_blueberry_jam = 1, flammable = 1, eatable = 2},},
["rasp"] = { {food_jam = 1, food_raspberry_jam = 1, flammable = 1, eatable = 2},},
["straw"] = { {food_jam = 1, food_strawberry_jam = 1, flammable = 1, eatable = 2},},
["black"] = { {food_jam = 1, food_blackberry_jam = 1, flammable = 1, eatable = 2},},
}
for k, v in pairs(jj) do
minetest.register_craftitem("sandwiches:".. k .."berry_jam", {
@ -174,7 +174,7 @@ if minetest.get_modpath("bushes_classic") or sandwiches.ingredient_support.berry
minetest.register_craftitem("sandwiches:grape_jelly", {
description = "Grape jelly",
on_use = minetest.item_eat(2),
groups = {food = 2, food_jam = 1, flammable = 1 },
groups = {food = 2, food_jam = 1, flammable = 1 , eatable = 2},
inventory_image = "sandwiches_grape_jelly.png"
})
minetest.register_craft({
@ -190,7 +190,7 @@ if minetest.get_modpath("bushes_classic") or sandwiches.ingredient_support.berry
minetest.register_craftitem("sandwiches:multi_jam", {
description = "Multi jam",
on_use = minetest.item_eat(2),
groups = {food = 2, food_jam = 1, flammable = 1},
groups = {food = 2, food_jam = 1, flammable = 1, eatable = 2},
inventory_image = "sandwiches_multi_jam.png"
})
minetest.register_craft({
@ -252,7 +252,7 @@ end
minetest.register_craftitem("sandwiches:butter_carrots", {
description = "Butter carrots",
on_use = minetest.item_eat(3),
groups = {food = 3, food_tasty_veggie = 1, flammable = 1},
groups = {food = 3, food_tasty_veggie = 1, flammable = 1, eatable = 3},
inventory_image = "butter_carrots.png"
})
minetest.register_craft({
@ -268,7 +268,7 @@ end
minetest.register_craftitem("sandwiches:roasted_potatoes", {
description = "Roasted potatoes",
on_use = minetest.item_eat(4),
groups = {food = 4, food_tasty_veggie = 1, flammable = 1},
groups = {food = 4, food_tasty_veggie = 1, flammable = 1, eatable = 4},
inventory_image = "roasted_potatoes.png"
})
minetest.register_craft({
@ -287,7 +287,7 @@ end
minetest.register_craftitem("sandwiches:caramelized_onion", {
description = "Caramelized onion",
on_use = minetest.item_eat(3),
groups = {food = 3, food_tasty_veggie = 1, flammable = 1},
groups = {food = 3, food_tasty_veggie = 1, flammable = 1, eatable = 3},
inventory_image = "caramelized_onion.png"
})
minetest.register_craft({
@ -301,7 +301,7 @@ if sandwiches.ingredient_support.mushroom then
minetest.register_craftitem("sandwiches:trifolat_mushrooms", {
description = "Trifolat Mushrooms",
on_use = minetest.item_eat(3),
groups = {food = 3, food_tasty_veggie = 1, flammable = 1},
groups = {food = 3, food_tasty_veggie = 1, flammable = 1, eatable = 3},
inventory_image = "trifolat_mushrooms.png"
})
minetest.register_craft({
@ -441,7 +441,7 @@ for k, v in pairs(sandwiches_recipes) do
minetest.register_craftitem("sandwiches:".. k .."_sandwich", {
description = v[2].." sandwich",
on_use = minetest.item_eat(v[3], "sandwiches:bread_crumbs"),
groups = {food = v[3] ,food_sandwich = 1, flammable = 1},
groups = {food = v[3] ,food_sandwich = 1, flammable = 1, eatable = v[3]},
inventory_image = k .."_sandwich.png",
})
@ -485,7 +485,7 @@ minetest.register_alias("sandwiches:classic_vegan_sandwich", "sandwiches:classic
minetest.register_craftitem("sandwiches:triple_mega_sandwich", {
description = "Triple Mega sandwich",
on_use = minetest.item_eat(20, "sandwiches:bread_crumbs"),
groups = {food = 20, food_big_sandwich = 1, flammable = 1},
groups = {food = 20, food_big_sandwich = 1, flammable = 1, eatable = 20},
inventory_image = "triple_mega_sandwich.png"
})
minetest.register_craft({
@ -500,7 +500,7 @@ minetest.register_craft({
minetest.register_craftitem("sandwiches:sand_sandwich", {
description = "Sand-sandwich",
inventory_image = "sand_sandwich.png",
groups = {food = 5, food_sandwich = 1, flammable = 1},
groups = {food = 5, food_sandwich = 1, flammable = 1, eatable = 5},
on_use = function(itemstack, player, pointed_thing)
if player:get_hp() > 2 then
player:set_hp(player:get_hp() - 2)
@ -523,7 +523,7 @@ if sandwiches.ingredient_support.dairy then
minetest.register_craftitem("sandwiches:sprinkles", {
description = "Sprinkles",
on_use = minetest.item_eat(1),
groups = {food = 1, food_sprinkles = 1, flammable = 1},
groups = {food = 1, food_sprinkles = 1, flammable = 1, eatable = 1},
inventory_image = "sugar_sprinkles.png"
})
minetest.register_craft({
@ -539,7 +539,7 @@ minetest.register_craft({
minetest.register_craftitem("sandwiches:fairy_bread", {
description = "Fairy bread",
on_use = minetest.item_eat(6, "sandwiches:bread_crumbs"),
groups = {food = 6, food_fairy_bread = 1, flammable = 1},
groups = {food = 6, food_fairy_bread = 1, flammable = 1, eatable = 6},
inventory_image = "fairy_bread.png"
})
minetest.register_craft({