forked from mtcontrib/moretrees
weeded out all the old node and texture names from jungletree and conifers
mods, added aliases for backwards compatibility. All nodes are named moretrees:something_sapling, moretrees:something_trunk moretrees:something_leaves moretrees:something_planks Also, added sideways trunks for all trees and crafting recipes for them, plus added in the missing trunks -> planks recipes.
This commit is contained in:
6
init.lua
6
init.lua
@ -29,10 +29,10 @@
|
||||
--
|
||||
moretrees = {}
|
||||
|
||||
dofile(minetest.get_modpath("moretrees").."/crafts.lua")
|
||||
dofile(minetest.get_modpath("moretrees").."/node_defs.lua")
|
||||
dofile(minetest.get_modpath("moretrees").."/tree_models.lua")
|
||||
dofile(minetest.get_modpath("moretrees").."/biome_defs.lua")
|
||||
dofile(minetest.get_modpath("moretrees").."/crafts.lua")
|
||||
|
||||
-- tree spawning setup
|
||||
|
||||
@ -90,8 +90,8 @@ end
|
||||
|
||||
plantslib:grow_plants(sapling_interval,sapling_chance,"moretrees:birch_sapling",nil,nil,nil,nil,nil,nil,nil,nil,"moretrees:grow_birch",nil)
|
||||
plantslib:grow_plants(sapling_interval,sapling_chance,"moretrees:spruce_sapling",nil,nil,nil,nil,nil,nil,nil,nil,"moretrees:grow_spruce",nil)
|
||||
plantslib:grow_plants(sapling_interval,sapling_chance,"conifers:sapling",nil,nil,nil,nil,nil,nil,nil,nil,"moretrees:grow_conifer",nil)
|
||||
plantslib:grow_plants(sapling_interval,sapling_chance,"jungletree:sapling",nil,nil,nil,nil,nil,nil,nil,nil,"moretrees:grow_jungletree",nil)
|
||||
plantslib:grow_plants(sapling_interval,sapling_chance,"moretrees:conifer_sapling",nil,nil,nil,nil,nil,nil,nil,nil,"moretrees:grow_conifer",nil)
|
||||
plantslib:grow_plants(sapling_interval,sapling_chance,"moretrees:jungletree_sapling",nil,nil,nil,nil,nil,nil,nil,nil,"moretrees:grow_jungletree",nil)
|
||||
|
||||
-- Code to spawn a birch tree
|
||||
|
||||
|
Reference in New Issue
Block a user