diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-29 16:53:18 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-09-29 16:53:18 +0100 |
commit | d7bc9b16fc68af6fbd643c6afdf619a0478a8579 (patch) | |
tree | a93d0f772286595492f28592dc5b1ab1a024c78d /crops/cocoa.lua | |
parent | 0d5fb9800aec6399f7939d0b6f58fa5186d086b5 (diff) |
added crop information to farming.registered_plants table20181016
Diffstat (limited to 'crops/cocoa.lua')
-rw-r--r-- | crops/cocoa.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crops/cocoa.lua b/crops/cocoa.lua index ecefcea..7b5e8d4 100644 --- a/crops/cocoa.lua +++ b/crops/cocoa.lua @@ -165,6 +165,15 @@ crop_def.drop = { } minetest.register_node("farming:cocoa_4", table.copy(crop_def)) +-- add to registered_plants +farming.registered_plants["farming:cocoa_beans"] = { + crop = "farming:cocoa", + seed = "farming:cocoa_beans", + minlight = 13, + maxlight = 15, + steps = 4 +} + -- add random cocoa pods to jungle tree's minetest.register_on_generated(function(minp, maxp) |