summaryrefslogtreecommitdiff
path: root/warthog.lua
diff options
context:
space:
mode:
Diffstat (limited to 'warthog.lua')
-rw-r--r--warthog.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/warthog.lua b/warthog.lua
index 7215531..7217f8a 100644
--- a/warthog.lua
+++ b/warthog.lua
@@ -89,6 +89,7 @@ minetest.register_craftitem(":mobs:pork_raw", {
description = S("Raw Porkchop"),
inventory_image = "mobs_pork_raw.png",
on_use = minetest.item_eat(4),
+ groups = {food_meat_raw = 1, food_pork_raw = 1, flammable = 2},
})
-- cooked porkchop
@@ -96,6 +97,7 @@ minetest.register_craftitem(":mobs:pork_cooked", {
description = S("Cooked Porkchop"),
inventory_image = "mobs_pork_cooked.png",
on_use = minetest.item_eat(8),
+ groups = {food_meat = 1, food_pork = 1, flammable = 2},
})
minetest.register_craft({