moreblocks/init.lua

32 lines
806 B
Lua
Raw Normal View History

2014-03-09 10:38:18 +01:00
--[[
-- More Blocks (moreblocks) by Calinou
-- Licensed under the zlib/ license for code and CC BY-SA 3.0 for textures, see LICENSE.txt for info.
2014-03-09 10:38:18 +01:00
--]]
moreblocks = {}
-- Load translation library if intllib is installed
local S -- Load translation library if intllib is installed:
2014-03-09 10:38:18 +01:00
if intllib then
S = intllib.Getter(minetest.get_current_modname())
2014-03-09 10:38:18 +01:00
else
S = function(s) return s end
end
moreblocks.gettext = S
local modpath = minetest.get_modpath("moreblocks")
dofile(modpath .. "/config.lua")
dofile(modpath .. "/circular_saw.lua")
dofile(modpath .. "/stairsplus/init.lua")
dofile(modpath .. "/nodes.lua")
dofile(modpath .. "/redefinitions.lua")
dofile(modpath .. "/crafting.lua")
dofile(modpath .. "/aliases.lua")
2014-03-09 10:38:18 +01:00
if minetest.setting_getbool("log_mods") then
2014-03-09 10:38:18 +01:00
print(S("[moreblocks] loaded."))
end