53 lines
1.5 KiB
Lua
53 lines
1.5 KiB
Lua
|
|
pick_and_place = {
|
|
store = minetest.get_mod_storage()
|
|
}
|
|
|
|
local MP = minetest.get_modpath("pick_and_place")
|
|
dofile(MP .. "/common.lua")
|
|
dofile(MP .. "/rotate.lua")
|
|
dofile(MP .. "/rotate_tool.lua")
|
|
dofile(MP .. "/schematic_rotate.lua")
|
|
dofile(MP .. "/schematic_flip.lua")
|
|
dofile(MP .. "/schematic_orient.lua")
|
|
dofile(MP .. "/schematic_transpose.lua")
|
|
dofile(MP .. "/replacement.lua")
|
|
dofile(MP .. "/replacement_facedir.lua")
|
|
dofile(MP .. "/replacement_wallmounted.lua")
|
|
dofile(MP .. "/pointed.lua")
|
|
dofile(MP .. "/configure.lua")
|
|
dofile(MP .. "/remove.lua")
|
|
dofile(MP .. "/encode.lua")
|
|
dofile(MP .. "/serialize.lua")
|
|
dofile(MP .. "/entity.lua")
|
|
dofile(MP .. "/handle_node.lua")
|
|
dofile(MP .. "/create_tool.lua")
|
|
dofile(MP .. "/configure_tool.lua")
|
|
dofile(MP .. "/pick_tool.lua")
|
|
dofile(MP .. "/place_tool.lua")
|
|
dofile(MP .. "/composition_tool.lua")
|
|
dofile(MP .. "/composition.lua")
|
|
dofile(MP .. "/preview.lua")
|
|
dofile(MP .. "/craft.lua")
|
|
dofile(MP .. "/playback.lua")
|
|
dofile(MP .. "/registry.lua")
|
|
dofile(MP .. "/snap.lua")
|
|
|
|
if minetest.get_modpath("travelnet") then
|
|
dofile(MP .. "/compat/travelnet.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("display_api") then
|
|
dofile(MP.."/compat/display_api.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("advtrains") then
|
|
dofile(MP.."/compat/advtrains.lua")
|
|
end
|
|
|
|
if minetest.get_modpath("mtt") and mtt.enabled then
|
|
dofile(MP .. "/configure.spec.lua")
|
|
dofile(MP .. "/create_tool.spec.lua")
|
|
dofile(MP .. "/encode.spec.lua")
|
|
dofile(MP .. "/schematic_rotate.spec.lua")
|
|
end |