renamed trees.lua to trees_default.lua
This commit is contained in:
parent
64a3165b7a
commit
344e78d63c
5
init.lua
5
init.lua
@ -41,7 +41,10 @@ dofile(mg_villages.modpath.."/config.lua")
|
||||
dofile(mg_villages.modpath.."/nodes.lua")
|
||||
|
||||
-- the default game no longer provides helpful tree growing code
|
||||
dofile(mg_villages.modpath.."/trees.lua")
|
||||
-- (but some mods may not have the default tree, jungletree and pinetree)
|
||||
if(minetest.registered_nodes["default:sapling"]) then
|
||||
dofile(mg_villages.modpath.."/trees_default.lua")
|
||||
end
|
||||
|
||||
dofile(mg_villages.modpath.."/replacements.lua")
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
-- this code is taken from https://github.com/VanessaE/dreambuilder_game/blob/master/mods/default/trees.lua
|
||||
-- The code is adjusted where needed.
|
||||
-- The code is adjusted where needed. It handles tree growing for default (Minetest Game).
|
||||
|
||||
local c_air = minetest.get_content_id("air")
|
||||
local c_ignore = minetest.get_content_id("ignore")
|
Loading…
x
Reference in New Issue
Block a user