From 41e989a7136fe2fed154d43ef24cf53e26a175a9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 21 Feb 2004 22:43:39 +0000 Subject: [PATCH] - Skript zum testen eines Datenfiles (laden und exit) Starten mit eressea-lue -e test-df.lua -s file= --- src/scripts/test-df.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/scripts/test-df.lua diff --git a/src/scripts/test-df.lua b/src/scripts/test-df.lua new file mode 100644 index 000000000..e2314124a --- /dev/null +++ b/src/scripts/test-df.lua @@ -0,0 +1,7 @@ +-- start eressea-server with -s file= +-- where is relative to datapath() + +if read_game(file)~=0 then + print("could not read game") +end +