summaryrefslogtreecommitdiff
path: root/farming/crops/hemp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'farming/crops/hemp.lua')
-rw-r--r--farming/crops/hemp.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/farming/crops/hemp.lua b/farming/crops/hemp.lua
index eb522a9..931a586 100644
--- a/farming/crops/hemp.lua
+++ b/farming/crops/hemp.lua
@@ -249,3 +249,12 @@ crop_def.drop = {
}
}
minetest.register_node("farming:hemp_8", table.copy(crop_def))
+
+-- add to registered_plants
+farming.registered_plants["farming:hemp"] = {
+ crop = "farming:hemp",
+ seed = "farming:seed_hemp",
+ minlight = 13,
+ maxlight = 15,
+ steps = 8
+}