diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-21 16:40:55 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-21 16:40:55 +0000 |
commit | e5aaa337c548ef3c386af1f6b2ee5c5ff18ab10c (patch) | |
tree | 86073badea49fd98907bbac1a4b8cba835ddf256 | |
parent | efdc816584d08d639b166c7799ea41f10465fccd (diff) |
added carrot juice and recipeorigin/masterorigin/HEAD
-rw-r--r-- | crops/carrot.lua | 18 | ||||
-rw-r--r-- | textures/farming_carrot_juice.png | bin | 0 -> 167 bytes |
2 files changed, 18 insertions, 0 deletions
diff --git a/crops/carrot.lua b/crops/carrot.lua index b9cf535..b4baa8d 100644 --- a/crops/carrot.lua +++ b/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/textures/farming_carrot_juice.png b/textures/farming_carrot_juice.png Binary files differnew file mode 100644 index 0000000..5a03245 --- /dev/null +++ b/textures/farming_carrot_juice.png |