diff --git a/src/scripts/eressea-multis.lua b/src/scripts/eressea-multis.lua new file mode 100644 index 000000000..24e91d922 --- /dev/null +++ b/src/scripts/eressea-multis.lua @@ -0,0 +1,10 @@ +function kill_multis() + local multis = [ "ogq", "idan", "e8L1" ] + for key in multis do + local f = get_faction(atoi36(multis[key])) + if f~=nil then + f.email="doppelspieler@eressea.de" + f.password="" + end + end +end diff --git a/src/scripts/eressea.lua b/src/scripts/eressea.lua index 74c6a18b0..48a9557b4 100644 --- a/src/scripts/eressea.lua +++ b/src/scripts/eressea.lua @@ -25,7 +25,8 @@ function run_scripts() scripts = { "eternath.lua", "wedding-jadee.lua", - "ponnuki.lua" + "ponnuki.lua", + "eressea-multis.lua" } for index in scripts do loadscript(scripts[index]) @@ -60,6 +61,9 @@ function process(orders) end init_summary() + -- kill multi-players (external script) + kill_multis() + -- run the turn: if read_orders(orders) ~= 0 then print("could not read " .. orders)