Add cool_trees, farming_plus, aotearoa, australia, moretrees
This commit is contained in:
parent
e33c9641d8
commit
dcd279d766
39
init.lua
39
init.lua
@ -74,12 +74,51 @@ end
|
||||
-- wait until mods are loaded to save dependency mess
|
||||
minetest.after(0.1, function()
|
||||
|
||||
-- default
|
||||
regrow.add_fruit("default:apple", "default:leaves")
|
||||
|
||||
-- ethereal
|
||||
regrow.add_fruit("ethereal:banana", "ethereal:bananaleaves")
|
||||
regrow.add_fruit("ethereal:banana_bunch", "ethereal:bananaleaves")
|
||||
regrow.add_fruit("ethereal:orange", "ethereal:orange_leaves")
|
||||
regrow.add_fruit("ethereal:coconut", "ethereal:palmleaves")
|
||||
regrow.add_fruit("ethereal:lemon", "ethereal:lemon_leaves")
|
||||
regrow.add_fruit("ethereal:olive", "ethereal:olive_leaves")
|
||||
-- regrow.add_fruit("ethereal:golden_apple", "ethereal:yellowleaves")
|
||||
|
||||
-- cool trees
|
||||
regrow.add_fruit("cacaotree:pod", "cacaotree:trunk")
|
||||
regrow.add_fruit("cherrytree:cherries", "cherrytree:blossom_leaves")
|
||||
regrow.add_fruit("clementinetree:clementine", "clementinetree:leaves")
|
||||
regrow.add_fruit("ebony:persimmon", "ebony:leaves")
|
||||
regrow.add_fruit("lemontree:lemon", "lemontree:leaves")
|
||||
regrow.add_fruit("oak:acorn", "oak:leaves")
|
||||
regrow.add_fruit("palm:coconut", "palm:leaves")
|
||||
regrow.add_fruit("plumtree:plum", "plumtree:leaves")
|
||||
regrow.add_fruit("pomegranate:pomegranate", "pomegranate:leaves")
|
||||
|
||||
-- farming plus
|
||||
regrow.add_fruit("farming_plus:cocoa", "farming_plus:cocoa_leaves")
|
||||
regrow.add_fruit("farming_plus:banana", "farming_plus:banana_leaves")
|
||||
|
||||
-- aotearoa
|
||||
regrow.add_fruit("aotearoa:karaka_fruit", "aotearoa:karaka_leaves")
|
||||
regrow.add_fruit("aotearoa:miro_fruit", "aotearoa:miro_leaves")
|
||||
regrow.add_fruit("aotearoa:tawa_fruit", "aotearoa:tawa_leaves")
|
||||
regrow.add_fruit("aotearoa:hinau_fruit", "aotearoa:hinau_leaves")
|
||||
regrow.add_fruit("aotearoa:kawakawa_fruit", "aotearoa:kawakawa_leaves")
|
||||
|
||||
-- australia
|
||||
regrow.add_fruit("australia:cherry", "australia:cherry_leaves")
|
||||
regrow.add_fruit("australia:lilly_pilly_berries", "australia:lilly_pilly_leaves")
|
||||
regrow.add_fruit("australia:macadamia", "australia:macadamia_leaves")
|
||||
regrow.add_fruit("australia:mangrove_apple", "australia:mangrove_apple_leaves")
|
||||
regrow.add_fruit("australia:moreton_bay_fig", "australia:moreton_bay_fig_leaves")
|
||||
regrow.add_fruit("australia:quandong", "australia:quandong_leaves")
|
||||
|
||||
-- more trees
|
||||
regrow.add_fruit("moretrees:acorn", "moretrees:oak_leaves")
|
||||
regrow.add_fruit("moretrees:cedar_cone", "moretrees:cedar_leaves")
|
||||
regrow.add_fruit("moretrees:fir_cone", "moretrees:fir_leaves")
|
||||
regrow.add_fruit("moretrees:spruce_cone", "moretrees:spruce_leaves")
|
||||
end)
|
||||
|
2
mod.conf
2
mod.conf
@ -1,4 +1,4 @@
|
||||
name = regrow
|
||||
depends =
|
||||
optional_depends =
|
||||
description = This mod helps to regrow tree fruits instead of replanting saplings.
|
||||
description = Helps to regrow tree fruits instead of replanting saplings.
|
||||
|
13
readme.MD
13
readme.MD
@ -14,14 +14,13 @@ started that will regrow the fruit on completion (unless tree is chopped down).
|
||||
|
||||
Example: regrow.add_fruit("default:apple", "default:leaves")
|
||||
|
||||
So far default apples and ethereal banana, orange and coconuts are supported.
|
||||
|
||||
|
||||
Changelog
|
||||
---------
|
||||
|
||||
- 0.1 - Initial upload.
|
||||
- 0.2 - Add checks for player placed fruit and tree's nearby.
|
||||
- 0.3 - Make add_fruit a global function for other mods to use.
|
||||
- 0.4 - Add check for fruit tree leaf type before re-growing.
|
||||
- 0.5 - Ethereal Lemons and Olives can now regrow.
|
||||
- 0.1 - Initial upload.
|
||||
- 0.2 - Add checks for player placed fruit and tree's nearby.
|
||||
- 0.3 - Make add_fruit a global function for other mods to use.
|
||||
- 0.4 - Add check for fruit tree leaf type before re-growing.
|
||||
- 0.5 - Ethereal Lemons and Olives can now regrow.
|
||||
- 0.6 - Add support for cool_trees, farming_plus, aotearoa, australia and moretrees
|
||||
|
Loading…
x
Reference in New Issue
Block a user