From d7bc9b16fc68af6fbd643c6afdf619a0478a8579 Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Sat, 29 Sep 2018 16:53:18 +0100
Subject: added crop information to farming.registered_plants table

---
 crops/beetroot.lua | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'crops/beetroot.lua')

diff --git a/crops/beetroot.lua b/crops/beetroot.lua
index e683a94..8f7069b 100644
--- a/crops/beetroot.lua
+++ b/crops/beetroot.lua
@@ -83,3 +83,12 @@ crop_def.drop = {
 	}
 }
 minetest.register_node("farming:beetroot_5", table.copy(crop_def))
+
+-- add to registered_plants
+farming.registered_plants["farming:beetroot"] = {
+	crop = "farming:beetroot",
+	seed = "farming:beetroot",
+	minlight = 13,
+	maxlight = 15,
+	steps = 5
+}
-- 
cgit v1.2.3