2019-02-25 12:16:01 +01:00
|
|
|
--[[
|
|
|
|
=====================================================================
|
|
|
|
** Map Tools **
|
|
|
|
By Calinou.
|
|
|
|
|
2020-01-01 04:10:24 +01:00
|
|
|
Copyright © 2012-2020 Hugo Locurcio and contributors.
|
2019-02-25 12:16:01 +01:00
|
|
|
Licensed under the zlib license. See LICENSE.md for more information.
|
|
|
|
=====================================================================
|
|
|
|
--]]
|
|
|
|
|
|
|
|
maptools = {}
|
|
|
|
|
|
|
|
local modpath = minetest.get_modpath("maptools")
|
|
|
|
|
2020-06-08 21:48:04 +02:00
|
|
|
local S = minetest.get_translator("maptools")
|
2019-03-03 20:11:10 +01:00
|
|
|
maptools.S = S
|
2019-02-25 12:16:01 +01:00
|
|
|
|
2019-06-20 21:04:36 +02:00
|
|
|
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
|
|
|
|
|
2019-02-25 12:16:01 +01:00
|
|
|
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")
|