Add support for multibiomegen

This commit is contained in:
philipmi 2022-01-15 14:15:18 +01:00
parent 823379ea04
commit 3d906d7955
3 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -127,3 +127,8 @@ 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")
-- multibiomegen
for i=0,230 do
add_fruit_regrowable("fruit_"..i, "multibiomegen:fruit_"..i, "multibiomegen:leaf_"..i)
end

View File

@ -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