2010-03-09 08:43:15 +01:00
|
|
|
local srcpath = config.source_dir
|
2010-03-09 08:49:07 +01:00
|
|
|
local respath = srcpath .. '/eressea/res'
|
2010-03-09 08:43:15 +01:00
|
|
|
local paths = {
|
|
|
|
'eressea/scripts/?.lua',
|
|
|
|
'server/scripts/?.lua',
|
|
|
|
'external/lunit/?.lua'
|
|
|
|
}
|
|
|
|
|
|
|
|
for idx, path in pairs(paths) do
|
|
|
|
package.path = srcpath .. '/' .. path .. ';' .. package.path
|
|
|
|
end
|
|
|
|
|
|
|
|
read_xml(respath..'/config-e3a.xml', respath..'/catalog-e3a.xml')
|
|
|
|
|
|
|
|
require "init"
|