2014-08-12 23:06:44 +02:00
|
|
|
local path = 'scripts'
|
|
|
|
if config.install then
|
|
|
|
path = config.install .. '/' .. path
|
|
|
|
end
|
2021-02-21 20:49:03 +01:00
|
|
|
package.path = path .. '/?.lua;' .. path .. '/?/init.lua;' .. package.path
|
|
|
|
|
2014-08-12 23:06:44 +02:00
|
|
|
require 'eressea.path'
|
2014-08-12 22:54:55 +02:00
|
|
|
require 'eressea'
|
|
|
|
require 'eressea.xmlconf'
|
2018-06-24 18:08:19 +02:00
|
|
|
|
2014-05-10 19:00:50 +02:00
|
|
|
eressea.read_game(get_turn() .. ".dat")
|
|
|
|
gmtool.editor()
|