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