2013-05-18 16:05:16 +02:00
|
|
|
-- Minetest 0.4 mod: default
|
|
|
|
-- See README.txt for licensing and other information.
|
|
|
|
|
|
|
|
-- The API documentation in here was moved into doc/lua_api.txt
|
|
|
|
|
|
|
|
WATER_ALPHA = 160
|
|
|
|
WATER_VISC = 1
|
|
|
|
LAVA_VISC = 7
|
|
|
|
LIGHT_MAX = 14
|
|
|
|
|
|
|
|
-- Definitions made by this mod that other mods can use too
|
|
|
|
default = {}
|
|
|
|
|
2013-05-19 18:43:04 +02:00
|
|
|
-- Load files
|
|
|
|
dofile(minetest.get_modpath("default").."/functions.lua")
|
|
|
|
dofile(minetest.get_modpath("default").."/nodes.lua")
|
|
|
|
dofile(minetest.get_modpath("default").."/tools.lua")
|
|
|
|
dofile(minetest.get_modpath("default").."/craftitems.lua")
|
|
|
|
dofile(minetest.get_modpath("default").."/crafting.lua")
|
2013-05-18 16:05:16 +02:00
|
|
|
dofile(minetest.get_modpath("default").."/mapgen.lua")
|
2013-05-19 18:43:04 +02:00
|
|
|
dofile(minetest.get_modpath("default").."/player.lua")
|