diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 18:23:45 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-12 18:23:45 +0000 |
commit | 14154cea54ab4eb40e878fc8fe1c2d79fa41b40e (patch) | |
tree | 8c973b05aa9f836a67aa20506ac3507267542fd2 /pumpkin.lua | |
parent | e4ed12056d875b603c03e93aaf7e4489f606aa83 (diff) |
food items now crafted using food_ groups
Diffstat (limited to 'pumpkin.lua')
-rw-r--r-- | pumpkin.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pumpkin.lua b/pumpkin.lua index 488767f..cb96cf5 100644 --- a/pumpkin.lua +++ b/pumpkin.lua @@ -98,9 +98,8 @@ minetest.register_node("farming:jackolantern_on", { minetest.register_craft({ output = "farming:jackolantern", recipe = { - {"", "", ""}, - {"", "default:torch", ""}, - {"", "farming:pumpkin", ""}, + {"default:torch"}, + {"group:food_pumpkin"}, } }) @@ -108,7 +107,8 @@ minetest.register_craft({ minetest.register_craftitem("farming:pumpkin_bread", { description = S("Pumpkin Bread"), inventory_image = "farming_pumpkin_bread.png", - on_use = minetest.item_eat(8) + on_use = minetest.item_eat(8), + groups = {food_bread = 1, flammable = 2}, }) minetest.register_craftitem("farming:pumpkin_dough", { @@ -119,7 +119,7 @@ minetest.register_craftitem("farming:pumpkin_dough", { minetest.register_craft({ output = "farming:pumpkin_dough", type = "shapeless", - recipe = {"farming:flour", "farming:pumpkin_slice", "farming:pumpkin_slice"} + recipe = {"group:food_flour", "group:food_pumpkin_slice", "group:food_pumpkin_slice"} }) minetest.register_craft({ |