-
Notifications
You must be signed in to change notification settings - Fork 4
/
init.lua
57 lines (52 loc) · 1.08 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
local modpath = minetest.get_modpath("wrench")
wrench = {
translator = minetest.get_translator("wrench"),
plus = true,
registered_nodes = {},
blacklisted_items = {},
META_TYPE_IGNORE = 0,
META_TYPE_FLOAT = 1,
META_TYPE_STRING = 2,
META_TYPE_INT = 3,
has_pipeworks = minetest.get_modpath("pipeworks"),
has_mesecons = minetest.get_modpath("mesecons"),
has_digilines = minetest.get_modpath("digilines"),
}
dofile(modpath.."/api.lua")
dofile(modpath.."/functions.lua")
dofile(modpath.."/tool.lua")
dofile(modpath.."/crafts.lua")
dofile(modpath.."/legacy.lua")
local mods = {
"3d_armor_stand",
"basic_signs",
"bees",
"biofuel",
"bones",
"connected_chests",
"default",
"digilines",
"digiscreen",
"digistuff",
"digtron",
"drawers",
"mesecons_commandblock",
"mesecons_detector",
"mesecons_luacontroller",
"mesecons_microcontroller",
"mobs",
"more_chests",
"pipeworks",
"protector",
"signs_lib",
"technic",
"technic_chests",
"technic_cnc",
"vessels",
"xdecor",
}
for _, mod in pairs(mods) do
if minetest.get_modpath(mod) then
dofile(modpath.."/nodes/"..mod..".lua")
end
end