diff options
Diffstat (limited to 'crops/peas.lua')
-rw-r--r-- | crops/peas.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crops/peas.lua b/crops/peas.lua index e50564e..93e9232 100644 --- a/crops/peas.lua +++ b/crops/peas.lua @@ -87,3 +87,12 @@ crop_def.drop = { } } minetest.register_node("farming:pea_5", table.copy(crop_def)) + +-- add to registered_plants +farming.registered_plants["farming:pea_pod"] = { + crop = "farming:pea", + seed = "farming:pea_pod", + minlight = 13, + maxlight = 15, + steps = 5 +} |