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