diff --git a/README.md b/README.md index 0b951e8..96772a0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Info This mod causes fruits on trees from various other mods to regrow like apples in the 5.0 release of Minetest Game. If you placed the fruits by hand or removed the tree leaves, the fruits don't regrow. -Cool_trees modpack, ethereal, farming_plus and moretrees are supported, but maybe there are other mods with this problem that I don't know about. Please tell me in the Minetest Forum topic! +Cool_trees modpack, ethereal, farming_plus, multibiomegen and moretrees are supported, but maybe there are other mods with this problem that I don't know about. Please tell me in the Minetest Forum topic! Default apples in older versions than Minetest 5.0 will also regrow. diff --git a/init.lua b/init.lua index ee75a89..7d420d2 100644 --- a/init.lua +++ b/init.lua @@ -126,4 +126,9 @@ add_fruit_regrowable("spruce_cone", "moretrees:spruce_cone", "moretrees:spruce_l -- farming_plus add_fruit_regrowable("cocoa", "farming_plus:cocoa", "farming_plus:cocoa_leaves") -add_fruit_regrowable("banana_plus", "farming_plus:banana", "farming_plus:banana_leaves") \ No newline at end of file +add_fruit_regrowable("banana_plus", "farming_plus:banana", "farming_plus:banana_leaves") + +-- multibiomegen +for i=0,230 do + add_fruit_regrowable("fruit_"..i, "multibiomegen:fruit_"..i, "multibiomegen:leaf_"..i) +end \ No newline at end of file diff --git a/mod.conf b/mod.conf index 1b2429e..0c86426 100644 --- a/mod.conf +++ b/mod.conf @@ -1,6 +1,6 @@ name = regrowing_fruits author = philipmi depends = -optional_depends = default, ethereal, cacaotree, cherrytree, chestnuttree, clementinetree, ebony, lemontree, oak, palm, plumtree, pomegranate, moretrees, farming_plus +optional_depends = default, ethereal, cacaotree, cherrytree, chestnuttree, clementinetree, ebony, lemontree, oak, palm, plumtree, pomegranate, moretrees, farming_plus, multibiomegen description = Fruits on trees from various mods will regrow. title = Regrowing Fruits