summaryrefslogtreecommitdiff
path: root/bunny.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bunny.lua')
-rw-r--r--bunny.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/bunny.lua b/bunny.lua
index cbde3e7..24947b6 100644
--- a/bunny.lua
+++ b/bunny.lua
@@ -135,6 +135,7 @@ minetest.register_craftitem(":mobs:rabbit_raw", {
description = S("Raw Rabbit"),
inventory_image = "mobs_rabbit_raw.png",
on_use = minetest.item_eat(3),
+ groups = {food_meat_raw = 1, food_rabbit_raw = 1, flammable = 2},
})
-- cooked rabbit
@@ -142,6 +143,7 @@ minetest.register_craftitem(":mobs:rabbit_cooked", {
description = S("Cooked Rabbit"),
inventory_image = "mobs_rabbit_cooked.png",
on_use = minetest.item_eat(5),
+ groups = {food_meat = 1, food_rabbit = 1, flammable = 2},
})
minetest.register_craft({
@@ -155,6 +157,7 @@ minetest.register_craft({
minetest.register_craftitem(":mobs:rabbit_hide", {
description = S("Rabbit Hide"),
inventory_image = "mobs_rabbit_hide.png",
+ groups = {flammable = 2},
})
minetest.register_craft({