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.

15 lines
370 B

3 weeks ago
  1. local path = 'scripts'
  2. if config.install then
  3. path = config.install .. '/' .. path
  4. end
  5. package.path = package.path .. ';' .. path .. '/?.lua;' .. path .. '/?/init.lua'
  6. require 'eressea.path'
  7. require 'eressea'
  8. require 'eressea.xmlconf'
  9. eressea.read_game(get_turn() .. ".dat")
  10. gmtool.editor()
  11. eressea.write_game(get_turn() .. ".dat")
  12. write_database()
  13. write_passwords()