24 lines
597 B
Lua
24 lines
597 B
Lua
|
|
building_lib = {
|
|
-- data storage
|
|
store = mapblock_lib.create_data_storage(minetest.get_mod_storage())
|
|
}
|
|
|
|
local MP = minetest.get_modpath("building_lib")
|
|
dofile(MP .. "/entity.lua")
|
|
dofile(MP .. "/preview.lua")
|
|
dofile(MP .. "/api.lua")
|
|
dofile(MP .. "/wield_events.lua")
|
|
dofile(MP .. "/common.lua")
|
|
dofile(MP .. "/inventory.lua")
|
|
dofile(MP .. "/placements/default.lua")
|
|
dofile(MP .. "/build.lua")
|
|
dofile(MP .. "/remove.lua")
|
|
dofile(MP .. "/chat.lua")
|
|
dofile(MP .. "/tools.lua")
|
|
dofile(MP .. "/mapgen.lua")
|
|
|
|
if minetest.get_modpath("mtt") and mtt.enabled then
|
|
dofile(MP .. "/build.spec.lua")
|
|
end
|