mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
_ext in file name and .ext as extension can both be used to mark files as extensions that are loaded first. Otherwise all is loaded alphabetically. Everything is loaded as modules, which means that they cant be loaded twice with require. closes #85
11 lines
400 B
Plaintext
11 lines
400 B
Plaintext
--
|
|
-- Copyright (C) 2010 - 2014 Eluna Lua Engine <http://emudevs.com/>
|
|
-- This program is free software licensed under GPL version 3
|
|
-- Please see the included DOCS/LICENSE.md for more information
|
|
--
|
|
|
|
-- Set correct require paths
|
|
package.path = package.path.."lua_scripts\\?;lua_scripts\\?.dll;lua_scripts\\?.lua"
|
|
-- Randomize random
|
|
math.randomseed(tonumber(tostring(os.time()):reverse():sub(1,6)))
|