summaryrefslogtreecommitdiff
path: root/init.lua
blob: e2cf1a024cde387943d66672dc2e1652782d664d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local components = {
	"framework",
	"car",
	"doors",
	"drive_null",
	"drive_entity",
	"controller",
	"callbuttons",
	"pilantern",
	"fs1switch",
	"dispatcher",
}

if minetest.get_modpath("laptop") then
	table.insert(components,"laptop")
end

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