server/scripts/config.lua

9 lines
248 B
Lua
Raw Normal View History

local path = 'scripts'
if config.install then
path = config.install .. '/' .. path
end
package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
require 'eressea'
require 'eressea.xmlconf'
return require('eressea.rules')