From d7bc9b16fc68af6fbd643c6afdf619a0478a8579 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 29 Sep 2018 16:53:18 +0100 Subject: added crop information to farming.registered_plants table --- crops/grapes.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crops/grapes.lua') diff --git a/crops/grapes.lua b/crops/grapes.lua index d8c6c3f..c341075 100644 --- a/crops/grapes.lua +++ b/crops/grapes.lua @@ -231,6 +231,15 @@ crop_def.drop = { } minetest.register_node("farming:grapes_8", table.copy(crop_def)) +-- add to registered_plants +farming.registered_plants["farming:grapes"] = { + crop = "farming:grapes", + seed = "farming:grapes", + minlight = 13, + maxlight = 15, + steps = 8 +} + -- wild grape vine (this is what you find on the map) minetest.register_node("farming:grapebush", { drawtype = "plantlike", -- cgit v1.2.3