1
0
forked from MTSR/moreblocks
moreblocks/init.lua

38 lines
994 B
Lua
Raw Normal View History

2014-03-09 13:38:18 +04:00
--[[
2015-01-12 19:46:22 +03:00
=====================================================================
2014-12-27 22:30:19 +03:00
** More Blocks **
By Calinou, with the help of ShadowNinja and VanessaE.
2018-11-24 19:36:04 +03:00
Copyright (c) 2011-2018 Hugo Locurcio and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
2015-01-12 19:46:22 +03:00
=====================================================================
2014-03-09 13:38:18 +04:00
--]]
moreblocks = {}
2014-12-27 22:30:19 +03:00
local S
if minetest.global_exists("intllib") then
if intllib.make_gettext_pair then
S = intllib.make_gettext_pair()
else
S = intllib.Getter()
end
2014-03-09 13:38:18 +04:00
else
S = function(s) return s end
end
2014-12-27 22:30:19 +03:00
moreblocks.intllib = S
2014-03-09 13:38:18 +04:00
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 13:38:18 +04:00
if minetest.settings:get_bool("log_mods") then
2014-12-27 22:30:19 +03:00
minetest.log("action", S("[moreblocks] loaded."))
2014-03-09 13:38:18 +04:00
end