2014-04-27 23:55:49 +02:00
|
|
|
|
2015-10-31 00:35:27 +01:00
|
|
|
local scriptpath = core.get_builtin_path()..DIR_DELIM
|
2014-04-27 23:55:49 +02:00
|
|
|
local commonpath = scriptpath.."common"..DIR_DELIM
|
|
|
|
local gamepath = scriptpath.."game"..DIR_DELIM
|
|
|
|
|
|
|
|
dofile(commonpath.."vector.lua")
|
|
|
|
|
2015-10-30 07:48:37 +01:00
|
|
|
dofile(gamepath.."constants.lua")
|
2014-04-27 23:55:49 +02:00
|
|
|
dofile(gamepath.."item.lua")
|
|
|
|
dofile(gamepath.."register.lua")
|
2014-08-12 23:07:27 +02:00
|
|
|
|
2016-07-12 21:51:10 +02:00
|
|
|
if core.setting_getbool("profiler.load") then
|
|
|
|
profiler = dofile(scriptpath.."profiler"..DIR_DELIM.."init.lua")
|
2014-08-12 23:07:27 +02:00
|
|
|
end
|
|
|
|
|
2014-04-27 23:55:49 +02:00
|
|
|
dofile(gamepath.."item_entity.lua")
|
|
|
|
dofile(gamepath.."deprecated.lua")
|
|
|
|
dofile(gamepath.."misc.lua")
|
|
|
|
dofile(gamepath.."privileges.lua")
|
|
|
|
dofile(gamepath.."auth.lua")
|
|
|
|
dofile(gamepath.."chatcommands.lua")
|
|
|
|
dofile(gamepath.."static_spawn.lua")
|
|
|
|
dofile(gamepath.."detached_inventory.lua")
|
|
|
|
dofile(gamepath.."falling.lua")
|
|
|
|
dofile(gamepath.."features.lua")
|
|
|
|
dofile(gamepath.."voxelarea.lua")
|
|
|
|
dofile(gamepath.."forceloading.lua")
|
|
|
|
dofile(gamepath.."statbars.lua")
|
2016-07-12 21:51:10 +02:00
|
|
|
|
|
|
|
profiler = nil
|