maptools/init.lua

30 lines
826 B
Lua
Raw Normal View History

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")
local S, NS = dofile(modpath .. "/intllib.lua")
maptools.S = S
maptools.NS = NS
2019-02-25 12:16:01 +01: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")