1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-14 13:25:25 -05:00
minetest/builtin/builtin.lua

25 lines
959 B
Lua
Raw Normal View History

--
-- This file contains built-in stuff in Minetest implemented in Lua.
--
-- It is always loaded and executed after registration of the C API,
-- before loading and running any mods.
--
2012-04-01 05:37:41 -04:00
-- Initialize some very basic things
2012-03-11 09:41:53 -04:00
print = minetest.debug
math.randomseed(os.time())
2012-04-01 05:37:41 -04:00
-- Load other files
dofile(minetest.get_modpath("__builtin").."/serialize.lua")
2012-04-01 05:37:41 -04:00
dofile(minetest.get_modpath("__builtin").."/misc_helpers.lua")
dofile(minetest.get_modpath("__builtin").."/item.lua")
dofile(minetest.get_modpath("__builtin").."/misc_register.lua")
dofile(minetest.get_modpath("__builtin").."/item_entity.lua")
2012-04-01 05:37:41 -04:00
dofile(minetest.get_modpath("__builtin").."/deprecated.lua")
dofile(minetest.get_modpath("__builtin").."/misc.lua")
dofile(minetest.get_modpath("__builtin").."/privileges.lua")
dofile(minetest.get_modpath("__builtin").."/auth.lua")
dofile(minetest.get_modpath("__builtin").."/chatcommands.lua")
2012-04-09 16:29:55 -04:00
dofile(minetest.get_modpath("__builtin").."/static_spawn.lua")
2012-04-01 05:37:41 -04:00