summaryrefslogtreecommitdiff
path: root/farming/crops/wheat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'farming/crops/wheat.lua')
-rw-r--r--farming/crops/wheat.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/farming/crops/wheat.lua b/farming/crops/wheat.lua
index abf3ada..7c77d11 100644
--- a/farming/crops/wheat.lua
+++ b/farming/crops/wheat.lua
@@ -230,6 +230,15 @@ crop_def.drop = {
}
minetest.register_node("farming:wheat_8", table.copy(crop_def))
+-- add to registered_plants
+farming.registered_plants["farming:wheat"] = {
+ crop = "farming:wheat",
+ seed = "farming:seed_wheat",
+ minlight = 13,
+ maxlight = 15,
+ steps = 8
+}
+
-- fuels
minetest.register_craft({
type = "fuel",