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