moreblocks/init.lua

33 lines
954 B
Lua
Raw Normal View History

2014-03-09 10:38:18 +01:00
--[[
2015-01-12 17:46:22 +01:00
=====================================================================
2014-12-27 20:30:19 +01:00
** More Blocks **
By Calinou, with the help of ShadowNinja and VanessaE.
2017-02-19 13:35:16 +01:00
Copyright (c) 2011-2017 Hugo Locurcio and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
2015-01-12 17:46:22 +01:00
=====================================================================
2014-03-09 10:38:18 +01:00
--]]
moreblocks = {}
2018-07-13 12:52:11 +02:00
moreblocks.modname = minetest.get_current_modname()
moreblocks.modpath = minetest.get_modpath(moreblocks.modname)
2014-03-09 10:38:18 +01:00
2018-07-13 12:52:11 +02:00
-- Load support for intllib.
local MP = moreblocks.modpath
local S = dofile(MP .. "/intllib.lua")
2014-03-09 10:38:18 +01:00
2018-07-13 12:52:11 +02:00
moreblocks.intllib = S
2014-03-09 10:38:18 +01:00
2018-07-13 12:52:11 +02:00
-- Load mod's modules
dofile(MP .. "/config.lua")
dofile(MP .. "/circular_saw.lua")
dofile(MP .. "/stairsplus/init.lua")
dofile(MP .. "/nodes.lua")
dofile(MP .. "/redefinitions.lua")
dofile(MP .. "/crafting.lua")
dofile(MP .. "/aliases.lua")
2014-03-09 10:38:18 +01:00
if minetest.settings:get_bool("log_mods") then
2018-07-13 12:52:11 +02:00
minetest.log("action", S("[MOD] moreblocks loaded."))
2014-03-09 10:38:18 +01:00
end