968cacd4c0b783cd27723286d1c94a7050feb504
[oweals/minetest_game.git] / mods / default / init.lua
1 -- Minetest 0.4 mod: default
2 -- See README.txt for licensing and other information.
3
4 -- The API documentation in here was moved into doc/lua_api.txt
5
6 WATER_ALPHA = 160
7 WATER_VISC = 1
8 LAVA_VISC = 7
9 LIGHT_MAX = 14
10
11 -- Definitions made by this mod that other mods can use too
12 default = {}
13
14 -- Load files
15 dofile(minetest.get_modpath("default").."/functions.lua")
16 dofile(minetest.get_modpath("default").."/nodes.lua")
17 dofile(minetest.get_modpath("default").."/tools.lua")
18 dofile(minetest.get_modpath("default").."/craftitems.lua")
19 dofile(minetest.get_modpath("default").."/crafting.lua")
20 dofile(minetest.get_modpath("default").."/mapgen.lua")
21 dofile(minetest.get_modpath("default").."/player.lua")
22 dofile(minetest.get_modpath("default").."/trees.lua")