summaryrefslogtreecommitdiff
path: root/pineapple.lua
diff options
context:
space:
mode:
Diffstat (limited to 'pineapple.lua')
-rw-r--r--pineapple.lua12
1 files changed, 9 insertions, 3 deletions
diff --git a/pineapple.lua b/pineapple.lua
index 77047be..73cef29 100644
--- a/pineapple.lua
+++ b/pineapple.lua
@@ -38,7 +38,7 @@ minetest.register_craftitem("farming:pineapple_ring", {
minetest.register_craft( {
output = "farming:pineapple_ring 5",
type = "shapeless",
- recipe = {"farming:pineapple"},
+ recipe = {"group:food_pineapple"},
replacements = {{"farming:pineapple", "farming:pineapple_top"}}
})
@@ -52,8 +52,14 @@ minetest.register_craftitem("farming:pineapple_juice", {
minetest.register_craft({
output = "farming:pineapple_juice",
type = "shapeless",
- recipe = {"vessels:drinking_glass", "farming:pineapple_ring",
- "farming:pineapple_ring", "farming:pineapple_ring"},
+ recipe = {"vessels:drinking_glass", "group:food_pineapple_ring",
+ "group:food_pineapple_ring", "group:food_pineapple_ring"},
+})
+
+minetest.register_craft({
+ output = "farming:pineapple_juice 2",
+ type = "shapeless",
+ recipe = {"vessels:drinking_glass", "group:food_pineapple"},
})
-- crop definition