-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathinit.lua
49 lines (38 loc) · 1.06 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
--scifi_nodes by D00Med
scifi_nodes = {}
local MP = minetest.get_modpath("scifi_nodes")
dofile(MP.."/sounds.lua")
if minetest.get_modpath("xpanes") then
dofile(MP.."/panes.lua")
end
dofile(MP.."/common.lua")
if minetest.get_modpath("default") then
-- only load builder and chest if the default mod is available
-- the formspecs depend on it
dofile(MP.."/builder.lua")
dofile(MP.."/chest.lua")
end
dofile(MP.."/plants.lua")
dofile(MP.."/models.lua")
dofile(MP.."/nodes.lua")
dofile(MP.."/doors.lua")
dofile(MP.."/switch.lua")
dofile(MP.."/protected_switch.lua")
dofile(MP.."/nodeboxes.lua")
dofile(MP.."/palm_scanner.lua")
dofile(MP.."/digicode.lua")
dofile(MP.."/octagon_panes.lua")
dofile(MP.."/octagon_glass.lua")
dofile(MP.."/forcefield.lua")
dofile(MP.."/crafts.lua")
if minetest.get_modpath("letters") then
-- register letter nodes
dofile(MP.."/letters.lua")
end
if minetest.get_modpath("mesecons_stealthnode") then
-- register stealthnodes
dofile(MP.."/stealthnodes.lua")
end
if minetest.get_modpath("mtt") and mtt.enabled then
dofile(MP .. "/mtt.lua")
end