645b294431
Uses items from default (MTG or DB should work, along with most other MTG-based games), mesecons, digilines (digilines I/O module only), and basic_materials. The mod is still usable in creative mode without any of these.
29 lines
477 B
Lua
29 lines
477 B
Lua
local components = {
|
|
"framework",
|
|
"car",
|
|
"doors",
|
|
"drive_null",
|
|
"drive_entity",
|
|
"controller",
|
|
"callbuttons",
|
|
"pilantern",
|
|
"fs1switch",
|
|
"dispatcher",
|
|
"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
|