From 7cf215badb086fd032c3a4f509792ce7326a99a6 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 24 May 2018 14:41:48 +0100 Subject: 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 0000000..2174686 Binary files /dev/null and b/textures/farming_blueberry_pie.png differ diff --git a/textures/farming_potato_salad.png b/textures/farming_potato_salad.png new file mode 100644 index 0000000..0028c91 Binary files /dev/null and b/textures/farming_potato_salad.png differ -- cgit v1.2.3