forked from github/server
Skript zum töten von Doppelspielern.
This commit is contained in:
parent
3daf4a78ec
commit
3ca3afad78
|
@ -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
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue