summaryrefslogtreecommitdiff
path: root/farming/crops/grapes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'farming/crops/grapes.lua')
-rw-r--r--farming/crops/grapes.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/farming/crops/grapes.lua b/farming/crops/grapes.lua
index d8c6c3f..c341075 100644
--- a/farming/crops/grapes.lua
+++ b/farming/crops/grapes.lua
@@ -231,6 +231,15 @@ crop_def.drop = {
}
minetest.register_node("farming:grapes_8", table.copy(crop_def))
+-- add to registered_plants
+farming.registered_plants["farming:grapes"] = {
+ crop = "farming:grapes",
+ seed = "farming:grapes",
+ minlight = 13,
+ maxlight = 15,
+ steps = 8
+}
+
-- wild grape vine (this is what you find on the map)
minetest.register_node("farming:grapebush", {
drawtype = "plantlike",