celevator-cd2025/init.lua
2024-04-27 14:36:37 -05:00

27 lines
452 B
Lua

local components = {
"framework",
"car",
"doors",
"drive_null",
"drive_entity",
"controller",
"callbuttons",
"pilantern",
"fs1switch",
"dispatcher",
"decorations",
}
local integrations = {
"laptop",
"mesecons",
}
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