server/scripts/map.lua

12 lines
293 B
Lua
Raw Permalink 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.path'
require 'eressea'
require 'eressea.xmlconf'
2014-05-10 19:00:50 +02:00
eressea.read_game(get_turn() .. ".dat")
gmtool.editor()