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