mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-13 05:50:18 +01:00
38 lines
993 B
Lua
38 lines
993 B
Lua
--[[
|
|
=====================================================================
|
|
** More Blocks **
|
|
By Calinou, with the help of ShadowNinja and VanessaE.
|
|
|
|
Copyright © 2011-2019 Hugo Locurcio and contributors.
|
|
Licensed under the zlib license. See LICENSE.md for more information.
|
|
=====================================================================
|
|
--]]
|
|
|
|
moreblocks = {}
|
|
|
|
local S
|
|
if minetest.global_exists("intllib") then
|
|
if intllib.make_gettext_pair then
|
|
S = intllib.make_gettext_pair()
|
|
else
|
|
S = intllib.Getter()
|
|
end
|
|
else
|
|
S = function(s) return s end
|
|
end
|
|
moreblocks.intllib = 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")
|
|
|
|
if minetest.settings:get_bool("log_mods") then
|
|
minetest.log("action", S("[moreblocks] loaded."))
|
|
end
|