summaryrefslogtreecommitdiff
path: root/farming/crops/beans.lua
diff options
context:
space:
mode:
Diffstat (limited to 'farming/crops/beans.lua')
-rw-r--r--farming/crops/beans.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/farming/crops/beans.lua b/farming/crops/beans.lua
index a575956..a75030a 100644
--- a/farming/crops/beans.lua
+++ b/farming/crops/beans.lua
@@ -224,6 +224,15 @@ crop_def.drop = {
}
minetest.register_node("farming:beanpole_5", table.copy(crop_def))
+-- add to registered_plants
+farming.registered_plants["farming:beans"] = {
+ crop = "farming:beanpole",
+ seed = "farming:beans",
+ minlight = 13,
+ maxlight = 15,
+ steps = 5
+}
+
-- wild green bean bush (this is what you find on the map)
minetest.register_node("farming:beanbush", {
drawtype = "plantlike",