From d021cb639be714371a0ff3997356e54fda3c16ce Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Fri, 5 Jun 2020 09:00:40 +0100 Subject: [PATCH] added apple pie --- README.md | 3 ++- food.lua | 18 ++++++++++++++++++ textures/farming_apple_pie.png | Bin 0 -> 200 bytes 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 textures/farming_apple_pie.png diff --git a/README.md b/README.md index 697f4a0..0ccaeb8 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ This mod works by adding your new plant to the {growing=1} group and numbering t ### Changelog: -- 1.45 - Dirt and Hoes are more in line with default by using dry/wet/base options, onion soup added (thanks edcrypt) +- 1.45 - Dirt and Hoes are more in line with default by using dry/wet/base +options, onion soup added (thanks edcrypt), Added apple pie - 1.44 - Added 'farming_stage_length' in mod settings for speed of crop growth, also thanks to TheDarkTiger for translation updates - 1.43 - Scythe works on use instead of right-click, added seed=1 groups to actual seeds and seed=2 group for plantable food items. - 1.42 - Soil needs water to be present within 3 blocks horizontally and 1 below to make wet soil, Jack 'o Lanterns now check protection, add chocolate block. diff --git a/food.lua b/food.lua index 33106f0..6afe17f 100644 --- a/food.lua +++ b/food.lua @@ -218,3 +218,21 @@ minetest.register_craft({ {"mobs:bucket_milk", "bucket:bucket_empty"} } }) + +-- Apple Pie + +minetest.register_craftitem("farming:apple_pie", { + description = S("Apple Pie"), + inventory_image = "farming_apple_pie.png", + on_use = minetest.item_eat(6), +}) + +minetest.register_craft({ + output = "farming:apple_pie", + type = "shapeless", + recipe = { + "group:food_flour", "group:food_sugar", + "group:food_apple", "group:food_baking_tray" + }, + replacements = {{"group:food_baking_tray", "farming:baking_tray"}} +}) diff --git a/textures/farming_apple_pie.png b/textures/farming_apple_pie.png new file mode 100644 index 0000000000000000000000000000000000000000..0e4fdf4efb93a5630fdae7e18151700243be4bae GIT binary patch literal 200 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPGa3-AeX1=5ZT47&O{>sCi41?om8 zBqgOJF6;`QK6BcIz0E?p3s`_E7)yfuf*Bm1-ADs+B0OCjLpZJ{Cmdk9ar!j(fs&_Z zW?pt&bL!+|_49N1L}qZZvGTl`?3m!i$jlv)u#1^_GIv12u5Kpg;1=)Ho!&E;n45#z tyS=l7PADwx+or<0;i8up7tap{2K8E*g*nAVhk$l4c)I$ztaD0e0sy?xKn4H+ literal 0 HcmV?d00001