mirror of
https://github.com/minetest-mods/maptools.git
synced 2024-11-05 01:30:32 +01:00
Update copyright statements to 2019
This commit is contained in:
parent
905ecb0038
commit
14f9397a4e
|
@ -1,6 +1,6 @@
|
|||
# zlib license
|
||||
|
||||
Copyright (c) 2012-2017 Hugo Locurcio and contributors
|
||||
Copyright © 2012-2019 Hugo Locurcio and contributors
|
||||
|
||||
**This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.**
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--[[
|
||||
Map Tools: alias definitions
|
||||
|
||||
Copyright (c) 2012-2017 Hugo Locurcio and contributors.
|
||||
Copyright © 2012-2019 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
--]]
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--[[
|
||||
Map Tools: configuration handling
|
||||
|
||||
Copyright (c) 2012-2017 Hugo Locurcio and contributors.
|
||||
Copyright © 2012-2019 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
--]]
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--[[
|
||||
Map Tools: item definitions
|
||||
|
||||
Copyright (c) 2012-2017 Hugo Locurcio and contributors.
|
||||
Copyright © 2012-2019 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
--]]
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--[[
|
||||
Map Tools: unbreakable default nodes
|
||||
|
||||
Copyright (c) 2012-2017 Hugo Locurcio and contributors.
|
||||
Copyright © 2012-2019 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
--]]
|
||||
|
||||
|
|
74
init.lua
74
init.lua
|
@ -1,37 +1,37 @@
|
|||
--[[
|
||||
=====================================================================
|
||||
** Map Tools **
|
||||
By Calinou.
|
||||
|
||||
Copyright (c) 2012-2017 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
=====================================================================
|
||||
--]]
|
||||
|
||||
maptools = {}
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
maptools.intllib = S
|
||||
|
||||
local modpath = minetest.get_modpath("maptools")
|
||||
|
||||
maptools.drop_msg = function(itemstack, player)
|
||||
local name = player:get_player_name()
|
||||
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
|
||||
end
|
||||
|
||||
dofile(modpath .. "/config.lua")
|
||||
dofile(modpath .. "/aliases.lua")
|
||||
dofile(modpath .. "/craftitems.lua")
|
||||
dofile(modpath .. "/default_nodes.lua")
|
||||
dofile(modpath .. "/nodes.lua")
|
||||
dofile(modpath .. "/tools.lua")
|
||||
|
||||
if minetest.setting_getbool("log_mods") then
|
||||
minetest.log("action", S("[maptools] loaded."))
|
||||
end
|
||||
--[[
|
||||
=====================================================================
|
||||
** Map Tools **
|
||||
By Calinou.
|
||||
|
||||
Copyright © 2012-2019 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
=====================================================================
|
||||
--]]
|
||||
|
||||
maptools = {}
|
||||
|
||||
local S
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function(s) return s end
|
||||
end
|
||||
maptools.intllib = S
|
||||
|
||||
local modpath = minetest.get_modpath("maptools")
|
||||
|
||||
maptools.drop_msg = function(itemstack, player)
|
||||
local name = player:get_player_name()
|
||||
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
|
||||
end
|
||||
|
||||
dofile(modpath .. "/config.lua")
|
||||
dofile(modpath .. "/aliases.lua")
|
||||
dofile(modpath .. "/craftitems.lua")
|
||||
dofile(modpath .. "/default_nodes.lua")
|
||||
dofile(modpath .. "/nodes.lua")
|
||||
dofile(modpath .. "/tools.lua")
|
||||
|
||||
if minetest.setting_getbool("log_mods") then
|
||||
minetest.log("action", S("[maptools] loaded."))
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--[[
|
||||
Map Tools: node definitions
|
||||
|
||||
Copyright (c) 2012-2017 Hugo Locurcio and contributors.
|
||||
Copyright © 2012-2019 Hugo Locurcio and contributors.
|
||||
Licensed under the zlib license. See LICENSE.md for more information.
|
||||
--]]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user