summaryrefslogtreecommitdiff
path: root/init.lua
blob: f771586e7dd14aab004906178a3a741153f7afdb (plain)
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
local components = {
	"framework",
	"car",
	"doors",
	"drive_null",
	"drive_entity",
	"controller",
	"callbuttons",
	"pilantern",
	"fs1switch",
	"dispatcher",
	"dbdkiosk",
	"genericswitch",
	"decorations",
	"crafts",
}

local integrations = {
	"laptop",
	"mesecons",
	"digilines",
}

for _,i in ipairs(integrations) do
	if minetest.get_modpath(i) then table.insert(components,i) end
end

for _,v in ipairs(components) do
	dofile(string.format("%s%s%s.lua",minetest.get_modpath("celevator"),DIR_DELIM,v))
end