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