diff options
Diffstat (limited to 'crops/melon.lua')
-rw-r--r-- | crops/melon.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crops/melon.lua b/crops/melon.lua index 43c0809..06056a0 100644 --- a/crops/melon.lua +++ b/crops/melon.lua @@ -84,3 +84,12 @@ crop_def.groups = { --crop_def.drop = "farming:melon_slice 9" crop_def.drop = "farming:melon_8" minetest.register_node("farming:melon_8", table.copy(crop_def)) + +-- add to registered_plants +farming.registered_plants["farming:melon"] = { + crop = "farming:melon", + seed = "farming:melon_slice", + minlight = 13, + maxlight = 15, + steps = 8 +} |