25 lines
569 B
Lua
25 lines
569 B
Lua
--
|
|
-- Redwood tree from https://github.com/tenplus1/ethereal
|
|
--
|
|
|
|
redwood = {}
|
|
-- Intllib
|
|
local S
|
|
if minetest.get_modpath("intllib") then
|
|
S = intllib.Getter()
|
|
else
|
|
S = function(s) return s end
|
|
end
|
|
redwood.intllib = S
|
|
|
|
local path = minetest.get_modpath("redwood")
|
|
|
|
dofile(path .. "/leaves.lua")
|
|
dofile(path .. "/wood.lua")
|
|
dofile(path .. "/sapling.lua")
|
|
|
|
minetest.register_alias("ethereal:redwood_trunk", "redwood:redwood_trunk")
|
|
minetest.register_alias("ethereal:redwood_leaves", "redwood:redwood_leaves")
|
|
|
|
print (S("[MOD] Redwood loaded"))
|