- Skript zum testen eines Datenfiles (laden und exit)

Starten mit eressea-lue -e test-df.lua -s file=<filename>
This commit is contained in:
Enno Rehling 2004-02-21 22:43:39 +00:00
parent 9ab533e8de
commit 41e989a713
1 changed files with 7 additions and 0 deletions

7
src/scripts/test-df.lua Normal file
View File

@ -0,0 +1,7 @@
-- start eressea-server with -s file=<filename>
-- where <filename> is relative to datapath()
if read_game(file)~=0 then
print("could not read game")
end