From 2d8ff9f889450fb5c36016276997544aae98a350 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Fri, 23 Nov 2018 10:39:11 -0500 Subject: update digistuff, farming-redo, homedecor, hotbar, roads, pipeworks, prefab_redo, rgblightstone, signs_lib, street_signs, technic, unifieddyes, and worldedit --- farming/crops/carrot.lua | 18 ++++++++++++++++++ farming/textures/farming_carrot_juice.png | Bin 0 -> 167 bytes 2 files changed, 18 insertions(+) create mode 100644 farming/textures/farming_carrot_juice.png (limited to 'farming') diff --git a/farming/crops/carrot.lua b/farming/crops/carrot.lua index b9cf535..b4baa8d 100644 --- a/farming/crops/carrot.lua +++ b/farming/crops/carrot.lua @@ -17,6 +17,24 @@ minetest.register_craftitem("farming:carrot", { on_use = minetest.item_eat(4), }) +-- carrot juice +minetest.register_craftitem("farming:carrot_juice", { + description = S("Carrot Juice"), + inventory_image = "farming_carrot_juice.png", + on_use = minetest.item_eat(4, "vessels:drinking_glass"), +}) + +minetest.register_craft({ + output = "farming:carrot_juice", + type = "shapeless", + recipe = { + "vessels:drinking_glass", "group:food_carrot", "farming:juicer" + }, + replacements = { + {"group:food_juicer", "farming:juicer"}, + }, +}) + -- golden carrot minetest.register_craftitem("farming:carrot_gold", { description = S("Golden Carrot"), diff --git a/farming/textures/farming_carrot_juice.png b/farming/textures/farming_carrot_juice.png new file mode 100644 index 0000000..5a03245 Binary files /dev/null and b/farming/textures/farming_carrot_juice.png differ -- cgit v1.2.3