8dc52578da
Co-authored-by: damiemk <80431810+Wah7@users.noreply.github.com> Co-authored-by: Niklp <89982526+Niklp09@users.noreply.github.com>
58 lines
1.1 KiB
Lua
58 lines
1.1 KiB
Lua
|
|
local modpath = minetest.get_modpath("wrench")
|
|
|
|
wrench = {
|
|
translator = minetest.get_translator("wrench"),
|
|
plus = true,
|
|
registered_nodes = {},
|
|
blacklisted_items = {},
|
|
META_TYPE_IGNORE = 0,
|
|
META_TYPE_FLOAT = 1,
|
|
META_TYPE_STRING = 2,
|
|
META_TYPE_INT = 3,
|
|
has_pipeworks = minetest.get_modpath("pipeworks"),
|
|
has_mesecons = minetest.get_modpath("mesecons"),
|
|
has_digilines = minetest.get_modpath("digilines"),
|
|
}
|
|
|
|
dofile(modpath.."/api.lua")
|
|
dofile(modpath.."/functions.lua")
|
|
dofile(modpath.."/tool.lua")
|
|
dofile(modpath.."/crafts.lua")
|
|
dofile(modpath.."/legacy.lua")
|
|
|
|
local mods = {
|
|
"3d_armor_stand",
|
|
"basic_signs",
|
|
"bees",
|
|
"biofuel",
|
|
"bones",
|
|
"connected_chests",
|
|
"default",
|
|
"digilines",
|
|
"digiscreen",
|
|
"digistuff",
|
|
"digtron",
|
|
"drawers",
|
|
"mesecons_commandblock",
|
|
"mesecons_detector",
|
|
"mesecons_luacontroller",
|
|
"mesecons_microcontroller",
|
|
"mobs",
|
|
"more_chests",
|
|
"pipeworks",
|
|
"protector",
|
|
"signs_lib",
|
|
"technic",
|
|
"technic_chests",
|
|
"technic_cnc",
|
|
"vessels",
|
|
"xdecor",
|
|
}
|
|
|
|
for _, mod in pairs(mods) do
|
|
if minetest.get_modpath(mod) then
|
|
dofile(modpath.."/nodes/"..mod..".lua")
|
|
end
|
|
end
|