From 7cf215badb086fd032c3a4f509792ce7326a99a6 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 24 May 2018 14:41:48 +0100 Subject: [PATCH] added blueberry pie and potato salad --- README.txt | 2 +- blueberry.lua | 17 +++++++++++++++++ potato.lua | 16 ++++++++++++++++ textures/farming_blueberry_pie.png | Bin 0 -> 195 bytes textures/farming_potato_salad.png | Bin 0 -> 325 bytes 5 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 textures/farming_blueberry_pie.png create mode 100644 textures/farming_potato_salad.png diff --git a/README.txt b/README.txt index 48610bb..cbe92db 100644 --- a/README.txt +++ b/README.txt @@ -13,7 +13,7 @@ This mod works by adding your new plant to the {growing=1} group and numbering t Changelog: -1.36 - Added Beetroot, Beetroot Soup (6x beetroot, 1x bowl), fix register_plant() issue +1.36 - Added Beetroot, Beetroot Soup (6x beetroot, 1x bowl), fix register_plant() issue, add new recipes 1.35 - Deprecated bronze/mese/diamond hoe's, added hoe bomb and deprecated hoe's as lucky block prizes 1.34 - Added scarecrow Base (5x sticks in a cross shape) 1.33 - Added cooking utensils (wooden bowl, saucepan, cooking pot, baking tray, skillet, cutting board, mortar & pestle, juicer, glass mixing bowl) for easier food crafts. diff --git a/blueberry.lua b/blueberry.lua index f2f0147..500fcde 100644 --- a/blueberry.lua +++ b/blueberry.lua @@ -27,6 +27,23 @@ minetest.register_craft({ } }) +-- Blueberry Pie + +minetest.register_craftitem("farming:blueberry_pie", { + description = S("Blueberry Pie"), + inventory_image = "farming_blueberry_pie.png", + on_use = minetest.item_eat(6), +}) + +minetest.register_craft({ + output = "farming:blueberry_pie", + type = "shapeless", + recipe = { + "group:food_flour", "group:food_sugar", + "group:food_blueberries", "group:food_baking_tray" + }, +}) + -- blueberry definition local crop_def = { drawtype = "plantlike", diff --git a/potato.lua b/potato.lua index a922b11..a1512c2 100644 --- a/potato.lua +++ b/potato.lua @@ -31,6 +31,22 @@ minetest.register_craft({ recipe = "group:food_potato" }) +-- Potato and cucumber Salad +minetest.register_craftitem("farming:potato_salad", { + description = S("Cucumber and Potato Salad"), + inventory_image = "farming_potato_salad.png", + on_use = minetest.item_eat(10, "farming:bowl"), +}) + +minetest.register_craft({ + output = "farming:potato_salad", + recipe = { + {"group:food_cucumber"}, + {"farming:baked_potato"}, + {"group:food_bowl"}, + } +}) + -- potato definition local crop_def = { drawtype = "plantlike", diff --git a/textures/farming_blueberry_pie.png b/textures/farming_blueberry_pie.png new file mode 100644 index 0000000000000000000000000000000000000000..21746864837226f9d0b342536c614a11c12495e5 GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPGa4)6(ab!1@B)z{JXEJ_O0jZR2P zN=aPU6+V6Dv5930#wFW666=m;PC858jus_>Eal|aXmTV0Mm_2mxK=GkYZ-N)x#bP0l+XkK!4f<_ literal 0 HcmV?d00001 diff --git a/textures/farming_potato_salad.png b/textures/farming_potato_salad.png new file mode 100644 index 0000000000000000000000000000000000000000..0028c91e3f7a0d2864df3f289eb48816a25e636f GIT binary patch literal 325 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfvl>na*S0F7T%4emk>}jE{oT8i& zXkcDoUYBIqool|R&g=HIYyUrds6Ki@3#g8{( zh_nUoZ3w-STg~`(aY%`--d!mtmiz^?1@2wA=s0JtQCD{wA7AZsW8ZE$$NxV6k57Nn zYVgfpvg!1n+lijfR<8f>G9ozhjPv)Dj;;*nqj8VUG~3*cELy$u^I~zo%eQVZ3(j=C zr_~(%!feVm3zO|NSDJK9j!pZbHQV!P)yQO0nWgWJ_XxT@@Fj=8O6( z*S~d9S`_5uAX6ofA|%Rn?sCPIUMn#nS8bQS(M?A}`Q#fn8ZdS|{@2p?