summaryrefslogtreecommitdiff
path: root/maptools/init.lua
blob: dbff209ce189343cfc01e09267d6fe21f45e0f2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--[[
=====================================================================
** Map Tools **
By Calinou.

Copyright (c) 2012-2015 Calinou 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")

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