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