summaryrefslogtreecommitdiff
path: root/food.lua
diff options
context:
space:
mode:
authorroot <root@linux-forks.de>2018-09-14 16:56:37 +0200
committerroot <root@linux-forks.de>2018-09-14 16:56:37 +0200
commit31fe2ff374e72fb8ea44d50cd82d6fc8b9be5463 (patch)
tree87768ea1339a0c838716d8bb3418e35a80b00c46 /food.lua
parentb32bd2d50b685e9f550f1138d3db1ed0c6504d2c (diff)
parent43d62b57428b4738a7e8cee0fae78b1147f9b085 (diff)
Merge branch 'master' of https://notabug.org/TenPlus1/ethereal
Diffstat (limited to 'food.lua')
-rw-r--r--food.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/food.lua b/food.lua
index 758846c..156e97f 100644
--- a/food.lua
+++ b/food.lua
@@ -197,3 +197,29 @@ minetest.register_craft({
{"bucket:bucket_empty","default:cactus"},
}
})
+
+
+-- firethorn jelly
+minetest.register_craftitem("ethereal:firethorn_jelly", {
+ description = S("Firethorn Jelly"),
+ inventory_image = "ethereal_firethorn_jelly.png",
+ wield_image = "ethereal_firethorn_jelly.png",
+ on_use = minetest.item_eat(2, "vessels:glass_bottle"),
+})
+
+if minetest.registered_items["farming:bowl"] then
+
+minetest.register_craft({
+ type = "shapeless",
+ output = "ethereal:firethorn_jelly",
+ recipe = {
+ "farming:mortar_pestle","vessels:glass_bottle",
+ "ethereal:firethorn", "ethereal:firethorn", "ethereal:firethorn",
+ "bucket:bucket_water", "bucket:bucket_water", "bucket:bucket_water",
+ },
+ replacements = {
+ {"bucket:bucket_water", "bucket:bucket_empty 3"},
+ {"farming:mortar_pestle", "farming:mortar_pestle"},
+ },
+})
+end