diff options
Diffstat (limited to 'food.lua')
-rw-r--r-- | food.lua | 23 |
1 files changed, 13 insertions, 10 deletions
@@ -16,7 +16,7 @@ minetest.register_node("ethereal:banana", { fixed = {-0.31, -0.5, -0.31, 0.31, 0.5, 0.31} }, groups = { - fleshy = 3, dig_immediate = 3, flammable = 2, + food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2, leafdecay = 1, leafdecay_drop = 1 }, drop = "ethereal:banana", @@ -38,7 +38,7 @@ minetest.register_craftitem("ethereal:banana_dough", { minetest.register_craft({ type = "shapeless", output = "ethereal:banana_dough", - recipe = {"farming:flour", "ethereal:banana"} + recipe = {"group:food_flour", "group:food_banana"} }) minetest.register_craft({ @@ -63,7 +63,7 @@ minetest.register_node("ethereal:orange", { fixed = {-0.27, -0.37, -0.27, 0.27, 0.44, 0.27} }, groups = { - fleshy = 3, dig_immediate = 3, flammable = 2, + food_orange = 1, fleshy = 3, dig_immediate = 3, flammable = 2, leafdecay = 3, leafdecay_drop = 1 }, drop = "ethereal:orange", @@ -81,6 +81,7 @@ minetest.register_craftitem("ethereal:pine_nuts", { description = S("Pine Nuts"), inventory_image = "pine_nuts.png", wield_image = "pine_nuts.png", + groups = {food_pine_nuts = 1, flammable = 2}, on_use = minetest.item_eat(1), }) @@ -89,6 +90,7 @@ minetest.register_craftitem("ethereal:banana_bread", { description = S("Banana Loaf"), inventory_image = "banana_bread.png", wield_image = "banana_bread.png", + groups = {food_bread = 1, flammable = 3}, on_use = minetest.item_eat(6), }) @@ -107,7 +109,7 @@ minetest.register_node("ethereal:coconut", { fixed = {-0.31, -0.43, -0.31, 0.31, 0.44, 0.31} }, groups = { - snappy = 1, oddly_breakable_by_hand = 1, cracky = 1, + food_coconut = 1, snappy = 1, oddly_breakable_by_hand = 1, cracky = 1, choppy = 1, flammable = 1, leafdecay = 3, leafdecay_drop = 1 }, drop = "ethereal:coconut_slice 4", @@ -119,6 +121,7 @@ minetest.register_craftitem("ethereal:coconut_slice", { description = S("Coconut Slice"), inventory_image = "moretrees_coconut_slice.png", wield_image = "moretrees_coconut_slice.png", + groups = {food_coconut_slice = 1, flammable = 1}, on_use = minetest.item_eat(1), }) @@ -161,9 +164,9 @@ minetest.register_craftitem("ethereal:hearty_stew", { minetest.register_craft({ output = "ethereal:hearty_stew", recipe = { - {"ethereal:wild_onion_plant","ethereal:mushroom_plant", "ethereal:fern_tubers"}, - {"","ethereal:mushroom_plant", ""}, - {"","ethereal:bowl", ""}, + {"group:food_onion","flowers:mushroom_brown", "group:food_tuber"}, + {"","flowers:mushroom_brown", ""}, + {"","group:food_bowl", ""}, } }) @@ -172,9 +175,9 @@ if farming and farming.mod and farming.mod == "redo" then minetest.register_craft({ output = "ethereal:hearty_stew", recipe = { - {"ethereal:wild_onion_plant","ethereal:mushroom_plant", "farming:beans"}, - {"","ethereal:mushroom_plant", ""}, - {"","ethereal:bowl", ""}, + {"group:food_onion","flowers:mushroom_brown", "group:food_beans"}, + {"","flowers:mushroom_brown", ""}, + {"","group:food_bowl", ""}, } }) end |