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