diff --git a/mods/mcl_farming/pumpkin.lua b/mods/mcl_farming/pumpkin.lua index 78b0bda21c..eaf1e33332 100644 --- a/mods/mcl_farming/pumpkin.lua +++ b/mods/mcl_farming/pumpkin.lua @@ -288,3 +288,17 @@ minetest.register_craft({ recipe = {"mcl_farming:pumpkin_face"} }) +minetest.register_craftitem("mcl_farming:pumpkin_pie", { + description = "Pumpkin Pie", + stack_max = 64, + inventory_image = "mcl_farming_pumpkin_pie.png", + wield_image = "mcl_farming_pumpkin_pie.png", + on_use = minetest.item_eat(8), + groups = { food = 2, eatable = 8 }, +}) + +minetest.register_craft({ + type = "shapeless", + output = "mcl_farming:pumpkin_pie", + recipe = {"mcl_farming:pumpkin_face", "mcl_core:sugar", "mcl_throwing:egg"}, +}) diff --git a/mods/mcl_farming/textures/mcl_farming_pumpkin_pie.png b/mods/mcl_farming/textures/mcl_farming_pumpkin_pie.png new file mode 100644 index 0000000000..414655722a Binary files /dev/null and b/mods/mcl_farming/textures/mcl_farming_pumpkin_pie.png differ