aboutsummaryrefslogtreecommitdiff
path: root/stairsplus/stairs.lua
diff options
context:
space:
mode:
authorCalinou <calinou@opmbx.org>2015-01-11 22:21:33 +0100
committerCalinou <calinou@opmbx.org>2015-01-11 22:21:33 +0100
commitb5d62de9d812ac531011f50ee7d6081c5c3d0b6a (patch)
tree3d576dc6bc7332086d2765a530b6b65c28f9f40d /stairsplus/stairs.lua
parent41bb46fb3668627ec2bbcb3d0c55899cabb8cf35 (diff)
downloadmoreblocks-b5d62de9d812ac531011f50ee7d6081c5c3d0b6a.tar.gz
moreblocks-b5d62de9d812ac531011f50ee7d6081c5c3d0b6a.tar.bz2
moreblocks-b5d62de9d812ac531011f50ee7d6081c5c3d0b6a.zip
Add licensing headers to all files, fix intllib global variable warnings.
Diffstat (limited to 'stairsplus/stairs.lua')
-rw-r--r--stairsplus/stairs.lua16
1 files changed, 10 insertions, 6 deletions
diff --git a/stairsplus/stairs.lua b/stairsplus/stairs.lua
index 1690d85..d3337ea 100644
--- a/stairsplus/stairs.lua
+++ b/stairsplus/stairs.lua
@@ -1,9 +1,13 @@
-local S -- Load translation library if intllib is installed:
-if intllib then
- S = intllib.Getter(minetest.get_current_modname())
-else
- S = function(s) return s end
-end
+--[[
+======================================================================
+This file is part of More Blocks.
+
+Copyright (c) 2011-2015 Calinou and contributors.
+Licensed under the zlib license. See LICENSE.md for more information.
+======================================================================
+--]]
+
+local S = moreblocks.intllib
-- Node will be called <modname>:stair_<subname>