minetest-mods/moreblocks/init.lua

38 lines
994 B
Lua
Raw Permalink Normal View History

2019-12-14 17:47:31 +01:00
--[[
=====================================================================
** More Blocks **
By Calinou, with the help of ShadowNinja and VanessaE.
2021-05-16 15:01:47 +02:00
Copyright (c) 2011-2018 Hugo Locurcio and contributors.
2019-12-14 17:47:31 +01:00
Licensed under the zlib license. See LICENSE.md for more information.
=====================================================================
--]]
moreblocks = {}
2021-05-16 15:01:47 +02: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
else
S = function(s) return s end
end
moreblocks.intllib = S
2019-12-14 17:47:31 +01:00
2021-05-16 15:01:47 +02:00
local modpath = minetest.get_modpath("moreblocks")
2021-05-16 13:42:56 +02:00
2019-12-14 17:47:31 +01:00
dofile(modpath .. "/config.lua")
dofile(modpath .. "/circular_saw.lua")
dofile(modpath .. "/stairsplus/init.lua")
dofile(modpath .. "/nodes.lua")
2021-05-16 13:42:56 +02:00
dofile(modpath .. "/redefinitions.lua")
2019-12-14 17:47:31 +01:00
dofile(modpath .. "/crafting.lua")
dofile(modpath .. "/aliases.lua")
2021-05-16 15:01:47 +02:00
if minetest.settings:get_bool("log_mods") then
minetest.log("action", S("[moreblocks] loaded."))
end