aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorCalinou <calinou9999spam@gmail.com>2013-11-24 10:32:32 -0800
committerCalinou <calinou9999spam@gmail.com>2013-11-24 10:32:32 -0800
commit92e4dc8e29954e1f07776a96eb6cb69b01dd6d5b (patch)
treec4be707e88adb35d25a794f71ca79b245fd527e0 /init.lua
parentd75c46b468c71013f93ac2defaee5625b23e5574 (diff)
parent4b4e10ff1d4f1bde96c47331738e4af27bec6142 (diff)
downloadmoreblocks-92e4dc8e29954e1f07776a96eb6cb69b01dd6d5b.tar.gz
moreblocks-92e4dc8e29954e1f07776a96eb6cb69b01dd6d5b.tar.bz2
moreblocks-92e4dc8e29954e1f07776a96eb6cb69b01dd6d5b.zip
Merge pull request #5 from VanessaE/master
Rewrite slightly to use the new 6d facedir prediction code in builtin
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua20
1 files changed, 12 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index 5a9c74f..98276d5 100644
--- a/init.lua
+++ b/init.lua
@@ -1,3 +1,13 @@
+--[[
+****
+More Blocks
+by Calinou
+Licensed under the zlib/libpng license for code and CC BY-SA for textures, see LICENSE.txt for info.
+****
+--]]
+
+moreblocks = {}
+
-- Load translation library if intllib is installed
local S
@@ -7,9 +17,11 @@ if (minetest.get_modpath("intllib")) then
else
S = function ( s ) return s end
end
+moreblocks.gettext = S
dofile(minetest.get_modpath("moreblocks").."/_config.txt")
+dofile(minetest.get_modpath("moreblocks").."/ownership.lua")
dofile(minetest.get_modpath("moreblocks").."/redefinitions.lua")
dofile(minetest.get_modpath("moreblocks").."/crafting.lua")
dofile(minetest.get_modpath("moreblocks").."/aliases.lua")
@@ -22,14 +34,6 @@ dofile(minetest.get_modpath("moreblocks").."/stairsplus/aliases.lua")
dofile(minetest.get_modpath("moreblocks").."/stairsplus.lua")
dofile(minetest.get_modpath("moreblocks").."/circular_saw.lua")
---[[
-****
-More Blocks
-by Calinou
-Licensed under the zlib/libpng license for code and CC BY-SA for textures, see LICENSE.txt for info.
-****
---]]
-
-- Blocks
minetest.register_node("moreblocks:wood_tile", {