Add support for australia and aotearoa
This commit is contained in:
parent
c3822aff6b
commit
959bf2df58
4 changed files with 19 additions and 2 deletions
|
@ -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, 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!
|
||||
Cool_trees modpack, ethereal, farming_plus, multibiomegen, australia, aotearoa 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.
|
||||
|
||||
|
|
|
@ -13,3 +13,5 @@ pomegranate?
|
|||
moretrees?
|
||||
farming_plus?
|
||||
multibiomegen?
|
||||
australia?
|
||||
aotearoa?
|
15
init.lua
15
init.lua
|
@ -137,6 +137,21 @@ for i=0,230 do
|
|||
add_fruit_regrowable("fruit_"..i, "multibiomegen:fruit_"..i, "multibiomegen:leaf_"..i)
|
||||
end
|
||||
|
||||
-- australia
|
||||
add_fruit_regrowable("australia_cherry", "australia:cherry", "australia:cherry_leaves")
|
||||
add_fruit_regrowable("lilly_pilly_berries", "australia:lilly_pilly_berries", "australia:lilly_pilly_leaves")
|
||||
add_fruit_regrowable("macadamia", "australia:macadamia", "australia:macadamia_leaves")
|
||||
add_fruit_regrowable("mangrove_apple", "australia:mangrove_apple", "australia:mangrove_apple_leaves")
|
||||
add_fruit_regrowable("moreton_bay_fig", "australia:moreton_bay_fig", "australia:moreton_bay_fig_leaves")
|
||||
add_fruit_regrowable("quandong", "australia:quandong", "australia:quandong_leaves")
|
||||
|
||||
-- aotearoa
|
||||
add_fruit_regrowable("karaka_fruit", "aotearoa:karaka_fruit", "aotearoa:karaka_leaves")
|
||||
add_fruit_regrowable("miro_fruit", "aotearoa:miro_fruit", "aotearoa:miro_leaves")
|
||||
add_fruit_regrowable("tawa_fruit", "aotearoa:tawa_fruit", "aotearoa:tawa_leaves")
|
||||
add_fruit_regrowable("hinau_fruit", "aotearoa:hinau_fruit", "aotearoa:hinau_leaves")
|
||||
add_fruit_regrowable("kawakawa_fruit", "aotearoa:kawakawa_fruit", "aotearoa:kawakawa_leaves")
|
||||
|
||||
-- aliases
|
||||
minetest.register_alias("regrowing_fruits:goldapple_mark", "regrowing_fruits:golden_apple_mark")
|
||||
minetest.register_alias("regrowing_fruits:coollemon_mark", "regrowing_fruits:cool_lemon_mark")
|
||||
|
|
2
mod.conf
2
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, multibiomegen
|
||||
optional_depends = default, ethereal, cacaotree, cherrytree, chestnuttree, clementinetree, ebony, lemontree, oak, palm, plumtree, pomegranate, moretrees, farming_plus, multibiomegen, australia, aotearoa
|
||||
description = Fruits on trees from various mods will regrow.
|
||||
title = Regrowing Fruits
|
||||
|
|
Loading…
Reference in a new issue