version 0.21
This commit is contained in:
parent
bd1233aaf1
commit
c8d70b992c
1717 changed files with 68882 additions and 0 deletions
27
mods/default/init.lua
Normal file
27
mods/default/init.lua
Normal file
|
@ -0,0 +1,27 @@
|
|||
-- 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 = 20
|
||||
|
||||
-- Definitions made by this mod that other mods can use too
|
||||
default = {}
|
||||
|
||||
-- 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")
|
||||
dofile(minetest.get_modpath("default").."/mapgen.lua")
|
||||
dofile(minetest.get_modpath("default").."/player.lua")
|
||||
|
||||
-- Aliases
|
||||
minetest.register_alias("default:desert_sand", "default:sand")
|
||||
minetest.register_alias("default:desert_stone", "default:sandstone")
|
||||
minetest.register_alias("default:iron_lump", "default:stone_with_iron")
|
||||
minetest.register_alias("default:gold_lump", "default:stone_with_gold")
|
Loading…
Add table
Add a link
Reference in a new issue