From ce2abd0f83048d6065b34b64cf40c299e7305b41 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 1 Feb 2017 16:14:03 +0100 Subject: [PATCH] Add rabbit stew --- mods/mcl_mobitems/init.lua | 18 ++++++++++++++++++ .../textures/mcl_mobitems_rabbit_stew.png | Bin 0 -> 649 bytes 2 files changed, 18 insertions(+) create mode 100644 mods/mcl_mobitems/textures/mcl_mobitems_rabbit_stew.png diff --git a/mods/mcl_mobitems/init.lua b/mods/mcl_mobitems/init.lua index 141110d6..7b1a2761 100644 --- a/mods/mcl_mobitems/init.lua +++ b/mods/mcl_mobitems/init.lua @@ -199,6 +199,15 @@ minetest.register_craftitem("mcl_mobitems:saddle", { stack_max = 1, }) +minetest.register_craftitem("mcl_mobitems:rabbit_stew", { + description = "Rabbit Stew", + wield_image = "mcl_mobitems_rabbit_stew.png", + inventory_image = "mcl_mobitems_rabbit_stew.png", + stack_max = 1, + on_use = minetest.item_eat(10, "mcl_core:bowl"), + groups = { food = 3, eatable = 10 }, +}) + ----------- -- Crafting ----------- @@ -216,6 +225,15 @@ minetest.register_craft({ recipe = {{"mcl_mobitems:blaze_rod"}}, }) +minetest.register_craft({ + output = "mcl_mobitems:rabbit_stew", + recipe = { + { "", "mcl_mobitems:cooked_rabbit", "", }, + { "mcl_farming:carrot_item", "mcl_farming:potato_item_baked", "group:mushroom", }, + { "", "mcl_core:bowl", "", }, + }, +}) + minetest.register_craft({ type = "shapeless", output = "mcl_mobitems:magma_cream", diff --git a/mods/mcl_mobitems/textures/mcl_mobitems_rabbit_stew.png b/mods/mcl_mobitems/textures/mcl_mobitems_rabbit_stew.png new file mode 100644 index 0000000000000000000000000000000000000000..a4a8186473f9b74ed630cce54de48e9af28442a2 GIT binary patch literal 649 zcmV;40(Sk0P)D0s=`yK~z}7?UuhULs1mR8-pJS>11goHU>0oY9M}u#GpiL z&`m-RB}^ibF!(VTNDO79VKH?eMhP23U;PCV6A44D@3`l*M{cj%+t-qa4>ECm|A z22YH2fGxu9Hw*0jY&ephuX8L>^oEzy5G)4#a5vWn)thgW^Fdd0CDl`FAtD*= z1pBNTs0#v=xCj=PFkXC3j6!;=4dTPCU~NXS>_j0YxSaM10Uw2vh>(j9w@@dz11MRx z0EXKSyEHhq-x4!tQrnXxg<;lan8Fbh#5#sg4b;MTu!bZ|BHH5Pb^ws887~P?2QXaB z+!8Y;#5qgg5xGBF&Ep^zAqf_7B!D+Qos2-{dV%;7$hALD0&C)k?}r>Jvog^S4|_`m zCB6wX)>qI2OkM}L3oLxrN5uJcq z=W9F;w!b6+hG%4&y)K-e<5ln@0l6cL+VVozOBPTiSOC|xiY&m(ZLqzHz}irIwK3fI zA!3PQ0vM_aV6ZGuD7@&WSnh;QfJ1cxj49mFpArA2CIJ~1D75U#-Vf+RbOKI;%ifTv jZ@Y@SCv*i|fl~PdJ$KE7Cy_OI00000NkvXXu0mjfW4r{f literal 0 HcmV?d00001