Docker image which provides a full Eressea installation to host a local game.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
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'
|
|
|
|
|
|
eressea.read_game(get_turn() .. ".dat")
|
|
|
gmtool.editor()
|
|
|
eressea.write_game(get_turn() .. ".dat")
|
|
|
write_database()
|
|
|
write_passwords()
|
|
|
|