mirror of
https://github.com/minetest-mods/maptools.git
synced 2025-01-11 08:40:18 +01:00
Update copyright statements to 2019
This commit is contained in:
parent
905ecb0038
commit
14f9397a4e
@ -1,6 +1,6 @@
|
|||||||
# zlib license
|
# 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.**
|
**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
|
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.
|
Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--[[
|
--[[
|
||||||
Map Tools: configuration handling
|
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.
|
Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--[[
|
--[[
|
||||||
Map Tools: item definitions
|
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.
|
Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--[[
|
--[[
|
||||||
Map Tools: unbreakable default nodes
|
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.
|
Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
74
init.lua
74
init.lua
@ -1,37 +1,37 @@
|
|||||||
--[[
|
--[[
|
||||||
=====================================================================
|
=====================================================================
|
||||||
** Map Tools **
|
** Map Tools **
|
||||||
By Calinou.
|
By Calinou.
|
||||||
|
|
||||||
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.
|
Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
=====================================================================
|
=====================================================================
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
maptools = {}
|
maptools = {}
|
||||||
|
|
||||||
local S
|
local S
|
||||||
if minetest.get_modpath("intllib") then
|
if minetest.get_modpath("intllib") then
|
||||||
S = intllib.Getter()
|
S = intllib.Getter()
|
||||||
else
|
else
|
||||||
S = function(s) return s end
|
S = function(s) return s end
|
||||||
end
|
end
|
||||||
maptools.intllib = S
|
maptools.intllib = S
|
||||||
|
|
||||||
local modpath = minetest.get_modpath("maptools")
|
local modpath = minetest.get_modpath("maptools")
|
||||||
|
|
||||||
maptools.drop_msg = function(itemstack, player)
|
maptools.drop_msg = function(itemstack, player)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
|
minetest.chat_send_player(name, S("[maptools] tools/nodes do not drop!"))
|
||||||
end
|
end
|
||||||
|
|
||||||
dofile(modpath .. "/config.lua")
|
dofile(modpath .. "/config.lua")
|
||||||
dofile(modpath .. "/aliases.lua")
|
dofile(modpath .. "/aliases.lua")
|
||||||
dofile(modpath .. "/craftitems.lua")
|
dofile(modpath .. "/craftitems.lua")
|
||||||
dofile(modpath .. "/default_nodes.lua")
|
dofile(modpath .. "/default_nodes.lua")
|
||||||
dofile(modpath .. "/nodes.lua")
|
dofile(modpath .. "/nodes.lua")
|
||||||
dofile(modpath .. "/tools.lua")
|
dofile(modpath .. "/tools.lua")
|
||||||
|
|
||||||
if minetest.setting_getbool("log_mods") then
|
if minetest.setting_getbool("log_mods") then
|
||||||
minetest.log("action", S("[maptools] loaded."))
|
minetest.log("action", S("[maptools] loaded."))
|
||||||
end
|
end
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--[[
|
--[[
|
||||||
Map Tools: node definitions
|
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.
|
Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--[[
|
--[[
|
||||||
Map Tools: tool definitions
|
Map Tools: tool 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.
|
Licensed under the zlib license. See LICENSE.md for more information.
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user