Add licensing headers to all files.

This commit is contained in:
Calinou 2015-01-11 22:20:57 +01:00
parent 9bc3857f10
commit 645a377734
7 changed files with 54 additions and 4 deletions

View File

@ -1,4 +1,11 @@
-- Aliases
--[[
======================================================================
This file is part of Map Tools.
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]
minetest.register_alias("adminpick", "maptools:pick_admin")
minetest.register_alias("adminpickaxe", "maptools:pick_admin")
@ -69,8 +76,6 @@ minetest.register_alias("fake_fire", "maptools:fake_fire")
minetest.register_alias("ffire", "maptools:fake_fire")
minetest.register_alias("igniter", "maptools:igniter")
-- Unbreakable block aliases
minetest.register_alias("stone_u", "maptools:stone")
minetest.register_alias("tree_u", "maptools:tree")
minetest.register_alias("cobble_u", "maptools:cobble")

View File

@ -1,3 +1,12 @@
--[[
======================================================================
This file is part of Map Tools.
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]
maptools.config = {}
local function getbool_default(setting, default)

View File

@ -1,3 +1,12 @@
--[[
======================================================================
This file is part of Map Tools.
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]
local S = maptools.intllib
maptools.creative = maptools.config["hide_from_creative_inventory"]

View File

@ -1,3 +1,12 @@
--[[
======================================================================
This file is part of Map Tools.
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]
local S = maptools.intllib
maptools.creative = maptools.config["hide_from_creative_inventory"]

View File

@ -4,7 +4,7 @@
By Calinou.
Copyright (c) 2012-2014 Calinou and contributors.
Licensed under the zlib license. See LICENSE.txt for more information.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]

View File

@ -1,3 +1,12 @@
--[[
======================================================================
This file is part of Map Tools.
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]
local S = maptools.intllib
maptools.creative = maptools.config["hide_from_creative_inventory"]

View File

@ -1,3 +1,12 @@
--[[
======================================================================
This file is part of Map Tools.
Copyright (c) 2012-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
======================================================================
--]]
local S = maptools.intllib
maptools.creative = maptools.config["hide_from_creative_inventory"]