Zefram
2014-04-21 0294fc8f3a9772ab292c7e40d489e760b666516e
commit | author | age
ee0765 1 local modpath = minetest.get_modpath("technic_worldgen")
279776 2
39c41a 3 technic.worldgen = {}
X 4 if intllib then
5     technic.worldgen.gettext = intllib.Getter()
6 else
7     technic.worldgen.gettext = function(s) return s end
8 end
9
279776 10 dofile(modpath.."/nodes.lua")
R 11 dofile(modpath.."/oregen.lua")
12 dofile(modpath.."/crafts.lua")
ee0765 13
S 14 -- Rubber trees, moretrees also supplies these
15 if not minetest.get_modpath("moretrees") then
16     dofile(modpath.."/rubber.lua")
0294fc 17 else
Z 18     -- older versions of technic provided rubber trees regardless
19     minetest.register_alias("technic:rubber_sapling", "moretrees:rubber_tree_sapling")
20     minetest.register_alias("technic:rubber_tree_empty", "moretrees:rubber_tree_trunk_empty")
ee0765 21 end
S 22
d8e02e 23 -- mg suppport
N 24 if minetest.get_modpath("mg") then
25     dofile(modpath.."/mg.lua")
26 end
27