summaryrefslogtreecommitdiff
path: root/cow.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-12 17:17:49 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-12 17:17:49 +0000
commit2e3de7c177b3a216af42b726e75c1776d4cedb8c (patch)
tree794a37532994736594ea4de16839bcec492ca1ac /cow.lua
parentcbac52f407614e1ba99b40f3feec5dcfe35ad0b7 (diff)
added food groups for better recipe crafting
Diffstat (limited to 'cow.lua')
-rw-r--r--cow.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/cow.lua b/cow.lua
index e5ae7c7..8427037 100644
--- a/cow.lua
+++ b/cow.lua
@@ -125,6 +125,7 @@ minetest.register_craftitem(":mobs:bucket_milk", {
inventory_image = "mobs_bucket_milk.png",
stack_max = 1,
on_use = minetest.item_eat(8, 'bucket:bucket_empty'),
+ groups = {food_milk = 1, flammable = 3},
})
-- cheese wedge
@@ -132,6 +133,7 @@ minetest.register_craftitem(":mobs:cheese", {
description = S("Cheese"),
inventory_image = "mobs_cheese.png",
on_use = minetest.item_eat(4),
+ groups = {food_cheese = 1, flammable = 2},
})
minetest.register_craft({